mapa-library-ui 2.17.4 → 2.17.5

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 (32) hide show
  1. package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +3 -0
  2. package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
  3. package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +3 -0
  4. package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
  5. package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +3 -0
  6. package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
  7. package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs +3 -0
  8. package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
  9. package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +3 -0
  10. package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  11. package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +3 -0
  12. package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
  13. package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +3 -0
  14. package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
  15. package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs +3 -0
  16. package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
  17. package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +3 -0
  18. package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
  19. package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +3 -0
  20. package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
  21. package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +3 -0
  22. package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
  23. package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +3 -0
  24. package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
  25. package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +3 -0
  26. package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
  27. package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +3 -0
  28. package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
  29. package/fesm2022/mapa-library-ui.mjs +66 -8
  30. package/fesm2022/mapa-library-ui.mjs.map +1 -1
  31. package/index.d.ts +16 -0
  32. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -281,6 +281,8 @@ interface MapaReportHeading {
281
281
  description?: string;
282
282
  }
283
283
  interface MapaReportLegendItem {
284
+ /** Keeps classifications with the same identity separate by scale direction. */
285
+ direction?: MapaReportDirection;
284
286
  order?: number;
285
287
  id?: string | number;
286
288
  label: string;
@@ -745,6 +747,8 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
745
747
  positiveDirectionLabel: string;
746
748
  }>;
747
749
  report: Partial<{
750
+ positiveGroupLegendLabel: string;
751
+ negativeGroupLegendLabel: string;
748
752
  summarized: string;
749
753
  detailed: string;
750
754
  list: string;
@@ -769,6 +773,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
769
773
  noClassification: string;
770
774
  emptyState: string;
771
775
  interpretationTitle: string;
776
+ rangeTitle: string;
772
777
  detailedListLabel: string;
773
778
  groupAverageTitle: string;
774
779
  groupDistributionLabel: string;
@@ -2850,6 +2855,7 @@ declare abstract class ReportGroupProfileContent {
2850
2855
  /** Round captions only; geometry keeps the original precision. */
2851
2856
  protected readonly averageText: _angular_core.Signal<string>;
2852
2857
  protected readonly legendItems: _angular_core.Signal<MapaReportLegendItem[]>;
2858
+ protected readonly legendGroups: _angular_core.Signal<MapaReportLegendGroup[]>;
2853
2859
  /**
2854
2860
  * Keeps the caller's order (the captions returned by GenerateReport) and
2855
2861
  * drops what no slice draws. If nothing matches, the slices carry no
@@ -2971,6 +2977,16 @@ declare class MapaReportLegendComponent {
2971
2977
  readonly expanded: _angular_core.InputSignal<boolean>;
2972
2978
  readonly appearance: _angular_core.InputSignal<"default" | "psychosocial">;
2973
2979
  protected readonly widthLabels: _angular_core.Signal<string[]>;
2980
+ /**
2981
+ * Faixa vira coluna própria (Faixa | Classificação | Interpretação) sempre que o
2982
+ * grupo é `reference` ou quando algum item do layout padrão traz `range`.
2983
+ */
2984
+ protected hasRangeColumn(group: MapaReportLegendGroup): boolean;
2985
+ /**
2986
+ * Rótulos das colunas do cabeçalho. No layout padrão com faixa, `columnLabels`
2987
+ * de dois itens continua valendo para Classificação e Interpretação.
2988
+ */
2989
+ protected columnLabels(group: MapaReportLegendGroup): string[];
2974
2990
  protected directionArrow(direction?: MapaReportDirection): string;
2975
2991
  protected directionLabel(direction?: MapaReportDirection): string;
2976
2992
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapaReportLegendComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "2.17.4",
3
+ "version": "2.17.5",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^20.3.0",
6
6
  "@angular/cdk": "^20.2.0",
@@ -11,7 +11,7 @@
11
11
  "@angular/material": "^20.2.0",
12
12
  "@angular/router": "^20.3.0",
13
13
  "apexcharts": "^5.10.3",
14
- "mapa-frontend-i18n": "^2.11.0",
14
+ "mapa-frontend-i18n": "^2.15.4",
15
15
  "ng-apexcharts": "^2.3.0",
16
16
  "ngx-mask": "^20.0.3",
17
17
  "ngx-mat-select-search": "^8.0.4",