@c8y/ngx-components 1021.52.0 → 1021.54.2
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/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts +10 -2
- package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.d.ts +11 -0
- package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.d.ts.map +1 -0
- package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts +10 -4
- package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.d.ts +3 -1
- package/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.d.ts.map +1 -1
- package/alarm-event-selector/alarm-event-selector.model.d.ts +7 -0
- package/alarm-event-selector/alarm-event-selector.model.d.ts.map +1 -1
- package/core/dashboard/dashboard-child-action.component.d.ts +1 -1
- package/core/dashboard/dashboard-child-action.component.d.ts.map +1 -1
- package/core/dashboard/dashboard.module.d.ts +29 -29
- package/core/dashboard/index.d.ts +3 -0
- package/core/dashboard/index.d.ts.map +1 -1
- package/core/dashboard/widgets-dashboard.component.d.ts +1 -1
- package/core/dashboard/widgets-dashboard.component.d.ts.map +1 -1
- package/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.d.ts +1 -1
- package/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.d.ts.map +1 -1
- package/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.d.ts +1 -1
- package/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.d.ts.map +1 -1
- package/core/dashboard/wiget-time-context/widget-time-context-date-range.service.d.ts +10 -0
- package/core/dashboard/wiget-time-context/widget-time-context-date-range.service.d.ts.map +1 -0
- package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts +7 -4
- package/core/dashboard/wiget-time-context/widget-time-context.component.d.ts.map +1 -1
- package/core/dashboard/wiget-time-context/widget-time-context.model.d.ts +0 -1
- package/core/dashboard/wiget-time-context/widget-time-context.model.d.ts.map +1 -1
- package/core/date-picker/date-picker.component.d.ts +1 -1
- package/core/date-picker/date-picker.component.d.ts.map +1 -1
- package/core/date-picker/date-picker.module.d.ts +9 -9
- package/core/date-time-picker/close-date-picker.directive.d.ts +1 -1
- package/core/date-time-picker/close-date-picker.directive.d.ts.map +1 -1
- package/core/date-time-picker/date-time-picker.component.d.ts +6 -3
- package/core/date-time-picker/date-time-picker.component.d.ts.map +1 -1
- package/core/date-time-picker/date-time-picker.module.d.ts +11 -11
- package/core/date-time-picker/date-time-picker.module.d.ts.map +1 -1
- package/core/forms/forms.module.d.ts +18 -18
- package/core/forms/required-input-placeholder.directive.d.ts +1 -1
- package/core/forms/required-input-placeholder.directive.d.ts.map +1 -1
- package/core/router/router.service.d.ts.map +1 -1
- package/core/user/user-menu.service.d.ts +36 -11
- package/core/user/user-menu.service.d.ts.map +1 -1
- package/datapoint-explorer/c8y-ngx-components-datapoint-explorer.d.ts.map +1 -0
- package/datapoint-explorer/datapoint-explorer.module.d.ts +7 -0
- package/datapoint-explorer/datapoint-explorer.module.d.ts.map +1 -0
- package/datapoint-explorer/index.d.ts +2 -0
- package/datapoint-explorer/index.d.ts.map +1 -0
- package/datapoint-explorer/view/c8y-ngx-components-datapoint-explorer-view.d.ts.map +1 -0
- package/datapoint-explorer/view/configuration/naming-dictionary.d.ts +3 -0
- package/datapoint-explorer/view/configuration/naming-dictionary.d.ts.map +1 -0
- package/datapoint-explorer/view/configuration/workspace-configuration.component.d.ts +38 -0
- package/datapoint-explorer/view/configuration/workspace-configuration.component.d.ts.map +1 -0
- package/datapoint-explorer/view/configuration/workspace-configuration.model.d.ts +7 -0
- package/datapoint-explorer/view/configuration/workspace-configuration.model.d.ts.map +1 -0
- package/datapoint-explorer/view/configuration/workspace-configuration.service.d.ts +15 -0
- package/datapoint-explorer/view/configuration/workspace-configuration.service.d.ts.map +1 -0
- package/datapoint-explorer/view/create-new-report-modal/create-new-report-modal.component.d.ts +25 -0
- package/datapoint-explorer/view/create-new-report-modal/create-new-report-modal.component.d.ts.map +1 -0
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts +67 -0
- package/datapoint-explorer/view/datapoint-explorer.component.d.ts.map +1 -0
- package/datapoint-explorer/view/datapoint-explorer.service.d.ts +9 -0
- package/datapoint-explorer/view/datapoint-explorer.service.d.ts.map +1 -0
- package/datapoint-explorer/view/index.d.ts +2 -0
- package/datapoint-explorer/view/index.d.ts.map +1 -0
- package/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.d.ts +23 -0
- package/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.d.ts.map +1 -0
- package/echart/c8y-ngx-components-echart.d.ts.map +1 -0
- package/echart/chart-alerts/chart-alerts.component.d.ts +8 -0
- package/echart/chart-alerts/chart-alerts.component.d.ts.map +1 -0
- package/echart/charts.component.d.ts +63 -0
- package/echart/charts.component.d.ts.map +1 -0
- package/echart/index.d.ts +5 -0
- package/echart/index.d.ts.map +1 -0
- package/echart/models/c8y-ngx-components-echart-models.d.ts.map +1 -0
- package/echart/models/chart.model.d.ts +37 -0
- package/echart/models/chart.model.d.ts.map +1 -0
- package/echart/models/datapoints-graph-widget.model.d.ts +126 -0
- package/echart/models/datapoints-graph-widget.model.d.ts.map +1 -0
- package/echart/models/index.d.ts +4 -0
- package/echart/models/index.d.ts.map +1 -0
- package/echart/models/svg-icons.model.d.ts +22 -0
- package/echart/models/svg-icons.model.d.ts.map +1 -0
- package/echart/services/chart-alarms.service.d.ts +17 -0
- package/echart/services/chart-alarms.service.d.ts.map +1 -0
- package/echart/services/chart-events.service.d.ts +17 -0
- package/echart/services/chart-events.service.d.ts.map +1 -0
- package/echart/services/chart-realtime.service.d.ts +35 -0
- package/echart/services/chart-realtime.service.d.ts.map +1 -0
- package/echart/services/chart-types.service.d.ts +15 -0
- package/echart/services/chart-types.service.d.ts.map +1 -0
- package/echart/services/custom-measurements.service.d.ts +12 -0
- package/echart/services/custom-measurements.service.d.ts.map +1 -0
- package/echart/services/echarts-options.service.d.ts +143 -0
- package/echart/services/echarts-options.service.d.ts.map +1 -0
- package/echart/services/y-axis.service.d.ts +17 -0
- package/echart/services/y-axis.service.d.ts.map +1 -0
- package/esm2022/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.mjs +37 -12
- package/esm2022/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.mjs +2 -0
- package/esm2022/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.mjs +39 -12
- package/esm2022/alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.mjs +6 -4
- package/esm2022/alarm-event-selector/alarm-event-selector.component.mjs +1 -1
- package/esm2022/alarm-event-selector/alarm-event-selector.model.mjs +1 -1
- package/esm2022/alarm-event-selector/custom-alarm-event-form/custom-alarm-event-form.component.mjs +1 -1
- package/esm2022/alarms/alarms-filter.component.mjs +3 -3
- package/esm2022/core/dashboard/dashboard-child-action.component.mjs +3 -3
- package/esm2022/core/dashboard/dashboard.module.mjs +17 -14
- package/esm2022/core/dashboard/index.mjs +4 -1
- package/esm2022/core/dashboard/widgets-dashboard.component.mjs +9 -9
- package/esm2022/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.mjs +11 -9
- package/esm2022/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.mjs +8 -7
- package/esm2022/core/dashboard/wiget-time-context/widget-time-context-date-range.service.mjs +23 -0
- package/esm2022/core/dashboard/wiget-time-context/widget-time-context.component.mjs +70 -26
- package/esm2022/core/dashboard/wiget-time-context/widget-time-context.model.mjs +1 -1
- package/esm2022/core/date-picker/date-picker.component.mjs +29 -14
- package/esm2022/core/date-picker/date-picker.module.mjs +9 -7
- package/esm2022/core/date-time-picker/close-date-picker.directive.mjs +4 -3
- package/esm2022/core/date-time-picker/date-time-picker.component.mjs +57 -29
- package/esm2022/core/date-time-picker/date-time-picker.module.mjs +11 -7
- package/esm2022/core/forms/forms.module.mjs +3 -3
- package/esm2022/core/forms/ip-range-input-list.component.mjs +5 -5
- package/esm2022/core/forms/required-input-placeholder.directive.mjs +4 -3
- package/esm2022/core/router/router.service.mjs +1 -1
- package/esm2022/core/user/user-menu.service.mjs +57 -17
- package/esm2022/datapoint-explorer/c8y-ngx-components-datapoint-explorer.mjs +5 -0
- package/esm2022/datapoint-explorer/datapoint-explorer.module.mjs +65 -0
- package/esm2022/datapoint-explorer/index.mjs +2 -0
- package/esm2022/datapoint-explorer/view/c8y-ngx-components-datapoint-explorer-view.mjs +5 -0
- package/esm2022/datapoint-explorer/view/configuration/naming-dictionary.mjs +65 -0
- package/esm2022/datapoint-explorer/view/configuration/workspace-configuration.component.mjs +169 -0
- package/esm2022/datapoint-explorer/view/configuration/workspace-configuration.model.mjs +2 -0
- package/esm2022/datapoint-explorer/view/configuration/workspace-configuration.service.mjs +40 -0
- package/esm2022/datapoint-explorer/view/create-new-report-modal/create-new-report-modal.component.mjs +64 -0
- package/esm2022/datapoint-explorer/view/datapoint-explorer.component.mjs +279 -0
- package/esm2022/datapoint-explorer/view/datapoint-explorer.service.mjs +23 -0
- package/esm2022/datapoint-explorer/view/index.mjs +2 -0
- package/esm2022/datapoint-explorer/view/send-as-widget-to-report-modal/send-as-widget-to-report-modal.component.mjs +48 -0
- package/esm2022/datapoint-selector/datapoint-attributes-form/datapoint-attributes-form.component.mjs +3 -3
- package/esm2022/datapoint-selector/datapoint-selector-list-item/datapoint-selector-list-item.component.mjs +3 -3
- package/esm2022/datapoints-export-selector/datapoints-export-selector-modal/datapoints-export-selector-file-exporter/datapoints-exports-selector-file-types/datapoints-exports-selector-file-types.component.mjs +3 -3
- package/esm2022/datapoints-export-selector/datapoints-export-selector.component.mjs +3 -3
- package/esm2022/device-list/add-smart-group.component.mjs +3 -3
- package/esm2022/echart/c8y-ngx-components-echart.mjs +5 -0
- package/esm2022/echart/chart-alerts/chart-alerts.component.mjs +16 -0
- package/esm2022/echart/charts.component.mjs +560 -0
- package/esm2022/echart/index.mjs +5 -0
- package/esm2022/echart/models/c8y-ngx-components-echart-models.mjs +5 -0
- package/esm2022/echart/models/chart.model.mjs +2 -0
- package/esm2022/echart/models/datapoints-graph-widget.model.mjs +17 -0
- package/esm2022/echart/models/index.mjs +4 -0
- package/esm2022/echart/models/svg-icons.model.mjs +22 -0
- package/esm2022/echart/services/chart-alarms.service.mjs +58 -0
- package/esm2022/echart/services/chart-events.service.mjs +44 -0
- package/esm2022/echart/services/chart-realtime.service.mjs +193 -0
- package/esm2022/echart/services/chart-types.service.mjs +102 -0
- package/esm2022/echart/services/custom-measurements.service.mjs +52 -0
- package/esm2022/echart/services/echarts-options.service.mjs +857 -0
- package/esm2022/echart/services/y-axis.service.mjs +150 -0
- package/esm2022/interval-picker/interval-picker.component.mjs +3 -3
- package/esm2022/interval-picker/interval-picker.model.mjs +1 -1
- package/esm2022/report-dashboard/index.mjs +2 -1
- package/esm2022/time-context/c8y-ngx-components-time-context.mjs +5 -0
- package/esm2022/time-context/index.mjs +2 -0
- package/esm2022/time-context/time-context.component.mjs +217 -0
- package/esm2022/time-context/time-context.service.mjs +83 -0
- package/esm2022/translation-editor/lazy/translation-editor/translation-editor.component.mjs +6 -5
- package/esm2022/widgets/cockpit-exports/index.mjs +8 -1
- package/esm2022/widgets/definitions/datapoints-graph/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +5 -0
- package/esm2022/widgets/definitions/datapoints-graph/index.mjs +31 -0
- package/esm2022/widgets/definitions/index.mjs +3 -2
- package/esm2022/widgets/implementations/datapoints-graph/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +5 -0
- package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.mjs +239 -0
- package/esm2022/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.mjs +241 -0
- package/esm2022/widgets/implementations/datapoints-graph/index.mjs +3 -0
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs +80 -28
- package/fesm2022/c8y-ngx-components-alarm-event-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-alarms.mjs +2 -2
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs +658 -0
- package/fesm2022/c8y-ngx-components-datapoint-explorer-view.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs +72 -0
- package/fesm2022/c8y-ngx-components-datapoint-explorer.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +4 -4
- package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs +4 -4
- package/fesm2022/c8y-ngx-components-datapoints-export-selector.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-device-list.mjs +2 -2
- package/fesm2022/c8y-ngx-components-device-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-echart-models.mjs +46 -0
- package/fesm2022/c8y-ngx-components-echart-models.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-echart.mjs +2023 -0
- package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-interval-picker.mjs +2 -2
- package/fesm2022/c8y-ngx-components-interval-picker.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-report-dashboard.mjs +1 -1
- package/fesm2022/c8y-ngx-components-time-context.mjs +300 -0
- package/fesm2022/c8y-ngx-components-time-context.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs +5 -4
- package/fesm2022/c8y-ngx-components-translation-editor-lazy.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs +7 -0
- package/fesm2022/c8y-ngx-components-widgets-cockpit-exports.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs +38 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions-datapoints-graph.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs +2 -1
- package/fesm2022/c8y-ngx-components-widgets-definitions.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs +467 -0
- package/fesm2022/c8y-ngx-components-widgets-implementations-datapoints-graph.mjs.map +1 -0
- package/fesm2022/c8y-ngx-components.mjs +429 -277
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/interval-picker/interval-picker.component.d.ts.map +1 -1
- package/interval-picker/interval-picker.model.d.ts.map +1 -1
- package/locales/de.po +206 -279
- package/locales/es.po +206 -279
- package/locales/fr.po +206 -279
- package/locales/ja_JP.po +196 -279
- package/locales/ko.po +455 -444
- package/locales/locales.pot +200 -0
- package/locales/nl.po +206 -279
- package/locales/pl.po +206 -279
- package/locales/pt_BR.po +206 -279
- package/locales/zh_CN.po +450 -443
- package/locales/zh_TW.po +452 -445
- package/package.json +1 -1
- package/report-dashboard/index.d.ts +1 -0
- package/report-dashboard/index.d.ts.map +1 -1
- package/time-context/c8y-ngx-components-time-context.d.ts.map +1 -0
- package/time-context/index.d.ts +2 -0
- package/time-context/index.d.ts.map +1 -0
- package/time-context/time-context.component.d.ts +61 -0
- package/time-context/time-context.component.d.ts.map +1 -0
- package/time-context/time-context.service.d.ts +25 -0
- package/time-context/time-context.service.d.ts.map +1 -0
- package/translation-editor/lazy/translation-editor/translation-editor.component.d.ts.map +1 -1
- package/widgets/cockpit-exports/index.d.ts +6 -0
- package/widgets/cockpit-exports/index.d.ts.map +1 -1
- package/widgets/definitions/datapoints-graph/c8y-ngx-components-widgets-definitions-datapoints-graph.d.ts.map +1 -0
- package/widgets/definitions/datapoints-graph/index.d.ts +16 -0
- package/widgets/definitions/datapoints-graph/index.d.ts.map +1 -0
- package/widgets/definitions/index.d.ts +1 -0
- package/widgets/definitions/index.d.ts.map +1 -1
- package/widgets/implementations/datapoints-graph/c8y-ngx-components-widgets-implementations-datapoints-graph.d.ts.map +1 -0
- package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts +43 -0
- package/widgets/implementations/datapoints-graph/datapoints-graph-config/datapoints-graph-widget-config.component.d.ts.map +1 -0
- package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts +54 -0
- package/widgets/implementations/datapoints-graph/datapoints-graph-view/datapoints-graph-widget-view.component.d.ts.map +1 -0
- package/widgets/implementations/datapoints-graph/index.d.ts +3 -0
- package/widgets/implementations/datapoints-graph/index.d.ts.map +1 -0
package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, FormBuilder, FormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { AlarmEventAttributesFormService } from './alarm-event-attributes-form.service';
|
|
4
4
|
import { AlarmOrEvent, OmitSelectorProperties, TimelineType } from '../alarm-event-selector.model';
|
|
5
|
+
import { IIdentified } from '@c8y/client';
|
|
6
|
+
import { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
|
|
7
|
+
import { AlarmEventAttributeForm } from './alarm-event-attributes-form.model';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class AlarmEventAttributesFormComponent implements ControlValueAccessor, Validator, OnInit {
|
|
7
10
|
private formBuilder;
|
|
@@ -9,7 +12,9 @@ export declare class AlarmEventAttributesFormComponent implements ControlValueAc
|
|
|
9
12
|
timelineType: TimelineType;
|
|
10
13
|
omitProperties: OmitSelectorProperties;
|
|
11
14
|
selectedItems: AlarmOrEvent[];
|
|
12
|
-
|
|
15
|
+
target: IIdentified;
|
|
16
|
+
datapoints: KPIDetails[];
|
|
17
|
+
formGroup: FormGroup<AlarmEventAttributeForm>;
|
|
13
18
|
constructor(formBuilder: FormBuilder, alarmEventAttributesFormService: AlarmEventAttributesFormService);
|
|
14
19
|
ngOnInit(): void;
|
|
15
20
|
validate(_control: AbstractControl): ValidationErrors;
|
|
@@ -17,7 +22,10 @@ export declare class AlarmEventAttributesFormComponent implements ControlValueAc
|
|
|
17
22
|
registerOnChange(fn: any): void;
|
|
18
23
|
registerOnTouched(fn: any): void;
|
|
19
24
|
setDisabledState(isDisabled: boolean): void;
|
|
25
|
+
changeDatapointSelection(event: Event): void;
|
|
26
|
+
trackByFn(_index: number, item: KPIDetails): string;
|
|
27
|
+
private filterKpis;
|
|
20
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventAttributesFormComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventAttributesFormComponent, "c8y-alarm-event-attributes-form", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventAttributesFormComponent, "c8y-alarm-event-attributes-form", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "target": { "alias": "target"; "required": false; }; "datapoints": { "alias": "datapoints"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
30
|
}
|
|
23
31
|
//# sourceMappingURL=alarm-event-attributes-form.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm-event-attributes-form.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EAEX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EAEV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,
|
|
1
|
+
{"version":3,"file":"alarm-event-attributes-form.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EAEX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EAEV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EACL,YAAY,EACZ,sBAAsB,EAEtB,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;;AAE9E,qBAgBa,iCAAkC,YAAW,oBAAoB,EAAE,SAAS,EAAE,MAAM;IAS7F,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,+BAA+B;IAThC,YAAY,EAAE,YAAY,CAAC;IAC3B,cAAc,EAAE,sBAAsB,CAAM;IAC5C,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,UAAU,EAAE,CAAM;IACvC,SAAS,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC;gBAGpC,WAAW,EAAE,WAAW,EACxB,+BAA+B,EAAE,+BAA+B;IAG1E,QAAQ;IAoBR,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAI1B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,wBAAwB,CAAC,KAAK,EAAE,KAAK;IAarC,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU;IAI1C,OAAO,CAAC,UAAU;yCAtEP,iCAAiC;2CAAjC,iCAAiC;CA2E7C"}
|
package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { SelectedDatapoint, TimelineType } from '../alarm-event-selector.model';
|
|
3
|
+
export interface AlarmEventAttributeForm {
|
|
4
|
+
filters: FormGroup<{
|
|
5
|
+
type: FormControl<string>;
|
|
6
|
+
}>;
|
|
7
|
+
timelineType: FormControl<TimelineType>;
|
|
8
|
+
selectedDatapoint: FormControl<null | SelectedDatapoint>;
|
|
9
|
+
label?: FormControl<string>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=alarm-event-attributes-form.model.d.ts.map
|
package/alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarm-event-attributes-form.model.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-attributes-form/alarm-event-attributes-form.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEhF,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,SAAS,CAAC;QACjB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;KAC3B,CAAC,CAAC;IACH,YAAY,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IACxC,iBAAiB,EAAE,WAAW,CAAC,IAAI,GAAG,iBAAiB,CAAC,CAAC;IACzD,KAAK,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC7B"}
|
package/alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.d.ts
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { AbstractControl, ControlValueAccessor, FormArray, FormBuilder, ValidationErrors, Validator } from '@angular/forms';
|
|
4
|
-
import { EmptyStateComponent } from '@c8y/ngx-components';
|
|
4
|
+
import { ContextRouteService, EmptyStateComponent } from '@c8y/ngx-components';
|
|
5
5
|
import { WidgetConfigComponent } from '@c8y/ngx-components/context-dashboard';
|
|
6
6
|
import { AlarmEventSelectorModalOptions } from '../alarm-event-selector-modal/alarm-event-selector-modal.model';
|
|
7
7
|
import { AlarmEventSelectorModalService } from '../alarm-event-selector-modal/alarm-event-selector-modal.service';
|
|
8
8
|
import { AlarmOrEvent, OmitSelectorProperties, TimelineType, TimelineTypeTexts } from '../alarm-event-selector.model';
|
|
9
9
|
import { AlarmEventSelectorService } from '../alarm-event-selector.service';
|
|
10
|
+
import { ActivatedRoute } from '@angular/router';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class AlarmEventSelectionListComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
|
12
13
|
private alarmEventModalService;
|
|
13
14
|
private alarmEventSelectService;
|
|
14
15
|
private formBuilder;
|
|
16
|
+
private activatedRoute;
|
|
17
|
+
private contextRouteService;
|
|
15
18
|
private widgetComponent;
|
|
16
19
|
timelineType: TimelineType;
|
|
17
20
|
canRemove: boolean;
|
|
@@ -23,6 +26,7 @@ export declare class AlarmEventSelectionListComponent implements ControlValueAcc
|
|
|
23
26
|
inline: boolean;
|
|
24
27
|
activeToggleAsSwitch: boolean;
|
|
25
28
|
omitProperties: OmitSelectorProperties;
|
|
29
|
+
datapoints: any[];
|
|
26
30
|
emptyState: EmptyStateComponent;
|
|
27
31
|
/**
|
|
28
32
|
* The configuration for the alarms-events selector modal.
|
|
@@ -30,8 +34,9 @@ export declare class AlarmEventSelectionListComponent implements ControlValueAcc
|
|
|
30
34
|
config: Partial<AlarmEventSelectorModalOptions>;
|
|
31
35
|
formArray: FormArray;
|
|
32
36
|
timelineTypeTexts: TimelineTypeTexts;
|
|
37
|
+
contextSourceId: number | string | null;
|
|
33
38
|
private destroy$;
|
|
34
|
-
constructor(alarmEventModalService: AlarmEventSelectorModalService, alarmEventSelectService: AlarmEventSelectorService, formBuilder: FormBuilder, widgetComponent: WidgetConfigComponent);
|
|
39
|
+
constructor(alarmEventModalService: AlarmEventSelectorModalService, alarmEventSelectService: AlarmEventSelectorService, formBuilder: FormBuilder, activatedRoute: ActivatedRoute, contextRouteService: ContextRouteService, widgetComponent: WidgetConfigComponent);
|
|
35
40
|
ngOnInit(): void;
|
|
36
41
|
ngOnDestroy(): void;
|
|
37
42
|
registerOnTouched(fn: any): void;
|
|
@@ -42,7 +47,8 @@ export declare class AlarmEventSelectionListComponent implements ControlValueAcc
|
|
|
42
47
|
onItemRemoved(index: number): void;
|
|
43
48
|
drop(event: CdkDragDrop<AlarmOrEvent[]>): void;
|
|
44
49
|
private transformValue;
|
|
45
|
-
|
|
46
|
-
static
|
|
50
|
+
private initializeContextSourceId;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventSelectionListComponent, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectionListComponent, "c8y-alarm-event-selection-list", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "canRemove": { "alias": "canRemove"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "canDragAndDrop": { "alias": "canDragAndDrop"; "required": false; }; "title": { "alias": "title"; "required": false; }; "addButtonLabel": { "alias": "addButtonLabel"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "activeToggleAsSwitch": { "alias": "activeToggleAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; "datapoints": { "alias": "datapoints"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, ["emptyState"], ["c8y-ui-empty-state"], false, never>;
|
|
47
53
|
}
|
|
48
54
|
//# sourceMappingURL=alarm-event-selection-list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm-event-selection-list.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAKL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,WAAW,EAGX,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"alarm-event-selection-list.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selection-list/alarm-event-selection-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAKL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,WAAW,EAGX,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAe,MAAM,qBAAqB,CAAC;AAC5F,O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,EAAE,qBAAqB;IAK5D,QAAQ,IAAI,IAAI;IAYhB,WAAW,IAAI,IAAI;IAKnB,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,YAAY,EAAE,GAAG,IAAI;IAWrC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAU/B,GAAG;IA6BH,aAAa,CAAC,KAAK,EAAE,MAAM;IAI3B,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,YAAY,EAAE,CAAC;IAMvC,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,yBAAyB;yCAlItB,gCAAgC;2CAAhC,gCAAgC;CA4I5C"}
|
|
@@ -2,10 +2,12 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, FormBuilder, FormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { AlarmOrEvent, OmitSelectorProperties, TimelineType } from '../alarm-event-selector.model';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
+
import { KPIDetails } from '@c8y/ngx-components/datapoint-selector';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AlarmEventSelectorListItemComponent implements OnInit, ControlValueAccessor, Validator, OnDestroy {
|
|
7
8
|
private formBuilder;
|
|
8
9
|
timelineType: TimelineType;
|
|
10
|
+
datapoints: KPIDetails[] | undefined;
|
|
9
11
|
highlightText: string;
|
|
10
12
|
showAddRemoveButton: boolean;
|
|
11
13
|
isSelected: boolean;
|
|
@@ -34,6 +36,6 @@ export declare class AlarmEventSelectorListItemComponent implements OnInit, Cont
|
|
|
34
36
|
remove(): void;
|
|
35
37
|
private transformFormValue;
|
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlarmEventSelectorListItemComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectorListItemComponent, "c8y-alarm-event-selector-list-item", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; "showAddRemoveButton": { "alias": "showAddRemoveButton"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "optionToRemove": { "alias": "optionToRemove"; "required": false; }; "showActiveToggle": { "alias": "showActiveToggle"; "required": false; }; "allowItemEdit": { "alias": "allowItemEdit"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "displayAsSwitch": { "alias": "displayAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; }, { "added": "added"; "removed": "removed"; }, never, ["c8y-li-drag-handle"], false, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlarmEventSelectorListItemComponent, "c8y-alarm-event-selector-list-item", never, { "timelineType": { "alias": "timelineType"; "required": false; }; "datapoints": { "alias": "datapoints"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; "showAddRemoveButton": { "alias": "showAddRemoveButton"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "optionToRemove": { "alias": "optionToRemove"; "required": false; }; "showActiveToggle": { "alias": "showActiveToggle"; "required": false; }; "allowItemEdit": { "alias": "allowItemEdit"; "required": false; }; "hideSource": { "alias": "hideSource"; "required": false; }; "displayAsSwitch": { "alias": "displayAsSwitch"; "required": false; }; "omitProperties": { "alias": "omitProperties"; "required": false; }; }, { "added": "added"; "removed": "removed"; }, never, ["c8y-li-drag-handle"], false, never>;
|
|
38
40
|
}
|
|
39
41
|
//# sourceMappingURL=alarm-event-selector-list-item.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm-event-selector-list-item.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EACX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"alarm-event-selector-list-item.component.d.ts","sourceRoot":"","sources":["../../../alarm-event-selector/alarm-event-selector-list-item/alarm-event-selector-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,WAAW,EACX,SAAS,EAGT,gBAAgB,EAChB,SAAS,EACV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;;AACpE,qBAgBa,mCACX,YAAW,MAAM,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS;IAsBjD,OAAO,CAAC,WAAW;IApBtB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,UAAQ;IAC3B,UAAU,UAAS;IACnB,cAAc,UAAS;IACvB,gBAAgB,UAAS;IACzB,aAAa,UAAS;IACtB,UAAU,UAAS;IACnB,eAAe,UAAS;IACxB,cAAc,EAAE,sBAAsB,CAAM;IAErD,gBAAgB,EAAE,MAAM,CAAC;IACf,KAAK,6BAAoC;IACzC,OAAO,6BAAoC;IAErD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,OAAO,CAAC,QAAQ,CAAuB;gBAEnB,WAAW,EAAE,WAAW;IAa5C,QAAQ;IAIR,WAAW;IAKX,YAAY;IAIZ,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,gBAAgB;IAIrD,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI;IAI1B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAS/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI3C,eAAe;IASf,MAAM;IAIN,OAAO,CAAC,kBAAkB;yCAvFf,mCAAmC;2CAAnC,mCAAmC;CA4F/C"}
|
|
@@ -15,12 +15,19 @@ export type AlarmDetails = AlarmOrEventBase & {
|
|
|
15
15
|
filters: {
|
|
16
16
|
type: string;
|
|
17
17
|
};
|
|
18
|
+
selectedDatapoint?: SelectedDatapoint;
|
|
18
19
|
};
|
|
19
20
|
export type EventDetails = AlarmOrEventBase & {
|
|
20
21
|
timelineType: 'EVENT';
|
|
21
22
|
filters: {
|
|
22
23
|
type: string;
|
|
23
24
|
};
|
|
25
|
+
selectedDatapoint?: SelectedDatapoint;
|
|
26
|
+
};
|
|
27
|
+
export type SelectedDatapoint = {
|
|
28
|
+
target?: string;
|
|
29
|
+
series?: string;
|
|
30
|
+
fragment?: string;
|
|
24
31
|
};
|
|
25
32
|
export type AlarmOrEvent = AlarmDetails | EventDetails;
|
|
26
33
|
export type TimelineTypeTexts = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm-event-selector.model.d.ts","sourceRoot":"","sources":["../../alarm-event-selector/alarm-event-selector.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7C,KAAK,gBAAgB,GAAG;IACtB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;
|
|
1
|
+
{"version":3,"file":"alarm-event-selector.model.d.ts","sourceRoot":"","sources":["../../alarm-event-selector/alarm-event-selector.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7C,KAAK,gBAAgB,GAAG;IACtB,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,QAAQ,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG;IAC5C,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,YAAY,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,wBAAwB,EAAE,MAAM,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kCAAkC,EAAE,MAAM,CAAC;IAC3C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,iBAoBzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,iBAoBzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC"}
|
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class DashboardChildActionComponent {
|
|
3
3
|
template: any;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardChildActionComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardChildActionComponent, "c8y-dashboard-child-action", never, {}, {}, never, ["*"],
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardChildActionComponent, "c8y-dashboard-child-action", never, {}, {}, never, ["*"], true, never>;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=dashboard-child-action.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-child-action.component.d.ts","sourceRoot":"","sources":["../../../core/dashboard/dashboard-child-action.component.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"dashboard-child-action.component.d.ts","sourceRoot":"","sources":["../../../core/dashboard/dashboard-child-action.component.ts"],"names":[],"mappings":";AAEA,qBAKa,6BAA6B;IACE,QAAQ,EAAE,GAAG,CAAC;yCAD7C,6BAA6B;2CAA7B,6BAA6B;CAEzC"}
|
|
@@ -2,37 +2,37 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./dashboard-child.component";
|
|
3
3
|
import * as i2 from "./dashboard.component";
|
|
4
4
|
import * as i3 from "./dashboard-child-title.component";
|
|
5
|
-
import * as i4 from "./dashboard
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./widget-
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "../
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "../
|
|
23
|
-
import * as i22 from "../
|
|
24
|
-
import * as i23 from "../
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "
|
|
5
|
+
import * as i4 from "./widgets-dashboard.component";
|
|
6
|
+
import * as i5 from "./widget-auto-refresh-context/widget-auto-refresh-context.component";
|
|
7
|
+
import * as i6 from "./widget-auto-refresh-context/widget-auto-refresh-context-icon-bar.component";
|
|
8
|
+
import * as i7 from "./widget-auto-refresh-context/auto-refresh-control.component";
|
|
9
|
+
import * as i8 from "./widget-auto-refresh-context/auto-refresh-select-control.component";
|
|
10
|
+
import * as i9 from "./wiget-time-context/widget-time-context-icon-bar/widget-time-context-icon-bar.component";
|
|
11
|
+
import * as i10 from "../common/common.module";
|
|
12
|
+
import * as i11 from "../action-bar/action-bar.module";
|
|
13
|
+
import * as i12 from "../dynamic-component/dynamic-component.module";
|
|
14
|
+
import * as i13 from "@angular/cdk/drag-drop";
|
|
15
|
+
import * as i14 from "ngx-bootstrap/dropdown";
|
|
16
|
+
import * as i15 from "ngx-bootstrap/tooltip";
|
|
17
|
+
import * as i16 from "../header/header.module";
|
|
18
|
+
import * as i17 from "../docs/docs.module";
|
|
19
|
+
import * as i18 from "../breadcrumb/breadcrumb.module";
|
|
20
|
+
import * as i19 from "../forms/forms.module";
|
|
21
|
+
import * as i20 from "ngx-bootstrap/datepicker";
|
|
22
|
+
import * as i21 from "../dynamic-forms/dynamic-forms.module";
|
|
23
|
+
import * as i22 from "../help/help.module";
|
|
24
|
+
import * as i23 from "../date-time-picker/date-time-picker.module";
|
|
25
|
+
import * as i24 from "../countdown-interval/countdown-interval.module";
|
|
26
|
+
import * as i25 from "@ngx-translate/core";
|
|
27
|
+
import * as i26 from "@c8y/ngx-components/interval-picker";
|
|
28
|
+
import * as i27 from "ngx-bootstrap/popover";
|
|
29
|
+
import * as i28 from "./wiget-time-context/aggregation-picker/aggregation-picker.component";
|
|
30
|
+
import * as i29 from "./wiget-time-context/realtime-control/realtime-control.component";
|
|
31
|
+
import * as i30 from "./wiget-time-context/widget-time-context.component";
|
|
32
|
+
import * as i31 from "./dashboard-child-action.component";
|
|
33
33
|
export declare class DashboardModule {
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, [typeof i1.DashboardChildComponent, typeof i2.DashboardComponent, typeof i3.DashboardChildTitleComponent, typeof i4.
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardModule, [typeof i1.DashboardChildComponent, typeof i2.DashboardComponent, typeof i3.DashboardChildTitleComponent, typeof i4.WidgetsDashboardComponent, typeof i5.WidgetAutoRefreshContextComponent, typeof i6.WidgetAutoRefreshContextIconBarComponent, typeof i7.AutoRefreshControlComponent, typeof i8.AutoRefreshSelectControlComponent, typeof i9.WidgetTimeContextIconBar], [typeof i10.CommonModule, typeof i11.ActionBarModule, typeof i12.DynamicComponentModule, typeof i13.DragDropModule, typeof i14.BsDropdownModule, typeof i15.TooltipModule, typeof i16.HeaderModule, typeof i17.DocsModule, typeof i18.BreadcrumbModule, typeof i19.FormsModule, typeof i20.BsDatepickerModule, typeof i21.DynamicFormsModule, typeof i22.HelpModule, typeof i23.DateTimePickerModule, typeof i24.CountdownIntervalModule, typeof i25.TranslateModule, typeof i26.IntervalPickerComponent, typeof i27.PopoverModule, typeof i28.AggregationPickerComponent, typeof i29.RealtimeControlComponent, typeof i30.WidgetTimeContextComponent, typeof i31.DashboardChildActionComponent], [typeof i2.DashboardComponent, typeof i1.DashboardChildComponent, typeof i3.DashboardChildTitleComponent, typeof i31.DashboardChildActionComponent, typeof i4.WidgetsDashboardComponent, typeof i30.WidgetTimeContextComponent]>;
|
|
36
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardModule>;
|
|
37
37
|
}
|
|
38
38
|
//# sourceMappingURL=dashboard.module.d.ts.map
|
|
@@ -9,7 +9,10 @@ export * from './dashboard-child-change';
|
|
|
9
9
|
export * from './dashboard-child-title.component';
|
|
10
10
|
export * from './wiget-time-context/widget-time-context.component';
|
|
11
11
|
export * from './wiget-time-context/widget-time-context.model';
|
|
12
|
+
export * from './wiget-time-context/widget-time-context-date-range.service';
|
|
12
13
|
export * from './widget-auto-refresh-context/widget-auto-refresh-context.model';
|
|
13
14
|
export * from './widget-auto-refresh-context/widget-global-auto-refresh.service';
|
|
14
15
|
export * from './widget-auto-refresh-context/global-refresh-loading.operator';
|
|
16
|
+
export * from './wiget-time-context/aggregation-picker/aggregation-picker.component';
|
|
17
|
+
export * from './wiget-time-context/realtime-control/realtime-control.component';
|
|
15
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/dashboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iEAAiE,CAAC;AAChF,cAAc,kEAAkE,CAAC;AACjF,cAAc,+DAA+D,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/dashboard/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,iEAAiE,CAAC;AAChF,cAAc,kEAAkE,CAAC;AACjF,cAAc,+DAA+D,CAAC;AAC9E,cAAc,sEAAsE,CAAC;AACrF,cAAc,kEAAkE,CAAC"}
|
|
@@ -61,7 +61,7 @@ export declare class WidgetsDashboardComponent {
|
|
|
61
61
|
private isLoading$;
|
|
62
62
|
private isExecutingResolvers$;
|
|
63
63
|
constructor(dynamic: DynamicComponentService, translateService: TranslateService, route: ActivatedRoute, modal: ModalService, widgetGlobalAutoRefresh: WidgetGlobalAutoRefreshService);
|
|
64
|
-
ngOnChanges(
|
|
64
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
65
65
|
canDeactivate(omitConfirm?: boolean): Promise<boolean>;
|
|
66
66
|
toggleFullscreen(hasWidget?: boolean): void;
|
|
67
67
|
fullScreen(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widgets-dashboard.component.d.ts","sourceRoot":"","sources":["../../../core/dashboard/widgets-dashboard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,aAAa,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,YAAY,EACZ,uBAAuB,EAGxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,eAAe,EAAmC,UAAU,EAAE,MAAM,MAAM,CAAC;AAIpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,gBAAgB,EAAE,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AO,CAAC,OAAO,CAAC;IAY1D,gBAAgB,CAAC,SAAS,UAAQ;IA+BlC,UAAU;IAUV,wBAAwB,CAAC,KAAK,EAAE,uBAAuB;IAkBvD,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAIpE,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM;IAItC,mBAAmB;IAMzB,aAAa;IAUb,cAAc;IAKd,OAAO,CAAC,yBAAyB;YAyBnB,cAAc;YAiBd,yBAAyB;yCAhS5B,yBAAyB;2CAAzB,yBAAyB;CAuTrC"}
|
package/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.d.ts
CHANGED
|
@@ -21,6 +21,6 @@ export declare class AggregationPickerComponent implements ControlValueAccessor
|
|
|
21
21
|
markAsTouched(): void;
|
|
22
22
|
setDisabledState(disabled: boolean): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AggregationPickerComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AggregationPickerComponent, "c8y-aggregation-picker", never, { "disabledAggregations": { "alias": "disabledAggregations"; "required": false; }; }, {}, never, never,
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AggregationPickerComponent, "c8y-aggregation-picker", never, { "disabledAggregations": { "alias": "disabledAggregations"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
25
|
}
|
|
26
26
|
//# sourceMappingURL=aggregation-picker.component.d.ts.map
|
package/core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregation-picker.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAMzE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;;
|
|
1
|
+
{"version":3,"file":"aggregation-picker.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/aggregation-picker/aggregation-picker.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;AAMzE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;;AAO9C,qBAaa,0BAA2B,YAAW,oBAAoB;IACrE;;;OAGG;IACM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAM;IAE9E,QAAQ,CAAC,YAAY,iEAAgB;IACrC,QAAQ,CAAC,iBAAiB,gDAAqB;IAC/C,QAAQ,CAAC,iBAAiB,6DAAqB;IAE/C,KAAK,EAAE,eAAe,CAAC;IACvB,OAAO,UAAS;IAChB,QAAQ,UAAS;IAGjB,QAAQ,mBAAW;IAEnB,SAAS,aAAY;IAErB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI;IAIxC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI;IAIvC,aAAa;IAOb,gBAAgB,CAAC,QAAQ,EAAE,OAAO;yCAvCvB,0BAA0B;2CAA1B,0BAA0B;CA0CtC"}
|
|
@@ -14,6 +14,6 @@ export declare class RealtimeControlComponent implements ControlValueAccessor {
|
|
|
14
14
|
markAsTouched(): void;
|
|
15
15
|
setDisabledState(disabled: boolean): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<RealtimeControlComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RealtimeControlComponent, "c8y-realtime-control", never, {}, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RealtimeControlComponent, "c8y-realtime-control", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=realtime-control.component.d.ts.map
|
package/core/dashboard/wiget-time-context/realtime-control/realtime-control.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime-control.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/realtime-control/realtime-control.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"realtime-control.component.d.ts","sourceRoot":"","sources":["../../../../../core/dashboard/wiget-time-context/realtime-control/realtime-control.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAMzE,qBAaa,wBAAyB,YAAW,oBAAoB;IACnE,QAAQ,CAAC,oBAAoB,qBAA+B;IAC5D,QAAQ,CAAC,mBAAmB,oBAA8B;IAE1D,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,UAAS;IAChB,QAAQ,UAAS;IAGjB,QAAQ,mBAAW;IAEnB,SAAS,aAAY;IAErB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAIhC,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAI/B,iBAAiB,CAAC,SAAS,EAAE,GAAG,GAAG,IAAI;IAIvC,aAAa,IAAI,IAAI;IAOrB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;yCAhC9B,wBAAwB;2CAAxB,wBAAwB;CAmCpC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class WidgetTimeContextDateRangeService {
|
|
3
|
+
timeContextChange: import("@angular/core").WritableSignal<any>;
|
|
4
|
+
initialTimeRange: import("@angular/core").WritableSignal<any>;
|
|
5
|
+
emitPropertyUpdate(data: any): void;
|
|
6
|
+
updateInitialTimeRange(data: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTimeContextDateRangeService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetTimeContextDateRangeService>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=widget-time-context-date-range.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-time-context-date-range.service.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context-date-range.service.ts"],"names":[],"mappings":";AAEA,qBAGa,iCAAiC;IAC5C,iBAAiB,8CAAqB;IACtC,gBAAgB,8CAAqB;IAErC,kBAAkB,CAAC,IAAI,EAAE,GAAG;IAI5B,sBAAsB,CAAC,IAAI,EAAE,GAAG;yCARrB,iCAAiC;6CAAjC,iCAAiC;CAW7C"}
|
|
@@ -10,8 +10,9 @@ import { DashboardChildComponent } from '../dashboard-child.component';
|
|
|
10
10
|
import { WidgetsDashboardEventService } from '../widgets-dashboard-event.service';
|
|
11
11
|
import { WidgetTimeContextHelperService } from './widget-time-context-helper.service';
|
|
12
12
|
import { WidgetTimeContextQueryService } from './widget-time-context-query.service';
|
|
13
|
-
import { WidgetDisplaySettings
|
|
13
|
+
import { WidgetDisplaySettings } from './widget-time-context.model';
|
|
14
14
|
import { Interval } from '@c8y/ngx-components/interval-picker';
|
|
15
|
+
import { WidgetTimeContextDateRangeService } from './widget-time-context-date-range.service';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
17
18
|
private widgetEventService;
|
|
@@ -22,6 +23,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
|
|
|
22
23
|
private router;
|
|
23
24
|
private actionBarService;
|
|
24
25
|
private aggregationService;
|
|
26
|
+
private widgetTimeContextDateRangeService;
|
|
25
27
|
readonly INTERVAL_TITLES: Record<"custom" | "hours" | "minutes" | "days" | "weeks" | "months", string>;
|
|
26
28
|
readonly DATE_FORMAT = "short";
|
|
27
29
|
/**
|
|
@@ -33,7 +35,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
|
|
|
33
35
|
/**
|
|
34
36
|
* Emits each change as an array of dates [from, to].
|
|
35
37
|
*/
|
|
36
|
-
dateContextChange: EventEmitter<
|
|
38
|
+
dateContextChange: EventEmitter<any>;
|
|
37
39
|
/**
|
|
38
40
|
* @ignore
|
|
39
41
|
*/
|
|
@@ -48,6 +50,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
|
|
|
48
50
|
form: ReturnType<WidgetTimeContextComponent['createForm']>;
|
|
49
51
|
actionBarInGroupPriority: number;
|
|
50
52
|
disabledAggregations: Partial<Record<aggregationType, boolean>>;
|
|
53
|
+
sliderChange: boolean;
|
|
51
54
|
readonly DEFAULT_INTERVAL: Interval['id'];
|
|
52
55
|
readonly ACTION_BAR_PRIORITY = 7;
|
|
53
56
|
readonly ACTION_BAR_GROUP_ID = "timecontext";
|
|
@@ -59,7 +62,7 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
|
|
|
59
62
|
/**
|
|
60
63
|
* @ignore only DI.
|
|
61
64
|
*/
|
|
62
|
-
constructor(widgetEventService: WidgetsDashboardEventService, dashboardChild: DashboardChildComponent, formBuilder: FormBuilder, queryService: WidgetTimeContextQueryService, helperService: WidgetTimeContextHelperService, router: Router, actionBarService: ActionBarService, aggregationService: AggregationService);
|
|
65
|
+
constructor(widgetEventService: WidgetsDashboardEventService, dashboardChild: DashboardChildComponent, formBuilder: FormBuilder, queryService: WidgetTimeContextQueryService, helperService: WidgetTimeContextHelperService, router: Router, actionBarService: ActionBarService, aggregationService: AggregationService, widgetTimeContextDateRangeService: WidgetTimeContextDateRangeService);
|
|
63
66
|
/**
|
|
64
67
|
* @ignore Subscribing to the global context.
|
|
65
68
|
*/
|
|
@@ -105,6 +108,6 @@ export declare class WidgetTimeContextComponent implements OnInit, OnDestroy, Af
|
|
|
105
108
|
private onRealtimeValueChange;
|
|
106
109
|
private calculateAggregation;
|
|
107
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTimeContextComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTimeContextComponent, "c8y-widget-time-context", never, { "canDecouple": { "alias": "canDecouple"; "required": false; }; "displaySettings": { "alias": "displaySettings"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, { "dateContextChange": "dateContextChange"; }, never, never,
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTimeContextComponent, "c8y-widget-time-context", never, { "canDecouple": { "alias": "canDecouple"; "required": false; }; "displaySettings": { "alias": "displaySettings"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, { "dateContextChange": "dateContextChange"; }, never, never, true, never>;
|
|
109
112
|
}
|
|
110
113
|
//# sourceMappingURL=widget-time-context.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-time-context.component.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"widget-time-context.component.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAGb,YAAY,EAEZ,SAAS,EACT,MAAM,EAGP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAoC,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAiD,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAoB,MAAM,wBAAwB,CAAC;AAG/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EAA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AO,CAAC,YAAY;IAOpB,OAAO,CAAC,qBAAqB;IAuB7B,OAAO,CAAC,oBAAoB;yCAvdjB,0BAA0B;2CAA1B,0BAA0B;CA+etC"}
|
|
@@ -43,7 +43,6 @@ export type WidgetTimeContextState = {
|
|
|
43
43
|
realtime: boolean;
|
|
44
44
|
aggregation: aggregationType;
|
|
45
45
|
};
|
|
46
|
-
export type WidgetTimeContextChange = Omit<WidgetTimeContextState, 'interval'>;
|
|
47
46
|
export declare enum DateContextQueryParamNames {
|
|
48
47
|
DATE_CONTEXT_FROM = "dateContextFrom",
|
|
49
48
|
DATE_CONTEXT_TO = "dateContextTo",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-time-context.model.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C;;;OAGG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"widget-time-context.model.d.ts","sourceRoot":"","sources":["../../../../core/dashboard/wiget-time-context/widget-time-context.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,CAAC;AAEF,MAAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAC1C;;;OAGG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF,oBAAY,0BAA0B;IACpC,iBAAiB,oBAAoB;IACrC,eAAe,kBAAkB;IACjC,qBAAqB,wBAAwB;IAC7C,qBAAqB,wBAAwB;IAC7C,wBAAwB,2BAA2B;CACpD;AAED,KAAK,4BAA4B,GAAG;IAClC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACvD,CAAC,0BAA0B,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACrD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,KAAK,CAAC;CAC5D,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC;IACvD,CAAC,0BAA0B,CAAC,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC;IACrD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CACpE,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,CAAC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;IACxD,CAAC,0BAA0B,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,CAAC;IACtD,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,CAAC,EAAE,OAAO,CAAC;IAC7D,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,CAAC,EAAE,eAAe,CAAC;CACzE,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,4BAA4B,GAAG,CACvC,4BAA4B,GAC5B,8BAA8B,CACjC,GAAG;IACF,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAC5D,CAAC,0BAA0B,CAAC,wBAAwB,CAAC,EAAE,eAAe,CAAC;CACxE,CAAC;AAEF,oBAAY,kCAAkC;IAC5C,IAAI,IAAI;IACR,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;CACT"}
|
|
@@ -12,6 +12,6 @@ export declare class DatePickerComponent implements OnInit {
|
|
|
12
12
|
filter(): void;
|
|
13
13
|
clearFilter(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "c8y-date-picker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never,
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "c8y-date-picker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never, true, never>;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=date-picker.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../core/date-picker/date-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAiB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAe,SAAS,
|
|
1
|
+
{"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../core/date-picker/date-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAiB,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAe,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;;AAYlD,qBAmBa,mBAAoB,YAAW,MAAM;IACtC,cAAc,EAAE,YAAY,CAAC,WAAW,CAAC,CAAsB;IAEzE,WAAW,oBAA8B;IAEzC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,SAAS,CAAC;IAExB,QAAQ;IAOR,MAAM;IAMN,WAAW;yCAtBA,mBAAmB;2CAAnB,mBAAmB;CA+B/B"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "@angular/
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "ngx-bootstrap/
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
2
|
+
import * as i1 from "../forms/forms.module";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/cdk/a11y";
|
|
6
|
+
import * as i5 from "ngx-bootstrap/dropdown";
|
|
7
|
+
import * as i6 from "ngx-bootstrap/datepicker";
|
|
8
|
+
import * as i7 from "../common/common.module";
|
|
9
|
+
import * as i8 from "./date-picker.component";
|
|
10
10
|
/**
|
|
11
11
|
* The angular module definition for a date picker - it allows you to pick either one date or a range of two.
|
|
12
12
|
* @exports DatePickerComponent
|
|
13
13
|
*/
|
|
14
14
|
export declare class DatePickerModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, [typeof i1.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.FormsModule, typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.A11yModule, typeof i3.ReactiveFormsModule, typeof i5.BsDropdownModule, typeof i6.BsDatepickerModule, typeof i7.CommonModule, typeof i8.DatePickerComponent], [typeof i8.DatePickerComponent]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=date-picker.module.d.ts.map
|
|
@@ -10,6 +10,6 @@ export declare class CloseDatePickerDirective {
|
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CloseDatePickerDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CloseDatePickerDirective, "[closeDatepicker]", never, { "closeDatepicker": { "alias": "closeDatepicker"; "required": false; }; }, {}, never, never,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CloseDatePickerDirective, "[closeDatepicker]", never, { "closeDatepicker": { "alias": "closeDatepicker"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=close-date-picker.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-date-picker.directive.d.ts","sourceRoot":"","sources":["../../../core/date-time-picker/close-date-picker.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAS,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAoB,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;;AAEjE,
|
|
1
|
+
{"version":3,"file":"close-date-picker.directive.d.ts","sourceRoot":"","sources":["../../../core/date-time-picker/close-date-picker.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAS,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAoB,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;;AAEjE,qBAIa,wBAAwB;IAMvB,OAAO,CAAC,EAAE;IALtB,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAiB;IAGlD,eAAe,EAAE,qBAAqB,CAAC;gBAEnB,EAAE,EAAE,UAAU;IAElC,QAAQ;IAcR,WAAW,IAAI,IAAI;yCAtBR,wBAAwB;2CAAxB,wBAAwB;CA0BpC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ControlValueAccessor, FormGroup,
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, FormGroup, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { BsDatepickerDirective } from 'ngx-bootstrap/datepicker';
|
|
4
4
|
import { PickedDates } from '../date-picker';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -39,6 +39,7 @@ export declare class DateTimePickerComponent implements ControlValueAccessor, Va
|
|
|
39
39
|
defaultPlaceholder: "Select a date…";
|
|
40
40
|
datepicker: BsDatepickerDirective;
|
|
41
41
|
private previousValue;
|
|
42
|
+
private previousTimePickerValues;
|
|
42
43
|
private destroy$;
|
|
43
44
|
constructor(cd: ChangeDetectorRef);
|
|
44
45
|
onChange: (value: string) => void;
|
|
@@ -63,8 +64,10 @@ export declare class DateTimePickerComponent implements ControlValueAccessor, Va
|
|
|
63
64
|
* @private
|
|
64
65
|
*/
|
|
65
66
|
private setDatetime;
|
|
67
|
+
private verifyDate;
|
|
68
|
+
private isInputCleared;
|
|
66
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "c8y-date-time-picker", never, { "_minDate": { "alias": "minDate"; "required": false; }; "_maxDate": { "alias": "maxDate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dateInputFormat": { "alias": "dateInputFormat"; "required": false; }; "adaptivePosition": { "alias": "adaptivePosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never,
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "c8y-date-time-picker", never, { "_minDate": { "alias": "minDate"; "required": false; }; "_maxDate": { "alias": "maxDate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "dateInputFormat": { "alias": "dateInputFormat"; "required": false; }; "adaptivePosition": { "alias": "adaptivePosition"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "onDateSelected": "onDateSelected"; }, never, never, true, never>;
|
|
68
71
|
}
|
|
69
72
|
export {};
|
|
70
73
|
//# sourceMappingURL=date-time-picker.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-time-picker.component.d.ts","sourceRoot":"","sources":["../../../core/date-time-picker/date-time-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"date-time-picker.component.d.ts","sourceRoot":"","sources":["../../../core/date-time-picker/date-time-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAGZ,SAAS,EAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,oBAAoB,EAEpB,SAAS,EAGT,gBAAgB,EAChB,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAE,qBAAqB,EAAsB,MAAM,0BAA0B,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAY7C,UAAU,kBAAkB;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,WAAW,GAAG,oBAAoB,GAAG,MAAM,CAAC;AAE5F,qBA4Ba,uBAAwB,YAAW,oBAAoB,EAAE,SAAS,EAAE,SAAS;IA+D5E,OAAO,CAAC,EAAE;IA9DtB,OAAO,EAAE,IAAI,CAAC;IAEd,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,OAAO,EAAE,IAAI,CAAC;IAEd,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAGD,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,SAAgB;IAG/B,gBAAgB,UAAS;IAGzB,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;;;OAUG;IAEH,QAAQ,EAAE,QAAQ,CAAiB;IAGnC,MAAM,EAAE,kBAAkB,CAKxB;IAGF,cA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