@tetacom/svg-charts 1.4.27 → 1.5.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.
Files changed (90) hide show
  1. package/.eslintrc.json +16 -10
  2. package/README.md +3 -20
  3. package/chart/base/series-base.component.d.ts +1 -1
  4. package/chart/chart/chart.component.d.ts +1 -1
  5. package/chart/chart-container/annotation/annotation.component.d.ts +1 -1
  6. package/chart/chart-container/chart-container.component.d.ts +1 -1
  7. package/chart/chart-container/crosshair/crosshair.component.d.ts +1 -1
  8. package/chart/chart-container/gridlines/gridlines.component.d.ts +1 -1
  9. package/chart/chart-container/plotband/plot-band.component.d.ts +1 -1
  10. package/chart/chart-container/plotline/plotline.component.d.ts +1 -1
  11. package/chart/chart-container/series/area-series/area-series.component.d.ts +1 -1
  12. package/chart/chart-container/series/bar/bar-series.component.d.ts +2 -1
  13. package/chart/chart-container/series/block-area-series/block-area-series.component.d.ts +1 -1
  14. package/chart/chart-container/series/block-horizontal-series/block-horizontal-series.component.d.ts +1 -1
  15. package/chart/chart-container/series/block-series/block-series.component.d.ts +1 -1
  16. package/chart/chart-container/series/line/line-series.component.d.ts +1 -1
  17. package/chart/chart-container/series/linear-series-base.d.ts +1 -1
  18. package/chart/chart-container/series/scatter-series/scatter-series.component.d.ts +1 -1
  19. package/chart/chart-container/series-host/series-host.component.d.ts +1 -1
  20. package/chart/chart-container/tooltip/tooltip.component.d.ts +2 -1
  21. package/chart/chart-container/x-axis/x-axis.component.d.ts +1 -1
  22. package/chart/chart-container/y-axis/y-axis.component.d.ts +1 -1
  23. package/chart/core/utils/generate-ticks.d.ts +1 -1
  24. package/chart/core/utils/position-util.d.ts +9 -0
  25. package/chart/directives/brushable.directive.d.ts +1 -1
  26. package/chart/directives/draggable-point.directive.d.ts +1 -1
  27. package/chart/directives/zoomable.directive.d.ts +1 -2
  28. package/chart/legend/legend.component.d.ts +1 -1
  29. package/chart/model/enum/align.enum.d.ts +11 -0
  30. package/chart/model/enum/vertical-align.enum.d.ts +9 -0
  31. package/chart/model/i-rect.d.ts +8 -0
  32. package/chart/service/chart.service.d.ts +4 -4
  33. package/chart/service/zoom.service.d.ts +1 -1
  34. package/esm2022/chart/base/series-base.component.mjs +10 -14
  35. package/esm2022/chart/chart/chart.component.mjs +28 -29
  36. package/esm2022/chart/chart-container/annotation/annotation.component.mjs +14 -17
  37. package/esm2022/chart/chart-container/chart-container.component.mjs +45 -38
  38. package/esm2022/chart/chart-container/crosshair/crosshair.component.mjs +13 -13
  39. package/esm2022/chart/chart-container/gridlines/gridlines.component.mjs +13 -15
  40. package/esm2022/chart/chart-container/plotband/plot-band.component.mjs +28 -31
  41. package/esm2022/chart/chart-container/plotline/plotline.component.mjs +15 -20
  42. package/esm2022/chart/chart-container/series/area-series/area-series.component.mjs +13 -17
  43. package/esm2022/chart/chart-container/series/bar/bar-series.component.mjs +19 -18
  44. package/esm2022/chart/chart-container/series/block-area-series/block-area-series.component.mjs +17 -19
  45. package/esm2022/chart/chart-container/series/block-horizontal-series/block-horizontal-series.component.mjs +17 -19
  46. package/esm2022/chart/chart-container/series/block-series/block-series.component.mjs +17 -19
  47. package/esm2022/chart/chart-container/series/line/line-series.component.mjs +42 -41
  48. package/esm2022/chart/chart-container/series/linear-series-base.mjs +13 -20
  49. package/esm2022/chart/chart-container/series/scatter-series/scatter-series.component.mjs +15 -18
  50. package/esm2022/chart/chart-container/series-host/series-host.component.mjs +8 -11
  51. package/esm2022/chart/chart-container/tooltip/tooltip.component.mjs +22 -23
  52. package/esm2022/chart/chart-container/x-axis/x-axis.component.mjs +16 -15
  53. package/esm2022/chart/chart-container/y-axis/y-axis.component.mjs +14 -12
  54. package/esm2022/chart/core/axis/axis.mjs +21 -28
  55. package/esm2022/chart/core/axis/builders/axis-size-builder.mjs +6 -4
  56. package/esm2022/chart/core/axis/builders/extremes-builder.mjs +7 -5
  57. package/esm2022/chart/core/utils/position-util.mjs +144 -0
  58. package/esm2022/chart/directives/brushable.directive.mjs +14 -19
  59. package/esm2022/chart/directives/draggable-point.directive.mjs +11 -16
  60. package/esm2022/chart/directives/zoomable.directive.mjs +49 -54
  61. package/esm2022/chart/legend/legend.component.mjs +15 -17
  62. package/esm2022/chart/model/chart-bounds.mjs +5 -5
  63. package/esm2022/chart/model/enum/align.enum.mjs +13 -0
  64. package/esm2022/chart/model/enum/vertical-align.enum.mjs +11 -0
  65. package/esm2022/chart/model/i-broadcast-message.mjs +1 -10
  66. package/esm2022/chart/model/i-rect.mjs +2 -0
  67. package/esm2022/chart/model/plot-band.mjs +2 -13
  68. package/esm2022/chart/model/plot-line.mjs +1 -9
  69. package/esm2022/chart/service/broadcast.service.mjs +5 -6
  70. package/esm2022/chart/service/brush.service.mjs +6 -7
  71. package/esm2022/chart/service/chart.service.mjs +48 -57
  72. package/esm2022/chart/service/scale.service.mjs +17 -18
  73. package/esm2022/chart/service/zoom.service.mjs +8 -11
  74. package/esm2022/index.mjs +13 -0
  75. package/esm2022/observable/public-api.mjs +2 -0
  76. package/esm2022/observable/zoneObservable.mjs +15 -0
  77. package/esm2022/tetacom-svg-charts.mjs +2 -2
  78. package/fesm2022/tetacom-svg-charts.mjs +1408 -1498
  79. package/fesm2022/tetacom-svg-charts.mjs.map +1 -1
  80. package/index.d.ts +9 -5
  81. package/observable/public-api.d.ts +1 -0
  82. package/observable/zoneObservable.d.ts +5 -0
  83. package/package.json +6 -8
  84. package/.browserslistrc +0 -16
  85. package/chart/chart.module.d.ts +0 -33
  86. package/chart/stories/bandseries/bandseries.component.d.ts +0 -21
  87. package/esm2022/chart/chart.module.mjs +0 -113
  88. package/esm2022/chart/stories/bandseries/bandseries.component.mjs +0 -36
  89. package/esm2022/public-api.mjs +0 -13
  90. package/public-api.d.ts +0 -9
