@po-ui/ng-components 19.15.0 → 19.17.0

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 (92) hide show
  1. package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs +45 -0
  2. package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs.map +1 -0
  3. package/fesm2022/po-ui-ng-components.mjs +10187 -12681
  4. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  5. package/lib/components/components.module.d.ts +41 -42
  6. package/lib/components/index.d.ts +0 -1
  7. package/lib/components/po-chart/enums/po-chart-type.enum.d.ts +7 -1
  8. package/lib/components/po-chart/index.d.ts +6 -4
  9. package/lib/components/po-chart/interfaces/po-chart-axis-options.interface.d.ts +65 -3
  10. package/lib/components/po-chart/interfaces/po-chart-header-options.interface.d.ts +0 -2
  11. package/lib/components/po-chart/interfaces/po-chart-literals.interface.d.ts +32 -2
  12. package/lib/components/po-chart/interfaces/po-chart-options.interface.d.ts +175 -0
  13. package/lib/components/po-chart/interfaces/po-chart-serie.interface.d.ts +12 -0
  14. package/lib/components/po-chart/po-chart-base.component.d.ts +149 -89
  15. package/lib/components/po-chart/po-chart-gauge-utils.d.ts +22 -0
  16. package/lib/components/{po-chart-new → po-chart}/po-chart-grid-utils.d.ts +2 -2
  17. package/lib/components/po-chart/po-chart-modal-table/po-chart-modal-table.component.d.ts +11 -0
  18. package/lib/components/po-chart/po-chart.component.d.ts +95 -43
  19. package/lib/components/po-chart/po-chart.module.d.ts +6 -23
  20. package/lib/components/po-disclaimer/po-disclaimer-base.component.d.ts +2 -1
  21. package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +0 -2
  22. package/lib/components/po-gauge/index.d.ts +1 -0
  23. package/lib/components/po-gauge/interfaces/po-gauge-options.interface.d.ts +69 -0
  24. package/lib/components/po-gauge/po-gauge-base.component.d.ts +45 -10
  25. package/lib/components/po-gauge/po-gauge.component.d.ts +10 -17
  26. package/lib/components/po-gauge/po-gauge.module.d.ts +3 -9
  27. package/lib/components/po-listbox/po-listbox.component.d.ts +4 -3
  28. package/lib/components/po-tag/po-tag-base.component.d.ts +2 -1
  29. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +101 -0
  30. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +0 -7
  31. package/lib/services/po-theme/helpers/types/po-theme-light-defaults-AA.constant.d.ts +28 -0
  32. package/lib/services/po-theme/helpers/types/po-theme-light-defaults.constant.d.ts +18 -1
  33. package/lib/services/po-theme/index.d.ts +2 -0
  34. package/package.json +4 -4
  35. package/po-ui-ng-components-19.17.0.tgz +0 -0
  36. package/schematics/ng-add/index.js +1 -1
  37. package/schematics/ng-update/v14/index.js +1 -1
  38. package/schematics/ng-update/v15/index.js +1 -1
  39. package/schematics/ng-update/v16/index.js +1 -1
  40. package/schematics/ng-update/v17/index.js +1 -1
  41. package/schematics/ng-update/v18/index.js +2 -2
  42. package/schematics/ng-update/v19/index.js +2 -2
  43. package/schematics/ng-update/v2/index.js +1 -1
  44. package/schematics/ng-update/v3/index.js +1 -1
  45. package/schematics/ng-update/v4/index.js +1 -1
  46. package/schematics/ng-update/v5/index.js +1 -1
  47. package/schematics/ng-update/v6/index.js +1 -1
  48. package/lib/components/po-chart/directives/po-resize-observer.directive.d.ts +0 -15
  49. package/lib/components/po-chart/helpers/po-chart-default-values.constant.d.ts +0 -8
  50. package/lib/components/po-chart/interfaces/po-chart-bar-coordinates.interface.d.ts +0 -23
  51. package/lib/components/po-chart/interfaces/po-chart-container-size.interface.d.ts +0 -23
  52. package/lib/components/po-chart/interfaces/po-chart-label-coordinates.interface.d.ts +0 -19
  53. package/lib/components/po-chart/interfaces/po-chart-min-max-values.interface.d.ts +0 -19
  54. package/lib/components/po-chart/interfaces/po-chart-path-coordinates.interface.d.ts +0 -27
  55. package/lib/components/po-chart/interfaces/po-chart-points-coordinates.interface.d.ts +0 -28
  56. package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.d.ts +0 -19
  57. package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.d.ts +0 -10
  58. package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.d.ts +0 -63
  59. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-base.component.d.ts +0 -34
  60. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.d.ts +0 -16
  61. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.d.ts +0 -16
  62. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.d.ts +0 -16
  63. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.d.ts +0 -14
  64. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.d.ts +0 -16
  65. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.d.ts +0 -23
  66. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.d.ts +0 -45
  67. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.d.ts +0 -19
  68. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.d.ts +0 -11
  69. package/lib/components/po-chart/po-chart-container/po-chart-container.component.d.ts +0 -52
  70. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.d.ts +0 -23
  71. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.d.ts +0 -52
  72. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.d.ts +0 -19
  73. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.d.ts +0 -24
  74. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.d.ts +0 -40
  75. package/lib/components/po-chart/po-chart-legend/po-chart-legend.component.d.ts +0 -10
  76. package/lib/components/po-chart/po-chart-switch.component.d.ts +0 -22
  77. package/lib/components/po-chart/po-chart-types/po-chart-dynamic-type.component.d.ts +0 -37
  78. package/lib/components/po-chart/services/po-chart-maths.service.d.ts +0 -66
  79. package/lib/components/po-chart/services/po-chart-svg-container.service.d.ts +0 -24
  80. package/lib/components/po-chart-new/index.d.ts +0 -2
  81. package/lib/components/po-chart-new/po-chart-new-base.component.d.ts +0 -210
  82. package/lib/components/po-chart-new/po-chart-new.component.d.ts +0 -86
  83. package/lib/components/po-chart-new/po-chart-new.module.d.ts +0 -18
  84. package/lib/components/po-gauge/interfaces/po-gauge-coordinates.interface.d.ts +0 -19
  85. package/lib/components/po-gauge/interfaces/po-gauge-svg-container.interface.d.ts +0 -15
  86. package/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.d.ts +0 -14
  87. package/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.d.ts +0 -12
  88. package/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.d.ts +0 -10
  89. package/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.d.ts +0 -18
  90. package/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.d.ts +0 -35
  91. package/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.d.ts +0 -6
  92. package/po-ui-ng-components-19.15.0.tgz +0 -0
