@po-ui/ng-components 19.15.0 → 19.16.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 (89) 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 +10154 -12666
  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-field/po-multiselect/po-multiselect-base.component.d.ts +0 -2
  21. package/lib/components/po-gauge/index.d.ts +1 -0
  22. package/lib/components/po-gauge/interfaces/po-gauge-options.interface.d.ts +69 -0
  23. package/lib/components/po-gauge/po-gauge-base.component.d.ts +45 -10
  24. package/lib/components/po-gauge/po-gauge.component.d.ts +10 -17
  25. package/lib/components/po-gauge/po-gauge.module.d.ts +3 -9
  26. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +101 -0
  27. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +0 -7
  28. package/lib/services/po-theme/helpers/types/po-theme-light-defaults-AA.constant.d.ts +28 -0
  29. package/lib/services/po-theme/helpers/types/po-theme-light-defaults.constant.d.ts +18 -1
  30. package/lib/services/po-theme/index.d.ts +2 -0
  31. package/package.json +4 -4
  32. package/po-ui-ng-components-19.16.0.tgz +0 -0
  33. package/schematics/ng-add/index.js +1 -1
  34. package/schematics/ng-update/v14/index.js +1 -1
  35. package/schematics/ng-update/v15/index.js +1 -1
  36. package/schematics/ng-update/v16/index.js +1 -1
  37. package/schematics/ng-update/v17/index.js +1 -1
  38. package/schematics/ng-update/v18/index.js +2 -2
  39. package/schematics/ng-update/v19/index.js +2 -2
  40. package/schematics/ng-update/v2/index.js +1 -1
  41. package/schematics/ng-update/v3/index.js +1 -1
  42. package/schematics/ng-update/v4/index.js +1 -1
  43. package/schematics/ng-update/v5/index.js +1 -1
  44. package/schematics/ng-update/v6/index.js +1 -1
  45. package/lib/components/po-chart/directives/po-resize-observer.directive.d.ts +0 -15
  46. package/lib/components/po-chart/helpers/po-chart-default-values.constant.d.ts +0 -8
  47. package/lib/components/po-chart/interfaces/po-chart-bar-coordinates.interface.d.ts +0 -23
  48. package/lib/components/po-chart/interfaces/po-chart-container-size.interface.d.ts +0 -23
  49. package/lib/components/po-chart/interfaces/po-chart-label-coordinates.interface.d.ts +0 -19
  50. package/lib/components/po-chart/interfaces/po-chart-min-max-values.interface.d.ts +0 -19
  51. package/lib/components/po-chart/interfaces/po-chart-path-coordinates.interface.d.ts +0 -27
  52. package/lib/components/po-chart/interfaces/po-chart-points-coordinates.interface.d.ts +0 -28
  53. package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.d.ts +0 -19
  54. package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.d.ts +0 -10
  55. package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.d.ts +0 -63
  56. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-base.component.d.ts +0 -34
  57. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.d.ts +0 -16
  58. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.d.ts +0 -16
  59. package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.d.ts +0 -16
  60. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.d.ts +0 -14
  61. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.d.ts +0 -16
  62. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.d.ts +0 -23
  63. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.d.ts +0 -45
  64. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.d.ts +0 -19
  65. package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.d.ts +0 -11
  66. package/lib/components/po-chart/po-chart-container/po-chart-container.component.d.ts +0 -52
  67. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.d.ts +0 -23
  68. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.d.ts +0 -52
  69. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.d.ts +0 -19
  70. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.d.ts +0 -24
  71. package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.d.ts +0 -40
  72. package/lib/components/po-chart/po-chart-legend/po-chart-legend.component.d.ts +0 -10
  73. package/lib/components/po-chart/po-chart-switch.component.d.ts +0 -22
  74. package/lib/components/po-chart/po-chart-types/po-chart-dynamic-type.component.d.ts +0 -37
  75. package/lib/components/po-chart/services/po-chart-maths.service.d.ts +0 -66
  76. package/lib/components/po-chart/services/po-chart-svg-container.service.d.ts +0 -24
  77. package/lib/components/po-chart-new/index.d.ts +0 -2
  78. package/lib/components/po-chart-new/po-chart-new-base.component.d.ts +0 -210
  79. package/lib/components/po-chart-new/po-chart-new.component.d.ts +0 -86
  80. package/lib/components/po-chart-new/po-chart-new.module.d.ts +0 -18
  81. package/lib/components/po-gauge/interfaces/po-gauge-coordinates.interface.d.ts +0 -19
  82. package/lib/components/po-gauge/interfaces/po-gauge-svg-container.interface.d.ts +0 -15
  83. package/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.d.ts +0 -14
  84. package/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.d.ts +0 -12
  85. package/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.d.ts +0 -10
  86. package/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.d.ts +0 -18
  87. package/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.d.ts +0 -35
  88. package/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.d.ts +0 -6
  89. package/po-ui-ng-components-19.15.0.tgz +0 -0