package/.eslintrc.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
- "extends": "../../.eslintrc.json",
3
- "ignorePatterns": [
4
- "!**/*"
5
- ],
2
+ "extends": ["../../.eslintrc.json"],
3
+ "ignorePatterns": ["!**/*"],
6
4
  "overrides": [
7
5
  {
8
- "files": [
9
- "*.ts"
6
+ "files": ["*.ts"],
7
+ "extends": [
8
+ "plugin:@nx/angular",
9
+ "plugin:@angular-eslint/template/process-inline-templates"
10
10
  ],
11
11
  "rules": {
12
12
  "@angular-eslint/directive-selector": [
13
13
  "error",
14
14
  {
15
15
  "type": "attribute",
16
- "prefix": "teta",
16
+ "prefix": "ngComponents",
17
17
  "style": "camelCase"
18
18
  }
19
19
  ],
@@ -28,10 +28,16 @@
28
28
  }
29
29
  },
30
30
  {
31
- "files": [
32
- "*.html"
33
- ],
31
+ "files": ["*.html"],
32
+ "extends": ["plugin:@nx/angular-template"],
34
33
  "rules": {}
34
+ },
35
+ {
36
+ "files": ["*.json"],
37
+ "parser": "jsonc-eslint-parser",
38
+ "rules": {
39
+ "@nx/dependency-checks": "error"
40
+ }
35
41
  }
36
42
  ]
37
43
  }
