@nova-ui/dashboards 12.0.20 → 12.0.22

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.
Files changed (60) hide show
  1. package/bundles/nova-ui-dashboards.umd.js +243 -71
  2. package/bundles/nova-ui-dashboards.umd.js.map +1 -1
  3. package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +9 -7
  4. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +6 -6
  5. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +6 -6
  6. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +6 -6
  7. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +6 -6
  8. package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +10 -8
  9. package/esm2015/lib/components/timeseries-widget/public-api.js +2 -1
  10. package/esm2015/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +151 -0
  11. package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +30 -10
  12. package/esm2015/lib/components/timeseries-widget/types.js +12 -1
  13. package/esm2015/lib/dashboards.module.js +12 -5
  14. package/fesm2015/nova-ui-dashboards.js +222 -62
  15. package/fesm2015/nova-ui-dashboards.js.map +1 -1
  16. package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +5 -3
  17. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +3 -3
  18. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +3 -3
  19. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +3 -3
  20. package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +3 -3
  21. package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +5 -3
  22. package/lib/components/timeseries-widget/public-api.d.ts +1 -0
  23. package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +40 -0
  24. package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +11 -3
  25. package/lib/components/timeseries-widget/types.d.ts +13 -0
  26. package/lib/dashboards.module.d.ts +10 -9
  27. package/package.json +5 -4
  28. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +4 -2
  29. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +7 -4
  30. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
  31. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +2 -2
  32. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +4 -3
  33. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
  34. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +2 -2
  35. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +4 -3
  36. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
  37. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +2 -2
  38. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +4 -3
  39. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
  40. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +2 -2
  41. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +4 -3
  42. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
  43. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +4 -2
  44. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +5 -3
  45. package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
  46. package/sdk/atoms/src/lib/components/timeseries-widget/public-api.d.ts +1 -0
  47. package/sdk/atoms/src/lib/components/timeseries-widget/public-api.js +1 -0
  48. package/sdk/atoms/src/lib/components/timeseries-widget/public-api.js.map +1 -1
  49. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +37 -0
  50. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +160 -0
  51. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -0
  52. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.d.ts +11 -3
  53. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +21 -2
  54. package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
  55. package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +13 -0
  56. package/sdk/atoms/src/lib/components/timeseries-widget/types.js +12 -1
  57. package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
  58. package/sdk/atoms/src/lib/dashboards.module.js +3 -0
  59. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
  60. package/sdk/locale/messages.en.xlf +38 -10
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnInit } from "@angular/core";
2
2
  import { EventBus, IconService, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors } from "@nova-ui/charts";
3
+ import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors, TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../timeseries-scales.service";
5
5
  import { ITimeseriesWidgetStatusData } from "../../types";
6
6
  import { TimeseriesChartComponent } from "../timeseries-chart.component";
@@ -10,13 +10,15 @@ export declare class StatusBarChartComponent extends TimeseriesChartComponent<IT
10
10
  timeseriesScalesService: TimeseriesScalesService;
11
11
  changeDetector: ChangeDetectorRef;
12
12
  protected eventBus: EventBus<IEvent>;
13
+ zoomPluginsSyncService: TimeseriesZoomPluginsSyncService;
13
14
  static lateLoadKey: string;
14
15
  chartAssist: SparkChartAssist;
15
16
  collectionId: string;
16
17
  protected accessors: StatusAccessors;
17
18
  protected renderer: Renderer<IAccessors>;
18
19
  private chartUpdate$;
19
- constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
20
+ zoomPlugin: TimeseriesZoomPlugin;
21
+ constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
20
22
  ngOnInit(): void;
21
23
  getDataPointData(series: IChartAssistSeries<IAccessors>, key: string): any;
22
24
  protected buildChart(): void;
@@ -31,7 +33,7 @@ export declare class StatusBarChartComponent extends TimeseriesChartComponent<IT
31
33
  */
32
34
  protected transformData(data: ITimeseriesWidgetStatusData[], isIntervalProgression: boolean): IStatusData[];
33
35
  private setGridConfigFromConfiguration;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarChartComponent, [null, { optional: true; }, null, null, null]>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarChartComponent, [null, { optional: true; }, null, null, null, null]>;
35
37
  static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarChartComponent, "nui-status-bar-chart", never, {}, {}, never, never>;
36
38
  }
37
39
  interface IStatusData {
@@ -1,14 +1,14 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IValueProvider, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class LineChartComponent extends XYChartComponent {
8
8
  static lateLoadKey: string;
9
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
9
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
10
10
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
11
11
  protected createChartAssist(palette: ChartPalette): ChartAssist;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, [null, { optional: true; }, null, null]>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, [null, { optional: true; }, null, null, null]>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "nui-line-chart", never, {}, {}, never, never>;
14
14
  }
@@ -1,14 +1,14 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IValueProvider, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class StackedAreaChartComponent extends XYChartComponent {
8
8
  static lateLoadKey: string;
9
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
9
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
10
10
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
11
11
  protected createChartAssist(palette: ChartPalette): ChartAssist;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<StackedAreaChartComponent, [null, { optional: true; }, null, null]>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedAreaChartComponent, [null, { optional: true; }, null, null, null]>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<StackedAreaChartComponent, "nui-stacked-area-chart", never, {}, {}, never, never>;
14
14
  }
@@ -1,15 +1,15 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class StackedBarChartComponent extends XYChartComponent {
8
8
  static lateLoadKey: string;
9
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
9
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
10
10
  mapSeriesSet(data: any[], scales: IXYScales): IChartAssistSeries<IAccessors>[];
11
11
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
12
12
  protected createChartAssist(palette: ChartPalette): ChartAssist;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<StackedBarChartComponent, [null, { optional: true; }, null, null]>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedBarChartComponent, [null, { optional: true; }, null, null, null]>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<StackedBarChartComponent, "nui-stacked-bar-chart", never, {}, {}, never, never>;
15
15
  }
@@ -1,14 +1,14 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IValueProvider, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class StackedPercentageAreaChartComponent extends XYChartComponent {
8
8
  static lateLoadKey: string;
9
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
9
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
10
10
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
11
11
  protected createChartAssist(palette: ChartPalette): ChartAssist;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<StackedPercentageAreaChartComponent, [null, { optional: true; }, null, null]>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedPercentageAreaChartComponent, [null, { optional: true; }, null, null, null]>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<StackedPercentageAreaChartComponent, "nui-stacked-percentage-area-chart", never, {}, {}, never, never>;
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnChanges, OnDestroy } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales, Renderer } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales, Renderer, TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { IHasChangeDetector } from "../../../../types";
5
5
  import { TimeseriesScalesService } from "../../timeseries-scales.service";
