@c8y/ngx-components 1021.55.2 → 1021.56.4
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/context-dashboard/context-dashboard.model.d.ts +22 -22
- package/context-dashboard/context-dashboard.model.d.ts.map +1 -1
- package/core/common/interval-based-reload.abstract.d.ts +13 -3
- package/core/common/interval-based-reload.abstract.d.ts.map +1 -1
- package/core/dashboard/dashboard.model.d.ts +3 -1
- package/core/dashboard/dashboard.model.d.ts.map +1 -1
- package/core/dashboard/widget-auto-refresh-context/auto-refresh-control.component.d.ts +3 -4
- package/core/dashboard/widget-auto-refresh-context/auto-refresh-control.component.d.ts.map +1 -1
- package/core/dashboard/widget-auto-refresh-context/widget-auto-refresh-context.component.d.ts +1 -0
- package/core/dashboard/widget-auto-refresh-context/widget-auto-refresh-context.component.d.ts.map +1 -1
- package/core/dashboard/widgets-dashboard-event.service.d.ts +7 -0
- package/core/dashboard/widgets-dashboard-event.service.d.ts.map +1 -1
- package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts +6 -2
- package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts.map +1 -1
- package/core/dynamic-component/dynamic-component.model.d.ts +15 -1
- package/core/dynamic-component/dynamic-component.model.d.ts.map +1 -1
- package/core/login/login.component.d.ts.map +1 -1
- package/core/login/login.model.d.ts +8 -0
- package/core/login/login.model.d.ts.map +1 -1
- package/core/login/login.service.d.ts +2 -1
- package/core/login/login.service.d.ts.map +1 -1
- package/datapoint-selector/datapoint-selection.model.d.ts +18 -18
- package/datapoint-selector/datapoint-selection.model.d.ts.map +1 -1
- package/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-fetching.service.d.ts.map +1 -1
- package/datapoints-export-selector/datapoints-export-selector.component.d.ts +3 -1
- package/datapoints-export-selector/datapoints-export-selector.component.d.ts.map +1 -1
- package/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.d.ts +5 -1
- package/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.d.ts.map +1 -1
- package/esm2022/context-dashboard/context-dashboard.model.mjs +1 -1
- package/esm2022/core/aggregation/aggregation.model.mjs +2 -2
- package/esm2022/core/common/interval-based-reload.abstract.mjs +13 -13
- package/esm2022/core/dashboard/dashboard-child.component.mjs +3 -3
- package/esm2022/core/dashboard/dashboard.model.mjs +1 -1
- package/esm2022/core/dashboard/widget-auto-refresh-context/auto-refresh-control.component.mjs +6 -8
- package/esm2022/core/dashboard/widget-auto-refresh-context/widget-auto-refresh-context.component.mjs +9 -1
- package/esm2022/core/dashboard/widgets-dashboard-event.service.mjs +19 -2
- package/esm2022/core/dashboard/widgets-dashboard.component.mjs +3 -3
- package/esm2022/core/dashboard/wiget-time-context/widget-time-context-icon-bar/widget-time-context-icon-bar.component.mjs +3 -3
- package/esm2022/core/dashboard/wiget-time-context/widget-time-context.component.mjs +48 -23
- package/esm2022/core/dynamic-component/dynamic-component.model.mjs +1 -1
- package/esm2022/core/login/login.component.mjs +4 -4
- package/esm2022/core/login/login.model.mjs +1 -1
- package/esm2022/core/login/login.service.mjs +7 -3
- package/esm2022/datapoint-explorer/view/datapoint-explorer.component.mjs +2 -2
- package/esm2022/datapoint-selector/datapoint-selection.model.mjs +1 -1
- package/esm2022/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/data-fetching.service.mjs +1 -3
- package/esm2022/datapoints-export-selector/datapoints-export-selector.component.mjs +9 -5
- package/esm2022/ecosystem/packages/package-versions/package-contents/contents-plugins/contents-plugins.component.mjs +23 -9
- package/esm2022/map/map.model.mjs +1 -1
- package/esm2022/widgets/definitions/alarms/alarm-list/index.mjs +2 -1
- package/esm2022/widgets/definitions/alarms/all-critical-alarms/index.mjs +2 -1
- package/esm2022/widgets/definitions/alarms/recent-alarms/index.mjs +2 -1
- package/esm2022/widgets/definitions/applications/index.mjs +1 -1
- package/esm2022/widgets/definitions/asset-notes/index.mjs +2 -1
- package/esm2022/widgets/definitions/cockpit-legacy-welcome/index.mjs +1 -1
- package/esm2022/widgets/definitions/cockpit-welcome/index.mjs +1 -1
- package/esm2022/widgets/definitions/datapoints-graph/index.mjs +1 -1
- package/esm2022/widgets/definitions/datapoints-table/index.mjs +6 -4
- package/esm2022/widgets/definitions/device-control-message/index.mjs +2 -1
- package/esm2022/widgets/definitions/device-management-welcome/index.mjs +1 -1
- package/esm2022/widgets/definitions/help-and-service/index.mjs +1 -1
- package/esm2022/widgets/definitions/image/index.mjs +2 -1
- package/esm2022/widgets/definitions/info-gauge/index.mjs +2 -1
- package/esm2022/widgets/definitions/kpi/index.mjs +2 -1
- package/esm2022/widgets/definitions/linear-gauge/index.mjs +4 -3
- package/esm2022/widgets/definitions/map/index.mjs +2 -1
- package/esm2022/widgets/definitions/markdown/index.mjs +2 -1
- package/esm2022/widgets/definitions/silo/index.mjs +4 -3
- package/esm2022/widgets/definitions/three-d-rotation/index.mjs +2 -1
- package/esm2022/widgets/implementations/alarms/alarm-list-widget-view/alarm-list-widget.component.mjs +3 -3
- package/esm2022/widgets/implementations/alarms/alarm-list-widget.model.mjs +1 -1
- package/esm2022/widgets/implementations/alarms/alarm-widget-alarms-reload.component.mjs +17 -100
- package/esm2022/widgets/implementations/asset-notes/asset-notes-widget.component.mjs +1 -1
- package/esm2022/widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.mjs +47 -34
- package/esm2022/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-reload/datapoints-reload.component.mjs +35 -13
- package/esm2022/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table/datapoints-table.component.mjs +3 -3
- package/esm2022/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table-view.component.mjs +75 -35
- package/esm2022/widgets/implementations/datapoints-table/datapoints-table-widget.model.mjs +3 -5
- package/esm2022/widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.mjs +1 -1
- package/esm2022/widgets/implementations/info-gauge/index.mjs +2 -1
- package/esm2022/widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.mjs +1 -1
- package/esm2022/widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.mjs +1 -1
- package/esm2022/widgets/implementations/info-gauge/info-gauge.model.mjs +2 -0
- package/esm2022/widgets/implementations/kpi/kpi-widget.model.mjs +1 -1
- package/esm2022/widgets/implementations/linear-gauge/index.mjs +2 -1
- package/esm2022/widgets/implementations/linear-gauge/linear-gauge-widget-config/linear-gauge-widget-config.component.mjs +1 -1
- package/esm2022/widgets/implementations/linear-gauge/linear-gauge-widget-view/linear-gauge-widget-view.component.mjs +1 -1
- package/esm2022/widgets/implementations/linear-gauge/linear-gauge.model.mjs +2 -0
- package/esm2022/widgets/implementations/map/map-widget.model.mjs +1 -1
- package/esm2022/widgets/implementations/markdown/markdown-widget.model.mjs +1 -1
- package/fesm2022/c8y-ngx-components-context-dashboard.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +7 -6
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-ecosystem.mjs +16 -4
- package/fesm2022/c8y-ngx-components-ecosystem.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-alarm-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-all-critical-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-alarms-recent-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-applications.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-asset-notes.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-legacy-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-cockpit-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs +5 -3
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-device-control-message.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-device-control-message.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-device-management-welcome.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-help-and-service.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-image.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-image.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-kpi.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-linear-gauge.mjs +3 -2
- package/fesm2022/c8y-ngx-components-widgets-definitions-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-map.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-map.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-markdown.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-silo.mjs +3 -2
- package/fesm2022/c8y-ngx-components-widgets-definitions-silo.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-three-d-rotation.mjs +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-three-d-rotation.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs +18 -101
- package/fesm2022/c8y-ngx-components-widgets-implementations-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-asset-notes.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs +147 -76
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-table.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-device-control-message.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-info-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-linear-gauge.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +218 -167
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/locales.pot +7 -8
- package/map/map.model.d.ts +1 -1
- package/map/map.model.d.ts.map +1 -1
- package/package.json +1 -1
- package/widgets/cockpit/index.d.ts +327 -17
- package/widgets/cockpit/index.d.ts.map +1 -1
- package/widgets/definitions/alarms/alarm-list/index.d.ts +25 -2
- package/widgets/definitions/alarms/alarm-list/index.d.ts.map +1 -1
- package/widgets/definitions/alarms/all-critical-alarms/index.d.ts +24 -2
- package/widgets/definitions/alarms/all-critical-alarms/index.d.ts.map +1 -1
- package/widgets/definitions/alarms/recent-alarms/index.d.ts +24 -2
- package/widgets/definitions/alarms/recent-alarms/index.d.ts.map +1 -1
- package/widgets/definitions/applications/index.d.ts +11 -2
- package/widgets/definitions/applications/index.d.ts.map +1 -1
- package/widgets/definitions/asset-notes/index.d.ts +18 -2
- package/widgets/definitions/asset-notes/index.d.ts.map +1 -1
- package/widgets/definitions/cockpit-legacy-welcome/index.d.ts +11 -2
- package/widgets/definitions/cockpit-legacy-welcome/index.d.ts.map +1 -1
- package/widgets/definitions/cockpit-welcome/index.d.ts +15 -2
- package/widgets/definitions/cockpit-welcome/index.d.ts.map +1 -1
- package/widgets/definitions/datapoints-graph/index.d.ts +16 -2
- package/widgets/definitions/datapoints-graph/index.d.ts.map +1 -1
- package/widgets/definitions/datapoints-table/index.d.ts +26 -2
- package/widgets/definitions/datapoints-table/index.d.ts.map +1 -1
- package/widgets/definitions/device-control-message/index.d.ts +18 -2
- package/widgets/definitions/device-control-message/index.d.ts.map +1 -1
- package/widgets/definitions/device-management-welcome/index.d.ts +15 -2
- package/widgets/definitions/device-management-welcome/index.d.ts.map +1 -1
- package/widgets/definitions/help-and-service/index.d.ts +15 -2
- package/widgets/definitions/help-and-service/index.d.ts.map +1 -1
- package/widgets/definitions/image/index.d.ts +19 -2
- package/widgets/definitions/image/index.d.ts.map +1 -1
- package/widgets/definitions/info-gauge/index.d.ts +19 -2
- package/widgets/definitions/info-gauge/index.d.ts.map +1 -1
- package/widgets/definitions/kpi/index.d.ts +19 -2
- package/widgets/definitions/kpi/index.d.ts.map +1 -1
- package/widgets/definitions/linear-gauge/index.d.ts +19 -2
- package/widgets/definitions/linear-gauge/index.d.ts.map +1 -1
- package/widgets/definitions/map/index.d.ts +25 -2
- package/widgets/definitions/map/index.d.ts.map +1 -1
- package/widgets/definitions/markdown/index.d.ts +19 -2
- package/widgets/definitions/markdown/index.d.ts.map +1 -1
- package/widgets/definitions/silo/index.d.ts +19 -2
- package/widgets/definitions/silo/index.d.ts.map +1 -1
- package/widgets/definitions/three-d-rotation/index.d.ts +19 -2
- package/widgets/definitions/three-d-rotation/index.d.ts.map +1 -1
- package/widgets/device-management/index.d.ts +15 -1
- package/widgets/device-management/index.d.ts.map +1 -1
- package/widgets/implementations/alarms/alarm-list-widget.model.d.ts +4 -0
- package/widgets/implementations/alarms/alarm-list-widget.model.d.ts.map +1 -1
- package/widgets/implementations/alarms/alarm-widget-alarms-reload.component.d.ts +18 -63
- package/widgets/implementations/alarms/alarm-widget-alarms-reload.component.d.ts.map +1 -1
- package/widgets/implementations/asset-notes/asset-notes-widget.component.d.ts +4 -3
- package/widgets/implementations/asset-notes/asset-notes-widget.component.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.d.ts +4 -2
- package/widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-reload/datapoints-reload.component.d.ts +16 -8
- package/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-reload/datapoints-reload.component.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table-view.component.d.ts +21 -4
- package/widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table-view.component.d.ts.map +1 -1
- package/widgets/implementations/datapoints-table/datapoints-table-widget.model.d.ts +8 -4
- package/widgets/implementations/datapoints-table/datapoints-table-widget.model.d.ts.map +1 -1
- package/widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.d.ts +4 -3
- package/widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.d.ts.map +1 -1
- package/widgets/implementations/info-gauge/index.d.ts +1 -0
- package/widgets/implementations/info-gauge/index.d.ts.map +1 -1
- package/widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.d.ts +3 -6
- package/widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.d.ts.map +1 -1
- package/widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.d.ts +2 -5
- package/widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.d.ts.map +1 -1
- package/widgets/implementations/info-gauge/info-gauge.model.d.ts +7 -0
- package/widgets/implementations/info-gauge/info-gauge.model.d.ts.map +1 -0
- package/widgets/implementations/kpi/kpi-widget.model.d.ts +6 -6
- package/widgets/implementations/kpi/kpi-widget.model.d.ts.map +1 -1
- package/widgets/implementations/linear-gauge/index.d.ts +1 -0
- package/widgets/implementations/linear-gauge/index.d.ts.map +1 -1
- package/widgets/implementations/linear-gauge/linear-gauge-widget-config/linear-gauge-widget-config.component.d.ts +3 -5
- package/widgets/implementations/linear-gauge/linear-gauge-widget-config/linear-gauge-widget-config.component.d.ts.map +1 -1
- package/widgets/implementations/linear-gauge/linear-gauge-widget-view/linear-gauge-widget-view.component.d.ts +2 -6
- package/widgets/implementations/linear-gauge/linear-gauge-widget-view/linear-gauge-widget-view.component.d.ts.map +1 -1
- package/widgets/implementations/linear-gauge/linear-gauge.model.d.ts +7 -0
- package/widgets/implementations/linear-gauge/linear-gauge.model.d.ts.map +1 -0
- package/widgets/implementations/map/map-widget.model.d.ts +5 -0
- package/widgets/implementations/map/map-widget.model.d.ts.map +1 -1
- package/widgets/implementations/markdown/markdown-widget.model.d.ts +2 -2
- package/widgets/implementations/markdown/markdown-widget.model.d.ts.map +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { CountdownIntervalComponent, WidgetGlobalAutoRefreshService } from '@c8y/ngx-components';
|
|
2
|
+
import { CountdownIntervalComponent, IntervalBasedReload, WidgetGlobalAutoRefreshService } from '@c8y/ngx-components';
|
|
3
3
|
import { AlarmsViewService } from '@c8y/ngx-components/alarms';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
6
6
|
import { AlarmListWidgetConfig } from './alarm-list-widget.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
8
|
+
export declare class AlarmWidgetAlarmsReloadComponent extends IntervalBasedReload implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
9
9
|
private alarmsViewService;
|
|
10
10
|
private cdRef;
|
|
11
11
|
private translateService;
|
|
@@ -16,7 +16,7 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
16
16
|
*/
|
|
17
17
|
isIntervalRefresh: boolean;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* @inheritdoc
|
|
20
20
|
*/
|
|
21
21
|
refreshInterval: number;
|
|
22
22
|
/**
|
|
@@ -24,16 +24,19 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
24
24
|
*/
|
|
25
25
|
config: AlarmListWidgetConfig;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* @inheritdoc
|
|
28
28
|
*/
|
|
29
29
|
isLoading: BehaviorSubject<boolean>;
|
|
30
30
|
/**
|
|
31
31
|
* Indicates whether the alarm list is being scrolled or not.
|
|
32
32
|
*/
|
|
33
33
|
isScrolling: boolean;
|
|
34
|
-
isDisabled: boolean;
|
|
35
34
|
/**
|
|
36
|
-
*
|
|
35
|
+
* @inheritdoc
|
|
36
|
+
*/
|
|
37
|
+
isRefreshDisabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @inheritdoc
|
|
37
40
|
*/
|
|
38
41
|
onCountdownEnded: EventEmitter<void>;
|
|
39
42
|
/**
|
|
@@ -42,9 +45,9 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
42
45
|
onRealTimeToggleChanged: EventEmitter<boolean>;
|
|
43
46
|
countdownIntervalComponent: CountdownIntervalComponent;
|
|
44
47
|
/**
|
|
45
|
-
*
|
|
48
|
+
* @inheritdoc
|
|
46
49
|
*/
|
|
47
|
-
hideCountdown: boolean;
|
|
50
|
+
protected hideCountdown: boolean;
|
|
48
51
|
/**
|
|
49
52
|
* Tooltip for a new realtime alarm indicator.
|
|
50
53
|
*/
|
|
@@ -54,7 +57,7 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
54
57
|
*/
|
|
55
58
|
isNewAlarmMessageCleared: boolean;
|
|
56
59
|
/**
|
|
57
|
-
*
|
|
60
|
+
* @inheritdoc
|
|
58
61
|
*/
|
|
59
62
|
isIntervalRefreshToggleOn: boolean;
|
|
60
63
|
/**
|
|
@@ -66,9 +69,9 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
66
69
|
*/
|
|
67
70
|
countdownSubscription: Subscription;
|
|
68
71
|
/**
|
|
69
|
-
*
|
|
72
|
+
* @inheritdoc
|
|
70
73
|
*/
|
|
71
|
-
manuallyDisabledCountdown: boolean;
|
|
74
|
+
protected manuallyDisabledCountdown: boolean;
|
|
72
75
|
toggleCountdownButtonTooltipText: string;
|
|
73
76
|
globalAutoRefreshEnabled: boolean;
|
|
74
77
|
constructor(alarmsViewService: AlarmsViewService, cdRef: ChangeDetectorRef, translateService: TranslateService, widgetGlobalAutoRefreshService: WidgetGlobalAutoRefreshService);
|
|
@@ -77,31 +80,7 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
77
80
|
ngOnChanges(changes: SimpleChanges): void;
|
|
78
81
|
ngOnDestroy(): void;
|
|
79
82
|
/**
|
|
80
|
-
*
|
|
81
|
-
* Once a falsy value is detected (indicating that loading has finished), it attempts to start the countdown.
|
|
82
|
-
*
|
|
83
|
-
* IMPORTANT: If the widget's configuration (refreshInterval, check template) is not set prior to executing countdownIntervalComponent?.start,
|
|
84
|
-
* the countdown interval will not start!
|
|
85
|
-
*/
|
|
86
|
-
startCountdown(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Handles the toggle state of the countdown on button click.
|
|
89
|
-
*
|
|
90
|
-
* This method is triggered by a mouse event, typically a click on the countdown toggle button.
|
|
91
|
-
* It toggles `isIntervalRefreshToggleOn` to reflect the current state of the countdown timer.
|
|
92
|
-
*
|
|
93
|
-
* - If `isIntervalRefreshToggleOn` is set to false, indicating that the countdown should be stopped,
|
|
94
|
-
* `disableCountdown` is called, and `manuallyDisabledCountdown` is set to true.
|
|
95
|
-
*
|
|
96
|
-
* - If `isIntervalRefreshToggleOn` is true and the countdown subscription is closed, indicating that
|
|
97
|
-
* the countdown can be started, `enableCountdown` is called, and `manuallyDisabledCountdown`
|
|
98
|
-
* is set to false.
|
|
99
|
-
*
|
|
100
|
-
* @param $event - The MouseEvent that triggered this method.
|
|
101
|
-
*/
|
|
102
|
-
onToggleCountdownButtonState($event: MouseEvent): void;
|
|
103
|
-
/**
|
|
104
|
-
* Wrapper method where it's name better describes a context where it was called.
|
|
83
|
+
* @inheritdoc
|
|
105
84
|
*/
|
|
106
85
|
countdownEnded(): void;
|
|
107
86
|
reload(): void;
|
|
@@ -126,21 +105,6 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
126
105
|
* @returns Tooltip message.
|
|
127
106
|
*/
|
|
128
107
|
getRealtimeIconTitle(): string;
|
|
129
|
-
/**
|
|
130
|
-
* Manages the countdown timer's visibility and state in response to user scrolling.
|
|
131
|
-
*
|
|
132
|
-
* This method toggles the countdown timer based on the user's scrolling behavior. It uses
|
|
133
|
-
* the `disableCountdown` and `enableCountdown` methods for handling the countdown state.
|
|
134
|
-
*
|
|
135
|
-
* - If the user is scrolling down while the countdown is visible (`isScrolling` is true and
|
|
136
|
-
* `hideCountdown` is false), `disableCountdown` is called to stop and hide the countdown,
|
|
137
|
-
* and `isIntervalRefreshToggleOn` is set to false.
|
|
138
|
-
*
|
|
139
|
-
* - If the user has stopped scrolling, the countdown subscription is closed, and the countdown
|
|
140
|
-
* is hidden (`!isScrolling`, `countdownSubscription?.closed`, `hideCountdown`), `enableCountdown`
|
|
141
|
-
* is called to show and restart the countdown, and `isIntervalRefreshToggleOn` is set to true.
|
|
142
|
-
*/
|
|
143
|
-
handleScrolling(): void;
|
|
144
108
|
/**
|
|
145
109
|
* Enables and starts the countdown timer.
|
|
146
110
|
*
|
|
@@ -151,19 +115,10 @@ export declare class AlarmWidgetAlarmsReloadComponent implements OnInit, AfterVi
|
|
|
151
115
|
*/
|
|
152
116
|
enableCountdown(): void;
|
|
153
117
|
/**
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* This method stops the ongoing countdown process by unsubscribing from `countdownSubscription`
|
|
157
|
-
* and stopping the `countdownIntervalComponent` if it exists. It then hides the countdown timer
|
|
158
|
-
* by setting `hideCountdown` to true. This method encapsulates the logic required to halt and
|
|
159
|
-
* conceal the countdown timer.
|
|
160
|
-
*/
|
|
161
|
-
disableCountdown(): void;
|
|
162
|
-
/**
|
|
163
|
-
* Updates the countdown button tooltip text based on the state of the interval refresh toggle state.
|
|
118
|
+
* @inheritdoc
|
|
164
119
|
*/
|
|
165
|
-
|
|
120
|
+
protected updateCountdownButtonTooltipText(customText?: string): void;
|
|
166
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlarmWidgetAlarmsReloadComponent, never>;
|
|
167
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmWidgetAlarmsReloadComponent, "c8y-alarm-widget-alarms-reload", never, { "isIntervalRefresh": { "alias": "isIntervalRefresh"; "required": false; }; "refreshInterval": { "alias": "refreshInterval"; "required": false; }; "config": { "alias": "config"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isScrolling": { "alias": "isScrolling"; "required": false; }; "
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmWidgetAlarmsReloadComponent, "c8y-alarm-widget-alarms-reload", never, { "isIntervalRefresh": { "alias": "isIntervalRefresh"; "required": false; }; "refreshInterval": { "alias": "refreshInterval"; "required": false; }; "config": { "alias": "config"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isScrolling": { "alias": "isScrolling"; "required": false; }; "isRefreshDisabled": { "alias": "isRefreshDisabled"; "required": false; }; }, { "onCountdownEnded": "onCountdownEnded"; "onRealTimeToggleChanged": "onRealTimeToggleChanged"; }, never, never, false, never>;
|
|
168
123
|
}
|
|
169
124
|
//# sourceMappingURL=alarm-widget-alarms-reload.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm-widget-alarms-reload.component.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/alarms/alarm-widget-alarms-reload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,8BAA8B,EAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAA0B,MAAM,2BAA2B,CAAC;;AAE1F,qBAIa,gCACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"alarm-widget-alarms-reload.component.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/alarms/alarm-widget-alarms-reload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,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;IAWR,eAAe;IAYf,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAsBzC,WAAW;IAMX;;OAEG;IACH,cAAc,IAAI,IAAI;IAOtB,MAAM,IAAI,IAAI;IASd;;;;;;OAMG;IACH,mBAAmB,IAAI,IAAI;IAM3B;;;;;;OAMG;IACH,eAAe,IAAI,IAAI;IAOvB;;;OAGG;IACH,oBAAoB,IAAI,MAAM;IAM9B;;;;;;;OAOG;IACH,eAAe,IAAI,IAAI;IAOvB;;OAEG;IACH,SAAS,CAAC,gCAAgC,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI;yCA/M1D,gCAAgC;2CAAhC,gCAAgC;CAwN5C"}
|
|
@@ -6,14 +6,15 @@ interface AssetNotes {
|
|
|
6
6
|
lastUpdated: string;
|
|
7
7
|
htmlContent: string;
|
|
8
8
|
}
|
|
9
|
+
export type AssetNotesConfig = {
|
|
10
|
+
device: Partial<IManagedObject>;
|
|
11
|
+
};
|
|
9
12
|
export declare class AssetNotesWidgetComponent implements OnInit {
|
|
10
13
|
private inventory;
|
|
11
14
|
private appState;
|
|
12
15
|
private alertService;
|
|
13
16
|
private datePipe;
|
|
14
|
-
config: InputSignal<
|
|
15
|
-
device: Partial<IManagedObject>;
|
|
16
|
-
}>;
|
|
17
|
+
config: InputSignal<AssetNotesConfig>;
|
|
17
18
|
notes: import("@angular/core").WritableSignal<AssetNotes>;
|
|
18
19
|
editable: import("@angular/core").WritableSignal<boolean>;
|
|
19
20
|
isLoading: import("@angular/core").Signal<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-notes-widget.component.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/asset-notes/asset-notes-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAsC,WAAW,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;;AAW/D,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAMa,yBAA0B,YAAW,MAAM;IACtD,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,QAAQ,CAA2B;IAC3C,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,QAAQ,CAAoB;IAEpC,MAAM,EAAE,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"asset-notes-widget.component.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/asset-notes/asset-notes-widget.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAsC,WAAW,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;;AAW/D,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,gBAAgB,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;CAAE,CAAC;AAEnE,qBAMa,yBAA0B,YAAW,MAAM;IACtD,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,QAAQ,CAA2B;IAC3C,OAAO,CAAC,YAAY,CAAwB;IAC5C,OAAO,CAAC,QAAQ,CAAoB;IAEpC,MAAM,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAW;IAEhD,KAAK,qDAAmC;IACxC,QAAQ,kDAAiB;IACzB,SAAS,0CAA2D;IAEpE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoC;IAC7D,sBAAsB;;;OAGlB;IAEE,QAAQ;IAId,UAAU;IAIJ,IAAI;YAqBI,SAAS;yCA/CZ,yBAAyB;2CAAzB,yBAAyB;CAuDrC"}
|
|
@@ -28,7 +28,7 @@ export declare class DatapointsTableWidgetConfigComponent implements OnInit, OnD
|
|
|
28
28
|
readonly view_and_config: "Widget and widget configuration";
|
|
29
29
|
readonly dashboard_context: "Dashboard time range";
|
|
30
30
|
};
|
|
31
|
-
readonly DEFAULT_DATE_SELECTOR_VALUE: "
|
|
31
|
+
readonly DEFAULT_DATE_SELECTOR_VALUE: "dashboard_context";
|
|
32
32
|
readonly DEFAULT_INTERVAL_VALUE: "hours";
|
|
33
33
|
readonly TIME_RANGE_INTERVAL_LABELS: {
|
|
34
34
|
readonly minutes: "Last minute";
|
|
@@ -39,7 +39,7 @@ export declare class DatapointsTableWidgetConfigComponent implements OnInit, OnD
|
|
|
39
39
|
readonly custom: "Custom";
|
|
40
40
|
};
|
|
41
41
|
readonly AGGREGATION_VALUES_ARR: readonly ["NONE", import("packages/client/lib").aggregationType.MINUTELY, import("packages/client/lib").aggregationType.HOURLY, import("packages/client/lib").aggregationType.DAILY];
|
|
42
|
-
readonly DATE_SELECTION_VALUES_ARR: readonly ["config", "view_and_config"];
|
|
42
|
+
readonly DATE_SELECTION_VALUES_ARR: readonly ["dashboard_context", "config", "view_and_config"];
|
|
43
43
|
readonly INTERVAL_VALUES_ARR: readonly ["minutes", "hours", "days", "weeks", "months", "custom"];
|
|
44
44
|
readonly REFRESH_INTERVAL_VALUES_ARR: number[];
|
|
45
45
|
datapointSelectionConfig: Partial<DatapointSelectorModalOptions>;
|
|
@@ -70,6 +70,7 @@ export declare class DatapointsTableWidgetConfigComponent implements OnInit, OnD
|
|
|
70
70
|
private updateTimeContext;
|
|
71
71
|
private initForm;
|
|
72
72
|
private createForm;
|
|
73
|
+
private determineGlobalDateSelectorValueForLegacyWidget;
|
|
73
74
|
private isAutoRefershDisabled;
|
|
74
75
|
/**
|
|
75
76
|
* Handles changes to the auto-refresh toggle control and updates the aggregation control accordingly.
|
|
@@ -121,6 +122,7 @@ export declare class DatapointsTableWidgetConfigComponent implements OnInit, OnD
|
|
|
121
122
|
* The `AGGREGATION_VALUES` object defines the possible aggregation values.
|
|
122
123
|
*/
|
|
123
124
|
private setToFirstAvailableAggregationOptionIfCurrentAggregationIsDisabled;
|
|
125
|
+
private deleteAggregationProperty;
|
|
124
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatapointsTableWidgetConfigComponent, never>;
|
|
125
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointsTableWidgetConfigComponent, "c8y-datapoints-table-view-config", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
126
128
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoints-table-config.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAEL,WAAW,EAEX,MAAM,EAGN,WAAW,EAEZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAKL,uBAAuB,EACvB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,EAG9B,MAAM,wCAAwC,CAAC;AAKhD,OAAO,EACL,qBAAqB,EAStB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;AAGrE,wBAAgB,qBAAqB,IAAI,WAAW,CAenD;AAED,qBAYa,oCAAqC,YAAW,MAAM,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"datapoints-table-config.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/datapoints-table/datapoints-table-config/datapoints-table-config.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAEL,WAAW,EAEX,MAAM,EAGN,WAAW,EAEZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAKL,uB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QAAQ,CAAuB;gBAG7B,kBAAkB,EAAE,kBAAkB,EACtC,sBAAsB,EAAE,sBAAsB,EAC9C,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,qBAAqB;IAG7C,QAAQ,IAAI,IAAI;IAkBhB,WAAW,IAAI,IAAI;IAKnB,YAAY,CAAC,MAAM,CAAC,EAAE,qBAAqB,GAAG,IAAI;IAYlD,4BAA4B,IAAI,IAAI;IAMpC,OAAO,CAAC,iBAAiB;IAoBzB,OAAO,CAAC,QAAQ;IAWhB,OAAO,CAAC,UAAU;IA8ClB,OAAO,CAAC,+CAA+C;IAcvD,OAAO,CAAC,qBAAqB;IAqB7B;;;;;;;OAOG;IACH,OAAO,CAAC,8BAA8B;IActC;;OAEG;IACH,OAAO,CAAC,6BAA6B;IAarC,OAAO,CAAC,uBAAuB;IAO/B,OAAO,CAAC,eAAe;IAwBvB,OAAO,CAAC,gCAAgC;IAOxC,OAAO,CAAC,sCAAsC;IAO9C,OAAO,CAAC,mBAAmB;IAO3B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IASjC,OAAO,CAAC,gBAAgB;IAcxB,OAAO,CAAC,8BAA8B;IAItC,OAAO,CAAC,mBAAmB;IAI3B;;OAEG;IACH,OAAO,CAAC,+BAA+B;IAYvC,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,uCAAuC;IAI/C,OAAO,CAAC,4BAA4B;IASpC;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,kEAAkE;IAc1E,OAAO,CAAC,yBAAyB;yCAtZtB,oCAAoC;2CAApC,oCAAoC;CA0ZhD"}
|
|
@@ -1,27 +1,32 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter,
|
|
2
|
-
import { CountdownIntervalComponent, IntervalBasedReload } from '@c8y/ngx-components';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { CountdownIntervalComponent, IntervalBasedReload, WidgetGlobalAutoRefreshService } from '@c8y/ngx-components';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DatapointsReloadComponent extends IntervalBasedReload implements OnChanges {
|
|
6
|
+
export declare class DatapointsReloadComponent extends IntervalBasedReload implements OnChanges, AfterViewInit, OnDestroy {
|
|
6
7
|
private cdRef;
|
|
7
|
-
private injector;
|
|
8
8
|
private translateService;
|
|
9
|
+
private widgetGlobalAutoRefreshService;
|
|
9
10
|
countdownIntervalComponent: CountdownIntervalComponent;
|
|
10
11
|
/**
|
|
11
12
|
* @inheritdoc
|
|
12
13
|
*/
|
|
13
14
|
isAutoRefreshEnabled: boolean;
|
|
14
|
-
isDisabled: boolean;
|
|
15
15
|
/**
|
|
16
16
|
* @inheritdoc
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
isRefreshDisabled: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @inheritdoc
|
|
21
|
+
*/
|
|
22
|
+
isLoading: BehaviorSubject<boolean>;
|
|
19
23
|
isScrolling: boolean;
|
|
20
24
|
isExportModalOpen: boolean;
|
|
21
25
|
/**
|
|
22
26
|
* @inheritdoc
|
|
23
27
|
*/
|
|
24
28
|
refreshInterval: number;
|
|
29
|
+
widgetInstanceGlobalAutoRefreshContext: boolean;
|
|
25
30
|
/**
|
|
26
31
|
* @inheritdoc
|
|
27
32
|
*/
|
|
@@ -39,8 +44,11 @@ export declare class DatapointsReloadComponent extends IntervalBasedReload imple
|
|
|
39
44
|
* @inheritdoc
|
|
40
45
|
*/
|
|
41
46
|
protected hideCountdown: boolean;
|
|
42
|
-
|
|
47
|
+
protected destroy$: Subject<void>;
|
|
48
|
+
constructor(cdRef: ChangeDetectorRef, translateService: TranslateService, widgetGlobalAutoRefreshService: WidgetGlobalAutoRefreshService);
|
|
49
|
+
ngAfterViewInit(): void;
|
|
43
50
|
ngOnChanges(changes: SimpleChanges): void;
|
|
51
|
+
ngOnDestroy(): void;
|
|
44
52
|
/**
|
|
45
53
|
* @inheritdoc
|
|
46
54
|
*/
|
|
@@ -58,6 +66,6 @@ export declare class DatapointsReloadComponent extends IntervalBasedReload imple
|
|
|
58
66
|
private canHandleScrolling;
|
|
59
67
|
private canDisableCountdownWhenModalIsOpen;
|
|
60
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatapointsReloadComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointsReloadComponent, "c8y-datapoints-reload", never, { "isAutoRefreshEnabled": { "alias": "isAutoRefreshEnabled"; "required": false; }; "
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointsReloadComponent, "c8y-datapoints-reload", never, { "isAutoRefreshEnabled": { "alias": "isAutoRefreshEnabled"; "required": false; }; "isRefreshDisabled": { "alias": "isRefreshDisabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isScrolling": { "alias": "isScrolling"; "required": false; }; "isExportModalOpen": { "alias": "isExportModalOpen"; "required": false; }; "refreshInterval": { "alias": "refreshInterval"; "required": false; }; "widgetInstanceGlobalAutoRefreshContext": { "alias": "widgetInstanceGlobalAutoRefreshContext"; "required": false; }; }, { "onCountdownEnded": "onCountdownEnded"; }, never, never, true, never>;
|
|
62
70
|
}
|
|
63
71
|
//# sourceMappingURL=datapoints-reload.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoints-reload.component.d.ts","sourceRoot":"","sources":["../../../../../../widgets/implementations/datapoints-table/datapoints-table-view/datapoints-reload/datapoints-reload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,
|
|
1
|
+
{"version":3,"file":"datapoints-reload.component.d.ts","sourceRoot":"","sources":["../../../../../../widgets/implementations/datapoints-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AW,IAAI,IAAI;IAQnB;;OAEG;IACH,cAAc,IAAI,IAAI;IAOtB,MAAM,IAAI,IAAI;IAOd;;OAEG;IACH,eAAe,IAAI,IAAI;IAOvB;;OAEG;IACH,SAAS,CAAC,gCAAgC,IAAI,IAAI;IAMlD,OAAO,CAAC,iBAAiB;IAQzB,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,kCAAkC;yCAlJ/B,yBAAyB;2CAAzB,yBAAyB;CA2JrC"}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
|
-
import { DynamicComponentAlertAggregator } from '@c8y/ngx-components';
|
|
3
|
+
import { AlertService, DynamicComponentAlertAggregator, WidgetGlobalAutoRefreshService } from '@c8y/ngx-components';
|
|
4
4
|
import { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
|
|
5
5
|
import { DataFetchingService, ExportConfig, SourceId } from '@c8y/ngx-components/datapoints-export-selector';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
8
|
import { DatapointWithValues, DatapointsTableConfig, GroupedDatapointTableItem, TableColumnHeader } from '../datapoints-table-widget.model';
|
|
8
9
|
import { DatapointsTableService } from '../datapoints-table.service';
|
|
9
10
|
import { DatapointsTableViewService } from './datapoints-table-view.service';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class DatapointsTableViewWidgetComponent implements OnInit, OnDestroy {
|
|
13
|
+
private alertService;
|
|
12
14
|
private dataFetchingService;
|
|
13
15
|
private datapointsTableConfigService;
|
|
14
16
|
private datapointsTableViewService;
|
|
15
17
|
private formBuilder;
|
|
16
18
|
private translateService;
|
|
19
|
+
private widgetGlobalAutoRefresh;
|
|
17
20
|
/**
|
|
18
21
|
* Data points table widget config.
|
|
19
22
|
*/
|
|
@@ -23,6 +26,10 @@ export declare class DatapointsTableViewWidgetComponent implements OnInit, OnDes
|
|
|
23
26
|
* Represents the data points where __active property is set to true.
|
|
24
27
|
*/
|
|
25
28
|
activeDatapoints: KPIDetails[];
|
|
29
|
+
/**
|
|
30
|
+
* Represents the custom CSS style for the export selector component.
|
|
31
|
+
*/
|
|
32
|
+
containerClass: string;
|
|
26
33
|
/**
|
|
27
34
|
* An array of objects representing datapoints with their corresponding values.
|
|
28
35
|
* Used to populate the CSV/Excel file with data.
|
|
@@ -44,7 +51,11 @@ export declare class DatapointsTableViewWidgetComponent implements OnInit, OnDes
|
|
|
44
51
|
* If is true, then a column 'Device' will be displayed in the table.
|
|
45
52
|
*/
|
|
46
53
|
hasMultipleDatapoints: boolean;
|
|
47
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Indicates whether refreshing should be enabled or disabled.
|
|
56
|
+
* It's 'true' when user is not allowed to view a measurements.
|
|
57
|
+
*/
|
|
58
|
+
isRefreshDisabled: boolean;
|
|
48
59
|
/**
|
|
49
60
|
* Indicates whether the component is in the initial request state
|
|
50
61
|
* where data for a table structure is being prepared.
|
|
@@ -53,21 +64,25 @@ export declare class DatapointsTableViewWidgetComponent implements OnInit, OnDes
|
|
|
53
64
|
/**
|
|
54
65
|
* Current isLoading state. Indicates whether the data is being loaded.
|
|
55
66
|
*/
|
|
56
|
-
isLoading
|
|
67
|
+
isLoading$: BehaviorSubject<boolean>;
|
|
57
68
|
isExportModalOpen: boolean;
|
|
58
69
|
isScrolling: import("@angular/core").WritableSignal<boolean>;
|
|
59
70
|
seriesWithoutPermissionToRead: {
|
|
60
71
|
key: SourceId;
|
|
61
72
|
value: string[];
|
|
62
73
|
}[];
|
|
74
|
+
private TIMEOUT_ERROR_TEXT;
|
|
75
|
+
private SERVER_ERROR_TEXT;
|
|
76
|
+
private destroy$;
|
|
63
77
|
private scrollingSubject$;
|
|
64
78
|
private subscription;
|
|
79
|
+
private isFailedToFetchSeriesData;
|
|
65
80
|
/**
|
|
66
81
|
* Indicates if the alert has already been displayed and can be dismissed.
|
|
67
82
|
* The message is only displayed when a component is initialized.
|
|
68
83
|
*/
|
|
69
84
|
private isMissingAnyPermissionAlertShown;
|
|
70
|
-
constructor(dataFetchingService: DataFetchingService, datapointsTableConfigService: DatapointsTableService, datapointsTableViewService: DatapointsTableViewService, formBuilder: FormBuilder, translateService: TranslateService);
|
|
85
|
+
constructor(alertService: AlertService, dataFetchingService: DataFetchingService, datapointsTableConfigService: DatapointsTableService, datapointsTableViewService: DatapointsTableViewService, formBuilder: FormBuilder, translateService: TranslateService, widgetGlobalAutoRefresh: WidgetGlobalAutoRefreshService);
|
|
71
86
|
ngOnInit(): Promise<void>;
|
|
72
87
|
ngOnDestroy(): void;
|
|
73
88
|
onDateChange(data: {
|
|
@@ -117,11 +132,13 @@ export declare class DatapointsTableViewWidgetComponent implements OnInit, OnDes
|
|
|
117
132
|
* @returns A Promise that resolves to a Map object with data point IDs as keys and DataObject as values.
|
|
118
133
|
*/
|
|
119
134
|
private getActiveDatapointsSeriesDataMap;
|
|
135
|
+
private handleFetchError;
|
|
120
136
|
private handleMissingAnyPermissionErrorMessage;
|
|
121
137
|
private getMissingPermissionsMessage;
|
|
122
138
|
private updateExportConfigDateRange;
|
|
123
139
|
private adjustTargetDateBasedOnConditionTime;
|
|
124
140
|
private syncExportConfigDates;
|
|
141
|
+
private handleGlobalRefreshLoading;
|
|
125
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatapointsTableViewWidgetComponent, never>;
|
|
126
143
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatapointsTableViewWidgetComponent, "c8y-datapoints-table-view", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
127
144
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoints-table-view.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAoC,MAAM,gBAAgB,CAAC;AAE/E,OAAO,
|
|
1
|
+
{"version":3,"file":"datapoints-table-view.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/datapoints-table/datapoints-table-view/datapoints-table-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAoC,MAAM,gBAAgB,CAAC;AAE/E,OAAO,EACL,YAAY,EAIZ,+BAA+B,EAC/B,8BAA8B,EAG/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EACL,mBAAmB,EAGnB,YAAY,EACZ,QAAQ,EAET,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAkD,MAAM,MAAM,CAAC;AACvF,OAAO,EAGL,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;;AAG7E,qBAca,kCAAmC,YAAW,MAAM,EAAE,SAAS;IA4ExE,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,mBAAmB;IAC3B,OAAO,CAAC,4BAA4B;IACpC,OAAO,CAAC,0BAA0B;IAClC,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,uBAAuB;IAjFjC;;OAEG;IACM,MAAM,EAAE,qBAAqB,CAAC;IAEvC,MAAM,EAAE,+BAA+B,CAAC;IAExC;;OAEG;IACH,gBAAgB,EAAE,UAAU,EAAE,CAAM;IACpC;;OAEG;IACH,cAAc,E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AAI;IAgB9E,iBAAiB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAI1C,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAI3B,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAgBvC,OAAO,CAAC,+BAA+B;IAUvC;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,kCAAkC;IAK1C,OAAO,CAAC,qCAAqC;IAY7C,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,UAAU;IAUlB;;;;;;;;;;;;;;OAcG;YACW,gBAAgB;IAyE9B;;;;;;;;;;;OAWG;YACW,gCAAgC;IAkB9C,OAAO,CAAC,gBAAgB;IA4BxB,OAAO,CAAC,sCAAsC;IAY9C,OAAO,CAAC,4BAA4B;IAoBpC,OAAO,CAAC,2BAA2B;IAcnC,OAAO,CAAC,oCAAoC;IAO5C,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,0BAA0B;yCA5bvB,kCAAkC;2CAAlC,kCAAkC;CAic9C"}
|
|
@@ -34,10 +34,11 @@ export type Value = {
|
|
|
34
34
|
[key in keyof MinMaxValues]: number;
|
|
35
35
|
};
|
|
36
36
|
export declare const DATE_SELECTION_VALUES: {
|
|
37
|
+
readonly dashboard_context: "dashboard_context";
|
|
37
38
|
readonly config: "config";
|
|
38
39
|
readonly view_and_config: "view_and_config";
|
|
39
40
|
};
|
|
40
|
-
export declare const DATE_SELECTION_VALUES_ARR: readonly ["config", "view_and_config"];
|
|
41
|
+
export declare const DATE_SELECTION_VALUES_ARR: readonly ["dashboard_context", "config", "view_and_config"];
|
|
41
42
|
export declare const DATE_SELECTION_LABELS: {
|
|
42
43
|
readonly config: "Widget configuration";
|
|
43
44
|
readonly view_and_config: "Widget and widget configuration";
|
|
@@ -116,7 +117,7 @@ export interface DateRange {
|
|
|
116
117
|
dateTo: string;
|
|
117
118
|
}
|
|
118
119
|
export interface DatapointsTableConfig {
|
|
119
|
-
aggregation?: AggregationOption;
|
|
120
|
+
aggregation?: AggregationOption | null;
|
|
120
121
|
context?: number;
|
|
121
122
|
datapoints: KPIDetails[];
|
|
122
123
|
/**
|
|
@@ -131,13 +132,16 @@ export interface DatapointsTableConfig {
|
|
|
131
132
|
globalTimeContext: boolean;
|
|
132
133
|
globalRealtimeContext: boolean;
|
|
133
134
|
globalAggregationContext: boolean;
|
|
135
|
+
globalAutoRefreshContext: boolean;
|
|
134
136
|
};
|
|
135
137
|
interval: Interval['id'];
|
|
136
138
|
isAutoRefreshEnabled: boolean;
|
|
137
139
|
realtime: boolean;
|
|
138
140
|
refreshInterval?: number;
|
|
139
|
-
selected
|
|
140
|
-
widgetInstanceGlobalTimeContext
|
|
141
|
+
selected?: object | null;
|
|
142
|
+
widgetInstanceGlobalTimeContext?: boolean | null;
|
|
143
|
+
widgetInstanceGlobalAutoRefreshContext: boolean;
|
|
144
|
+
globalDateSelector?: keyof typeof DATE_SELECTION_VALUES;
|
|
141
145
|
}
|
|
142
146
|
export interface DatapointTableItem {
|
|
143
147
|
dateAndTime: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datapoints-table-widget.model.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/datapoints-table/datapoints-table-widget.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAW,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAmB,MAAM,qCAAqC,CAAC;AAEhF,eAAO,MAAM,kCAAkC,QAAS,CAAC;AAEzD,MAAM,MAAM,oBAAoB,GAAG,GAAG,SAAS,IAAI,UAAU,EAAE,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC,oBAAoB,EAAE,CAAC,kBAAkB,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;AAE1F,KAAK,UAAU,GAAG,MAAM,CAAC;AAEzB;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAC7D;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAC1D;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,CAAC,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;CACvC,CAAC;AACF;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;KACjB,GAAG,IAAI,MAAM,YAAY,GAAG,MAAM;CACpC,CAAC;AAEF,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"datapoints-table-widget.model.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/datapoints-table/datapoints-table-widget.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAW,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAmB,MAAM,qCAAqC,CAAC;AAEhF,eAAO,MAAM,kCAAkC,QAAS,CAAC;AAEzD,MAAM,MAAM,oBAAoB,GAAG,GAAG,SAAS,IAAI,UAAU,EAAE,CAAC;AAChE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC,oBAAoB,EAAE,CAAC,kBAAkB,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;AAE1F,KAAK,UAAU,GAAG,MAAM,CAAC;AAEzB;;;GAGG;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AAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC;QACT,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,KAAK,CAAC;QACb,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,GAAG,IAAI,CAAC,EAAE,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,QAAQ,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,cAAc,CAAC;CACrB"}
|
|
@@ -5,14 +5,15 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
export type DeviceControlMessageWidgetConfig = {
|
|
9
|
+
device?: IManagedObject;
|
|
10
|
+
};
|
|
8
11
|
export declare class DeviceControlMessageWidgetViewComponent implements OnChanges, DynamicComponent, OnDestroy, OnInit {
|
|
9
12
|
private alert;
|
|
10
13
|
private operation;
|
|
11
14
|
private translate;
|
|
12
15
|
private dashboard;
|
|
13
|
-
config:
|
|
14
|
-
device?: IManagedObject;
|
|
15
|
-
};
|
|
16
|
+
config: DeviceControlMessageWidgetConfig;
|
|
16
17
|
operationSupportedByDevice$: Observable<boolean>;
|
|
17
18
|
messageToBeSent: string;
|
|
18
19
|
alerts: DynamicComponentAlertAggregator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-control-message-widget-view.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AACzF,OAAO,EACL,YAAY,EAEZ,gBAAgB,EAEhB,+BAA+B,EAEhC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAmB,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;;AAGlF,qBAMa,uCACX,YAAW,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM;IAWvD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,SAAS;IACL,OAAO,CAAC,SAAS;IAZtB,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"device-control-message-widget-view.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/device-control-message/device-control-message-widget-view/device-control-message-widget-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,SAAS,EAAE,MAAM,EAAY,MAAM,eAAe,CAAC;AACzF,OAAO,EACL,YAAY,EAEZ,gBAAgB,EAEhB,+BAA+B,EAEhC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAmB,UAAU,EAAgB,MAAM,MAAM,CAAC;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;;AAGlF,MAAM,MAAM,gCAAgC,GAAG;IAAE,MAAM,CAAC,EAAE,cAAc,CAAA;CAAE,CAAC;AAE3E,qBAMa,uCACX,YAAW,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM;IAWvD,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,SAAS;IACL,OAAO,CAAC,SAAS;IAZtB,MAAM,EAAE,gCAAgC,CAAC;IAClD,2BAA2B,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACjD,eAAe,SAAM;IACrB,MAAM,EAAE,+BAA+B,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAiB;IACpD,OAAO,CAAC,aAAa,CAAoD;IACzE,OAAO,CAAC,sCAAsC,CAAe;gBAGnD,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,gBAAgB,EAC3B,SAAS,EAAE,gBAAgB,EACf,SAAS,EAAE,yBAAyB;IAiB1D,QAAQ,IAAI,IAAI;IAoBhB,WAAW,IAAI,IAAI;IAInB,WAAW,IAAI,IAAI;IAMb,WAAW;yCA9DN,uCAAuC;2CAAvC,uCAAuC;CA6EnD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './info-gauge-widget.module';
|
|
2
2
|
export * from './info-gauge-widget-view/info-gauge-widget-view.component';
|
|
3
3
|
export * from './info-gauge-widget-config/info-gauge-widget-config.component';
|
|
4
|
+
export * from './info-gauge.model';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/info-gauge/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+DAA+D,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/info-gauge/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2DAA2D,CAAC;AAC1E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, NgForm } from '@angular/forms';
|
|
3
|
-
import { type DatapointAttributesFormConfig, type DatapointSelectorModalOptions
|
|
3
|
+
import { type DatapointAttributesFormConfig, type DatapointSelectorModalOptions } from '@c8y/ngx-components/datapoint-selector';
|
|
4
4
|
import { WidgetConfigComponent } from '@c8y/ngx-components/context-dashboard';
|
|
5
5
|
import { OnBeforeSave } from '@c8y/ngx-components';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
+
import { InfoGaugeWidgetConfig } from '../info-gauge.model';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class InfoGaugeWidgetConfigComponent implements OnInit, OnBeforeSave {
|
|
9
10
|
private formBuilder;
|
|
10
11
|
private form;
|
|
11
12
|
private widgetConfig;
|
|
12
|
-
config:
|
|
13
|
-
datapointsLabels?: KPIDetails[];
|
|
14
|
-
datapointsGauge: KPIDetails[];
|
|
15
|
-
fractionSize: number;
|
|
16
|
-
};
|
|
13
|
+
config: InfoGaugeWidgetConfig;
|
|
17
14
|
formGroup: ReturnType<InfoGaugeWidgetConfigComponent['createForm']>;
|
|
18
15
|
datapointSelectionConfig: Partial<DatapointSelectorModalOptions>;
|
|
19
16
|
defaultFormOptions: Partial<DatapointAttributesFormConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info-gauge-widget-config.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,MAAM,eAAe,CAAC;AACzD,OAAO,EAGL,WAAW,EACX,MAAM,EAIP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,
|
|
1
|
+
{"version":3,"file":"info-gauge-widget-config.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/info-gauge/info-gauge-widget-config/info-gauge-widget-config.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAS,MAAM,eAAe,CAAC;AACzD,OAAO,EAGL,WAAW,EACX,MAAM,EAIP,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEL,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAEnC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAc,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;;AAqB5D,qBAOa,8BAA+B,YAAW,MAAM,EAAE,YAAY;IAevE,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,YAAY;IAhBb,MAAM,EAAE,qBAAqB,CAAC;IACvC,SAAS,EAAE,UAAU,CAAC,8BAA8B,CAAC,YAAY,CAAC,CAAC,CAAC;IACpE,wBAAwB,EAAE,OAAO,CAAC,6BAA6B,CAAC,CAAM;IACtE,kBAAkB,EAAE,OAAO,CAAC,6BAA6B,CAAC,CAIxD;IACF,OAAO,CAAC,MAAM,CAGH;gBAGD,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,qBAAqB;IAG7C,YAAY,CACV,MAAM,CAAC,EAAE,8BAA8B,CAAC,QAAQ,CAAC,GAChD,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC;IAQnD,QAAQ;IAgBR,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,UAAU;yCApDP,8BAA8B;2CAA9B,8BAA8B;CAyE1C"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { OnChanges } from '@angular/core';
|
|
2
2
|
import type { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
|
|
3
3
|
import { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';
|
|
4
|
+
import { InfoGaugeWidgetConfig } from '../info-gauge.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class InfoGaugeWidgetViewComponent implements OnChanges {
|
|
6
7
|
private dashboard;
|
|
7
|
-
config:
|
|
8
|
-
datapointsLabels?: KPIDetails[];
|
|
9
|
-
datapointsGauge: KPIDetails[];
|
|
10
|
-
fractionSize: number;
|
|
11
|
-
};
|
|
8
|
+
config: InfoGaugeWidgetConfig;
|
|
12
9
|
activeDatapointLabels: any[];
|
|
13
10
|
activeDatapointGauge: KPIDetails;
|
|
14
11
|
fractionSize: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info-gauge-widget-view.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAmB,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAIzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC
|
|
1
|
+
{"version":3,"file":"info-gauge-widget-view.component.d.ts","sourceRoot":"","sources":["../../../../../widgets/implementations/info-gauge/info-gauge-widget-view/info-gauge-widget-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAmB,MAAM,eAAe,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAIzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;;AAE5D,qBAQa,4BAA6B,YAAW,SAAS;IAMpC,OAAO,CAAC,SAAS;IALhC,MAAM,EAAE,qBAAqB,CAAC;IACvC,qBAAqB,QAAM;IAC3B,oBAAoB,EAAE,UAAU,CAAC;IACjC,YAAY,SAAW;gBAES,SAAS,EAAE,yBAAyB;IAEpE,WAAW,IAAI,IAAI;IAgBnB,OAAO,CAAC,iCAAiC;yCAxB9B,4BAA4B;2CAA5B,4BAA4B;CAkCxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-gauge.model.d.ts","sourceRoot":"","sources":["../../../../widgets/implementations/info-gauge/info-gauge.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAEzE,MAAM,MAAM,qBAAqB,GAAG;IAClC,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,eAAe,EAAE,UAAU,EAAE,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -2,11 +2,11 @@ import { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
|
|
|
2
2
|
import { SupportedIconsSuggestions } from '@c8y/ngx-components/icon-selector/icons';
|
|
3
3
|
export interface KpiWidgetConfig {
|
|
4
4
|
datapoints: KPIDetails[];
|
|
5
|
-
icon?: SupportedIconsSuggestions;
|
|
6
|
-
showTimestamp?: boolean;
|
|
7
|
-
showTrend?: boolean;
|
|
8
|
-
showIcon?: boolean;
|
|
9
|
-
numberOfDecimalPlaces?: number;
|
|
10
|
-
fontSize?: number;
|
|
5
|
+
icon?: SupportedIconsSuggestions | null;
|
|
6
|
+
showTimestamp?: boolean | null;
|
|
7
|
+
showTrend?: boolean | null;
|
|
8
|
+
showIcon?: boolean | null;
|
|
9
|
+
numberOfDecimalPlaces?: number | null;
|
|
10
|
+
fontSize?: number | null;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=kpi-widget.model.d.ts.map
|