@@ -6,49 +6,48 @@ import * as i4 from "./po-button/po-button.module";
6
6
  import * as i5 from "./po-button-group/po-button-group.module";
7
7
  import * as i6 from "./po-calendar/po-calendar.module";
8
8
  import * as i7 from "./po-chart/po-chart.module";
9
- import * as i8 from "./po-chart-new/po-chart-new.module";
10
- import * as i9 from "./po-container/po-container.module";
11
- import * as i10 from "./po-disclaimer-group/po-disclaimer-group.module";
12
- import * as i11 from "./po-disclaimer/po-disclaimer.module";
13
- import * as i12 from "./po-divider/po-divider.module";
14
- import * as i13 from "./po-dropdown/po-dropdown.module";
15
- import * as i14 from "./po-dynamic/po-dynamic.module";
16
- import * as i15 from "./po-field/po-field.module";
17
- import * as i16 from "./po-gauge/po-gauge.module";
18
- import * as i17 from "./po-grid/po-grid.module";
19
- import * as i18 from "./po-icon/po-icon.module";
20
- import * as i19 from "./po-info/po-info.module";
21
- import * as i20 from "./po-list-view/po-list-view.module";
22
- import * as i21 from "./po-listbox/po-listbox.module";
23
- import * as i22 from "./po-loading/po-loading.module";
24
- import * as i23 from "./po-logo/po-logo.module";
25
- import * as i24 from "./po-menu/po-menu.module";
26
- import * as i25 from "./po-menu-panel/po-menu-panel.module";
27
- import * as i26 from "./po-modal/po-modal.module";
28
- import * as i27 from "./po-navbar/po-navbar.module";
29
- import * as i28 from "./po-overlay/po-overlay.module";
30
- import * as i29 from "./po-page/po-page.module";
31
- import * as i30 from "./po-popover/po-popover.module";
32
- import * as i31 from "./po-popup/po-popup.module";
33
- import * as i32 from "./po-progress/po-progress.module";
34
- import * as i33 from "./po-slide/po-slide.module";
35
- import * as i34 from "./po-stepper/po-stepper.module";
36
- import * as i35 from "./po-table/po-table.module";
37
- import * as i36 from "./po-tabs/po-tabs.module";
38
- import * as i37 from "./po-tag/po-tag.module";
39
- import * as i38 from "./po-toolbar/po-toolbar.module";
40
- import * as i39 from "./po-tree-view/po-tree-view.module";
41
- import * as i40 from "./po-widget/po-widget.module";
42
- import * as i41 from "./po-link/po-link.module";
43
- import * as i42 from "./po-label/po-label.module";
44
- import * as i43 from "./po-image/po-image.module";
45
- import * as i44 from "./po-page/po-page-slide/po-page-slide.module";
46
- import * as i45 from "./po-field/po-switch/po-switch.module";
47
- import * as i46 from "./po-search/po-search.module";
48
- import * as i47 from "./po-badge/po-badge.module";
49
- import * as i48 from "./po-toaster/po-toaster.module";
9
+ import * as i8 from "./po-container/po-container.module";
10
+ import * as i9 from "./po-disclaimer-group/po-disclaimer-group.module";
11
+ import * as i10 from "./po-disclaimer/po-disclaimer.module";
12
+ import * as i11 from "./po-divider/po-divider.module";
13
+ import * as i12 from "./po-dropdown/po-dropdown.module";
14
+ import * as i13 from "./po-dynamic/po-dynamic.module";
15
+ import * as i14 from "./po-field/po-field.module";
16
+ import * as i15 from "./po-gauge/po-gauge.module";
17
+ import * as i16 from "./po-grid/po-grid.module";
18
+ import * as i17 from "./po-icon/po-icon.module";
19
+ import * as i18 from "./po-info/po-info.module";
20
+ import * as i19 from "./po-list-view/po-list-view.module";
21
+ import * as i20 from "./po-listbox/po-listbox.module";
22
+ import * as i21 from "./po-loading/po-loading.module";
23
+ import * as i22 from "./po-logo/po-logo.module";
24
+ import * as i23 from "./po-menu/po-menu.module";
25
+ import * as i24 from "./po-menu-panel/po-menu-panel.module";
26
+ import * as i25 from "./po-modal/po-modal.module";
27
+ import * as i26 from "./po-navbar/po-navbar.module";
28
+ import * as i27 from "./po-overlay/po-overlay.module";
29
+ import * as i28 from "./po-page/po-page.module";
30
+ import * as i29 from "./po-popover/po-popover.module";
31
+ import * as i30 from "./po-popup/po-popup.module";
32
+ import * as i31 from "./po-progress/po-progress.module";
33
+ import * as i32 from "./po-slide/po-slide.module";
34
+ import * as i33 from "./po-stepper/po-stepper.module";
35
+ import * as i34 from "./po-table/po-table.module";
36
+ import * as i35 from "./po-tabs/po-tabs.module";
37
+ import * as i36 from "./po-tag/po-tag.module";
38
+ import * as i37 from "./po-toolbar/po-toolbar.module";
39
+ import * as i38 from "./po-tree-view/po-tree-view.module";
40
+ import * as i39 from "./po-widget/po-widget.module";
41
+ import * as i40 from "./po-link/po-link.module";
42
+ import * as i41 from "./po-label/po-label.module";
43
+ import * as i42 from "./po-image/po-image.module";
44
+ import * as i43 from "./po-page/po-page-slide/po-page-slide.module";
45
+ import * as i44 from "./po-field/po-switch/po-switch.module";
46
+ import * as i45 from "./po-search/po-search.module";
47
+ import * as i46 from "./po-badge/po-badge.module";
48
+ import * as i47 from "./po-toaster/po-toaster.module";
50
49
  export declare class PoComponentsModule {
51
50
  static ɵfac: i0.ɵɵFactoryDeclaration<PoComponentsModule, never>;
52
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoChartNewModule, typeof i9.PoContainerModule, typeof i10.PoDisclaimerGroupModule, typeof i11.PoDisclaimerModule, typeof i12.PoDividerModule, typeof i13.PoDropdownModule, typeof i14.PoDynamicModule, typeof i15.PoFieldModule, typeof i16.PoGaugeModule, typeof i17.PoGridModule, typeof i18.PoIconModule, typeof i19.PoInfoModule, typeof i20.PoListViewModule, typeof i21.PoListBoxModule, typeof i22.PoLoadingModule, typeof i23.PoLogoModule, typeof i24.PoMenuModule, typeof i25.PoMenuPanelModule, typeof i26.PoModalModule, typeof i27.PoNavbarModule, typeof i28.PoOverlayModule, typeof i29.PoPageModule, typeof i30.PoPopoverModule, typeof i31.PoPopupModule, typeof i32.PoProgressModule, typeof i33.PoSlideModule, typeof i34.PoStepperModule, typeof i35.PoTableModule, typeof i36.PoTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule], [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoChartNewModule, typeof i9.PoContainerModule, typeof i10.PoDisclaimerGroupModule, typeof i11.PoDisclaimerModule, typeof i12.PoDividerModule, typeof i13.PoDropdownModule, typeof i14.PoDynamicModule, typeof i15.PoFieldModule, typeof i16.PoGaugeModule, typeof i17.PoGridModule, typeof i18.PoIconModule, typeof i19.PoInfoModule, typeof i20.PoListViewModule, typeof i21.PoListBoxModule, typeof i22.PoLoadingModule, typeof i23.PoLogoModule, typeof i24.PoMenuModule, typeof i25.PoMenuPanelModule, typeof i26.PoModalModule, typeof i27.PoNavbarModule, typeof i28.PoOverlayModule, typeof i29.PoPageModule, typeof i30.PoPopoverModule, typeof i31.PoPopupModule, typeof i32.PoProgressModule, typeof i33.PoSlideModule, typeof i34.PoStepperModule, typeof i35.PoTableModule, typeof i36.PoTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule]>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoContainerModule, typeof i9.PoDisclaimerGroupModule, typeof i10.PoDisclaimerModule, typeof i11.PoDividerModule, typeof i12.PoDropdownModule, typeof i13.PoDynamicModule, typeof i14.PoFieldModule, typeof i15.PoGaugeModule, typeof i16.PoGridModule, typeof i17.PoIconModule, typeof i18.PoInfoModule, typeof i19.PoListViewModule, typeof i20.PoListBoxModule, typeof i21.PoLoadingModule, typeof i22.PoLogoModule, typeof i23.PoMenuModule, typeof i24.PoMenuPanelModule, typeof i25.PoModalModule, typeof i26.PoNavbarModule, typeof i27.PoOverlayModule, typeof i28.PoPageModule, typeof i29.PoPopoverModule, typeof i30.PoPopupModule, typeof i31.PoProgressModule, typeof i32.PoSlideModule, typeof i33.PoStepperModule, typeof i34.PoTableModule, typeof i35.PoTabsModule, typeof i36.PoTagModule, typeof i37.PoToolbarModule, typeof i38.PoTreeViewModule, typeof i39.PoWidgetModule, typeof i40.PoLinkModule, typeof i41.PoLabelModule, typeof i42.PoImageModule, typeof i43.PoPageSlideModule, typeof i44.PoSwitchModule, typeof i45.PoSearchModule, typeof i46.PoBadgeModule, typeof i47.PoToasterModule], [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoContainerModule, typeof i9.PoDisclaimerGroupModule, typeof i10.PoDisclaimerModule, typeof i11.PoDividerModule, typeof i12.PoDropdownModule, typeof i13.PoDynamicModule, typeof i14.PoFieldModule, typeof i15.PoGaugeModule, typeof i16.PoGridModule, typeof i17.PoIconModule, typeof i18.PoInfoModule, typeof i19.PoListViewModule, typeof i20.PoListBoxModule, typeof i21.PoLoadingModule, typeof i22.PoLogoModule, typeof i23.PoMenuModule, typeof i24.PoMenuPanelModule, typeof i25.PoModalModule, typeof i26.PoNavbarModule, typeof i27.PoOverlayModule, typeof i28.PoPageModule, typeof i29.PoPopoverModule, typeof i30.PoPopupModule, typeof i31.PoProgressModule, typeof i32.PoSlideModule, typeof i33.PoStepperModule, typeof i34.PoTableModule, typeof i35.PoTabsModule, typeof i36.PoTagModule, typeof i37.PoToolbarModule, typeof i38.PoTreeViewModule, typeof i39.PoWidgetModule, typeof i40.PoLinkModule, typeof i41.PoLabelModule, typeof i42.PoImageModule, typeof i43.PoPageSlideModule, typeof i44.PoSwitchModule, typeof i45.PoSearchModule, typeof i46.PoBadgeModule, typeof i47.PoToasterModule]>;
53
52
  static ɵinj: i0.ɵɵInjectorDeclaration<PoComponentsModule>;
