mapa-library-ui 2.5.3 → 2.5.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 (35) hide show
  1. package/README.md +0 -2
  2. package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +1 -0
  3. package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
  4. package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +1 -0
  5. package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
  6. package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +1 -0
  7. package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
  8. package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs +1 -0
  9. package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
  10. package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +1 -0
  11. package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  12. package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +1 -0
  13. package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
  14. package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +1 -0
  15. package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
  16. package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs +1 -0
  17. package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
  18. package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +1 -0
  19. package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
  20. package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +1 -0
  21. package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
  22. package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +1 -0
  23. package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
  24. package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +1 -0
  25. package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
  26. package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +1 -0
  27. package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
  28. package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +1 -0
  29. package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
  30. package/fesm2022/mapa-library-ui.mjs +22 -13
  31. package/fesm2022/mapa-library-ui.mjs.map +1 -1
  32. package/index.d.ts +12 -8
  33. package/mapa-library-ui-2.5.5.tgz +0 -0
  34. package/package.json +2 -2
  35. package/mapa-library-ui-2.5.3.tgz +0 -0
package/index.d.ts CHANGED
@@ -683,6 +683,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
683
683
  scaleConceptTitle: string;
684
684
  psychosocialFactorsTitle: string;
685
685
  editConclusionLabel: string;
686
+ addConclusionLabel: string;
686
687
  meterLabel: (name: string, value: number) => string;
687
688
  gaugeLabel: (name: string, value: number) => string;
688
689
  itemCountLabel: (count: number) => string;
@@ -1698,16 +1699,25 @@ declare class MapaConclusionCardComponent {
1698
1699
  readonly editable: i0.InputSignal<boolean>;
1699
1700
  /** Overrides the edit action label; defaults to the i18n text. */
1700
1701
  readonly editLabel: i0.InputSignal<string | undefined>;
1702
+ /** Overrides the add action label; defaults to the i18n text. */
1703
+ readonly addLabel: i0.InputSignal<string | undefined>;
1704
+ /**
1705
+ * Requested open state. Only honoured while the card has a conclusion —
1706
+ * an empty card stays collapsed and cannot be toggled.
1707
+ */
1701
1708
  readonly expanded: i0.ModelSignal<boolean>;
1702
1709
  readonly edit: i0.OutputEmitterRef<void>;
1703
1710
  protected readonly panelId: string;
1704
1711
  protected readonly editCaption: i0.Signal<string>;
1712
+ protected readonly addCaption: i0.Signal<string>;
1705
1713
  protected readonly isOverall: i0.Signal<boolean>;
1706
1714
  protected readonly icon: i0.Signal<"auto_awesome" | "article">;
1707
1715
  protected readonly metadata: i0.Signal<mapa_library_ui.MapaConclusionMetadata[]>;
1708
1716
  protected readonly hasConclusion: i0.Signal<boolean>;
1717
+ protected readonly isExpanded: i0.Signal<boolean>;
1718
+ protected toggle(): void;
1709
1719
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaConclusionCardComponent, never>;
1710
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaConclusionCardComponent, "mapa-conclusion-card", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "editLabel": { "alias": "editLabel"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "edit": "edit"; }, never, never, true, never>;
1720
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaConclusionCardComponent, "mapa-conclusion-card", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "editLabel": { "alias": "editLabel"; "required": false; "isSignal": true; }; "addLabel": { "alias": "addLabel"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "edit": "edit"; }, never, never, true, never>;
1711
1721
  }
1712
1722
 
1713
1723
  interface MapaDatepickerRangeValue {
@@ -2493,12 +2503,6 @@ declare class MapaReportRankingTableWidgetComponent {
2493
2503
  readonly view: i0.ModelSignal<string | undefined>;
2494
2504
  readonly palette: i0.InputSignal<MapaReportPalette>;
2495
2505
  readonly showAverage: i0.InputSignal<boolean>;
2496
- /**
2497
- * Swaps the classification chip for the raw score and direction while the
2498
- * cell is hovered or focused. Off by default — the chip already carries the
2499
- * reading, so the swap only makes the table jump under the cursor.
2500
- */
2501
- readonly showScoreOnHover: i0.InputSignal<boolean>;
2502
2506
  /** Header of the first column, per view id. Falls back to the view label. */
2503
2507
  readonly entryColumnLabel: i0.InputSignal<string | undefined>;
2504
2508
  /** Footnote under the table. */
@@ -2531,7 +2535,7 @@ declare class MapaReportRankingTableWidgetComponent {
2531
2535
  private sortValue;
2532
2536
  private columnKey;
2533
2537
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportRankingTableWidgetComponent, never>;
2534
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportRankingTableWidgetComponent, "mapa-report-ranking-table-widget", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "showAverage": { "alias": "showAverage"; "required": false; "isSignal": true; }; "showScoreOnHover": { "alias": "showScoreOnHover"; "required": false; "isSignal": true; }; "entryColumnLabel": { "alias": "entryColumnLabel"; "required": false; "isSignal": true; }; "note": { "alias": "note"; "required": false; "isSignal": true; }; "averageLabel": { "alias": "averageLabel"; "required": false; "isSignal": true; }; }, { "view": "viewChange"; }, never, never, true, never>;
2538
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportRankingTableWidgetComponent, "mapa-report-ranking-table-widget", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "showAverage": { "alias": "showAverage"; "required": false; "isSignal": true; }; "entryColumnLabel": { "alias": "entryColumnLabel"; "required": false; "isSignal": true; }; "note": { "alias": "note"; "required": false; "isSignal": true; }; "averageLabel": { "alias": "averageLabel"; "required": false; "isSignal": true; }; }, { "view": "viewChange"; }, never, never, true, never>;
2535
2539
  }
2536
2540
 
2537
2541
  type MapaResultTrackAppearance = 'rounded' | 'segmented' | 'stepped';
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "2.5.3",
3
+ "version": "2.5.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.3.0",
14
+ "mapa-frontend-i18n": "^2.4.0",
15
15
  "ng-apexcharts": "^2.3.0",
16
16
  "ngx-mask": "^20.0.3",
17
17
  "ngx-mat-select-search": "^8.0.4",
Binary file