@tetacom/svg-charts 1.7.1 → 1.7.3
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/chart/base/series-base.component.d.ts +6 -2
- package/chart/chart-container/series/area-series/area-series.component.d.ts +6 -8
- package/chart/chart-container/series/bar/bar-series.component.d.ts +2 -4
- package/chart/chart-container/series/block-area-series/block-area-series.component.d.ts +1 -3
- package/chart/chart-container/series/block-horizontal-series/block-horizontal-series.component.d.ts +2 -4
- package/chart/chart-container/series/block-series/block-series.component.d.ts +2 -4
- package/chart/chart-container/series/line/line-series.component.d.ts +2 -2
- package/chart/chart-container/series/linear-series-base.component.d.ts +9 -11
- package/chart/chart-container/series/scatter-series/scatter-series.component.d.ts +0 -6
- package/fesm2022/tetacom-svg-charts.mjs +140 -147
- package/fesm2022/tetacom-svg-charts.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,14 +7,18 @@ import { ScaleService } from '../service/scale.service';
|
|
|
7
7
|
import { ZoomService } from '../service/zoom.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SeriesBaseComponent<T extends BasePoint> {
|
|
10
|
+
config: import("@angular/core").InputSignal<IChartConfig>;
|
|
11
|
+
series: import("@angular/core").InputSignal<Series<T>>;
|
|
10
12
|
protected svc: ChartService;
|
|
11
13
|
protected cdr: ChangeDetectorRef;
|
|
12
14
|
protected scaleService: ScaleService;
|
|
13
15
|
protected zoomService: ZoomService;
|
|
14
16
|
protected element: ElementRef<any>;
|
|
15
17
|
id: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
xScales: import("@angular/core").Signal<Map<number, import("@tetacom/svg-charts").Axis>>;
|
|
19
|
+
yScales: import("@angular/core").Signal<Map<number, import("@tetacom/svg-charts").Axis>>;
|
|
20
|
+
x: import("@angular/core").Signal<any>;
|
|
21
|
+
y: import("@angular/core").Signal<any>;
|
|
18
22
|
mouseenter(point: BasePoint): void;
|
|
19
23
|
mouseleave(point: BasePoint): void;
|
|
20
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesBaseComponent<any>, never>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { OnDestroy
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
3
2
|
import { BasePoint } from '../../../model/base-point';
|
|
4
|
-
import { FillDirection, FillType } from '../../../model/enum/fill-type';
|
|
5
3
|
import { LinearSeriesBaseComponent } from '../linear-series-base.component';
|
|
4
|
+
import { FillDirection, FillType } from '../../../model/enum/fill-type';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AreaSeriesComponent<T extends BasePoint> extends LinearSeriesBaseComponent<T> implements
|
|
8
|
-
areaPath:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ngOnInit(): void;
|
|
6
|
+
export declare class AreaSeriesComponent<T extends BasePoint> extends LinearSeriesBaseComponent<T> implements OnDestroy {
|
|
7
|
+
areaPath: import("@angular/core").Signal<any>;
|
|
8
|
+
protected readonly FillType: typeof FillType;
|
|
9
|
+
protected readonly FillDirection: typeof FillDirection;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaSeriesComponent<any>, never>;
|
|
13
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<AreaSeriesComponent<any>, "svg:svg[teta-area-series]", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -2,10 +2,8 @@ import { SeriesBaseComponent } from '../../../base/series-base.component';
|
|
|
2
2
|
import { BasePoint } from '../../../model/base-point';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class BarSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
x1: import("rxjs").Observable<any>;
|
|
8
|
-
barSeriesCount: import("rxjs").Observable<number>;
|
|
5
|
+
x1: import("@angular/core").Signal<any>;
|
|
6
|
+
barSeriesCount: import("@angular/core").Signal<number>;
|
|
9
7
|
isNumber(value: any): value is number;
|
|
10
8
|
protected readonly Math: Math;
|
|
11
9
|
protected readonly Number: NumberConstructor;
|
|
@@ -3,9 +3,7 @@ import { BasePoint } from '../../../model/base-point';
|
|
|
3
3
|
import { FillType } from '../../../model/enum/fill-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BlockAreaSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> {
|
|
6
|
-
|
|
7
|
-
y: import("rxjs").Observable<any>;
|
|
8
|
-
displayPoints: import("rxjs").Observable<T[]>;
|
|
6
|
+
displayPoints: import("@angular/core").Signal<T[]>;
|
|
9
7
|
fillType: typeof FillType;
|
|
10
8
|
protected readonly Math: Math;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlockAreaSeriesComponent<any>, never>;
|
package/chart/chart-container/series/block-horizontal-series/block-horizontal-series.component.d.ts
CHANGED
|
@@ -3,11 +3,9 @@ import { BasePoint } from '../../../model/base-point';
|
|
|
3
3
|
import { FillType } from '../../../model/enum/fill-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BlockHorizontalSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> {
|
|
6
|
-
|
|
7
|
-
y: import("rxjs").Observable<any>;
|
|
8
|
-
displayPoints: import("rxjs").Observable<T[]>;
|
|
9
|
-
fillType: typeof FillType;
|
|
6
|
+
displayPoints: import("@angular/core").Signal<T[]>;
|
|
10
7
|
protected readonly Math: Math;
|
|
8
|
+
protected readonly FillType: typeof FillType;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlockHorizontalSeriesComponent<any>, never>;
|
|
12
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<BlockHorizontalSeriesComponent<any>, "svg:svg[teta-block-horizontal-series]", never, {}, {}, never, never, true, never>;
|
|
13
11
|
}
|
|
@@ -3,11 +3,9 @@ import { BasePoint } from '../../../model/base-point';
|
|
|
3
3
|
import { FillType } from '../../../model/enum/fill-type';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BlockSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> {
|
|
6
|
-
|
|
7
|
-
y: import("rxjs").Observable<any>;
|
|
8
|
-
displayPoints: import("rxjs").Observable<T[]>;
|
|
9
|
-
fillType: typeof FillType;
|
|
6
|
+
displayPoints: import("@angular/core").Signal<T[]>;
|
|
10
7
|
protected readonly Math: Math;
|
|
8
|
+
protected readonly FillType: typeof FillType;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlockSeriesComponent<any>, never>;
|
|
12
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<BlockSeriesComponent<any>, "svg:svg[teta-block-series]", never, {}, {}, never, never, true, never>;
|
|
13
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OnDestroy
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { BasePoint } from '../../../model/base-point';
|
|
3
3
|
import { LinearSeriesBaseComponent } from '../linear-series-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LineSeriesComponent<T extends BasePoint> extends LinearSeriesBaseComponent<T> implements
|
|
5
|
+
export declare class LineSeriesComponent<T extends BasePoint> extends LinearSeriesBaseComponent<T> implements OnDestroy {
|
|
6
6
|
private start;
|
|
7
7
|
private labelStart;
|
|
8
8
|
moveStart(event: any, point: any): void;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { OnDestroy
|
|
2
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
3
|
import { SeriesBaseComponent } from '../../base/series-base.component';
|
|
4
4
|
import { BasePoint } from '../../model/base-point';
|
|
5
5
|
import { ClipPointsDirection } from '../../model/enum/clip-points-direction';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class LinearSeriesBaseComponent<T extends BasePoint> extends SeriesBaseComponent<T> implements
|
|
8
|
-
|
|
9
|
-
transform:
|
|
7
|
+
export declare class LinearSeriesBaseComponent<T extends BasePoint> extends SeriesBaseComponent<T> implements OnDestroy {
|
|
8
|
+
pointerMove: import("@angular/core").Signal<PointerEvent>;
|
|
9
|
+
transform: import("@angular/core").Signal<Pick<BasePoint, "x" | "y">>;
|
|
10
|
+
defaultClipPointsMapping: Map<ClipPointsDirection, (min: number, max: number) => (point: BasePoint, idx: number, arr: Array<BasePoint>) => boolean>;
|
|
10
11
|
display: Observable<number>;
|
|
11
|
-
path: Observable<string>;
|
|
12
|
-
x: any;
|
|
13
|
-
y: any;
|
|
14
12
|
markers: import("@angular/core").Signal<T[]>;
|
|
15
|
-
|
|
16
|
-
protected
|
|
17
|
-
|
|
13
|
+
path: import("@angular/core").Signal<any>;
|
|
14
|
+
protected update: import("@angular/core").WritableSignal<unknown>;
|
|
15
|
+
constructor();
|
|
18
16
|
ngOnDestroy(): void;
|
|
19
17
|
getTransform(event: any, scaleX: any, scaleY: any): Pick<BasePoint, 'x' | 'y'>;
|
|
20
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinearSeriesBaseComponent<any>, never>;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { BasePoint } from '../../../model/base-point';
|
|
2
2
|
import { SeriesBaseComponent } from '../../../base/series-base.component';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ScatterSeriesComponent<T extends BasePoint> extends SeriesBaseComponent<T> {
|
|
6
|
-
x: Observable<any>;
|
|
7
|
-
y: Observable<any>;
|
|
8
|
-
transform: Observable<Pick<BasePoint, 'x' | 'y'>>;
|
|
9
|
-
display: Observable<number>;
|
|
10
|
-
path: Observable<string>;
|
|
11
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScatterSeriesComponent<any>, never>;
|
|
12
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScatterSeriesComponent<any>, "svg:svg[teta-scatter-series]", never, {}, {}, never, never, true, never>;
|
|
13
7
|
}
|