54
53
  }
@@ -7,7 +7,6 @@ export * from './po-button-group/index';
7
7
  export * from './po-button/index';
8
8
  export * from './po-calendar/index';
9
9
  export * from './po-chart/index';
10
- export * from './po-chart-new/index';
11
10
  export * from './po-container/index';
12
11
  export * from './po-disclaimer-group/index';
13
12
  export * from './po-disclaimer/index';
@@ -32,5 +32,11 @@ export declare enum PoChartType {
32
32
  /**
33
33
  * Gráfico que exibe os dados em forma de barras horizontais e sua extensão varia de acordo com seus valores. É comumente usado como comparativo de séries e categorias.
34
34
  */
35
- Bar = "bar"
35
+ Bar = "bar",
36
+ /**
37
+ * Gráfico que provê a representação de um valor através de um arco. Possui dois tipos de tratamentos:
38
+ * - É possível demonstrar um dado percentual simples em conjunto com uma descrição resumida em seu interior;
39
+ * - Para um demonstrativo mais elaborado, consegue-se definir alcances em cores, um breve texto descritivo e um ponteiro indicando o valor desejado.
40
+ */
41
+ Gauge = "gauge"
36
42
  }
@@ -1,9 +1,11 @@
1
- export * from './interfaces/po-chart-serie.interface';
2
1
  export * from './enums/po-chart-type.enum';
