@tetacom/svg-charts 1.7.4 → 1.7.7

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,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
2
  import { Axis } from '../../core/axis/axis';
3
3
  import { AxisOrientation } from '../../model/enum/axis-orientation';
4
4
  import { IChartEvent } from '../../model/i-chart-event';
@@ -7,28 +7,31 @@ import { ChartService } from '../../service/chart.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class PlotBandComponent implements AfterViewInit, OnDestroy {
9
9
  private chartService;
10
- private cdr;
11
10
  private element;
12
- plotBand: PlotBand;
13
- axis: Axis;
14
- scale: any;
15
- size: DOMRect;
11
+ plotBand: import("@angular/core").InputSignal<PlotBand>;
12
+ axis: import("@angular/core").InputSignal<Axis>;
13
+ scale: import("@angular/core").InputSignal<any>;
14
+ size: import("@angular/core").InputSignal<DOMRect>;
15
+ fromTo: import("@angular/core").WritableSignal<{
16
+ from: number;
17
+ to: number;
18
+ }>;
16
19
  click(event: MouseEvent): void;
17
20
  contextMenu(event: MouseEvent): void;
18
21
  orientation: typeof AxisOrientation;
19
22
  resizeElements: any;
20
23
  dragElements: any;
21
- get height(): number;
22
- get width(): number;
23
- get from(): number;
24
- get to(): number;
25
- get bandSize(): number;
26
- constructor(chartService: ChartService, cdr: ChangeDetectorRef, element: ElementRef);
24
+ height: import("@angular/core").Signal<number>;
25
+ width: import("@angular/core").Signal<number>;
26
+ from: import("@angular/core").Signal<any>;
27
+ to: import("@angular/core").Signal<any>;
28
+ bandSize: import("@angular/core").Signal<number>;
29
+ constructor(chartService: ChartService, element: ElementRef);
27
30
  emit(event: IChartEvent<PlotBand>): void;
28
31
  ngAfterViewInit(): void;
29
32
  ngOnDestroy(): void;
30
- getTextPosition: () => any;
31
- getFill(d: PlotBand): string;
33
+ textPosition: import("@angular/core").Signal<any>;
34
+ fill: import("@angular/core").Signal<string>;
32
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PlotBandComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<PlotBandComponent, "[teta-plot-band]", never, { "plotBand": { "alias": "plotBand"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<PlotBandComponent, "[teta-plot-band]", never, { "plotBand": { "alias": "plotBand"; "required": false; "isSignal": true; }; "axis": { "alias": "axis"; "required": false; "isSignal": true; }; "scale": { "alias": "scale"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
34
37
  }
@@ -9,6 +9,7 @@ export declare class SeriesHostComponent<T extends BasePoint> implements OnDestr
9
9
  series: import("@angular/core").InputSignal<Series<T>>;
10
10
  private _componentRef;
11
11
  private count;
12
+ private seriesComponent;
12
13
  constructor();
13
14
  ngOnDestroy(): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SeriesHostComponent<any>, never>;
@@ -1,23 +1,13 @@
1
- import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
1
  import { Axis } from '../../core/axis/axis';
3
- import { Observable } from 'rxjs';
4
- import { ScaleService } from '../../service/scale.service';
5
- import { ChartService } from '../../service/chart.service';
6
2
  import * as i0 from "@angular/core";
7
- export declare class XAxisComponent implements OnInit, OnChanges, OnDestroy {
3
+ export declare class XAxisComponent {
8
4
  private scaleService;
9
- private _svc;
10
- x: Observable<any>;
11
- ticks: Observable<any[]>;
12
- axis: Axis;
13
- size: DOMRect;
14
- private update$;
15
- private _alive;
16
- constructor(scaleService: ScaleService, _svc: ChartService);
17
- getLabelTransform(): string;
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
20
- ngOnChanges(changes: SimpleChanges): void;
5
+ xScales: import("@angular/core").Signal<Map<number, Axis>>;
6
+ axis: import("@angular/core").InputSignal<Axis>;
7
+ size: import("@angular/core").InputSignal<DOMRect>;
8
+ x: import("@angular/core").Signal<any>;
9
+ ticks: import("@angular/core").Signal<any>;
10
+ getLabelTransform: import("@angular/core").Signal<string>;
21
11
  static ɵfac: i0.ɵɵFactoryDeclaration<XAxisComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<XAxisComponent, "[teta-x-axis]", never, { "axis": { "alias": "axis"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<XAxisComponent, "[teta-x-axis]", never, { "axis": { "alias": "axis"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
13
  }
@@ -1,19 +1,12 @@
1
- import { AfterViewInit, OnInit } from '@angular/core';
2
1
  import { Axis } from '../../core/axis/axis';
3
- import { ScaleService } from '../../service/scale.service';
4
- import { Observable } from 'rxjs';
5
2
  import * as i0 from "@angular/core";
6
- export declare class YAxisComponent implements OnInit, AfterViewInit {
3
+ export declare class YAxisComponent {
7
4
  private scaleService;
8
- y: Observable<any>;
9
- axis: Axis;
10
- size: DOMRect;
11
- private _alive;
12
- constructor(scaleService: ScaleService);
13
- ngOnInit(): void;
14
- ngOnDestroy(): void;
15
- ngAfterViewInit(): void;
16
- getLabelTransform(): string;
5
+ yScales: import("@angular/core").Signal<Map<number, Axis>>;
6
+ axis: import("@angular/core").InputSignal<Axis>;
7
+ size: import("@angular/core").InputSignal<DOMRect>;
8
+ y: import("@angular/core").Signal<any>;
9
+ getLabelTransform: import("@angular/core").Signal<string>;
17
10
  static ɵfac: i0.ɵɵFactoryDeclaration<YAxisComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<YAxisComponent, "[teta-y-axis]", never, { "axis": { "alias": "axis"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<YAxisComponent, "[teta-y-axis]", never, { "axis": { "alias": "axis"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
19
12
  }