@@ -1,19 +0,0 @@
1
- /**
2
- * @docsPrivate
3
- *
4
- * @usedBy PoChartComponent
5
- *
6
- * @description
7
- *
8
- * Interface que define o objeto com as coordenadas dos textos dos eixos(axis).
9
- */
10
- export interface PoChartLabelCoordinates {
11
- /** Define a cor do texto. */
12
- color?: string;
13
- /** Define o texto do eixo correspondente. */
14
- label?: string;
15
- /** Coordenada horizontal. */
16
- xCoordinate?: number;
17
- /** Coordenada vertical. */
18
- yCoordinate?: number;
19
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * @docsPrivate
3
- *
4
- * @usedBy PoChartComponent
5
- *
6
- * @description
7
- *
8
- * *Interface* `PoChartMinMax` para especificação de valores específicos das séries.
9
- */
10
- export interface PoChartMinMaxValues {
11
- /**
12
- * O valor mínimo das séries.
13
- */
14
- minValue?: number;
15
- /**
16
- * O valor máximo das séries
17
- */
18
- maxValue?: number;
19
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * @docsPrivate
3
- *
4
- * @usedBy PoChartComponent
5
- *
6
- * @description
7
- *
8
- * Interface que define o objeto com as coordenadas das linhas do gráfico (chart-path).
9
- */
10
- export interface PoChartPathCoordinates {
11
- /** A cor da série. */
12
- color?: string;
13
- /** As coordenadas da série. */
14
- coordinates?: string;
15
- /** Valor da série. */
16
- data?: number;
17
- /** Indica se é elemento ao qual o cursor está selecionado. */
18
- isActive?: boolean;
19
- /** A série para a qual correspondem as coordenadas. */
20
- label?: string;
21
- /** O texto de exibição no tooltip. */
22
- tooltipLabel?: string;
23
- /** Indica se é elemento não está em foco. */
24
- isBlur?: boolean;
25
- /** Indica se o valor da série está mostrando fixado na tela. */
26
- isFixed?: boolean;
27
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * @docsPrivate
3
- *
4
- * @usedBy PoChartComponent
5
- *
6
- * @description
7
- *
8
- * Interface que define o objeto com as coordenadas dos pontos das linhas do gráfico do tipo linha.
9
- */
10
- export interface PoChartPointsCoordinates {
11
- /** Categoria do eixo Y na qual o item da série está presente. */
12
- category: string;
13
- color?: string;
14
- /** Indica o ponto ativo em relação ao posicionamento do cursor na área do gráfico. */
15
- isActive?: boolean;
16
- /** A série para a qual correspondem as coordenadas. */
17
- label: string;
18
- /** O texto de exibição no tooltip. */
19
- tooltipLabel: string;
20
- /** Valor da série. */
21
- data: number;
22
- /** Coordenada horizontal. */
23
- xCoordinate: number;
24
- /** Coordenada vertical. */
25
- yCoordinate: number;
26
- /** Indica se o valor da série está mostrando fixado na tela. */
27
- isFixed?: boolean;
28
- }
@@ -1,19 +0,0 @@
1
- import { PoChartType } from '../../../enums/po-chart-type.enum';
2
- import { PoChartLabelCoordinates } from '../../../interfaces/po-chart-label-coordinates.interface';
3
- import { PoChartAxisOptions } from '../../../interfaces/po-chart-axis-options.interface';
4
- import { CurrencyPipe, DecimalPipe } from '@angular/common';
5
- import * as i0 from "@angular/core";
6
- export declare class PoChartAxisLabelComponent {
7
- private decimalPipe;
8
- private currencyPipe;
9
- alignByTheCorners: boolean;
10
- axisXLabelCoordinates: Array<PoChartLabelCoordinates>;
11
- axisYLabelCoordinates: Array<PoChartLabelCoordinates>;
12
- type: PoChartType;
13
- axisOptions: PoChartAxisOptions;
14
- constructor(decimalPipe: DecimalPipe, currencyPipe: CurrencyPipe);
15
- trackBy(index: any): any;
16
- formatValueAxis(label: string, axis: string): string;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartAxisLabelComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartAxisLabelComponent, "[po-chart-axis-label]", never, { "alignByTheCorners": { "alias": "p-align-by-the-corners"; "required": false; }; "axisXLabelCoordinates": { "alias": "p-axis-x-label-coordinates"; "required": false; }; "axisYLabelCoordinates": { "alias": "p-axis-y-label-coordinates"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "axisOptions": { "alias": "p-options"; "required": false; }; }, {}, never, never, false, never>;
19
- }
@@ -1,10 +0,0 @@
1
- import { PoChartPathCoordinates } from '../../../interfaces/po-chart-path-coordinates.interface';
2
- import * as i0 from "@angular/core";
3
- export declare class PoChartAxisPathComponent {
4
- axisXCoordinates: Array<PoChartPathCoordinates>;
5
- axisYCoordinates: Array<PoChartPathCoordinates>;
6
- constructor();
7
- trackBy(index: any): any;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartAxisPathComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartAxisPathComponent, "[po-chart-axis-path]", never, { "axisXCoordinates": { "alias": "p-axis-x-coordinates"; "required": false; }; "axisYCoordinates": { "alias": "p-axis-y-coordinates"; "required": false; }; }, {}, never, never, false, never>;
10
- }
@@ -1,63 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { PoChartMathsService } from '../../services/po-chart-maths.service';
3
- import { PoChartContainerSize } from '../../interfaces/po-chart-container-size.interface';
4
- import { PoChartMinMaxValues } from '../../interfaces/po-chart-min-max-values.interface';
5
- import { PoChartPathCoordinates } from '../../interfaces/po-chart-path-coordinates.interface';
6
- import { PoChartLabelCoordinates } from '../../interfaces/po-chart-label-coordinates.interface';
7
- import { PoChartAxisOptions } from '../../interfaces/po-chart-axis-options.interface';
8
- import { PoChartType } from '../../enums/po-chart-type.enum';
9
- import * as i0 from "@angular/core";
10
- export declare class PoChartAxisComponent {
11
- private mathsService;
12
- alignByTheCorners: boolean;
13
- type: PoChartType;
14
- range: PoChartMinMaxValues;
15
- categoriesCoordinates: EventEmitter<Array<number>>;
16
- axisXCoordinates: Array<PoChartPathCoordinates>;
17
- axisXLabelCoordinates: Array<PoChartLabelCoordinates>;
18
- axisYCoordinates: Array<PoChartPathCoordinates>;
19
- axisYLabelCoordinates: Array<PoChartLabelCoordinates>;
20
- private axisXLabels;
21
- private axisYLabels;
22
- private gridLines;
23
- private seriesLength;
24
- private _axisOptions;
25
- private _categories;
26
- private _containerSize;
27
- private _series;
28
- set series(seriesList: Array<any>);
29
- get series(): Array<any>;
30
- set categories(value: Array<string>);
31
- get categories(): Array<string>;
32
- set containerSize(value: PoChartContainerSize);
33
- get containerSize(): PoChartContainerSize;
34
- set axisOptions(value: PoChartAxisOptions);
35
- get axisOptions(): PoChartAxisOptions;
36
- constructor(mathsService: PoChartMathsService);
37
- private setAxisXCoordinates;
38
- private amountOfAxisXLines;
39
- private setAxisYCoordinates;
40
- private calculateAxisXCoordinates;
41
- private getCoordinatesRelatedToZero;
42
- private axisCoordinatesForValueZero;
43
- private calculateAxisXLabelCoordinates;
44
- private calculateAxisYCoordinates;
45
- private calculateAxisYLabelCoordinates;
46
- private calculateAxisXLabelXCoordinate;
47
- private calculateAxisXLabelYCoordinate;
48
- private calculateAxisXCoordinateY;
49
- private calculateAxisYLabelYCoordinate;
50
- private centeredInCategoryArea;
51
- private calculateAxisYCoordinateX;
52
- private checkAxisOptions;
53
- private cleanUpCoordinates;
54
- private getAxisXCoordinates;
55
- private getCategoriesRangeForMouseMove;
56
- private isValidGridLinesLengthOption;
57
- private getAxisXLabels;
58
- private getAxisYLabels;
59
- private formatCategoriesLabels;
60
- private generateAverageOfLabels;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartAxisComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartAxisComponent, "[po-chart-axis]", never, { "alignByTheCorners": { "alias": "p-align-by-the-corners"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "range": { "alias": "p-range"; "required": false; }; "series": { "alias": "p-series"; "required": false; }; "categories": { "alias": "p-categories"; "required": false; }; "containerSize": { "alias": "p-container-size"; "required": false; }; "axisOptions": { "alias": "p-options"; "required": false; }; }, { "categoriesCoordinates": "p-categories-coordinates"; }, never, never, false, never>;
63
- }
@@ -1,34 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { PoChartMathsService } from '../../services/po-chart-maths.service';
3
- import { PoChartContainerSize } from '../../interfaces/po-chart-container-size.interface';
4
- import { PoChartMinMaxValues } from '../../interfaces/po-chart-min-max-values.interface';
5
- import { PoChartBarCoordinates } from '../../interfaces/po-chart-bar-coordinates.interface';
6
- import { PoChartSerie } from '../../interfaces/po-chart-serie.interface';
7
- import * as i0 from "@angular/core";
8
- export declare abstract class PoChartBarBaseComponent {
9
- protected mathsService: PoChartMathsService;
10
- categories: Array<string>;
11
- barClick: EventEmitter<any>;
12
- barHover: EventEmitter<any>;
13
- seriesPathsCoordinates: Array<Array<PoChartBarCoordinates>>;
14
- protected seriesGreaterLength: number;
15
- private _containerSize;
16
- private _range;
17
- private _series;
18
- set range(value: PoChartMinMaxValues);
19
- get range(): PoChartMinMaxValues;
20
- set containerSize(value: PoChartContainerSize);
21
- get containerSize(): PoChartContainerSize;
22
- set series(seriesList: Array<PoChartSerie>);
23
- get series(): Array<PoChartSerie>;
24
- constructor(mathsService: PoChartMathsService);
25
- onSerieBarClick(selectedItem: any): void;
26
- onSerieBarHover(selectedItem: any): void;
27
- trackBy(index: any): any;
28
- private calculateSeriesPathsCoordinates;
29
- private getTooltipLabel;
30
- private serieCategory;
31
- protected abstract barCoordinates(seriesIndex: number, serieDataIndex: number, containerSize: PoChartContainerSize, range: PoChartMinMaxValues, serieValue: number): any;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartBarBaseComponent, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoChartBarBaseComponent, never, never, { "categories": { "alias": "p-categories"; "required": false; }; "range": { "alias": "p-range"; "required": false; }; "containerSize": { "alias": "p-container-size"; "required": false; }; "series": { "alias": "p-series"; "required": false; }; }, { "barClick": "p-bar-click"; "barHover": "p-bar-hover"; }, never, never, true, never>;
34
- }
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { PoChartBarCoordinates } from '../../../interfaces/po-chart-bar-coordinates.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class PoChartBarPathComponent {
5
- color?: string;
6
- coordinates: Array<PoChartBarCoordinates>;
7
- tooltipPosition: string;
8
- barClick: EventEmitter<any>;
9
- barHover: EventEmitter<any>;
10
- constructor();
11
- trackBy(index: any): any;
12
- onClick(item: PoChartBarCoordinates): void;
13
- onMouseEnter(item: PoChartBarCoordinates): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartBarPathComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartBarPathComponent, "[po-chart-bar-path]", never, { "color": { "alias": "p-color"; "required": false; }; "coordinates": { "alias": "p-coordinates"; "required": false; }; "tooltipPosition": { "alias": "p-tooltip-position"; "required": false; }; }, { "barClick": "p-bar-click"; "barHover": "p-bar-hover"; }, never, never, false, never>;
16
- }
@@ -1,16 +0,0 @@
1
- import { PoChartBarBaseComponent } from './po-chart-bar-base.component';
2
- import { PoChartMathsService } from './../../services/po-chart-maths.service';
3
- import { PoChartContainerSize } from './../../interfaces/po-chart-container-size.interface';
4
- import { PoChartMinMaxValues } from './../../interfaces/po-chart-min-max-values.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class PoChartBarComponent extends PoChartBarBaseComponent {
7
- protected mathsService: PoChartMathsService;
8
- readonly tooltipPosition = "right";
9
- constructor(mathsService: PoChartMathsService);
10
- protected barCoordinates(seriesIndex: number, serieItemDataIndex: number, containerSize: PoChartContainerSize, minMaxSeriesValues: PoChartMinMaxValues, serieValue: number): string;
11
- private calculateElementsMeasurements;
12
- private xCoordinates;
13
- private yCoordinates;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartBarComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartBarComponent, "[po-chart-bar]", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,16 +0,0 @@
1
- import { PoChartBarBaseComponent } from '../po-chart-bar-base.component';
2
- import { PoChartMathsService } from '../../../services/po-chart-maths.service';
3
- import { PoChartContainerSize } from '../../../interfaces/po-chart-container-size.interface';
4
- import { PoChartMinMaxValues } from '../../../interfaces/po-chart-min-max-values.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class PoChartColumnComponent extends PoChartBarBaseComponent {
7
- protected mathsService: PoChartMathsService;
8
- readonly tooltipPosition = "top";
9
- constructor(mathsService: PoChartMathsService);
10
- protected barCoordinates(seriesIndex: number, serieItemDataIndex: number, containerSize: PoChartContainerSize, minMaxSeriesValues: PoChartMinMaxValues, serieValue: number): string;
11
- private calculateElementsMeasurements;
12
- private xCoordinates;
13
- private yCoordinates;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartColumnComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartColumnComponent, "[po-chart-column]", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,14 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
2
- import { PoChartLabelCoordinates } from '../../../interfaces/po-chart-label-coordinates.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class PoChartCircularLabelComponent {
5
- private changeDetection;
6
- private renderer;
7
- serie: PoChartLabelCoordinates;
8
- showLabel: boolean;
9
- svgLabel: ElementRef;
10
- constructor(changeDetection: ChangeDetectorRef, renderer: Renderer2);
11
- applyCoordinates(coordinates: PoChartLabelCoordinates): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartCircularLabelComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartCircularLabelComponent, "[po-chart-circular-label]", never, { "serie": { "alias": "p-serie"; "required": false; }; "showLabel": { "alias": "p-show-label"; "required": false; }; }, {}, never, never, false, never>;
14
- }
@@ -1,16 +0,0 @@
1
- import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
- import { PoChartPathCoordinates } from '../../../interfaces/po-chart-path-coordinates.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class PoChartCircularPathComponent {
5
- private renderer;
6
- serie: PoChartPathCoordinates;
7
- onClick: EventEmitter<any>;
8
- onHover: EventEmitter<any>;
9
- svgPath: ElementRef;
10
- constructor(renderer: Renderer2);
11
- applyCoordinates(coordinates: string): void;
12
- onMouseClick(): void;
13
- onMouseEnter(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartCircularPathComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartCircularPathComponent, "[po-chart-circular-path]", never, { "serie": { "alias": "p-serie"; "required": false; }; }, { "onClick": "p-on-click"; "onHover": "p-on-hover"; }, never, never, false, never>;
16
- }
@@ -1,23 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PoChartTooltipDirective {
4
- private elementRef;
5
- private renderer;
6
- tooltip: string;
7
- private lastTooltipText;
8
- private tooltipElement;
9
- private tooltipText;
10
- private tooltipTextContent;
11
- constructor(elementRef: ElementRef, renderer: Renderer2);
12
- onMouseEnter(event: MouseEvent): void;
13
- onMouseLeave(): void;
14
- onMouseMove(event: MouseEvent): void;
15
- private calculateTooltipPosition;
16
- private createTooltip;
17
- private hideTooltip;
18
- private showTooltip;
19
- private tooltipPosition;
20
- private updatetooltipTextContent;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartTooltipDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoChartTooltipDirective, "[p-chart-tooltip]", never, { "tooltip": { "alias": "p-chart-tooltip"; "required": false; }; }, {}, never, never, false, never>;
23
- }
@@ -1,45 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, NgZone } from '@angular/core';
2
- import { PoChartContainerSize } from '../../interfaces/po-chart-container-size.interface';
3
- import { PoChartLabelCoordinates } from '../../interfaces/po-chart-label-coordinates.interface';
4
- import { PoChartOptions } from '../../interfaces/po-chart-options.interface';
5
- import { PoChartPathCoordinates } from '../../interfaces/po-chart-path-coordinates.interface';
6
- import { PoChartSerie } from '../../interfaces/po-chart-serie.interface';
7
- import * as i0 from "@angular/core";
8
- export declare abstract class PoChartCircularComponent {
9
- private ngZone;
10
- private changeDetector;
11
- containerSize: PoChartContainerSize;
12
- circularClick: EventEmitter<any>;
13
- circularHover: EventEmitter<any>;
14
- private svgPaths;
15
- private svgLabels;
16
- canDisplayLabels: boolean;
17
- seriesLabels: Array<PoChartLabelCoordinates>;
18
- seriesList: Array<PoChartPathCoordinates>;
19
- showLabels: boolean;
20
- protected innerRadius: number;
21
- protected totalValue: number;
22
- private _options;
23
- private _series;
24
- private animate;
25
- set options(value: PoChartOptions);
26
- get options(): PoChartOptions;
27
- set series(value: Array<PoChartSerie>);
28
- get series(): Array<PoChartSerie>;
29
- constructor(ngZone: NgZone, changeDetector: ChangeDetectorRef);
30
- onSerieClick(selectedItem: any): void;
31
- onSerieHover(selectedItem: any): void;
32
- protected calculateAngle(data: number, totalValue: number): number;
33
- protected drawSeries(series: Array<PoChartSerie>, height: number): void;
34
- private calculateTotalValue;
35
- private calculateSerieCoordinates;
36
- private calculateCoordinatesWithAnimation;
37
- private calculateCurrentEndAngle;
38
- private initDrawPaths;
39
- private setSerieLabelCoordinates;
40
- private validateSeries;
41
- protected abstract calculateCoordinates(height: any, startRadianAngle: any, currentEndRadianAngle: any): any;
42
- protected abstract getTooltipLabel(data: any, label: any, tooltip: any): any;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartCircularComponent, never>;
44
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoChartCircularComponent, never, never, { "containerSize": { "alias": "p-container-size"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "series": { "alias": "p-series"; "required": false; }; }, { "circularClick": "p-circular-click"; "circularHover": "p-circular-hover"; }, never, never, true, never>;
45
- }
@@ -1,19 +0,0 @@
1
- import { ChangeDetectorRef, NgZone, OnChanges, SimpleChanges } from '@angular/core';
2
- import { PoChartCircularComponent } from '../po-chart-circular.component';
3
- import * as i0 from "@angular/core";
4
- export declare class PoChartDonutComponent extends PoChartCircularComponent implements OnChanges {
5
- private readonly poChartBlackColor;
6
- private readonly poChartWhiteColor;
7
- constructor(ngZone: NgZone, changeDetector: ChangeDetectorRef);
8
- ngOnChanges(changes: SimpleChanges): void;
9
- protected calculateCoordinates(height: number, startRadianAngle: number, endRadianAngle: number): string;
10
- protected getTooltipLabel(data: number, label?: string, tooltipLabel?: string): string;
11
- private applySeriesLabels;
12
- private calculateLabelCoordinates;
13
- private getInnerRadius;
14
- private getPercentValue;
15
- private getTextColor;
16
- private verifyDisplayLabels;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartDonutComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartDonutComponent, "[po-chart-donut]", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,11 +0,0 @@
1
- import { ChangeDetectorRef, NgZone, OnChanges, SimpleChanges } from '@angular/core';
2
- import { PoChartCircularComponent } from '../po-chart-circular.component';
3
- import * as i0 from "@angular/core";
4
- export declare class PoChartPieComponent extends PoChartCircularComponent implements OnChanges {
5
- constructor(ngZone: NgZone, changeDetector: ChangeDetectorRef);
6
- ngOnChanges(changes: SimpleChanges): void;
7
- protected calculateCoordinates(height: number, startRadianAngle: number, endRadianAngle: number): string;
8
- protected getTooltipLabel(data: number, label?: string, tooltipLabel?: string): string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartPieComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartPieComponent, "[po-chart-pie]", never, {}, {}, never, never, false, never>;
11
- }
@@ -1,52 +0,0 @@
1
- import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { PoChartType } from '../enums/po-chart-type.enum';
3
- import { PoChartContainerSize } from '../interfaces/po-chart-container-size.interface';
4
- import { PoChartOptions } from '../interfaces/po-chart-options.interface';
5
- import { PoChartAxisOptions } from '../interfaces/po-chart-axis-options.interface';
6
- import { PoChartMathsService } from '../services/po-chart-maths.service';
7
- import { PoChartMinMaxValues } from '../interfaces/po-chart-min-max-values.interface';
8
- import { PoChartSerie } from '../interfaces/po-chart-serie.interface';
9
- import { PoChartDataLabel } from '../interfaces/po-chart-serie-data-label.interface';
10
- import * as i0 from "@angular/core";
11
- export declare class PoChartContainerComponent implements OnChanges {
12
- private mathsService;
13
- categories: Array<string>;
14
- type: PoChartType;
15
- containerSize: PoChartContainerSize;
16
- dataLabel?: PoChartDataLabel;
17
- serieClick: EventEmitter<any>;
18
- serieHover: EventEmitter<any>;
19
- svgELement: ElementRef;
20
- alignByTheCorners: boolean;
21
- axisOptions: PoChartAxisOptions;
22
- categoriesCoordinates: Array<number>;
23
- range: PoChartMinMaxValues;
24
- seriesByType: any;
25
- svgSpace: any;
26
- viewBox: string;
27
- insideChart: boolean;
28
- private _options;
29
- private _series;
30
- set options(value: PoChartOptions);
31
- get options(): PoChartOptions;
32
- set series(data: Array<PoChartSerie>);
33
- get series(): Array<PoChartSerie>;
34
- get isTypeCircular(): boolean;
35
- constructor(mathsService: PoChartMathsService);
36
- ngOnChanges(changes: SimpleChanges): void;
37
- updateRangeAxis(): void;
38
- getCategoriesCoordinates(value: Array<number>): void;
39
- onSerieClick(event: any): void;
40
- onSerieHover(event: any): void;
41
- private getRange;
42
- private setSvgSpace;
43
- private setAlignByTheCorners;
44
- private setRange;
45
- private setSeriesByType;
46
- private setViewBox;
47
- private verifyAxisOptions;
48
- onChartMouseEnter(): void;
49
- onChartMouseLeave(): void;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartContainerComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartContainerComponent, "po-chart-container", never, { "categories": { "alias": "p-categories"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "containerSize": { "alias": "p-container-size"; "required": false; }; "dataLabel": { "alias": "p-data-label"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "series": { "alias": "p-series"; "required": false; }; }, { "serieClick": "p-serie-click"; "serieHover": "p-serie-hover"; }, never, never, false, never>;
52
- }
@@ -1,23 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { PoChartLineBaseComponent } from '../po-chart-line-base.component';
3
- import { PoChartMathsService } from '../../../services/po-chart-maths.service';
4
- import * as i0 from "@angular/core";
5
- export declare class PoChartAreaComponent extends PoChartLineBaseComponent {
6
- protected mathsService: PoChartMathsService;
7
- protected renderer: Renderer2;
8
- protected elementRef: ElementRef;
9
- private currentActiveSerieIndex;
10
- private mouseMoveSubscription$;
11
- private previousActiveSerieIndex;
12
- constructor(mathsService: PoChartMathsService, renderer: Renderer2, elementRef: ElementRef);
13
- onEnter(serieIndex: number): void;
14
- onLeave(serieIndex: number): void;
15
- onSeriePointHover(selectedItem: any): void;
16
- private applyActiveItem;
17
- private getMouseCoordinates;
18
- private initializeListener;
19
- private removeListener;
20
- private verifyActiveArea;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartAreaComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartAreaComponent, "[po-chart-area]", never, {}, {}, never, never, false, never>;
23
- }
@@ -1,52 +0,0 @@
1
- import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
- import { PoChartType } from '../../enums/po-chart-type.enum';
3
- import { PoChartContainerSize } from '../../interfaces/po-chart-container-size.interface';
4
- import { PoChartMathsService } from '../../services/po-chart-maths.service';
5
- import { PoChartMinMaxValues } from '../../interfaces/po-chart-min-max-values.interface';
6
- import { PoChartPathCoordinates } from '../../interfaces/po-chart-path-coordinates.interface';
7
- import { PoChartPointsCoordinates } from '../../interfaces/po-chart-points-coordinates.interface';
8
- import { PoChartSerie } from '../../interfaces/po-chart-serie.interface';
9
- import { PoChartDataLabel } from '../../interfaces/po-chart-serie-data-label.interface';
10
- import * as i0 from "@angular/core";
11
- export declare abstract class PoChartLineBaseComponent {
12
- protected mathsService: PoChartMathsService;
13
- protected renderer: Renderer2;
14
- protected elementRef: ElementRef;
15
- alignByTheCorners: boolean;
16
- categories: Array<string>;
17
- categoriesCoordinates: Array<number>;
18
- svgSpace: any;
19
- dataLabel?: PoChartDataLabel;
20
- insideChart?: boolean;
21
- pointClick: EventEmitter<any>;
22
- pointHover: EventEmitter<any>;
23
- chartLine: ElementRef;
24
- activeTooltip: boolean;
25
- animate: boolean;
26
- chartType: PoChartType;
27
- seriesPathsCoordinates: Array<PoChartPathCoordinates>;
28
- seriesPointsCoordinates: Array<Array<PoChartPointsCoordinates>>;
29
- protected firstValidItemFromSerieArray: boolean;
30
- protected seriesLength: number;
31
- private _containerSize;
32
- private _range;
33
- private _series;
34
- set range(value: PoChartMinMaxValues);
35
- get range(): PoChartMinMaxValues;
36
- set containerSize(value: PoChartContainerSize);
37
- get containerSize(): PoChartContainerSize;
38
- set series(seriesList: Array<PoChartSerie>);
39
- get series(): Array<PoChartSerie>;
40
- constructor(mathsService: PoChartMathsService, renderer: Renderer2, elementRef: ElementRef);
41
- onSeriePointClick(selectedItem: any): void;
42
- trackBy(index: any): any;
43
- private getTooltipLabel;
44
- private svgPathCommand;
45
- private xCoordinate;
46
- private serieCategory;
47
- private seriePathPointsDefinition;
48
- private verifyIfClosePath;
49
- private yCoordinate;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartLineBaseComponent, never>;
51
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoChartLineBaseComponent, never, never, { "alignByTheCorners": { "alias": "p-align-by-the-corners"; "required": false; }; "categories": { "alias": "p-categories"; "required": false; }; "categoriesCoordinates": { "alias": "p-categories-coordinates"; "required": false; }; "svgSpace": { "alias": "p-svg-space"; "required": false; }; "dataLabel": { "alias": "p-data-label"; "required": false; }; "insideChart": { "alias": "p-insideChart"; "required": false; }; "range": { "alias": "p-range"; "required": false; }; "containerSize": { "alias": "p-container-size"; "required": false; }; "series": { "alias": "p-series"; "required": false; }; }, { "pointClick": "p-point-click"; "pointHover": "p-point-hover"; }, never, never, true, never>;
52
- }
@@ -1,19 +0,0 @@
1
- import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
2
- import { PoChartLineBaseComponent } from './po-chart-line-base.component';
3
- import { PoChartMathsService } from '../../services/po-chart-maths.service';
4
- import { PoChartPathCoordinates } from '../../interfaces/po-chart-path-coordinates.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class PoChartLineComponent extends PoChartLineBaseComponent implements OnChanges {
7
- protected mathsService: PoChartMathsService;
8
- protected renderer: Renderer2;
9
- protected elementRef: ElementRef;
10
- selectedPath: PoChartPathCoordinates;
11
- constructor(mathsService: PoChartMathsService, renderer: Renderer2, elementRef: ElementRef);
12
- ngOnChanges(changes: SimpleChanges): void;
13
- onEnter(serieIndex: number): any;
14
- onLeave(serieIndex: number): any;
15
- onSeriePointHover(selectedItem: any): void;
16
- private reorderSVGGroup;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartLineComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartLineComponent, "[po-chart-line]", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,24 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class PoChartPathComponent implements AfterViewInit {
4
- private changeDetector;
5
- isActive: boolean;
6
- chartLine: boolean;
7
- coordinates: string;
8
- chartPath: ElementRef;
9
- pathWidth: number;
10
- private _animate;
11
- private _color;
12
- set color(value: string);
13
- get color(): string;
14
- set animate(value: boolean);
15
- get animate(): boolean;
16
- constructor(changeDetector: ChangeDetectorRef);
17
- ngAfterViewInit(): void;
18
- private pathAnimation;
19
- private preventsAnimatingAgain;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<PoChartPathComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<PoChartPathComponent, "[po-chart-path]", never, { "isActive": { "alias": "p-is-active"; "required": false; }; "chartLine": { "alias": "p-chart-line"; "required": false; }; "coordinates": { "alias": "p-coordinates"; "required": false; }; "color": { "alias": "p-color"; "required": false; }; "animate": { "alias": "p-animate"; "required": false; }; }, {}, never, never, false, never>;
22
- static ngAcceptInputType_isActive: any;
23
- static ngAcceptInputType_chartLine: any;
24
- }