6
6
  import { ITimeseriesWidgetSeriesData, TimeseriesTransformer } from "../../types";
@@ -14,13 +14,15 @@ export declare abstract class XYChartComponent extends TimeseriesChartComponent
14
14
  protected eventBus: EventBus<IEvent>;
15
15
  timeseriesScalesService: TimeseriesScalesService;
16
16
  changeDetector: ChangeDetectorRef;
17
+ zoomPluginsSyncService: TimeseriesZoomPluginsSyncService;
17
18
  chartAssist: ChartAssist;
18
19
  valueAccessorKey: string;
19
20
  collectionId: string;
21
+ zoomPlugin: TimeseriesZoomPlugin;
20
22
  protected renderer: Renderer<IAccessors>;
21
23
  protected accessors: IAccessors;
22
24
  transformers: Map<TimeseriesTransformer, ITransformerDescription>;
23
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
25
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
24
26
  protected abstract createAccessors(colorProvider: IValueProvider<string>): IAccessors;
25
27
  protected abstract createChartAssist(palette: ChartPalette): ChartAssist;
26
28
  mapSeriesSet(data: any[], scales: IXYScales): IChartAssistSeries<IAccessors>[];
@@ -42,7 +44,7 @@ export declare abstract class XYChartComponent extends TimeseriesChartComponent
42
44
  displayLegendMenu(): boolean;
43
45
  removeMetric(metricId: string): void;
44
46
  transformData(metricId: string, trId: TimeseriesTransformer): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<XYChartComponent, [null, { optional: true; }, null, null]>;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<XYChartComponent, [null, { optional: true; }, null, null, null]>;
46
48
  static ɵprov: i0.ɵɵInjectableDeclaration<XYChartComponent>;
47
49
  }
48
50
  export {};
@@ -3,3 +3,4 @@ export * from "./timeseries-widget.component";
3
3
  export * from "./timeseries-chart-preset.service";
4
4
  export * from "./chart-presets/public-api";
5
5
  export * from "./transformer/public-api";