package/README.md CHANGED
@@ -1,24 +1,7 @@
1
- # Chart
1
+ # chart
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.0.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project chart` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project chart`.
8
- > Note: Don't forget to add `--project chart` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build chart` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build chart`, go to the dist folder `cd dist/chart` and run `npm publish`.
3
+ This library was generated with [Nx](https://nx.dev).
17
4
 
18
5
  ## Running unit tests
19
6
 
20
- Run `ng test chart` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
7
+ Run `nx test chart` to execute the unit tests.
@@ -22,5 +22,5 @@ export declare class SeriesBaseComponent<T extends BasePoint> implements OnInit
22
22
  constructor(svc: ChartService, cdr: ChangeDetectorRef, scaleService: ScaleService, zoomService: ZoomService, element: ElementRef, zone?: NgZone);
23
23
  ngOnInit(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SeriesBaseComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<SeriesBaseComponent<any>, "ng-component", never, { "config": { "alias": "config"; "required": false; }; "series": { "alias": "series"; "required": false; }; }, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeriesBaseComponent<any>, "ng-component", never, { "config": { "alias": "config"; "required": false; }; "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
26
26
  }
@@ -39,5 +39,5 @@ export declare class ChartComponent implements OnInit, OnDestroy {
39
39
  ngOnInit(): void;
40
40
  ngOnDestroy(): void;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "teta-svg-chart", never, { "config": { "alias": "config"; "required": false; }; }, { "pointerMove": "pointerMove"; "plotBandsMove": "plotBandsMove"; "plotBandClick": "plotBandClick"; "plotBandContextMenu": "plotBandContextMenu"; "plotLinesMove": "plotLinesMove"; "pointMove": "pointMove"; "chartClick": "chartClick"; "chartContextMenu": "chartContextMenu"; "annotationContextMenu": "annotationContextMenu"; "annotationClick": "annotationClick"; "annotationMove": "annotationMove"; "zoomServiceInstance": "zoomServiceInstance"; "brushServiceInstance": "brushServiceInstance"; }, never, ["*"], false, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "teta-svg-chart", never, { "config": { "alias": "config"; "required": false; }; }, { "pointerMove": "pointerMove"; "plotBandsMove": "plotBandsMove"; "plotBandClick": "plotBandClick"; "plotBandContextMenu": "plotBandContextMenu"; "plotLinesMove": "plotLinesMove"; "pointMove": "pointMove"; "chartClick": "chartClick"; "chartContextMenu": "chartContextMenu"; "annotationContextMenu": "annotationContextMenu"; "annotationClick": "annotationClick"; "annotationMove": "annotationMove"; "zoomServiceInstance": "zoomServiceInstance"; "brushServiceInstance": "brushServiceInstance"; }, never, ["*"], true, never>;
43
43
  }
@@ -24,5 +24,5 @@ export declare class AnnotationComponent implements OnDestroy {
24
24
  ngOnDestroy(): void;
25
25
  private init;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationComponent, "[teta-annotation]", never, { "visibleRect": { "alias": "visibleRect"; "required": false; }; "annotation": { "alias": "annotation"; "required": false; }; }, {}, never, never, false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationComponent, "[teta-annotation]", never, { "visibleRect": { "alias": "visibleRect"; "required": false; }; "annotation": { "alias": "annotation"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -40,6 +40,6 @@ export declare class ChartContainerComponent implements AfterViewInit, OnDestroy
40
40
  mouseLeave(event: any): void;
41
41
  trackSerie(index: any, item: Series<BasePoint>): any;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ChartContainerComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartContainerComponent, "teta-chart-container", never, {}, {}, never, never, false, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartContainerComponent, "teta-chart-container", never, {}, {}, never, never, true, never>;
44
44
  }
45
45
  export {};
@@ -12,5 +12,5 @@ export declare class CrosshairComponent implements OnInit {
12
12
  constructor(scaleService: ScaleService, chartService: ChartService, cdr: ChangeDetectorRef);
13
13
  ngOnInit(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CrosshairComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<CrosshairComponent, "[teta-crosshair]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CrosshairComponent, "[teta-crosshair]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
16
16
  }
@@ -16,5 +16,5 @@ export declare class GridlinesComponent implements AfterViewInit {
16
16
  constructor(svc: ScaleService, chartService: ChartService);
17
17
  ngAfterViewInit(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<GridlinesComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<GridlinesComponent, "[teta-gridlines]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridlinesComponent, "[teta-gridlines]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
20
20
  }
@@ -30,5 +30,5 @@ export declare class PlotBandComponent implements AfterViewInit, OnDestroy {
30
30
  getTextPosition: () => any;
31
31
  getFill(d: PlotBand): string;
32
32
  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, false, 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>;
34
34
  }
@@ -28,5 +28,5 @@ export declare class PlotlineComponent implements OnInit, OnDestroy {
28
28
  get height(): number;
29
29
  get width(): number;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PlotlineComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<PlotlineComponent, "[teta-plot-line]", never, { "plotLine": { "alias": "plotLine"; "required": false; }; "size": { "alias": "size"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, {}, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<PlotlineComponent, "[teta-plot-line]", never, { "plotLine": { "alias": "plotLine"; "required": false; }; "size": { "alias": "size"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; }, {}, never, never, true, never>;
32
32
  }
@@ -20,5 +20,5 @@ export declare class AreaSeriesComponent<T extends BasePoint> extends LinearSeri
20
20
  constructor(svc: ChartService, cdr: ChangeDetectorRef, scaleService: ScaleService, zoomService: ZoomService, element: ElementRef);
21
21
  ngOnInit(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AreaSeriesComponent<any>, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<AreaSeriesComponent<any>, "svg:svg[teta-area-series]", never, {}, {}, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<AreaSeriesComponent<any>, "svg:svg[teta-area-series]", never, {}, {}, never, never, true, never>;
24
24
  }
@@ -22,6 +22,7 @@ export declare class BarSeriesComponent<T extends BasePoint> extends SeriesBaseC
22
22
  mouseenter(point: BasePoint): void;
23
23
  mouseleave(point: BasePoint): void;
24
24
  ngOnChanges(changes: SimpleChanges): void;
25
+ isNumber(value: any): value is number;
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BarSeriesComponent<any>, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<BarSeriesComponent<any>, "svg:svg[teta-bar-series]", never, {}, {}, never, never, false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<BarSeriesComponent<any>, "svg:svg[teta-bar-series]", never, {}, {}, never, never, true, never>;
27
28
  }
@@ -25,5 +25,5 @@ export declare class BlockAreaSeriesComponent<T extends BasePoint> extends Serie
25
25
  mouseenter(point: BasePoint): void;
26
26
  mouseleave(point: BasePoint): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockAreaSeriesComponent<any>, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<BlockAreaSeriesComponent<any>, "svg:svg[teta-block-area-series]", never, {}, {}, never, never, false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockAreaSeriesComponent<any>, "svg:svg[teta-block-area-series]", never, {}, {}, never, never, true, never>;
29
29
  }
@@ -24,5 +24,5 @@ export declare class BlockHorizontalSeriesComponent<T extends BasePoint> extends
24
24
  mouseenter(point: BasePoint): void;
25
25
  mouseleave(point: BasePoint): void;
26
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>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockHorizontalSeriesComponent<any>, "svg:svg[teta-block-horizontal-series]", never, {}, {}, never, never, true, never>;
28
28
  }
@@ -24,5 +24,5 @@ export declare class BlockSeriesComponent<T extends BasePoint> extends SeriesBas
24
24
  mouseenter(point: BasePoint): void;
25
25
  mouseleave(point: BasePoint): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockSeriesComponent<any>, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<BlockSeriesComponent<any>, "svg:svg[teta-block-series]", never, {}, {}, never, never, false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockSeriesComponent<any>, "svg:svg[teta-block-series]", never, {}, {}, never, never, true, never>;
28
28
  }
@@ -21,5 +21,5 @@ export declare class LineSeriesComponent<T extends BasePoint> extends LinearSeri
21
21
  moveLabel(event: any, label: any): void;
22
22
  allowDrag: (point: BasePoint) => (newPoint: any) => boolean;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<LineSeriesComponent<any>, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<LineSeriesComponent<any>, "svg:svg[teta-line-series]", never, {}, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<LineSeriesComponent<any>, "svg:svg[teta-line-series]", never, {}, {}, never, never, true, never>;
25
25
  }
@@ -31,5 +31,5 @@ export declare class LinearSeriesBase<T extends BasePoint> extends SeriesBaseCom
31
31
  ngAfterViewInit(): void;
32
32
  getTransform(event: any, scaleX: any, scaleY: any): Pick<BasePoint, 'x' | 'y'>;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<LinearSeriesBase<any>, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<LinearSeriesBase<any>, "ng-component", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinearSeriesBase<any>, "ng-component", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
35
35
  }
@@ -23,5 +23,5 @@ export declare class ScatterSeriesComponent<T extends BasePoint> extends SeriesB
23
23
  mouseenter(point: BasePoint): void;
24
24
  mouseleave(point: BasePoint): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ScatterSeriesComponent<any>, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ScatterSeriesComponent<any>, "svg:svg[teta-scatter-series]", never, {}, {}, never, never, false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScatterSeriesComponent<any>, "svg:svg[teta-scatter-series]", never, {}, {}, never, never, true, never>;
27
27
  }
@@ -14,5 +14,5 @@ export declare class SeriesHostComponent<T extends BasePoint> implements OnInit,
14
14
  ngOnDestroy(): void;
15
15
  ngOnChanges(changes: SimpleChanges): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SeriesHostComponent<any>, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<SeriesHostComponent<any>, "[teta-series-host]", never, { "config": { "alias": "config"; "required": false; }; "series": { "alias": "series"; "required": false; }; }, {}, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeriesHostComponent<any>, "[teta-series-host]", never, { "config": { "alias": "config"; "required": false; }; "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -26,9 +26,10 @@ export declare class TooltipComponent implements OnInit {
26
26
  display: Observable<number>;
27
27
  tooltips: Observable<IDisplayTooltip[]>;
28
28
  constructor(svc: ChartService, cdr: ChangeDetectorRef, zoomService: ZoomService, sanitizer: DomSanitizer, _zone: NgZone, _elementRef: ElementRef);
29
+ getImplicit(t: any): any;
29
30
  ngOnInit(): void;
30
31
  private getPosition;
31
32
  format(input: number | Date): string;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "teta-tooltip", never, { "size": { "alias": "size"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "teta-tooltip", never, { "size": { "alias": "size"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
34
35
  }
@@ -19,5 +19,5 @@ export declare class XAxisComponent implements OnInit, OnChanges, OnDestroy {
19
19
  ngOnDestroy(): void;
20
20
  ngOnChanges(changes: SimpleChanges): void;
21
21
  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, false, 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>;
23
23
  }
@@ -15,5 +15,5 @@ export declare class YAxisComponent implements OnInit, AfterViewInit {
15
15
  ngAfterViewInit(): void;
16
16
  getLabelTransform(): string;
17
17
  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, false, 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>;
19
19
  }
@@ -1 +1 @@
1
- export declare function generateTicks(extremes: number[], count?: number): number[];
1
+ export declare function generateTicks(extremes: number[], count?: number): any;
@@ -0,0 +1,9 @@
1
+ import { IRect } from '../../model/i-rect';
2
+ import { Align } from '../../model/enum/align.enum';
3
+ import { VerticalAlign } from '../../model/enum/vertical-align.enum';
4
+ export declare class PositionUtil {
5
+ static getPosition(containerPosition: IRect, elementPosition: IRect, align: Align, verticalAlign: VerticalAlign, margin?: number, verticalMargin?: number, transformedParentRect?: IRect): IRect;
6
+ static setElementPosition(element: HTMLElement, rect: IRect): void;
7
+ static getMaxHeight(position: IRect): number | null;
8
+ static getMaxWidth(position: IRect): number | null;
9
+ }
@@ -24,5 +24,5 @@ export declare class BrushableDirective implements OnDestroy, OnInit, AfterViewI
24
24
  applyBrush(config: IChartConfig, brushScale: any): void;
25
25
  clearPreviousSelection(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<BrushableDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<BrushableDirective, "[tetaBrushable]", never, { "config": { "alias": "config"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; }, {}, never, never, false, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BrushableDirective, "[tetaBrushable]", never, { "config": { "alias": "config"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -36,5 +36,5 @@ export declare class DraggablePointDirective {
36
36
  setTransform(x: number, y: number): void;
37
37
  resetTransform(): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggablePointDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<DraggablePointDirective, "[tetaDraggablePoint]", ["tetaDraggablePoint"], { "tetaDraggablePoint": { "alias": "tetaDraggablePoint"; "required": false; }; "dragDirection": { "alias": "dragDirection"; "required": false; }; "allowDrag": { "alias": "allowDrag"; "required": false; }; }, { "moveStart": "moveStart"; "moveProcess": "moveProcess"; "moveEnd": "moveEnd"; }, never, never, false, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DraggablePointDirective, "[tetaDraggablePoint]", ["tetaDraggablePoint"], { "tetaDraggablePoint": { "alias": "tetaDraggablePoint"; "required": false; }; "dragDirection": { "alias": "dragDirection"; "required": false; }; "allowDrag": { "alias": "allowDrag"; "required": false; }; }, { "moveStart": "moveStart"; "moveProcess": "moveProcess"; "moveEnd": "moveEnd"; }, never, never, true, never>;
40
40
  }
@@ -2,7 +2,6 @@ import { AfterViewInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
2
2
  import { ZoomService } from '../service/zoom.service';
3
3
  import { IChartConfig } from '../model/i-chart-config';
4
4
  import { Axis } from '../core/axis/axis';
5
- import { D3ZoomEvent } from 'd3';
6
5
  import { ChartService } from '../service/chart.service';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class ZoomableDirective implements OnDestroy, AfterViewInit {
@@ -30,5 +29,5 @@ export declare class ZoomableDirective implements OnDestroy, AfterViewInit {
30
29
  zoomed: (event: D3ZoomEvent<any, any>) => void;
31
30
  private runWheelTranslate;
32
31
  static ɵfac: i0.ɵɵFactoryDeclaration<ZoomableDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<ZoomableDirective, "[tetaZoomable]", never, { "config": { "alias": "config"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ZoomableDirective, "[tetaZoomable]", never, { "config": { "alias": "config"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
34
33
  }
@@ -11,5 +11,5 @@ export declare class LegendComponent {
11
11
  getHeight(serie: Series<BasePoint>): number;
12
12
  click(serie: Series<BasePoint>): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<LegendComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "teta-legend", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<LegendComponent, "teta-legend", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
15
15
  }
@@ -0,0 +1,11 @@
1
+ export declare enum Align {
2
+ left = 0,
3
+ right = 1,
4
+ center = 2,
5
+ auto = 3,
6
+ fitWidth = 4,
7
+ minWidth = 5,
8
+ outerLeft = 6,
9
+ outerRight = 7,
10
+ outerAuto = 8
11
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum VerticalAlign {
2
+ top = 0,
3
+ bottom = 1,
4
+ center = 2,
5
+ auto = 3,
6
+ innerTop = 4,
7
+ innerBottom = 5,
8
+ innerAuto = 6
9
+ }
@@ -0,0 +1,8 @@
1
+ export interface IRect {
2
+ top?: number;
3
+ bottom?: number;
4
+ left?: number;
5
+ right?: number;
6
+ maxHeight?: number;
7
+ minWidth?: number;
8
+ }
@@ -1,13 +1,13 @@
1
- import { IChartConfig } from '../model/i-chart-config';
2
1
  import { Observable } from 'rxjs';
2
+ import { Annotation } from '../model/annotation';
3
+ import { BasePoint } from '../model/base-point';
4
+ import { IChartConfig } from '../model/i-chart-config';
3
5
  import { IChartEvent } from '../model/i-chart-event';
4
6
  import { IDisplayTooltip } from '../model/i-display-tooltip';
7
+ import { IPointMove } from '../model/i-point-move';
5
8
  import { PlotBand } from '../model/plot-band';
6
9
  import { PlotLine } from '../model/plot-line';
7
- import { IPointMove } from '../model/i-point-move';
8
- import { BasePoint } from '../model/base-point';
9
10
  import { Series } from '../model/series';
10
- import { Annotation } from '../model/annotation';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class ChartService {
13
13
  id: Observable<string>;
@@ -16,7 +16,7 @@ export declare class ZoomService implements OnDestroy {
16
16
  fireZoom(zoom: ZoomMessage): void;
17
17
  broadcastZoom(zoom: ZoomMessage): void;
18
18
  setBroadcastChannel(channel: string): void;
19
- getD3Transform(targetDomain: [number, number], originalDomain: [number, number], scale: any, orientation: AxisOrientation, inverted: boolean): import("d3-zoom").ZoomTransform;
19
+ getD3Transform(targetDomain: [number, number], originalDomain: [number, number], scale: any, orientation: AxisOrientation, inverted: boolean): any;
20
20
  ngOnDestroy(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ZoomService, never>;
22
22
  static ɵprov: i0.ɵɵInjectableDeclaration<ZoomService>;
@@ -1,15 +1,12 @@
1
- import { Component, Input, } from '@angular/core';
1
+ import { ChangeDetectorRef, Component, ElementRef, Input, NgZone, } from '@angular/core';
2
+ import { ChartService } from '../service/chart.service';
3
+ import { ScaleService } from '../service/scale.service';
4
+ import { ZoomService } from '../service/zoom.service';
2
5
  import * as i0 from "@angular/core";
3
6
  import * as i1 from "../service/chart.service";
4
7
  import * as i2 from "../service/scale.service";
5
8
  import * as i3 from "../service/zoom.service";
6
9
  export class SeriesBaseComponent {
7
- svc;
8
- cdr;
9
- scaleService;
10
- zoomService;
11
- element;
12
- zone;
13
10
  set config(config) {
14
11
  this._config = config;
15
12
  }
@@ -22,8 +19,6 @@ export class SeriesBaseComponent {
22
19
  get series() {
23
20
  return this._series;
24
21
  }
25
- _series;
26
- _config;
27
22
  constructor(svc, cdr, scaleService, zoomService, element, zone) {
28
23
  this.svc = svc;
29
24
  this.cdr = cdr;
@@ -33,17 +28,18 @@ export class SeriesBaseComponent {
33
28
  this.zone = zone;
34
29
  }
35
30
  ngOnInit() { }
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 });
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 });
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", 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 }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SeriesBaseComponent, isStandalone: true, selector: "ng-component", inputs: { config: "config", series: "series" }, ngImport: i0, template: '', isInline: true }); }
38
33
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SeriesBaseComponent, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SeriesBaseComponent, decorators: [{
40
35
  type: Component,
41
36
  args: [{
42
37
  template: '',
38
+ standalone: true,
43
39
  }]
44
- }], ctorParameters: function () { return [{ type: i1.ChartService }, { type: i0.ChangeDetectorRef }, { type: i2.ScaleService }, { type: i3.ZoomService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { config: [{
40
+ }], ctorParameters: () => [{ type: i1.ChartService }, { type: i0.ChangeDetectorRef }, { type: i2.ScaleService }, { type: i3.ZoomService }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { config: [{
45
41
  type: Input
46
42
  }], series: [{
47
43
  type: Input
48
44
  }] } });
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWVzLWJhc2UuY29tcG9uZW50LmpzIi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