mapa-library-ui 2.17.3 → 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.
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
- package/fesm2022/mapa-library-ui.mjs +91 -27
- package/fesm2022/mapa-library-ui.mjs.map +1 -1
- package/index.d.ts +21 -2
- 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;
|
|
@@ -2847,9 +2852,10 @@ declare abstract class ReportGroupProfileContent {
|
|
|
2847
2852
|
protected readonly averageCaption: _angular_core.Signal<string>;
|
|
2848
2853
|
protected readonly dimensions: _angular_core.Signal<MapaReportGroupProfileDimension[]>;
|
|
2849
2854
|
protected readonly average: _angular_core.Signal<number | null>;
|
|
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
|
|
@@ -2864,6 +2870,7 @@ declare abstract class ReportGroupProfileContent {
|
|
|
2864
2870
|
private itemOrder;
|
|
2865
2871
|
protected sliceForeground(slice: MapaReportGroupProfileSlice): string;
|
|
2866
2872
|
protected width(slice: MapaReportGroupProfileSlice): number;
|
|
2873
|
+
protected normalizedWidth(slice: MapaReportGroupProfileSlice, dimension: MapaReportGroupProfileDimension): number;
|
|
2867
2874
|
protected sliceColor(slice: MapaReportGroupProfileSlice): string;
|
|
2868
2875
|
protected sliceLabel(slice: MapaReportGroupProfileSlice): string;
|
|
2869
2876
|
protected sliceValue(slice: MapaReportGroupProfileSlice): string;
|
|
@@ -2970,6 +2977,16 @@ declare class MapaReportLegendComponent {
|
|
|
2970
2977
|
readonly expanded: _angular_core.InputSignal<boolean>;
|
|
2971
2978
|
readonly appearance: _angular_core.InputSignal<"default" | "psychosocial">;
|
|
2972
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[];
|
|
2973
2990
|
protected directionArrow(direction?: MapaReportDirection): string;
|
|
2974
2991
|
protected directionLabel(direction?: MapaReportDirection): string;
|
|
2975
2992
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapaReportLegendComponent, never>;
|
|
@@ -3269,6 +3286,8 @@ declare class MapaResultTrackComponent {
|
|
|
3269
3286
|
readonly style: _angular_core.InputSignal<MapaResultTrackStyle>;
|
|
3270
3287
|
readonly direction: _angular_core.InputSignal<MapaReportDirection>;
|
|
3271
3288
|
readonly showValue: _angular_core.InputSignal<boolean>;
|
|
3289
|
+
/** Preserve decimal geometry when the caller formats its own caption. */
|
|
3290
|
+
readonly roundValue: _angular_core.InputSignal<boolean>;
|
|
3272
3291
|
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
3273
3292
|
protected readonly steps: number[];
|
|
3274
3293
|
protected readonly safeValue: _angular_core.Signal<number>;
|
|
@@ -3280,7 +3299,7 @@ declare class MapaResultTrackComponent {
|
|
|
3280
3299
|
protected readonly badgePosition: _angular_core.Signal<number>;
|
|
3281
3300
|
protected readonly label: _angular_core.Signal<string>;
|
|
3282
3301
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapaResultTrackComponent, never>;
|
|
3283
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapaResultTrackComponent, "mapa-result-track", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3302
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapaResultTrackComponent, "mapa-result-track", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "roundValue": { "alias": "roundValue"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3284
3303
|
}
|
|
3285
3304
|
|
|
3286
3305
|
interface Dimension$1 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mapa-library-ui",
|
|
3
|
-
"version": "2.17.
|
|
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.
|
|
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",
|