6
+ export * from "./timeseries-inspection-menu/timeseries-inspection-menu.component";
@@ -0,0 +1,40 @@
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
+ import { EventBus, IEvent, IEventDefinition } from "@nova-ui/bits";
3
+ import { TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService, ITimeseriesZoomPluginInspectionFrame } from "@nova-ui/charts";
4
+ import moment from "moment/moment";
5
+ import * as i0 from "@angular/core";
6
+ export declare const TIMESERIES_INSPECTION_MENU_ZOOM_IN: IEventDefinition<IEvent<ITimeseriesZoomPluginInspectionFrame>>;
7
+ export declare const TIMESERIES_INSPECTION_MENU_ZOOM_OUT: IEventDefinition<IEvent<ITimeseriesZoomPluginInspectionFrame>>;
8
+ export declare const TIMESERIES_INSPECTION_MENU_EXPLORE: IEventDefinition<IEvent<ITimeseriesZoomPluginExploreData>>;
9
+ export declare const TIMESERIES_INSPECTION_MENU_CLOSE: IEventDefinition<IEvent<void>>;
10
+ export declare const TIMESERIES_INSPECTION_MENU_SYNCHRONIZE: IEventDefinition<IEvent<void>>;
11
+ export interface ITimeseriesZoomPluginExploreData {
12
+ ids: string;
13
+ startDate: moment.Moment;
14
+ endDate: moment.Moment;
15
+ openSidePanel: boolean;
16
+ exploringEnabled: boolean;
17
+ }
18
+ export declare class TimeseriesInspectionMenuComponent implements OnInit, OnChanges, OnDestroy {
19
+ element: ElementRef;
20
+ private eventBus;
21
+ private syncService;
22
+ plugin: TimeseriesZoomPlugin;
23
+ exploringEnabled: boolean;
24
+ metricIds?: string;
25
+ collectionId?: string;
26
+ allowed?: boolean;
27
+ private offset;
28
+ private destroy$;
29
+ constructor(element: ElementRef, eventBus: EventBus<IEvent>, syncService: TimeseriesZoomPluginsSyncService);
30
+ ngOnInit(): void;
31
+ ngOnChanges(changes: SimpleChanges): void;
32
+ ngOnDestroy(): void;
33
+ clearZoom(): void;
34
+ isZoomInAllowed(): boolean;
35
+ zoomIn(): void;
36
+ zoomOut(): void;
37
+ explore(openSidePanel?: boolean): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesInspectionMenuComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesInspectionMenuComponent, "nui-timeseries-inspection-menu", never, { "plugin": "plugin"; "exploringEnabled": "exploringEnabled"; "metricIds": "metricIds"; "collectionId": "collectionId"; "allowed": "allowed"; }, {}, never, never>;
40
+ }
@@ -1,22 +1,30 @@
1
- import { ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
1
+ import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from "@angular/core";
2
+ import { TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
2
3
  import { IHasChangeDetector } from "../../types";
3
4
  import { TimeseriesChartPresetService } from "./timeseries-chart-preset.service";
4
5
  import { IChartPreset, ITimeseriesOutput, ITimeseriesWidgetConfig } from "./types";
5
6
  import * as i0 from "@angular/core";
6
7
  /** @ignore */
7
- export declare class TimeseriesWidgetComponent implements OnChanges, IHasChangeDetector {
8
+ export declare class TimeseriesWidgetComponent implements OnInit, OnChanges, IHasChangeDetector {
8
9
  timeseriesChartPresetService: TimeseriesChartPresetService;
9
10
  changeDetector: ChangeDetectorRef;
11
+ zoomPluginsSyncService: TimeseriesZoomPluginsSyncService;
10
12
  static lateLoadKey: string;
11
13
  widgetData?: ITimeseriesOutput;
12
14
  configuration?: ITimeseriesWidgetConfig;
13
15
  collectionId?: string;
14
16
  elementClass: string;
15
17
  chartPreset: IChartPreset;
16
- constructor(timeseriesChartPresetService: TimeseriesChartPresetService, changeDetector: ChangeDetectorRef);
18
+ zoomPlugin: TimeseriesZoomPlugin;
19
+ allowPopover: boolean;
20
+ constructor(timeseriesChartPresetService: TimeseriesChartPresetService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
21
+ ngOnInit(): void;
17
22
  ngOnChanges(changes: SimpleChanges): void;
18
23
  /** Checks if chart should be shown. */
19
24
  shouldShowChart(): boolean;
25
+ toggleLeave(): void;
26
+ toggleEnter(): void;
27
+ isExploringEnabled(): boolean;
20
28
  static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesWidgetComponent, never>;
21
29
  static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesWidgetComponent, "nui-timeseries-widget", never, { "widgetData": "widgetData"; "configuration": "configuration"; "collectionId": "collectionId"; "elementClass": "elementClass"; }, {}, never, never>;
22
30
  }
@@ -21,6 +21,9 @@ export interface ITimeseriesWidgetConfig {
21
21
  hasAdjacentChart?: boolean;
22
22
  groupUniqueId?: string;
23
23
  allowLegendMenu?: boolean;
24
+ metricIds?: string;
25
+ realTimeIds?: string[];
26
+ type?: number;
24
27
  }
25
28
  export interface ITimeseriesWidgetSeries {
26
29
  id: string;
@@ -95,6 +98,16 @@ export declare enum TimeseriesChartPreset {
95
98
  StackedBar = "stackedBar",
96
99
  StatusBar = "statusBar"
97
100
  }
101
+ /** Enumeration of timeseries chart types recieved from the backend */
102
+ export declare enum TimeseriesChartTypes {
103
+ gauge = 1,
104
+ counter = 2,
105
+ event = 3,
106
+ alert = 4,
107
+ state = 5,
108
+ multi = 6,
109
+ dpaWaitTime = 7
110
+ }
98
111
  export declare enum TimeseriesTransformer {
99
112
  None = "none",
100
113
  Normalize = "normalize",
@@ -32,17 +32,18 @@ import * as i26 from "./components/list-widget/list-elements/list-group-item/lis
32
32
  import * as i27 from "./components/list-widget/list-elements/list-navigation-bar/list-navigation-bar.component";
33
33
  import * as i28 from "./components/widget-search/widget-search.component";
34
34
  import * as i29 from "./components/proportional-widget/proportional-donut-content/proportional-donut-content.component";
35
- import * as i30 from "./common/common.module";
36
- import * as i31 from "angular-gridster2";
37
- import * as i32 from "@nova-ui/bits";
38
- import * as i33 from "@nova-ui/charts";
39
- import * as i34 from "./configurator/configurator.module";
40
- import * as i35 from "./pizzagna/pizzagna.module";
41
- import * as i36 from "@angular/cdk/scrolling";
42
- import * as i37 from "@angular/forms";
35
+ import * as i30 from "./components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component";
36
+ import * as i31 from "./common/common.module";
37
+ import * as i32 from "angular-gridster2";
38
+ import * as i33 from "@nova-ui/bits";
39
+ import * as i34 from "@nova-ui/charts";
40
+ import * as i35 from "./configurator/configurator.module";
41
+ import * as i36 from "./pizzagna/pizzagna.module";
42
+ import * as i37 from "@angular/cdk/scrolling";
43
+ import * as i38 from "@angular/forms";
43
44
  export declare class NuiDashboardsModule {
44
45
  constructor(widgetTypesService: WidgetTypesService, componentRegistry: ComponentRegistryService, eventRegistry: EventRegistryService, kpiFormattersRegistry: KpiFormattersRegistryService);
45
46
  static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardsModule, never>;
46
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.LineChartComponent, typeof i6.LoadingComponent, typeof i7.ProportionalWidgetComponent, typeof i8.StackComponent, typeof i9.StackedAreaChartComponent, typeof i10.StackedBarChartComponent, typeof i11.StackedPercentageAreaChartComponent, typeof i12.StatusBarChartComponent, typeof i13.TableWidgetComponent, typeof i14.DelayedMousePresenceDetectionDirective, typeof i15.TemplateLoadErrorComponent, typeof i16.TilesComponent, typeof i17.TimeframeSelectionComponent, typeof i18.TimeseriesWidgetComponent, typeof i19.WidgetBodyComponent, typeof i20.WidgetBodyContentComponent, typeof i21.WidgetComponent, typeof i22.WidgetEditorDirective, typeof i23.WidgetHeaderComponent, typeof i24.ListWidgetComponent, typeof i25.ListLeafItemComponent, typeof i26.ListGroupItemComponent, typeof i27.ListNavigationBarComponent, typeof i28.WidgetSearchComponent, typeof i29.ProportionalDonutContentComponent], [typeof i30.NuiDashboardsCommonModule, typeof i31.GridsterModule, typeof i32.NuiBusyModule, typeof i32.NuiButtonModule, typeof i33.NuiChartsModule, typeof i34.NuiDashboardConfiguratorModule, typeof i32.NuiIconModule, typeof i32.NuiImageModule, typeof i32.NuiMenuModule, typeof i35.NuiPizzagnaModule, typeof i32.NuiPopupModule, typeof i32.NuiProgressModule, typeof i32.NuiTableModule, typeof i32.NuiTimeFrameBarModule, typeof i36.ScrollingModule, typeof i32.NuiTimeFramePickerModule, typeof i37.ReactiveFormsModule, typeof i32.NuiSpinnerModule, typeof i32.NuiTooltipModule, typeof i32.NuiSearchModule, typeof i32.NuiCommonModule, typeof i32.NuiRepeatModule, typeof i32.NuiSelectModule], [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.LineChartComponent, typeof i6.LoadingComponent, typeof i7.ProportionalWidgetComponent, typeof i8.StackComponent, typeof i9.StackedAreaChartComponent, typeof i10.StackedBarChartComponent, typeof i11.StackedPercentageAreaChartComponent, typeof i12.StatusBarChartComponent, typeof i13.TableWidgetComponent, typeof i14.DelayedMousePresenceDetectionDirective, typeof i15.TemplateLoadErrorComponent, typeof i16.TilesComponent, typeof i17.TimeframeSelectionComponent, typeof i18.TimeseriesWidgetComponent, typeof i19.WidgetBodyComponent, typeof i20.WidgetBodyContentComponent, typeof i21.WidgetComponent, typeof i22.WidgetEditorDirective, typeof i23.WidgetHeaderComponent, typeof i24.ListWidgetComponent, typeof i25.ListLeafItemComponent, typeof i26.ListGroupItemComponent, typeof i27.ListNavigationBarComponent, typeof i28.WidgetSearchComponent, typeof i29.ProportionalDonutContentComponent]>;
47
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.LineChartComponent, typeof i6.LoadingComponent, typeof i7.ProportionalWidgetComponent, typeof i8.StackComponent, typeof i9.StackedAreaChartComponent, typeof i10.StackedBarChartComponent, typeof i11.StackedPercentageAreaChartComponent, typeof i12.StatusBarChartComponent, typeof i13.TableWidgetComponent, typeof i14.DelayedMousePresenceDetectionDirective, typeof i15.TemplateLoadErrorComponent, typeof i16.TilesComponent, typeof i17.TimeframeSelectionComponent, typeof i18.TimeseriesWidgetComponent, typeof i19.WidgetBodyComponent, typeof i20.WidgetBodyContentComponent, typeof i21.WidgetComponent, typeof i22.WidgetEditorDirective, typeof i23.WidgetHeaderComponent, typeof i24.ListWidgetComponent, typeof i25.ListLeafItemComponent, typeof i26.ListGroupItemComponent, typeof i27.ListNavigationBarComponent, typeof i28.WidgetSearchComponent, typeof i29.ProportionalDonutContentComponent, typeof i30.TimeseriesInspectionMenuComponent], [typeof i31.NuiDashboardsCommonModule, typeof i32.GridsterModule, typeof i33.NuiBusyModule, typeof i33.NuiButtonModule, typeof i34.NuiChartsModule, typeof i35.NuiDashboardConfiguratorModule, typeof i33.NuiIconModule, typeof i33.NuiImageModule, typeof i33.NuiMenuModule, typeof i36.NuiPizzagnaModule, typeof i33.NuiPopupModule, typeof i33.NuiProgressModule, typeof i33.NuiTableModule, typeof i33.NuiTimeFrameBarModule, typeof i37.ScrollingModule, typeof i33.NuiTimeFramePickerModule, typeof i38.ReactiveFormsModule, typeof i33.NuiSpinnerModule, typeof i33.NuiTooltipModule, typeof i33.NuiSearchModule, typeof i33.NuiCommonModule, typeof i33.NuiRepeatModule, typeof i33.NuiSelectModule, typeof i33.NuiPopoverModule], [typeof i1.DashboardComponent, typeof i2.EmbeddedContentComponent, typeof i3.GridsterItemWidgetIdDirective, typeof i4.KpiComponent, typeof i5.LineChartComponent, typeof i6.LoadingComponent, typeof i7.ProportionalWidgetComponent, typeof i8.StackComponent, typeof i9.StackedAreaChartComponent, typeof i10.StackedBarChartComponent, typeof i11.StackedPercentageAreaChartComponent, typeof i12.StatusBarChartComponent, typeof i13.TableWidgetComponent, typeof i14.DelayedMousePresenceDetectionDirective, typeof i15.TemplateLoadErrorComponent, typeof i16.TilesComponent, typeof i17.TimeframeSelectionComponent, typeof i18.TimeseriesWidgetComponent, typeof i19.WidgetBodyComponent, typeof i20.WidgetBodyContentComponent, typeof i21.WidgetComponent, typeof i22.WidgetEditorDirective, typeof i23.WidgetHeaderComponent, typeof i24.ListWidgetComponent, typeof i25.ListLeafItemComponent, typeof i26.ListGroupItemComponent, typeof i27.ListNavigationBarComponent, typeof i28.WidgetSearchComponent, typeof i29.ProportionalDonutContentComponent, typeof i30.TimeseriesInspectionMenuComponent]>;
47
48
  static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardsModule>;
48
49
  }
package/package.json CHANGED
@@ -17,8 +17,8 @@
17
17
  "license": "Apache-2.0",
18
18
  "name": "@nova-ui/dashboards",
19
19
  "peerDependencies": {
20
- "@nova-ui/bits": "~12.0.20",
21
- "@nova-ui/charts": "~12.0.20",
20
+ "@nova-ui/bits": "~12.0.22",
21
+ "@nova-ui/charts": "~12.0.22",
22
22
  "@schematics/angular": "^12.2.14 || ^13.0.0",
23
23
  "angular-gridster2": "^12.1.0 || ^13.0.0",
24
24
  "d3": "^5.9.2",
@@ -34,10 +34,11 @@
34
34
  "@compodoc/compodoc/i18next": "^19.8.5",
35
35
  "@compodoc/compodoc/live-server/http-auth": "^3.2.4",
36
36
  "@compodoc/compodoc/marked": "^2.0.0",
37
- "postcss-preset-env": "^7.3.2"
37
+ "postcss-preset-env": "^7.3.2",
38
+ "d3-color": "3.1.0"
38
39
  },
39
40
  "schematics": "./sdk/schematics/collection.json",
40
- "version": "12.0.20",
41
+ "version": "12.0.22",
41
42
  "main": "bundles/nova-ui-dashboards.umd.js",
42
43
  "module": "fesm2015/nova-ui-dashboards.js",
43
44
  "es2015": "fesm2015/nova-ui-dashboards.js",
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, OnInit } from "@angular/core";
2
2
  import { EventBus, IconService, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors } from "@nova-ui/charts";
3
+ import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors, TimeseriesZoomPlugin, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../timeseries-scales.service";
5
5
  import { ITimeseriesWidgetStatusData } from "../../types";
6
6
  import { TimeseriesChartComponent } from "../timeseries-chart.component";
@@ -9,13 +9,15 @@ export declare class StatusBarChartComponent extends TimeseriesChartComponent<IT
9
9
  timeseriesScalesService: TimeseriesScalesService;
10
10
  changeDetector: ChangeDetectorRef;
11
11
  protected eventBus: EventBus<IEvent>;
12
+ zoomPluginsSyncService: TimeseriesZoomPluginsSyncService;
12
13
  static lateLoadKey: string;
13
14
  chartAssist: SparkChartAssist;
14
15
  collectionId: string;
15
16
  protected accessors: StatusAccessors;
16
17
  protected renderer: Renderer<IAccessors>;
17
18
  private chartUpdate$;
18
- constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
19
+ zoomPlugin: TimeseriesZoomPlugin;
20
+ constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
19
21
  ngOnInit(): void;
20
22
  getDataPointData(series: IChartAssistSeries<IAccessors>, key: string): any;
21
23
  protected buildChart(): void;
@@ -31,12 +31,13 @@ const types_2 = require("../../../../types");
31
31
  const timeseries_scales_service_1 = require("../../timeseries-scales.service");
32
32
  const timeseries_chart_component_1 = require("../timeseries-chart.component");
33
33
  let StatusBarChartComponent = class StatusBarChartComponent extends timeseries_chart_component_1.TimeseriesChartComponent {
34
- constructor(iconService, dataSource, timeseriesScalesService, changeDetector, eventBus) {
34
+ constructor(iconService, dataSource, timeseriesScalesService, changeDetector, eventBus, zoomPluginsSyncService) {
35
35
  super(timeseriesScalesService, dataSource);
36
36
  this.iconService = iconService;
37
37
  this.timeseriesScalesService = timeseriesScalesService;
38
38
  this.changeDetector = changeDetector;
39
39
  this.eventBus = eventBus;
40
+ this.zoomPluginsSyncService = zoomPluginsSyncService;
40
41
  this.collectionId = bits_1.uuid("timeseries-status-charts");
41
42
  this.chartUpdate$ = new rxjs_1.Subject();
42
43
  }
@@ -100,8 +101,9 @@ let StatusBarChartComponent = class StatusBarChartComponent extends timeseries_c
100
101
  if (this.configuration.enableZoom) {
101
102
  this.chartAssist.sparks.forEach((spark) => {
102
103
  var _a, _b;
103
- if (!((_a = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _a === void 0 ? void 0 : _a.hasPlugin(charts_1.ZoomPlugin))) {
104
- (_b = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _b === void 0 ? void 0 : _b.addPlugin(new charts_1.ZoomPlugin({ enableExternalEvents: true }));
104
+ if (!((_a = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _a === void 0 ? void 0 : _a.hasPlugin(charts_1.TimeseriesZoomPlugin)) &&
105
+ this.configuration.enableZoom) {
106
+ (_b = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _b === void 0 ? void 0 : _b.addPlugin(this.zoomPlugin);
105
107
  }
106
108
  });
107
109
  // only need to subscribe to one chart's SET_DOMAIN_EVENT
@@ -174,7 +176,8 @@ StatusBarChartComponent = tslib_1.__decorate([
174
176
  tslib_1.__param(4, core_1.Inject(types_2.PIZZAGNA_EVENT_BUS)),
175
177
  tslib_1.__metadata("design:paramtypes", [bits_1.IconService, Object, timeseries_scales_service_1.TimeseriesScalesService,
176
178
  core_1.ChangeDetectorRef,
177
- bits_1.EventBus])
179
+ bits_1.EventBus,
180
+ charts_1.TimeseriesZoomPluginsSyncService])
178
181
  ], StatusBarChartComponent);
179
182
  exports.StatusBarChartComponent = StatusBarChartComponent;
180
183
  //# sourceMappingURL=status-bar-chart.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"status-bar-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAMuB;AACvB,+BAAsC;AACtC,8CAA2C;AAE3C,wCAMuB;AACvB,4CAmByB;AAEzB,sDAA2D;AAC3D,6CAAoE;AACpE,+EAA0E;AAK1E,8EAAyE;AAOzE,IAAa,uBAAuB,GAApC,MAAa,uBACT,SAAQ,qDAAqD;IAW7D,YACY,WAAwB,EACC,UAAuB,EACjD,uBAAgD,EAChD,cAAiC,EACF,QAA0B;QAEhE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UAAU,CAAC;SAC3C;IACL,CAAC;CACJ,CAAA;AAzMiB,mCAAW,GAAG,sBAAsB,CAAC;AAJ1C,uBAAuB;IALnC,gBAAS,CAAC;QACP,QAAQ,EAAE,sBAAsB;QAChC,WAAW,EAAE,mCAAmC;QAChD,SAAS,EAAE,CAAC,mCAAmC,CAAC;KACnD,CAAC;IAeO,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;IAG/B,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;6CAJN,kBAAW,UAEA,mDAAuB;QAChC,wBAAiB;QACQ,eAAQ;GAjBnD,uBAAuB,CA6MnC;AA7MY,0DAAuB"}
1
+ {"version":3,"file":"status-bar-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAMuB;AACvB,+BAAsC;AACtC,8CAA2C;AAE3C,wCAMuB;AACvB,4CAoByB;AAEzB,sDAA2D;AAC3D,6CAAoE;AACpE,+EAA0E;AAK1E,8EAAyE;AAOzE,IAAa,uBAAuB,GAApC,MAAa,uBACT,SAAQ,qDAAqD;IAa7D,YACY,WAAwB,EACC,UAAuB,EACjD,uBAAgD,EAChD,cAAiC,EACF,QAA0B,EACzD,sBAAwD;QAE/D,KAAK,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAAC;QAPnC,gBAAW,GAAX,WAAW,CAAa;QAEzB,4BAAuB,GAAvB,uB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BAAsB,CAAC;AAJ1C,uBAAuB;IALnC,gBAAS,CAAC;QACP,QAAQ,EAAE,sBAAsB;QAChC,WAAW,EAAE,mCAAmC;QAChD,SAAS,EAAE,CAAC,mCAAmC,CAAC;KACnD,CAAC;IAiBO,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;IAG/B,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;6CAJN,kBAAW,UAEA,mDAAuB;QAChC,wBAAiB;QACQ,eAAQ;QACzB,yCAAgC;GApB1D,uBAAuB,CAiNnC;AAjNY,0DAAuB"}
@@ -1,11 +1,11 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IValueProvider, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  export declare class LineChartComponent extends XYChartComponent {
7
7
  static lateLoadKey: string;
8
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
8
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
9
9
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
10
10
  protected createChartAssist(palette: ChartPalette): ChartAssist;
11
11
  }
@@ -28,8 +28,8 @@ const types_1 = require("../../../../../types");
28
28
  const timeseries_scales_service_1 = require("../../../timeseries-scales.service");
29
29
  const xy_chart_component_1 = require("../xy-chart.component");
30
30
  let LineChartComponent = class LineChartComponent extends xy_chart_component_1.XYChartComponent {
31
- constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
32
- super(eventBus, dataSource, timeseriesScalesService, changeDetector);
31
+ constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
32
+ super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
33
33
  this.renderer = new charts_1.LineRenderer();
34
34
  }
35
35
  createAccessors(colorProvider) {
@@ -54,7 +54,8 @@ LineChartComponent = tslib_1.__decorate([
54
54
  tslib_1.__param(1, core_1.Optional()),
55
55
  tslib_1.__param(1, core_1.Inject(types_1.DATA_SOURCE)),
56
56
  tslib_1.__metadata("design:paramtypes", [bits_1.EventBus, Object, timeseries_scales_service_1.TimeseriesScalesService,
57
- core_1.ChangeDetectorRef])
57
+ core_1.ChangeDetectorRef,
58
+ charts_1.TimeseriesZoomPluginsSyncService])
58
59
  ], LineChartComponent);
59
60
  exports.LineChartComponent = LineChartComponent;
60
61
  //# sourceMappingURL=line-chart.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"line-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA+E;AAE/E,wCAA8D;AAC9D,4CAUyB;AAEzB,gDAAuE;AACvE,kFAA6E;AAC7E,8DAAyD;AAOzD,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,qCAAgB;IAGpD,YACgC,QAA0B,EACrB,UAAuB,EACxD,uBAAgD,EAChD,cAAiC;QAEjC,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,uBAAuB,EAAE,cAAc,CAAC,CAAC;QAErE,IAAI,CAAC,QAAQ,GAAG,IAAI,qBAAY,EAAE,CAAC;IACvC,CAAC;IAES,eAAe,CACrB,aAAqC;QAErC,OAAO,IAAI,sBAAa,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;IAES,iBAAiB,CAAC,OAAqB;QAC7C,MAAM,UAAU,GAAG,IAAI,qBAAY,EAAE,CAAC;QACtC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;QAChC,MAAM,KAAK,GAAG,IAAI,cAAK,CAAC,IAAI,eAAM,CAAC,UAAU,CAAC,CAAC,CAAC;QAChD,4DAA4D;QAC5D,OAAO,IAAI,oBAAW,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;CACJ,CAAA;AA1BiB,8BAAW,GAAG,oBAAoB,CAAC;AADxC,kBAAkB;IAL9B,gBAAS,CAAC;QACP,QAAQ,EAAE,gBAAgB;QAC1B,WAAW,EAAE,4BAA4B;QACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;KAC5C,CAAC;IAKO,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;IAC1B,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;6CADM,eAAQ,UAErB,mDAAuB;QAChC,wBAAiB;GAP5B,kBAAkB,CA2B9B;AA3BY,gDAAkB"}
1
+ {"version":3,"file":"line-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AAC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M,eAAQ,UAErB,mDAAuB;QAChC,wBAAiB;QACT,yCAAgC;GARnD,kBAAkB,CAkC9B;AAlCY,gDAAkB"}
@@ -1,11 +1,11 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IValueProvider, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  export declare class StackedAreaChartComponent extends XYChartComponent {
7
7
  static lateLoadKey: string;
8
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
8
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
9
9
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
10
10
  protected createChartAssist(palette: ChartPalette): ChartAssist;
11
11
  }
@@ -28,8 +28,8 @@ const types_1 = require("../../../../../types");
28
28
  const timeseries_scales_service_1 = require("../../../timeseries-scales.service");
29
29
  const xy_chart_component_1 = require("../xy-chart.component");
30
30
  let StackedAreaChartComponent = class StackedAreaChartComponent extends xy_chart_component_1.XYChartComponent {
31
- constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
32
- super(eventBus, dataSource, timeseriesScalesService, changeDetector);
31
+ constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
32
+ super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
33
33
  this.renderer = new charts_1.AreaRenderer();
34
34
  this.valueAccessorKey = "y1";
35
35
  }
@@ -60,7 +60,8 @@ StackedAreaChartComponent = tslib_1.__decorate([
60
60
  tslib_1.__param(1, core_1.Optional()),
61
61
  tslib_1.__param(1, core_1.Inject(types_1.DATA_SOURCE)),
62
62
  tslib_1.__metadata("design:paramtypes", [bits_1.EventBus, Object, timeseries_scales_service_1.TimeseriesScalesService,
63
- core_1.ChangeDetectorRef])
63
+ core_1.ChangeDetectorRef,
64
+ charts_1.TimeseriesZoomPluginsSyncService])
64
65
  ], StackedAreaChartComponent);
65
66
  exports.StackedAreaChartComponent = StackedAreaChartComponent;
66
67
  //# sourceMappingURL=stacked-area-chart.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stacked-area-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA+E;AAE/E,wCAA8D;AAC9D,4CAUyB;AAEzB,gDAAuE;AACvE,kFAA6E;AAC7E,8DAAyD;AAOzD,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,qCAAgB;IAG3D,YACgC,QAA0B,EACrB,UAAuB,EACxD,uBAAgD,EAChD,cAAiC;QAEjC,KAAK,CAAC,QAAQ,EAAE,UAAU,EAAE,uBAAuB,EAAE,cAAc,CAAC,CAAC;QAErE,IAAI,CAAC,QAAQ,GAAG,IAAI,qBAAY,EAAE,CAAC;QACnC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IACjC,CAAC;IAES,eAAe,CACrB,aAAqC;QAErC,OAAO,6BAAoB,CAAC,aAAa,CAAC,CAAC;IAC/C,CAAC;IAES,iBAAiB,CAAC,OAAqB;;QAC7C,MAAM,IAAI,GAAG,iBAAQ,EAAE,CAAC;QACxB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QACjC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;QAChC,MAAM,KAAK,GAAG,IAAI,cAAK,CAAC,IAAI,CAAC,CAAC;QAE9B,IAAI,MAAA,IAAI,CAAC,aAAa,CAAC,UAAU,0CAAE,oBAAoB,EAAE;YACrD,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;YACrC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;SACzC;QAED,OAAO,IAAI,oBAAW,CAAC,KAAK,EAAE,oBAAW,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACJ,CAAA;AAjCiB,qCAAW,GAAG,2BAA2B,CAAC;AAD/C,yBAAyB;IALrC,gBAAS,CAAC;QACP,QAAQ,EAAE,wBAAwB;QAClC,WAAW,EAAE,4BAA4B;QACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;KAC5C,CAAC;IAKO,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;IAC1B,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;6CADM,eAAQ,UAErB,mDAAuB;QAChC,wBAAiB;GAP5B,yBAAyB,CAkCrC;AAlCY,8DAAyB"}
1
+ {"version":3,"file":"stacked-area-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA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BAA2B,CAAC;AAD/C,yBAAyB;IALrC,gBAAS,CAAC;QACP,QAAQ,EAAE,wBAAwB;QAClC,WAAW,EAAE,4BAA4B;QACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;KAC5C,CAAC;IAKO,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;IAC1B,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;6CADM,eAAQ,UAErB,mDAAuB;QAChC,wBAAiB;QACT,yCAAgC;GARnD,yBAAyB,CAyCrC;AAzCY,8DAAyB"}
@@ -1,11 +1,11 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IChartAssistSeries, IValueProvider, IXYScales, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  export declare class StackedBarChartComponent extends XYChartComponent {
7
7
  static lateLoadKey: string;
8
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
8
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
9
9
  mapSeriesSet(data: any[], scales: IXYScales): IChartAssistSeries<IAccessors>[];
10
10
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
11
11
  protected createChartAssist(palette: ChartPalette): ChartAssist;
@@ -28,8 +28,8 @@ const types_1 = require("../../../../../types");
28
28
  const timeseries_scales_service_1 = require("../../../timeseries-scales.service");
29
29
  const xy_chart_component_1 = require("../xy-chart.component");
30
30
  let StackedBarChartComponent = class StackedBarChartComponent extends xy_chart_component_1.XYChartComponent {
31
- constructor(eventBus, dataSource, timeseriesScalesService, changeDetector) {
32
- super(eventBus, dataSource, timeseriesScalesService, changeDetector);
31
+ constructor(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService) {
32
+ super(eventBus, dataSource, timeseriesScalesService, changeDetector, zoomPluginsSyncService);
33
33
  this.valueAccessorKey = "value";
34
34
  // disable pointer events on bars to ensure the zoom drag target is the mouse interactive area rather than the bars
35
35
  this.renderer = new charts_1.BarRenderer({
@@ -72,7 +72,8 @@ StackedBarChartComponent = tslib_1.__decorate([
72
72
  tslib_1.__param(1, core_1.Optional()),
73
73
  tslib_1.__param(1, core_1.Inject(types_1.DATA_SOURCE)),
74
74
  tslib_1.__metadata("design:paramtypes", [bits_1.EventBus, Object, timeseries_scales_service_1.TimeseriesScalesService,
75
- core_1.ChangeDetectorRef])
75
+ core_1.ChangeDetectorRef,
76
+ charts_1.TimeseriesZoomPluginsSyncService])
76
77
  ], StackedBarChartComponent);
77
78
  exports.StackedBarChartComponent = StackedBarChartComponent;
78
79
  //# sourceMappingURL=stacked-bar-chart.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stacked-bar-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA+E;AAE/E,wCAA8D;AAC9D,4CAgByB;AAEzB,gDAAuE;AACv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CAAC,gBAAO,EAAE,CAAC,CAAC;QACnC,KAAK,CAAC,SAAS,CAAC,IAAI,8BAAqB,EAAE,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,IAAI,+BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAI,oBAAW,CAAC,KAAK,EAAE,cAAK,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;CACJ,CAAA;AAjDiB,oCAAW,GAAG,0BAA0B,CAAC;AAD9C,wBAAwB;IALpC,gBAAS,CAAC;QACP,QAAQ,EAAE,uBAAuB;QACjC,WAAW,EAAE,4BAA4B;QACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;KAC5C,CAAC;IAKO,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;IAC1B,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;6CADM,eAAQ,UAErB,mDAAuB;QAChC,wBAAiB;GAP5B,wBAAwB,CAkDpC;AAlDY,4DAAwB"}
1
+ {"version":3,"file":"stacked-bar-chart.component.js","sourceRoot":"","sources":["../../../../../../../../../../src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;;AAEjB,wCAA+E;AAE/E,wCAA8D;AAC9D,4CAiByB;AAEzB,gDAAuE;AACvE,kFAA6E;AAC7E,8DAAyD;AAOzD,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,qCAAgB;IAG1D,YACgC,QAA0B,EACrB,U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AAC;QAC7C,KAAK,CAAC,SAAS,CAAC,IAAI,+BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,IAAI,oBAAW,CAAC,KAAK,EAAE,cAAK,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;CACJ,CAAA;AAxDiB,oCAAW,GAAG,0BAA0B,CAAC;AAD9C,wBAAwB;IALpC,gBAAS,CAAC;QACP,QAAQ,EAAE,uBAAuB;QACjC,WAAW,EAAE,4BAA4B;QACzC,SAAS,EAAE,CAAC,4BAA4B,CAAC;KAC5C,CAAC;IAKO,mBAAA,aAAM,CAAC,0BAAkB,CAAC,CAAA;IAC1B,mBAAA,eAAQ,EAAE,CAAA;IAAE,mBAAA,aAAM,CAAC,mBAAW,CAAC,CAAA;6CADM,eAAQ,UAErB,mDAAuB;QAChC,wBAAiB;QACT,yCAAgC;GARnD,wBAAwB,CAyDpC;AAzDY,4DAAwB"}
@@ -1,11 +1,11 @@
1
1
  import { ChangeDetectorRef } from "@angular/core";
2
2
  import { EventBus, IDataSource, IEvent } from "@nova-ui/bits";
3
- import { ChartAssist, ChartPalette, IAccessors, IValueProvider } from "@nova-ui/charts";
3
+ import { ChartAssist, ChartPalette, IAccessors, IValueProvider, TimeseriesZoomPluginsSyncService } from "@nova-ui/charts";
4
4
  import { TimeseriesScalesService } from "../../../timeseries-scales.service";
5
5
  import { XYChartComponent } from "../xy-chart.component";
6
6
  export declare class StackedPercentageAreaChartComponent extends XYChartComponent {
7
7
  static lateLoadKey: string;
8
- constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef);
8
+ constructor(eventBus: EventBus<IEvent>, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, zoomPluginsSyncService: TimeseriesZoomPluginsSyncService);
9
9
  protected createAccessors(colorProvider: IValueProvider<string>): IAccessors;
10
10
  protected createChartAssist(palette: ChartPalette): ChartAssist;
11
11
  }