@tetacom/svg-charts 1.4.24 → 1.4.25

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.
@@ -1,10 +1,10 @@
1
1
  import { ChangeDetectorRef, ElementRef, NgZone, OnInit } from '@angular/core';
2
- import { ChartService } from '../service/chart.service';
3
- import { Series } from '../model/series';
4
2
  import { BasePoint } from '../model/base-point';
3
+ import { IChartConfig } from '../model/i-chart-config';
4
+ import { Series } from '../model/series';
5
+ import { ChartService } from '../service/chart.service';
5
6
  import { ScaleService } from '../service/scale.service';
6
7
  import { ZoomService } from '../service/zoom.service';
7
- import { IChartConfig } from '../model/i-chart-config';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class SeriesBaseComponent<T extends BasePoint> implements OnInit {
10
10
  protected svc: ChartService;
@@ -1,20 +1,22 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
2
- import { IChartConfig } from '../model/i-chart-config';
3
- import { ChartService } from '../service/chart.service';
1
+ import { AfterViewInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
4
2
  import { Observable } from 'rxjs';
5
3
  import { Axis } from '../core/axis/axis';
6
- import { ScaleService } from '../service/scale.service';
7
- import { ZoomService } from '../service/zoom.service';
4
+ import { BasePoint } from '../model/base-point';
8
5
  import { ZoomType } from '../model/enum/zoom-type';
6
+ import { IChartConfig } from '../model/i-chart-config';
9
7
  import { IScalesMap } from '../model/i-scales-map';
10
- import { Series } from "../model/series";
11
- import { BasePoint } from "../model/base-point";
8
+ import { PlotBand } from '../model/plot-band';
9
+ import { Series } from '../model/series';
10
+ import { ChartService } from '../service/chart.service';
11
+ import { ScaleService } from '../service/scale.service';
12
12
  import * as i0 from "@angular/core";
13
- export declare class ChartContainerComponent implements OnInit, OnDestroy {
13
+ type DisplayPlotBand = {
14
+ axis: Axis;
15
+ plotBand: PlotBand;
16
+ };
17
+ export declare class ChartContainerComponent implements AfterViewInit, OnDestroy {
14
18
  private _svc;
15
- private _cdr;
16
19
  private _scaleService;
17
- private _zoomService;
18
20
  private _elementRef;
19
21
  private _zone;
20
22
  config: Observable<IChartConfig>;
@@ -23,10 +25,10 @@ export declare class ChartContainerComponent implements OnInit, OnDestroy {
23
25
  visibleRect: Observable<any>;
24
26
  brushScale: Observable<any>;
25
27
  zoomType: typeof ZoomType;
28
+ plotBands: Observable<DisplayPlotBand[]>;
26
29
  private _observer;
27
30
  private filterPositionMap;
28
- constructor(_svc: ChartService, _cdr: ChangeDetectorRef, _scaleService: ScaleService, _zoomService: ZoomService, _elementRef: ElementRef, _zone: NgZone);
29
- ngOnInit(): void;
31
+ constructor(_svc: ChartService, _scaleService: ScaleService, _elementRef: ElementRef, _zone: NgZone);
30
32
  ngAfterViewInit(): void;
31
33
  ngOnDestroy(): void;
32
34
  private sumSize;
@@ -40,3 +42,4 @@ export declare class ChartContainerComponent implements OnInit, OnDestroy {
40
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartContainerComponent, never>;
41
43
  static ɵcmp: i0.ɵɵComponentDeclaration<ChartContainerComponent, "teta-chart-container", never, {}, {}, never, never, false, never>;
42
44
  }
45
+ export {};
@@ -1,15 +1,11 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
2
- import { PlotBand } from '../../model/plot-band';
3
- import { ScaleService } from '../../service/scale.service';
4
2
  import { Axis } from '../../core/axis/axis';
5
- import { ZoomService } from '../../service/zoom.service';
6
3
  import { AxisOrientation } from '../../model/enum/axis-orientation';
7
4
  import { IChartEvent } from '../../model/i-chart-event';
5
+ import { PlotBand } from '../../model/plot-band';
8
6
  import { ChartService } from '../../service/chart.service';
9
7
  import * as i0 from "@angular/core";
10
8
  export declare class PlotBandComponent implements AfterViewInit, OnDestroy {
11
- private scaleService;
12
- private zoomService;
13
9
  private chartService;
14
10
  private cdr;
15
11
  private element;
@@ -17,20 +13,20 @@ export declare class PlotBandComponent implements AfterViewInit, OnDestroy {
17
13
  axis: Axis;
18
14
  scale: any;
19
15
  size: DOMRect;
16
+ click(event: MouseEvent): void;
17
+ contextMenu(event: MouseEvent): void;
20
18
  orientation: typeof AxisOrientation;
21
19
  resizeElements: any;
22
20
  dragElements: any;
23
- constructor(scaleService: ScaleService, zoomService: ZoomService, chartService: ChartService, cdr: ChangeDetectorRef, element: ElementRef);
24
- click(event: MouseEvent): void;
25
- contextMenu(event: MouseEvent): void;
26
- emit(event: IChartEvent<PlotBand>): void;
27
- ngAfterViewInit(): void;
28
- ngOnDestroy(): void;
29
21
  get height(): number;
30
22
  get width(): number;
31
23
  get from(): number;
32
24
  get to(): number;
33
25
  get bandSize(): number;
26
+ constructor(chartService: ChartService, cdr: ChangeDetectorRef, element: ElementRef);
27
+ emit(event: IChartEvent<PlotBand>): void;
28
+ ngAfterViewInit(): void;
29
+ ngOnDestroy(): void;
34
30
  getTextPosition: () => any;
35
31
  getFill(d: PlotBand): string;
36
32
  static ɵfac: i0.ɵɵFactoryDeclaration<PlotBandComponent, never>;
@@ -0,0 +1,28 @@
1
+ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { SeriesBaseComponent } from '../../../base/series-base.component';
4
+ import { BasePoint } from '../../../model/base-point';
5
+ import { FillType } from '../../../model/enum/fill-type';
6
+ import { ChartService } from '../../../service/chart.service';
7
+ import { ScaleService } from '../../../service/scale.service';
8
+ import { ZoomService } from '../../../service/zoom.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class BlockHorizontalSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> implements OnInit {
11
+ protected svc: ChartService;
12
+ protected cdr: ChangeDetectorRef;
13
+ protected scaleService: ScaleService;
14
+ protected zoomService: ZoomService;
15
+ protected element: ElementRef;
16
+ x: Observable<any>;
17
+ y: Observable<any>;
18
+ displayPoints: Observable<BasePoint[]>;
19
+ fillType: typeof FillType;
20
+ id: string;
21
+ Math: Math;
22
+ constructor(svc: ChartService, cdr: ChangeDetectorRef, scaleService: ScaleService, zoomService: ZoomService, element: ElementRef);
23
+ ngOnInit(): void;
24
+ mouseenter(point: BasePoint): void;
25
+ mouseleave(point: BasePoint): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlockHorizontalSeriesComponent<any>, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockHorizontalSeriesComponent<any>, "svg:svg[teta-block-horizontal-series]", never, {}, {}, never, never, false, never>;
28
+ }
@@ -1,13 +1,13 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
- import { BasePoint } from '../../../model/base-point';
3
- import { SeriesBaseComponent } from '../../../base/series-base.component';
1
+ import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
4
2
  import { Observable } from 'rxjs';
3
+ import { SeriesBaseComponent } from '../../../base/series-base.component';
4
+ import { BasePoint } from '../../../model/base-point';
5
+ import { FillType } from '../../../model/enum/fill-type';
5
6
  import { ChartService } from '../../../service/chart.service';
6
7
  import { ScaleService } from '../../../service/scale.service';
7
8
  import { ZoomService } from '../../../service/zoom.service';
8
- import { FillType } from '../../../model/enum/fill-type';
9
9
  import * as i0 from "@angular/core";
10
- export declare class BlockSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> implements OnInit, AfterViewInit {
10
+ export declare class BlockSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> implements OnInit {
11
11
  protected svc: ChartService;
12
12
  protected cdr: ChangeDetectorRef;
13
13
  protected scaleService: ScaleService;
@@ -23,7 +23,6 @@ export declare class BlockSeriesComponent<T extends BasePoint> extends SeriesBas
23
23
  ngOnInit(): void;
24
24
  mouseenter(point: BasePoint): void;
25
25
  mouseleave(point: BasePoint): void;
26
- ngAfterViewInit(): void;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockSeriesComponent<any>, never>;
28
27
  static ɵcmp: i0.ɵɵComponentDeclaration<BlockSeriesComponent<any>, "svg:svg[teta-block-series]", never, {}, {}, never, never, false, never>;
29
28
  }
@@ -1,6 +1,7 @@
1
+ export * from './area-series/area-series.component';
1
2
  export * from './bar/bar-series.component';
2
3
  export * from './block-area-series/block-area-series.component';
4
+ export * from './block-horizontal-series/block-horizontal-series.component';
3
5
  export * from './block-series/block-series.component';
4
6
  export * from './line/line-series.component';
5
7
  export * from './scatter-series/scatter-series.component';
6
- export * from './area-series/area-series.component';
@@ -23,10 +23,11 @@ import * as i21 from "./chart-container/annotation/annotation.component";
23
23
  import * as i22 from "./chart-container/crosshair/crosshair.component";
24
24
  import * as i23 from "./directives/draggable-point.directive";
25
25
  import * as i24 from "./stories/bandseries/bandseries.component";
26
- import * as i25 from "@angular/common";
27
- import * as i26 from "@tetacom/ng-components";
26
+ import * as i25 from "./chart-container/series/block-horizontal-series/block-horizontal-series.component";
27
+ import * as i26 from "@angular/common";
28
+ import * as i27 from "@tetacom/ng-components";
28
29
  export declare class ChartModule {
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<ChartModule, [typeof i1.ChartComponent, typeof i2.SeriesHostComponent, typeof i3.ChartContainerComponent, typeof i4.LegendComponent, typeof i5.SeriesBaseComponent, typeof i6.LinearSeriesBase, typeof i7.LineSeriesComponent, typeof i8.GridlinesComponent, typeof i9.XAxisComponent, typeof i10.YAxisComponent, typeof i11.PlotlineComponent, typeof i12.PlotBandComponent, typeof i13.BarSeriesComponent, typeof i14.TooltipComponent, typeof i15.ZoomableDirective, typeof i16.BrushableDirective, typeof i17.AreaSeriesComponent, typeof i18.ScatterSeriesComponent, typeof i19.BlockSeriesComponent, typeof i20.BlockAreaSeriesComponent, typeof i21.AnnotationComponent, typeof i22.CrosshairComponent, typeof i23.DraggablePointDirective, typeof i24.BandseriesComponent], [typeof i25.CommonModule, typeof i26.LetModule], [typeof i1.ChartComponent, typeof i4.LegendComponent, typeof i5.SeriesBaseComponent, typeof i7.LineSeriesComponent, typeof i13.BarSeriesComponent, typeof i18.ScatterSeriesComponent, typeof i17.AreaSeriesComponent, typeof i19.BlockSeriesComponent, typeof i20.BlockAreaSeriesComponent]>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChartModule, [typeof i1.ChartComponent, typeof i2.SeriesHostComponent, typeof i3.ChartContainerComponent, typeof i4.LegendComponent, typeof i5.SeriesBaseComponent, typeof i6.LinearSeriesBase, typeof i7.LineSeriesComponent, typeof i8.GridlinesComponent, typeof i9.XAxisComponent, typeof i10.YAxisComponent, typeof i11.PlotlineComponent, typeof i12.PlotBandComponent, typeof i13.BarSeriesComponent, typeof i14.TooltipComponent, typeof i15.ZoomableDirective, typeof i16.BrushableDirective, typeof i17.AreaSeriesComponent, typeof i18.ScatterSeriesComponent, typeof i19.BlockSeriesComponent, typeof i20.BlockAreaSeriesComponent, typeof i21.AnnotationComponent, typeof i22.CrosshairComponent, typeof i23.DraggablePointDirective, typeof i24.BandseriesComponent, typeof i25.BlockHorizontalSeriesComponent], [typeof i26.CommonModule, typeof i27.LetModule], [typeof i1.ChartComponent, typeof i4.LegendComponent, typeof i5.SeriesBaseComponent, typeof i7.LineSeriesComponent, typeof i13.BarSeriesComponent, typeof i18.ScatterSeriesComponent, typeof i17.AreaSeriesComponent, typeof i19.BlockSeriesComponent, typeof i20.BlockAreaSeriesComponent, typeof i25.BlockHorizontalSeriesComponent]>;
31
32
  static ɵinj: i0.ɵɵInjectorDeclaration<ChartModule>;
32
33
  }
@@ -1,4 +1,4 @@
1
- import { Axis } from "../core/axis/axis";
1
+ import { Axis } from '../core/axis/axis';
2
2
  export interface IScalesMap {
3
3
  x: Map<number, Axis>;
4
4
  y: Map<number, Axis>;
@@ -10,6 +10,7 @@ export declare class PlotBand {
10
10
  resizable?: boolean;
11
11
  min?: number;
12
12
  max?: number;
13
+ order: number;
13
14
  style?: {
14
15
  plotBand?: SvgAttributes;
15
16
  grabbers?: SvgAttributes;
@@ -25,6 +26,7 @@ export declare class PlotBand {
25
26
  resizable?: boolean;
26
27
  min?: number;
27
28
  max?: number;
29
+ order?: number;
28
30
  style?: {
29
31
  plotBand?: SvgAttributes;
30
32
  grabbers?: SvgAttributes;
@@ -32,8 +32,7 @@ export class SeriesBaseComponent {
32
32
  this.element = element;
33
33
  this.zone = zone;
34
34
  }
35
- ngOnInit() {
36
- }
35
+ ngOnInit() { }
37
36
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SeriesBaseComponent, deps: [{ token: i1.ChartService }, { token: i0.ChangeDetectorRef }, { token: i2.ScaleService }, { token: i3.ZoomService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
38
37
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SeriesBaseComponent, selector: "ng-component", inputs: { config: "config", series: "series" }, ngImport: i0, template: '', isInline: true });
39
38
  }
@@ -47,4 +46,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImpor
47
46
  }], series: [{
48
47
  type: Input
49
48
  }] } });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWVzLWJhc2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NoYXJ0L2Jhc2Uvc2VyaWVzLWJhc2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCxTQUFTLEVBRVQsS0FBSyxHQUVOLE1BQU0sZUFBZSxDQUFDOzs7OztBQVd2QixNQUFNLE9BQU8sbUJBQW1CO0lBdUJsQjtJQUNBO0lBQ0E7SUFDQTtJQUNBO0lBQ0E7SUEzQlosSUFDSSxNQUFNLENBQUMsTUFBb0I7UUFDN0IsSUFBSSxDQUFDLE9BQU8sR0FBRyxNQUFNLENBQUM7SU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