mapa-library-ui 2.17.5 → 2.18.1

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 (33) hide show
  1. package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +4 -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 +4 -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 +15 -10
  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 +4 -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 +4 -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 +4 -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 +15 -10
  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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -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 +4 -0
  28. package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
  29. package/fesm2022/mapa-library-ui.mjs +29 -33
  30. package/fesm2022/mapa-library-ui.mjs.map +1 -1
  31. package/index.d.ts +8 -8
  32. package/package.json +2 -2
  33. package/src/lib/components/datepicker/index.d.ts +2 -0
package/index.d.ts CHANGED
@@ -732,6 +732,9 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
732
732
  datepicker: Partial<{
733
733
  startDatePlaceholder: string;
734
734
  endDatePlaceholder: string;
735
+ clearLabel: string;
736
+ openCalendarLabel: string;
737
+ presetsLabel: string;
735
738
  }>;
736
739
  capability: Partial<{
737
740
  groupAverageTitle: string;
@@ -755,6 +758,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
755
758
  chart: string;
756
759
  viewModeLabel: string;
757
760
  readingInformationTitle: string;
761
+ legendTitle: string;
758
762
  dimensionTitle: string;
759
763
  indicatorTitle: string;
760
764
  conceptTitle: string;
@@ -2091,6 +2095,8 @@ declare class MapaDatepicker implements OnInit {
2091
2095
  isPresetsOpen(): boolean;
2092
2096
  isPresetActive(entry: MapaDatepickerPresetEntry): boolean;
2093
2097
  presetsTriggerLabel(): string;
2098
+ clearLabel(): string;
2099
+ openCalendarLabel(): string;
2094
2100
  togglePresets(): void;
2095
2101
  closePresets(): void;
2096
2102
  applyPreset(entry: MapaDatepickerPresetEntry): void;
@@ -2839,8 +2845,8 @@ declare abstract class ReportGroupProfileContent {
2839
2845
  readonly showLegend: _angular_core.InputSignal<boolean>;
2840
2846
  /**
2841
2847
  * Replaces the legend derived from the slice classifications. Pass the
2842
- * GenerateReport captions in the order they were returned: that order is
2843
- * kept, and captions no slice draws are left out.
2848
+ * GenerateReport captions in the order they were returned: the whole list
2849
+ * is shown in that order, whether or not the current data draws them.
2844
2850
  */
2845
2851
  readonly legend: _angular_core.InputSignal<MapaReportLegendItem[] | undefined>;
2846
2852
  /** Overrides the caption above each pill; defaults to the i18n text. */
@@ -2856,12 +2862,6 @@ declare abstract class ReportGroupProfileContent {
2856
2862
  protected readonly averageText: _angular_core.Signal<string>;
2857
2863
  protected readonly legendItems: _angular_core.Signal<MapaReportLegendItem[]>;
2858
2864
  protected readonly legendGroups: _angular_core.Signal<MapaReportLegendGroup[]>;
2859
- /**
2860
- * Keeps the caller's order (the captions returned by GenerateReport) and
2861
- * drops what no slice draws. If nothing matches, the slices carry no
2862
- * identity the captions can be matched against, so the list stays whole.
2863
- */
2864
- private drawnCaptions;
2865
2865
  private captionMatches;
2866
2866
  /** Zero-width slices would still cost a pill seam, so they are dropped. */
2867
2867
  protected slices(dimension: MapaReportGroupProfileDimension): MapaReportGroupProfileSlice[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "2.17.5",
3
+ "version": "2.18.1",
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.15.4",
14
+ "mapa-frontend-i18n": "^2.16.0",
15
15
  "ng-apexcharts": "^2.3.0",
16
16
  "ngx-mask": "^20.0.3",
17
17
  "ngx-mat-select-search": "^8.0.4",
@@ -260,6 +260,8 @@ declare class MapaDatepicker implements OnInit {
260
260
  isPresetsOpen(): boolean;
261
261
  isPresetActive(entry: MapaDatepickerPresetEntry): boolean;
262
262
  presetsTriggerLabel(): string;
263
+ clearLabel(): string;
264
+ openCalendarLabel(): string;
263
265
  togglePresets(): void;
264
266
  closePresets(): void;
265
267
  applyPreset(entry: MapaDatepickerPresetEntry): void;