3
2
  export * from './enums/po-chart-label-format.enum';
4
- export * from './interfaces/po-chart-axis-options.interface';
5
- export * from './interfaces/po-chart-options.interface';
3
+ export * from './interfaces/po-chart-serie.interface';
6
4
  export * from './interfaces/po-chart-serie-data-label.interface';
5
+ export * from './interfaces/po-chart-options.interface';
6
+ export * from './interfaces/po-chart-literals.interface';
7
+ export * from './interfaces/po-chart-literals-default.interface';
8
+ export * from './interfaces/po-chart-header-options.interface';
9
+ export * from './interfaces/po-chart-axis-options.interface';
7
10
  export * from './po-chart.component';
8
11
  export * from './po-chart.module';
9
- export * from './po-chart-switch.component';
@@ -15,13 +15,11 @@ export interface PoChartAxisOptions {
15
15
  * A propriedade contém as seguintes diretrizes para seu correto funcionamento:
16
16
  * - Quantidade padrão de linhas: '5';
17
17
  * - Quantidade mínima permitida: '2';
18
- * - Quantidade máxima permitida: '10';
19
18
  */
20
19
  gridLines?: number;
21
20
  /**
22
21
  * Define o alcance de valor máximo exibido no eixo Y.
23
22
  * Caso não seja definido valor, o valor de alcance máximo exibido será o maior existente entre as séries.
24
- * Se por acaso o valor máximo das séries for superior ao definido aqui, esta propriedade será ignorada.
25
23
  *
26
24
  * > Esta definição não deve refletir na plotagem das séries. Os valores máximos e mínimos encontrados nas séries serão as bases para seus alcance.
27
25
  */
@@ -30,7 +28,6 @@ export interface PoChartAxisOptions {
30
28
  * Define o alcance mínimo exibido no eixo Y.
31
29
  * Caso não seja definido valor, o valor-base de alcance mínimo será o menor encontrado entre as séries.
32
30
  * Se houver valores negativos nas séries, o menor deles será a base mínima.
33
- * Se por acaso o valor mínimo das séries for inferior ao definido aqui, esta propriedade será ignorada.
34
31
  *
35
32
  * > Esta definição não deve refletir na plotagem das séries. Os valores máximos e mínimos encontrados nas séries serão as bases para seus alcance.
36
33
  */
@@ -43,11 +40,76 @@ export interface PoChartAxisOptions {
43
40
  * Define o tipo do label e a formatação exibida no eixo de valor.
44
41
  */
45
42
  labelType?: PoChartLabelFormat;
43
+ /**
44
+ * @optional
45
+ *
46
+ * @description
47
+ *
48
+ * Permite aumentar ou diminuir o espaço inferior do gráfico.
49
+ *
50
+ */
46
51
  paddingBottom?: number;
52
+ /**
53
+ * @optional
54
+ *
55
+ * @description
56
+ *
57
+ * Permite aumentar ou diminuir o espaço esquerdo do gráfico.
58
+ *
59
+ * @default `16`
60
+ */
47
61
  paddingLeft?: number;
62
+ /**
63
+ * @optional
64
+ *
65
+ * @description
66
+ *
67
+ * Permite aumentar ou diminuir o espaço direito do gráfico.
68
+ *
69
+ * @default `32`
70
+ */
48
71
  paddingRight?: number;
72
+ /**
73
+ * @optional
74
+ *
75
+ * @description
76
+ *
77
+ * Define o ângulo de rotação da legenda do gráfico.
78
+ * Aceita valores entre -90 e 90 graus, onde:
79
+ * - Valores negativos giram a legenda para a esquerda.
80
+ * - Valores positivos giram a legenda para a direita.
81
+ *
82
+ * Se não for definido, a legenda será exibida sem rotação.
83
+ */
49
84
  rotateLegend?: number;
85
+ /**
86
+ * @optional
87
+ *
88
+ * @description
89
+ *
90
+ * Exibe a linha do eixo X
91
+ *
92
+ * @default `false`
93
+ */
50
94
  showXAxis?: boolean;
95
+ /**
96
+ * @optional
97
+ *
98
+ * @description
99
+ *
100
+ * Exibe a linha do eixo Y
101
+ *
102
+ * @default `true`
103
+ */
51
104
  showYAxis?: boolean;
105
+ /**
106
+ * @optional
107
+ *
108
+ * @description
109
+ *
110
+ * Exibe a linha de detalhes que acompanha o mouse
111
+ *
112
+ * @default `false`
113
+ */
52
114
  showAxisDetails?: boolean;
53
115
  }
@@ -1,6 +1,4 @@
1
1
  /**
2
- * @docsPrivate
3
- *
4
2
  * @usedBy PoChartComponent
5
3
  *
6
4
  * @description
@@ -1,6 +1,4 @@
1
1
  /**
2
- * @docsPrivate
3
- *
4
2
  * @usedBy PoChartComponent
5
3
  *
6
4
  * @description
@@ -40,4 +38,36 @@ export interface PoChartLiterals {
40
38
  * Texto do botão para exportar o gráfico como imagem PNG.
41
39
  */
42
40
  exportPNG?: string;
41
+ /**
42
+ * @optional
43
+ *
44
+ * @description
45
+ *
46
+ * Texto da primeira coluna da tabela quando o gráfico é do tipo `Gauge`.
47
+ */
48
+ value?: string;
49
+ /**
50
+ * @optional
51
+ *
52
+ * @description
53
+ *
54
+ * Texto dos títulos das colunas `Gauge` e não possui label.
55
+ */
56
+ item?: string;
57
+ /**
58
+ * @optional
59
+ *
60
+ * @description
61
+ *
62
+ * Texto da primeira coluna da tabela em todos os gráficos com exceção do `Bar` e `Gauge`.
63
+ */
64
+ serie?: string;
65
+ /**
66
+ * @optional
67
+ *
68
+ * @description
69
+ *
70
+ * Texto da primeira coluna da tabela no gráfico do tipo `Bar`.
71
+ */
72
+ category?: string;
43
73
  }
@@ -16,9 +16,46 @@ export interface PoChartOptions {
16
16
  * Define um objeto do tipo `PoChartAxisOptions` para configuração dos eixos.
17
17
  */
18
18
  axis?: PoChartAxisOptions;
19
+ /**
20
+ * @optional
21
+ *
22
+ * @description
23
+ *
24
+ * Define um objeto do tipo `PoChartHeaderOptions` para configurar a exibição de botões no cabeçalho do gráfico.
25
+ */
19
26
  header?: PoChartHeaderOptions;
27
+ /**
28
+ * @optional
29
+ *
30
+ * @description
31
+ *
32
+ * Permite aplicar zoom ao gráfico com o scroll do mouse;
33
+ *
34
+ * @default `false`
35
+ */
20
36
  dataZoom?: boolean;
37
+ /**
38
+ * @optional
39
+ *
40
+ * @description
41
+ *
42
+ * Define se os pontos do gráfico serão preenchidos.
43
+ * Quando true, os pontos são totalmente coloridos. Quando false, apenas a borda dos pontos será exibida, mantendo o interior transparente.
44
+ *
45
+ * > Esta propriedade é utilizável para os gráficos dos tipos `Area` e `Line`.
46
+ *
47
+ * @default `false`
48
+ */
21
49
  fillPoints?: boolean;
50
+ /**
51
+ * @optional
52
+ *
53
+ * @description
54
+ *
55
+ * Valor que permite customizar o nome da `TH` da primeira coluna da tabela descritiva.
56
+ *
57
+ * @default `Série`
58
+ */
22
59
  firstColumnName?: string;
23
60
  /**
24
61
  * @optional
@@ -30,7 +67,24 @@ export interface PoChartOptions {
30
67
  * os textos internos do gráficos serão ocultados para que não haja quebra de layout.
31
68
  */
32
69
  innerRadius?: number;
70
+ /**
71
+ * @optional
72
+ *
73
+ * @description
74
+ *
75
+ * Define borda entre os itens do gráfico. Válido para os gráficos `Donut`, `Pie`.
76
+ * > Valores válidos entre 0 e 100,
77
+ *
78
+ * @default `0`
79
+ */
33
80
  borderRadius?: number;
81
+ /**
82
+ * @optional
83
+ *
84
+ * @description
85
+ *
86
+ * Aplica texto centralizado customizado nos gráficos de `Donut`.
87
+ */
34
88
  textCenterGraph?: string;
35
89
  /**
36
90
  * @optional
@@ -40,8 +94,129 @@ export interface PoChartOptions {
40
94
  * Define a exibição da legenda do gráfico. Valor padrão é `true`
41
95
  */
42
96
  legend?: boolean;
97
+ /**
98
+ * @optional
99
+ *
100
+ * @description
101
+ *
102
+ * Define o alinhamento horizontal da legenda.
103
+ *
104
+ * > Propriedade inválida para o gráfico do tipo `Gauge`.
105
+ *
106
+ * @default `center`
107
+ */
43
108
  legendPosition?: 'left' | 'center' | 'right';
109
+ /**
110
+ * @optional
111
+ *
112
+ * @description
113
+ *
114
+ * Define a posição vertical da legenda no gráfico.
115
+ * > Quando utilizada com o valor `top`, recomenda-se configurar também a propriedade `bottomDataZoom` caso o `dataZoom` esteja habilitado, para evitar sobreposição entre os elementos.
116
+ * > Propriedade inválida para o gráfico do tipo `Gauge`.
117
+ *
118
+ * @default `bottom`
119
+ */
44
120
  legendVerticalPosition?: 'top' | 'bottom';
121
+ /**
122
+ * @optional
123
+ *
124
+ * @description
125
+ *
126
+ * Define a distância inferior do componente DataZoom.
127
+ *
128
+ * Esta propriedade aceita os seguintes valores:
129
+ *
130
+ * - `false` (padrão): não aplica ajustes.
131
+ *
132
+ * - `true`: aplica um valor automático com base no posicionamento da legenda:
133
+ * - `8` pixels quando o DataZoom estiver habilitado e não houver legenda, ou quando a legenda estiver posicionada no topo.
134
+ * - `32` pixels quando o DataZoom estiver habilitado e a legenda estiver posicionada na parte inferior.
135
+ *
136
+ * - `number`: aplica o valor numérico informado como distância inferior. Este valor tem prioridade sobre a configuração booleana.
137
+ *
138
+ * > Esta configuração é considerada apenas quando o DataZoom estiver habilitado (`dataZoom: true`).
139
+ *
140
+ * @default `false`
141
+ */
45
142
  bottomDataZoom?: boolean | number;
143
+ /**
144
+ * @optional
145
+ *
146
+ * @description
147
+ *
148
+ * Define como o gráfico será renderizado.
149
+ *
150
+ * > Recomenda-se não modificar o valor da propriedade `rendererOption` após a inicialização da aplicação, uma vez que tal alteração pode ocasionar comportamentos inconsistentes na renderização do gráfico.
151
+ *
152
+ * @default `canvas`
153
+ */
46
154
  rendererOption?: 'canvas' | 'svg';
155
+ /**
156
+ * @optional
157
+ *
158
+ * @description
159
+ *
160
+ * Transforma os gráficos do tipo `Donut` ou `Pie` num gráfico de área polar.
161
+ *
162
+ * > Válido para os gráficos `Donut` e `Pie`.
163
+ *
164
+ * @default `false`
165
+ */
166
+ roseType?: boolean;
167
+ /**
168
+ * @optional
169
+ *
170
+ * @description
171
+ *
172
+ * Exibe os valores das propriedades `from` e `to` no gráfico do no texto da legenda entre parênteses.
173
+ *
174
+ * > Válido para gráfico do tipo `Gauge`.
175
+ *
176
+ */
177
+ showFromToLegend?: boolean;
178
+ /**
179
+ * @optional
180
+ *
181
+ * @description
182
+ *
183
+ * Define a exibição do ponteiro.
184
+ *
185
+ * > Válido para gráfico do tipo `Gauge`.
186
+ *
187
+ * @default `true`
188
+ */
189
+ pointer?: boolean;
190
+ /**
191
+ * @optional
192
+ *
193
+ * @description
194
+ *
195
+ * Define a descrição do gráfico exibido acima do gráfico.
196
+ *
197
+ */
198
+ descriptionChart?: string;
199
+ /**
200
+ * @optional
201
+ *
202
+ * @description
203
+ *
204
+ * Define um subtítulo para o Gauge. Indicamos um subtítulo pequeno, com uma quantidade máxima de 32 caracteres na altura padrão.
205
+ *
206
+ * > Válido para gráfico do tipo `Gauge`.
207
+ *
208
+ */
209
+ subtitleGauge?: string;
210
+ /**
211
+ * @optional
212
+ *
213
+ * @description
214
+ *
215
+ * Esconde a estilização do container em volta do gráfico.
216
+ *
217
+ * > Válido para gráfico do tipo `Gauge`.
218
+ *
219
+ * @default `false`
220
+ */
221
+ showContainerGauge?: boolean;
47
222
  }
@@ -75,4 +75,16 @@ export interface PoChartSerie {
75
75
  * > O componente só exibirá as séries que tiverem o mesmo `type` definido, exceto para mesclagem para tipos `column` e `line`.
76
76
  */
77
77
  type?: PoChartType;
78
+ /**
79
+ * Alcance inicial da cor.
80
+ *
81
+ * > Propriedade válida para gráfico do tipo `Gauge`.
82
+ */
83
+ from?: number;
84
+ /**
85
+ * Alcance final da cor.
86
+ *
87
+ * > Propriedade válida para gráfico do tipo `Gauge`.
88
+ */
89
+ to?: number;
78
90
  }