mapa-library-ui 2.9.0 → 2.11.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 (37) hide show
  1. package/README.md +16 -1
  2. package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +14 -2
  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 +14 -2
  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 +14 -2
  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 +14 -2
  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 +14 -2
  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 +14 -2
  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 +14 -2
  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 +64 -9
  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 +14 -2
  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 +14 -2
  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 +14 -2
  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 +63 -8
  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 +14 -2
  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 +14 -2
  29. package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
  30. package/fesm2022/mapa-library-ui.mjs +327 -154
  31. package/fesm2022/mapa-library-ui.mjs.map +1 -1
  32. package/index.d.ts +94 -17
  33. package/mapa-library-ui-2.11.0.tgz +0 -0
  34. package/package.json +2 -2
  35. package/src/lib/components/group-report/index.d.ts +2 -0
  36. package/src/lib/components/table/index.d.ts +14 -1
  37. package/mapa-library-ui-2.9.0.tgz +0 -0
package/index.d.ts CHANGED
@@ -281,6 +281,7 @@ interface MapaReportHeading {
281
281
  description?: string;
282
282
  }
283
283
  interface MapaReportLegendItem {
284
+ order?: number;
284
285
  id?: string | number;
285
286
  label: string;
286
287
  range?: string;
@@ -403,6 +404,7 @@ interface MapaConclusionCardData {
403
404
  emptyText?: string;
404
405
  }
405
406
  interface MapaReportGroupProfileSlice {
407
+ order?: number;
406
408
  id?: string | number;
407
409
  label?: string;
408
410
  /** Share of the group, in percent. Slices of a dimension should add up to 100. */
@@ -441,6 +443,8 @@ interface MapaReportRankingDimension {
441
443
  classification?: Classification$1;
442
444
  }
443
445
  interface MapaReportRankingEntry {
446
+ /** Presentation only; independent of classification colours. */
447
+ color?: string;
444
448
  id?: string | number;
445
449
  name: string;
446
450
  /** Secondary line under the name — CPF, participant count, unit… */
@@ -456,6 +460,16 @@ interface MapaReportRankingView {
456
460
  icon?: string;
457
461
  entries: MapaReportRankingEntry[];
458
462
  }
463
+ /**
464
+ * Optional second switch of the ranking widget (e.g. scales / factors). The
465
+ * host owns the data: it rebuilds `views` when the level changes.
466
+ */
467
+ interface MapaReportRankingLevel {
468
+ id: string;
469
+ label: string;
470
+ /** Material icon ligature for the level switch. */
471
+ icon?: string;
472
+ }
459
473
 
460
474
  interface TableColumnStatus {
461
475
  label?: string[];
@@ -479,6 +493,8 @@ interface TableColumn {
479
493
  align?: string;
480
494
  class?: string;
481
495
  classification?: Classification$1;
496
+ /** Semantic direction, independent of the sorting indicator. */
497
+ headerDirection?: 'positive' | 'negative';
482
498
  }
483
499
 
484
500
  interface TableEmptyState {
@@ -657,6 +673,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
657
673
  viewModeLabel: string;
658
674
  readingInformationTitle: string;
659
675
  dimensionTitle: string;
676
+ indicatorTitle: string;
660
677
  conceptTitle: string;
661
678
  classificationTitle: string;
662
679
  resultReadingTitle: string;
@@ -694,6 +711,16 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
694
711
  meterLabel: (name: string, value: number) => string;
695
712
  gaugeLabel: (name: string, value: number) => string;
696
713
  itemCountLabel: (count: number) => string;
714
+ scaleCountLabel: (count: number) => string;
715
+ continueLabel: string;
716
+ newGroupTitle: string;
717
+ groupNameHint: string;
718
+ groupNameRequired: string;
719
+ groupPeopleRequired: string;
720
+ groupMinimumHint: string;
721
+ groupUnsavedHint: string;
722
+ groupSavedLabel: (name: string) => string;
723
+ groupCountLabel: (count: number, limit: number) => string;
697
724
  }>;
698
725
  paginator: Partial<{
699
726
  itemsPerPage: string;
@@ -714,6 +741,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
714
741
  selectAllVisible: string;
715
742
  selectionColumn: string;
716
743
  selectRow: string;
744
+ horizontalScrollHint: string;
717
745
  selectNamedRow: (item: string) => string;
718
746
  }>;
719
747
  validation: Partial<{
@@ -1403,13 +1431,15 @@ declare class MapaClassificationTagComponent {
1403
1431
  readonly casing: i0.InputSignal<TagCasing>;
1404
1432
  /** Shown when there is no classification; defaults to the i18n text. */
1405
1433
  readonly fallbackLabel: i0.InputSignal<string | undefined>;
1434
+ /** Visible value override; the original classification remains accessible. */
1435
+ readonly valueLabel: i0.InputSignal<string | undefined>;
1406
1436
  protected readonly label: i0.Signal<string>;
1407
1437
  protected readonly background: i0.Signal<string>;
1408
1438
  protected readonly foreground: i0.Signal<string>;
1409
1439
  protected readonly border: i0.Signal<string>;
1410
1440
  protected readonly usesNaturalCasing: i0.Signal<boolean>;
1411
1441
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaClassificationTagComponent, never>;
1412
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaClassificationTagComponent, "mapa-classification-tag", never, { "classification": { "alias": "classification"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "casing": { "alias": "casing"; "required": false; "isSignal": true; }; "fallbackLabel": { "alias": "fallbackLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1442
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaClassificationTagComponent, "mapa-classification-tag", never, { "classification": { "alias": "classification"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "casing": { "alias": "casing"; "required": false; "isSignal": true; }; "fallbackLabel": { "alias": "fallbackLabel"; "required": false; "isSignal": true; }; "valueLabel": { "alias": "valueLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1413
1443
  }
1414
1444
 
1415
1445
  declare class ButtonIconComponent implements OnInit, OnChanges {
@@ -2041,6 +2071,8 @@ declare class MapaTableComponent {
2041
2071
  data: readonly unknown[];
2042
2072
  rowKey: string;
2043
2073
  caption: string;
2074
+ responsiveLayout: 'cards' | 'scroll';
2075
+ stickyFirstColumn: boolean;
2044
2076
  selectable?: boolean;
2045
2077
  showSelectAll: boolean;
2046
2078
  selectedKeys?: readonly string[];
@@ -2103,6 +2135,15 @@ declare class MapaTableComponent {
2103
2135
  private filterValue;
2104
2136
  private observedFilter?;
2105
2137
  private filterSubscription?;
2138
+ private readonly tableFrame;
2139
+ private resizeObserver?;
2140
+ private observedFrame?;
2141
+ private observedTable?;
2142
+ protected horizontalOverflow: boolean;
2143
+ constructor();
2144
+ private observeOverflow;
2145
+ private measureOverflow;
2146
+ protected headerDirectionLabel(column: TableColumn): string;
2106
2147
  protected get texts(): mapa_frontend_i18n.MapaUiTextGroups;
2107
2148
  protected get visibleData(): readonly unknown[];
2108
2149
  protected get isSelectable(): boolean;
@@ -2163,7 +2204,7 @@ declare class MapaTableComponent {
2163
2204
  private asRow;
2164
2205
  private isInteractiveTarget;
2165
2206
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaTableComponent, never>;
2166
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaTableComponent, "mapa-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rowKey": { "alias": "rowKey"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "selectionLabelKey": { "alias": "selectionLabelKey"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "finished": { "alias": "finished"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySubtitle": { "alias": "emptySubtitle"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorSubtitle": { "alias": "errorSubtitle"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "status": { "alias": "status"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "paginatorShowFirstButton": { "alias": "paginatorShowFirstButton"; "required": false; }; "paginatorShowLastButton": { "alias": "paginatorShowLastButton"; "required": false; }; "paginatorRenderButtonsNumber": { "alias": "paginatorRenderButtonsNumber"; "required": false; }; "paginatorHideDefaultArrows": { "alias": "paginatorHideDefaultArrows"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "filterControl": { "alias": "filterControl"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "retry": "retry"; "onChangePage": "onChangePage"; "onSortChange": "onSortChange"; "selectedRows": "selectedRows"; "rowClick": "rowClick"; }, ["projectedCells"], never, true, never>;
2207
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaTableComponent, "mapa-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rowKey": { "alias": "rowKey"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "selectionLabelKey": { "alias": "selectionLabelKey"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "finished": { "alias": "finished"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySubtitle": { "alias": "emptySubtitle"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorSubtitle": { "alias": "errorSubtitle"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "status": { "alias": "status"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "paginatorShowFirstButton": { "alias": "paginatorShowFirstButton"; "required": false; }; "paginatorShowLastButton": { "alias": "paginatorShowLastButton"; "required": false; }; "paginatorRenderButtonsNumber": { "alias": "paginatorRenderButtonsNumber"; "required": false; }; "paginatorHideDefaultArrows": { "alias": "paginatorHideDefaultArrows"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "filterControl": { "alias": "filterControl"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "retry": "retry"; "onChangePage": "onChangePage"; "onSortChange": "onSortChange"; "selectedRows": "selectedRows"; "rowClick": "rowClick"; }, ["projectedCells"], never, true, never>;
2167
2208
  }
2168
2209
 
2169
2210
  interface Candidate {
@@ -2319,7 +2360,11 @@ declare abstract class ReportGroupProfileContent {
2319
2360
  readonly palette: i0.InputSignal<MapaReportPalette>;
2320
2361
  readonly showAverage: i0.InputSignal<boolean>;
2321
2362
  readonly showLegend: i0.InputSignal<boolean>;
2322
- /** Overrides the legend derived from the slice classifications. */
2363
+ /**
2364
+ * Replaces the legend derived from the slice classifications. Pass the
2365
+ * GenerateReport captions in the order they were returned: that order is
2366
+ * kept, and captions no slice draws are left out.
2367
+ */
2323
2368
  readonly legend: i0.InputSignal<MapaReportLegendItem[] | undefined>;
2324
2369
  /** Overrides the caption above each pill; defaults to the i18n text. */
2325
2370
  readonly distributionLabel: i0.InputSignal<string | undefined>;
@@ -2333,8 +2378,19 @@ declare abstract class ReportGroupProfileContent {
2333
2378
  /** The track only takes whole percentages; the caption keeps the precision. */
2334
2379
  protected readonly averageText: i0.Signal<string>;
2335
2380
  protected readonly legendItems: i0.Signal<MapaReportLegendItem[]>;
2381
+ /**
2382
+ * Keeps the caller's order (the captions returned by GenerateReport) and
2383
+ * drops what no slice draws. If nothing matches, the slices carry no
2384
+ * identity the captions can be matched against, so the list stays whole.
2385
+ */
2386
+ private drawnCaptions;
2387
+ private captionMatches;
2336
2388
  /** Zero-width slices would still cost a pill seam, so they are dropped. */
2337
2389
  protected slices(dimension: MapaReportGroupProfileDimension): MapaReportGroupProfileSlice[];
2390
+ private legacyOrder;
2391
+ private sliceOrder;
2392
+ private itemOrder;
2393
+ protected sliceForeground(slice: MapaReportGroupProfileSlice): string;
2338
2394
  protected width(slice: MapaReportGroupProfileSlice): number;
2339
2395
  protected sliceColor(slice: MapaReportGroupProfileSlice): string;
2340
2396
  protected sliceLabel(slice: MapaReportGroupProfileSlice): string;
@@ -2353,7 +2409,21 @@ declare abstract class ReportGroupProfileContent {
2353
2409
  declare class MapaReportGroupProfileWidgetComponent extends ReportGroupProfileContent {
2354
2410
  readonly heading: i0.InputSignal<MapaReportHeading | undefined>;
2355
2411
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportGroupProfileWidgetComponent, never>;
2356
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportGroupProfileWidgetComponent, "mapa-report-group-profile-widget", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; }, {}, never, ["[mapaReportGroupProfileFilters]"], true, never>;
2412
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportGroupProfileWidgetComponent, "mapa-report-group-profile-widget", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; }, {}, never, ["[mapaReportGroupProfileAction]", "[mapaReportGroupProfileFilters]"], true, never>;
2413
+ }
2414
+
2415
+ /** Full profile, using exactly the same scales and distribution as the summary. */
2416
+ declare class MapaReportGroupProfileDetailComponent {
2417
+ readonly profiles: i0.InputSignal<MapaReportGroupProfileData[]>;
2418
+ readonly heading: i0.InputSignal<MapaReportHeading | undefined>;
2419
+ readonly palette: i0.InputSignal<MapaReportPalette>;
2420
+ readonly showAverage: i0.InputSignal<boolean>;
2421
+ readonly averageAppearance: i0.InputSignal<"rounded" | "stepped">;
2422
+ readonly exportLabel: i0.InputSignal<string | undefined>;
2423
+ readonly exporting: i0.InputSignal<boolean>;
2424
+ readonly exportRequested: i0.OutputEmitterRef<void>;
2425
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportGroupProfileDetailComponent, never>;
2426
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportGroupProfileDetailComponent, "mapa-report-group-profile-detail", never, { "profiles": { "alias": "profiles"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "showAverage": { "alias": "showAverage"; "required": false; "isSignal": true; }; "averageAppearance": { "alias": "averageAppearance"; "required": false; "isSignal": true; }; "exportLabel": { "alias": "exportLabel"; "required": false; "isSignal": true; }; "exporting": { "alias": "exporting"; "required": false; "isSignal": true; }; }, { "exportRequested": "exportRequested"; }, never, ["[mapaReportGroupProfileReading]"], true, never>;
2357
2427
  }
2358
2428
 
2359
2429
  /** Reusable average content, without filters or widget heading. */
@@ -2474,22 +2544,15 @@ declare class MapaReportScaleWidgetDetailedComponent extends ReportScaleContent
2474
2544
 
2475
2545
  declare abstract class ReportSocioemotionalContent {
2476
2546
  protected readonly i18n: MapaI18nService;
2477
- protected readonly gaugeSegments: {
2478
- index: number;
2479
- x1: number;
2480
- y1: number;
2481
- x2: number;
2482
- y2: number;
2483
- }[];
2484
2547
  readonly data: i0.InputSignal<MapaReportSocioemotionalData>;
2485
2548
  readonly palette: i0.InputSignal<MapaReportPalette>;
2486
2549
  protected clamp(value?: number): number;
2487
- protected activeSegmentCount(value?: number): number;
2488
2550
  protected classificationLabel(classification?: Classification$1): string;
2489
2551
  protected directionArrow(direction?: 'positive' | 'negative'): string;
2490
2552
  protected skillHeadingLabel(name: string, direction?: 'positive' | 'negative'): string;
2491
2553
  protected vulnerabilityDimensions(scale: MapaReportScale): MapaReportDimension[];
2492
2554
  protected gaugeColor(classification?: Classification$1): string;
2555
+ protected gaugeClassification(classification?: Classification$1): Classification$1;
2493
2556
  protected gaugeValueText(value: number | undefined, classification?: Classification$1): string;
2494
2557
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportSocioemotionalContent, never>;
2495
2558
  static ɵdir: i0.ɵɵDirectiveDeclaration<ReportSocioemotionalContent, never, never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -2582,7 +2645,7 @@ declare abstract class ReportParameterizationContent {
2582
2645
  readonly data: i0.InputSignal<MapaReportParameterizationData>;
2583
2646
  readonly palette: i0.InputSignal<MapaReportPalette>;
2584
2647
  protected readonly metadata: i0.Signal<mapa_library_ui.MapaReportMetadata[]>;
2585
- /** Classificação final do resultado: tag neutra logo abaixo do nome da parametrização. */
2648
+ /** Classificação final do resultado, com a cor configurada na parametrização. */
2586
2649
  protected readonly finalClassification: i0.Signal<mapa_library_ui.MapaReportFinalClassification | null>;
2587
2650
  /**
2588
2651
  * O resumo mostra o valor por grupo; seções sem agrupamento (sem nota de
@@ -2643,8 +2706,18 @@ declare class MapaReportRankingTableWidgetComponent {
2643
2706
  readonly views: i0.InputSignal<MapaReportRankingView[]>;
2644
2707
  /** Id of the active view; two-way so the host can drive or observe it. */
2645
2708
  readonly view: i0.ModelSignal<string | undefined>;
2709
+ /**
2710
+ * Optional second switch, shown before the views switch (e.g. scales /
2711
+ * factors). The host rebuilds `views` when the active level changes.
2712
+ */
2713
+ readonly levels: i0.InputSignal<MapaReportRankingLevel[]>;
2714
+ /** Id of the active level; two-way so the host can drive or observe it. */
2715
+ readonly level: i0.ModelSignal<string | undefined>;
2716
+ /** Accessible name of the level switch. */
2717
+ readonly levelsLabel: i0.InputSignal<string | undefined>;
2646
2718
  readonly palette: i0.InputSignal<MapaReportPalette>;
2647
2719
  readonly showAverage: i0.InputSignal<boolean>;
2720
+ readonly cellDisplay: i0.InputSignal<"classification" | "classified-value">;
2648
2721
  /** Header of the first column, per view id. Falls back to the view label. */
2649
2722
  readonly entryColumnLabel: i0.InputSignal<string | undefined>;
2650
2723
  /** Footnote under the table. */
@@ -2657,13 +2730,16 @@ declare class MapaReportRankingTableWidgetComponent {
2657
2730
  protected readonly sort: i0.WritableSignal<DataTableSortChange>;
2658
2731
  protected readonly visibleViews: i0.Signal<MapaReportRankingView[]>;
2659
2732
  protected readonly activeView: i0.Signal<MapaReportRankingView | undefined>;
2733
+ protected readonly activeLevel: i0.Signal<string | undefined>;
2660
2734
  protected selectView(id: string): void;
2735
+ protected selectLevel(id: string): void;
2661
2736
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportRankingTableWidgetComponent, never>;
2662
- 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; }; "exportLabel": { "alias": "exportLabel"; "required": false; "isSignal": true; }; "exporting": { "alias": "exporting"; "required": false; "isSignal": true; }; }, { "view": "viewChange"; "exportRequested": "exportRequested"; }, never, ["[mapaReportRankingLegend]"], true, never>;
2737
+ 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; }; "levels": { "alias": "levels"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "levelsLabel": { "alias": "levelsLabel"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "showAverage": { "alias": "showAverage"; "required": false; "isSignal": true; }; "cellDisplay": { "alias": "cellDisplay"; "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; }; "exportLabel": { "alias": "exportLabel"; "required": false; "isSignal": true; }; "exporting": { "alias": "exporting"; "required": false; "isSignal": true; }; }, { "view": "viewChange"; "level": "levelChange"; "exportRequested": "exportRequested"; }, never, ["[mapaReportRankingLegend]", "[mapaReportRankingFooter]"], true, never>;
2663
2738
  }
2664
2739
 
2665
2740
  interface RankingRow extends Record<string, unknown> {
2666
2741
  name: string;
2742
+ color?: string;
2667
2743
  description?: string;
2668
2744
  average?: number;
2669
2745
  }
@@ -2672,6 +2748,7 @@ declare class MapaReportRankingTableContentComponent {
2672
2748
  protected readonly i18n: MapaI18nService;
2673
2749
  readonly palette: i0.InputSignal<MapaReportPalette>;
2674
2750
  readonly showAverage: i0.InputSignal<boolean>;
2751
+ readonly cellDisplay: i0.InputSignal<"classification" | "classified-value">;
2675
2752
  /** Header of the entry column. */
2676
2753
  readonly entryColumnLabel: i0.InputSignal<string | undefined>;
2677
2754
  /** Footnote under the table. */
@@ -2704,7 +2781,7 @@ declare class MapaReportRankingTableContentComponent {
2704
2781
  readonly entries: i0.InputSignal<MapaReportRankingEntry[]>;
2705
2782
  readonly caption: i0.InputSignal<string>;
2706
2783
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportRankingTableContentComponent, never>;
2707
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportRankingTableContentComponent, "mapa-report-ranking-table-content", never, { "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; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "entries": { "alias": "entries"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, never, true, never>;
2784
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportRankingTableContentComponent, "mapa-report-ranking-table-content", never, { "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "showAverage": { "alias": "showAverage"; "required": false; "isSignal": true; }; "cellDisplay": { "alias": "cellDisplay"; "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; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; "entries": { "alias": "entries"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, never, true, never>;
2708
2785
  }
2709
2786
 
2710
2787
  type MapaResultTrackAppearance = 'rounded' | 'segmented' | 'stepped';
@@ -2978,5 +3055,5 @@ declare class MapaScaleParameterizationComponent {
2978
3055
  static ɵcmp: i0.ɵɵComponentDeclaration<MapaScaleParameterizationComponent, "mapa-scale-parameterization", never, { "data": { "alias": "data"; "required": false; }; "showProgressbar": { "alias": "showProgressbar"; "required": false; }; "showInterval": { "alias": "showInterval"; "required": false; }; "showDots": { "alias": "showDots"; "required": false; }; }, {}, never, never, true, never>;
2979
3056
  }
2980
3057
 
2981
- export { AIH_ESTADOS, AIH_TIPOS, BubblePaginationDirective, ButtonComponent, ButtonIconComponent, CEPRange, CID_NAME, CID_REGEX, CORES, CPFPipe, CapabilityClassificationService, CheckboxComponent, Datepicker, DatepickerRange, Dropdown, DropdownTree, ESTADOS, ESTADOS_SIGLA, ElementBase, FiltersComponent, HtmlSanitizerService, IPTUCREATE, IPTUMASKS, IPTUVALIDATE, IconComponent, InputText, LOCALIZACAO_BAIRROS, LOCALIZACAO_CIDADES, LOCALIZACAO_COMPLEMENTOS, LOCALIZACAO_ESTADOS, LOCALIZACAO_LOGRADOUROS, LOCALIZACAO_RUAS, LocaleDatePipe, LocaleDateTimePipe, MAPA_UI_TEXTS, MASKSIE, MapaBenchmarkChartComponent, MapaBenchmarkIndicatorComponent, MapaBreadcrumbComponent, MapaCapabilityComparativeChartComponent, MapaCapabilityComparativeComponent, MapaCapabilityComparativeHeaderComponent, MapaCapabilityDetailComponent, MapaCapabilityDotComponent, MapaCapabilityExpandComponent, MapaCapabilityIndicatorChartComponent, MapaCapabilityIndicatorComponent, MapaCapabilityIndicatorListComponent, MapaCapabilityIntervalBarComponent, MapaCapabilityIntervalComponent, MapaChartComponent, MapaClassificationTagComponent, MapaConclusionCardComponent, MapaDateLocaleService, MapaDatepicker, MapaDatepicker as MapaDatepickerRange, MapaDetailsComponent, MapaDialogComponent, MapaDropdownComponent, MapaDropdownTreeComponent, MapaEmptyStateComponent, MapaFormComponent, MapaFormErrorsComponent, MapaGroupReportComponent, MapaI18nService, MapaInputComponent, MapaMaskAutofillSyncDirective, MapaMenuComponent, MapaNavListComponent, MapaProgressbarComponent, MapaReportGroupProfileWidgetAverageComponent, MapaReportGroupProfileWidgetComponent, MapaReportGroupProfileWidgetDistributionComponent, MapaReportIndicatorsWidgetChartComponent, MapaReportIndicatorsWidgetComponent, MapaReportIndicatorsWidgetDetailedComponent, MapaReportIndicatorsWidgetListComponent, MapaReportLegendComponent, MapaReportParameterizationWidgetComponent, MapaReportParameterizationWidgetDetailedComponent, MapaReportParameterizationWidgetOverviewComponent, MapaReportParameterizationWidgetRankingComponent, MapaReportParameterizationWidgetSummarizedComponent, MapaReportPointsWidgetComponent, MapaReportPointsWidgetDetailedComponent, MapaReportPointsWidgetSummarizedComponent, MapaReportPsychosocialWidgetComponent, MapaReportPsychosocialWidgetFactorsComponent, MapaReportPsychosocialWidgetGlobalComponent, MapaReportRankingTableContentComponent, MapaReportRankingTableWidgetComponent, MapaReportScaleWidgetComponent, MapaReportScaleWidgetDetailedComponent, MapaReportScaleWidgetSummarizedComponent, MapaReportSocioemotionalWidgetCompetenciesComponent, MapaReportSocioemotionalWidgetComponent, MapaReportSocioemotionalWidgetVulnerabilitiesComponent, MapaResultTrackComponent, MapaScaleComponent, MapaScaleParameterizationComponent, MapaSvgIconComponent, MapaTableCellDirective, MapaTableComponent, MapaTextareaComponent, MapaTooltipComponent, MapaTooltipDirective, MapaWarningComponent, MatInputAutosizeDirective, PLACAS_INVALID, PLACAS_RANGE, RadioButton, RadioButtonComponent, ReportItemComponent, SafeHtmlPipe, SlideToggle, SlideToggleComponent, TagComponent, Textarea, ValidationMessageResolverService, addDays, addMonthsToDateValue, allNumbersAreSame, buildDetailedIndicatorSections, buildIndicatorCollections, cep_ranges, create_aih, create_cartaocredito, create_certidao, create_cnh, create_cnhespelho, create_cnpj, create_cns, create_cpf, create_ect, create_iptu, create_iptu_ctba, create_iptu_sp, create_pispasep, create_processo, create_renachestadual, create_renachseguranca, create_renavam, create_titulo, create_titulo_atual, creditCardValidator, currencyToNumber, customPaginatorFactory, faker_iptu, fillString, formatBrazilianDate, formatDateAsDayMonthYear, formatDateAsMonthDayYear, formatDateByLanguage, formatDateForLocale, formatDateTimeByLanguage, formatDateValue, formatLocaleDate, formatLocaleDateTime, generateInscricaoEstadual, getActiveDateFormat, getActiveDateLocale, getAllDigits, getAllWords, getDateFormatByLanguage, getDateInputMask, getDateTimeFormatByLanguage, getDayOfMonthFromDateValue, getDefaultDateRange, getRelativeDateRange, getSpecialProperty, getYearFromDateValue, isAfterDateValue, isArray, isDateValue, isMonthFirstDateLocale, isNil, isNumber, isPresent, isString, isValidDateByLanguage, isValidDateValue, makeGenericFaker, maskBr, mask_iptu, mergeMapaUiTexts, modulo11, modulo11Custom, modulo11a, normalizeDateInput, normalizeDateLocale, normalizeLookup, normalizeText, numberToCurrency, openDialog, parseBrazilianDate, parseDateByLanguage, parseDateFieldValue, parseDateValue, parseDateValueFns, parseLocaleDateValue, processCaretTraps, provideMapaUiTexts, rand, randArray, randomEstadoSigla, randomLetter, randomLetterOrNumber, randomNumber, reformatDateStringForLanguage, rg_rj, rg_sp, sanitizeHtmlContent, setTimeOnDateValue, slugify, toDatepickerLocale, toIsoDateByLanguage, toIsoDateByLanguageWithUtcTime, toIsoDateValue, toIsoDateValueWithTime, toIsoDateValueWithUtcTime, toUtcDayExclusiveEndIso, toUtcRangeEndIso, toUtcRangeStartIso, utilsBr, validateBr, validate_aih, validate_cartaocredito, validate_celular, validate_cep, validate_certidao, validate_chassi, validate_cnh, validate_cnhespelho, validate_cnpj, validate_cns, validate_cpf, validate_currency, validate_datahora, validate_datetime, validate_ect, validate_inscricaoestadual, validate_iptu, validate_iptu_contagem, validate_iptu_ctba, validate_iptu_sp, validate_number, validate_pispasep, validate_placa, validate_porcentagem, validate_processo, validate_renachestadual, validate_renachseguranca, validate_renavam, validate_rg, validate_sped, validate_telefone, validate_time, validate_titulo };
2982
- export type { ActionButton, Benchmark, BenchmarkMark, BenchmarkingChart, Classification as BenchmarkingClassification, BigObject, Breadpiece, ButtonIcon, Candidate, Capability, CapabilityClassification, CapabilityComparative, CapabilityItem, ChartOptions, Classification$1 as Classification, Competence$1 as Competence, DataNode, DataTableAlignment, DataTableColumn, DataTablePageChange, DataTableSelectionChange, DataTableSortChange, DataTableSortDirection, DateFormatPattern, DateInput$1 as DateInput, DateTimeFormatPattern, DatepickerLocale, DatepickerMode, DatepickerOptions, DatepickerPreset, DetailedIndicatorItem, DetailedIndicatorSection, DialogData, Dimension$1 as Dimension, ElementOption, ElementSearch, ElementTreeNode, Errors, EstadosType, EvaluationBenchmarkResult, Dimension$2 as GroupReportDimension, GroupReportItem, IndicatorCollectionOptions, IndicatorCollections, Indicators, LocaleDateStyle, LowReliabilityReport, MapaConclusionCardData, MapaConclusionCardVariant, MapaConclusionMetadata, MapaDateFormat, MapaDateLocale, MapaDatepickerControlValue, MapaDatepickerPresetEntry, MapaDatepickerRangeComponent, MapaDatepickerRangeControlValue, MapaDatepickerRangeFormGroup, MapaDatepickerRangeValue, MapaReportDimension, MapaReportDirection, MapaReportFinalClassification, MapaReportGroupProfileData, MapaReportGroupProfileDimension, MapaReportGroupProfileSlice, MapaReportHeading, MapaReportIndicator, MapaReportIndicatorGroup, MapaReportIndicatorsViewMode, MapaReportLegendData, MapaReportLegendGroup, MapaReportLegendItem, MapaReportMetadata, MapaReportPalette, MapaReportParameterizationCompetence, MapaReportParameterizationData, MapaReportParameterizationSection, MapaReportParameterizationViewMode, MapaReportPointsData, MapaReportPointsViewMode, MapaReportPsychosocialData, MapaReportRankingDimension, MapaReportRankingEntry, MapaReportRankingView, MapaReportScale, MapaReportScaleGroup, MapaReportScaleViewMode, MapaReportSocioemotionalCompetence, MapaReportSocioemotionalData, MapaResultTrackAppearance, MapaResultTrackStyle, MapaTableCellContext, MapaUiTexts, MaskType, Masks, MasksIE, MenuActionEvent, MenuActionItem, MenuItem, ProgressBar$1 as ProgressBar, ReportItem, ReportItemMenuItem, RowClickEvent, Scale$1 as Scale, Competence as ScaleParameterizationCompetence, Dimension as ScaleParameterizationDimension, ProgressBar as ScaleParameterizationProgressBar, Scale as ScaleParameterizationScale, SelectedTableRow, Status, TableCellStyleClass, TableColumn, TableColumnStatus, TableEmptyState, TableRowData, TableStatus, Tag, ValidationMessageContext };
3058
+ export { AIH_ESTADOS, AIH_TIPOS, BubblePaginationDirective, ButtonComponent, ButtonIconComponent, CEPRange, CID_NAME, CID_REGEX, CORES, CPFPipe, CapabilityClassificationService, CheckboxComponent, Datepicker, DatepickerRange, Dropdown, DropdownTree, ESTADOS, ESTADOS_SIGLA, ElementBase, FiltersComponent, HtmlSanitizerService, IPTUCREATE, IPTUMASKS, IPTUVALIDATE, IconComponent, InputText, LOCALIZACAO_BAIRROS, LOCALIZACAO_CIDADES, LOCALIZACAO_COMPLEMENTOS, LOCALIZACAO_ESTADOS, LOCALIZACAO_LOGRADOUROS, LOCALIZACAO_RUAS, LocaleDatePipe, LocaleDateTimePipe, MAPA_UI_TEXTS, MASKSIE, MapaBenchmarkChartComponent, MapaBenchmarkIndicatorComponent, MapaBreadcrumbComponent, MapaCapabilityComparativeChartComponent, MapaCapabilityComparativeComponent, MapaCapabilityComparativeHeaderComponent, MapaCapabilityDetailComponent, MapaCapabilityDotComponent, MapaCapabilityExpandComponent, MapaCapabilityIndicatorChartComponent, MapaCapabilityIndicatorComponent, MapaCapabilityIndicatorListComponent, MapaCapabilityIntervalBarComponent, MapaCapabilityIntervalComponent, MapaChartComponent, MapaClassificationTagComponent, MapaConclusionCardComponent, MapaDateLocaleService, MapaDatepicker, MapaDatepicker as MapaDatepickerRange, MapaDetailsComponent, MapaDialogComponent, MapaDropdownComponent, MapaDropdownTreeComponent, MapaEmptyStateComponent, MapaFormComponent, MapaFormErrorsComponent, MapaGroupReportComponent, MapaI18nService, MapaInputComponent, MapaMaskAutofillSyncDirective, MapaMenuComponent, MapaNavListComponent, MapaProgressbarComponent, MapaReportGroupProfileDetailComponent, MapaReportGroupProfileWidgetAverageComponent, MapaReportGroupProfileWidgetComponent, MapaReportGroupProfileWidgetDistributionComponent, MapaReportIndicatorsWidgetChartComponent, MapaReportIndicatorsWidgetComponent, MapaReportIndicatorsWidgetDetailedComponent, MapaReportIndicatorsWidgetListComponent, MapaReportLegendComponent, MapaReportParameterizationWidgetComponent, MapaReportParameterizationWidgetDetailedComponent, MapaReportParameterizationWidgetOverviewComponent, MapaReportParameterizationWidgetRankingComponent, MapaReportParameterizationWidgetSummarizedComponent, MapaReportPointsWidgetComponent, MapaReportPointsWidgetDetailedComponent, MapaReportPointsWidgetSummarizedComponent, MapaReportPsychosocialWidgetComponent, MapaReportPsychosocialWidgetFactorsComponent, MapaReportPsychosocialWidgetGlobalComponent, MapaReportRankingTableContentComponent, MapaReportRankingTableWidgetComponent, MapaReportScaleWidgetComponent, MapaReportScaleWidgetDetailedComponent, MapaReportScaleWidgetSummarizedComponent, MapaReportSocioemotionalWidgetCompetenciesComponent, MapaReportSocioemotionalWidgetComponent, MapaReportSocioemotionalWidgetVulnerabilitiesComponent, MapaResultTrackComponent, MapaScaleComponent, MapaScaleParameterizationComponent, MapaSvgIconComponent, MapaTableCellDirective, MapaTableComponent, MapaTextareaComponent, MapaTooltipComponent, MapaTooltipDirective, MapaWarningComponent, MatInputAutosizeDirective, PLACAS_INVALID, PLACAS_RANGE, RadioButton, RadioButtonComponent, ReportItemComponent, SafeHtmlPipe, SlideToggle, SlideToggleComponent, TagComponent, Textarea, ValidationMessageResolverService, addDays, addMonthsToDateValue, allNumbersAreSame, buildDetailedIndicatorSections, buildIndicatorCollections, cep_ranges, create_aih, create_cartaocredito, create_certidao, create_cnh, create_cnhespelho, create_cnpj, create_cns, create_cpf, create_ect, create_iptu, create_iptu_ctba, create_iptu_sp, create_pispasep, create_processo, create_renachestadual, create_renachseguranca, create_renavam, create_titulo, create_titulo_atual, creditCardValidator, currencyToNumber, customPaginatorFactory, faker_iptu, fillString, formatBrazilianDate, formatDateAsDayMonthYear, formatDateAsMonthDayYear, formatDateByLanguage, formatDateForLocale, formatDateTimeByLanguage, formatDateValue, formatLocaleDate, formatLocaleDateTime, generateInscricaoEstadual, getActiveDateFormat, getActiveDateLocale, getAllDigits, getAllWords, getDateFormatByLanguage, getDateInputMask, getDateTimeFormatByLanguage, getDayOfMonthFromDateValue, getDefaultDateRange, getRelativeDateRange, getSpecialProperty, getYearFromDateValue, isAfterDateValue, isArray, isDateValue, isMonthFirstDateLocale, isNil, isNumber, isPresent, isString, isValidDateByLanguage, isValidDateValue, makeGenericFaker, maskBr, mask_iptu, mergeMapaUiTexts, modulo11, modulo11Custom, modulo11a, normalizeDateInput, normalizeDateLocale, normalizeLookup, normalizeText, numberToCurrency, openDialog, parseBrazilianDate, parseDateByLanguage, parseDateFieldValue, parseDateValue, parseDateValueFns, parseLocaleDateValue, processCaretTraps, provideMapaUiTexts, rand, randArray, randomEstadoSigla, randomLetter, randomLetterOrNumber, randomNumber, reformatDateStringForLanguage, rg_rj, rg_sp, sanitizeHtmlContent, setTimeOnDateValue, slugify, toDatepickerLocale, toIsoDateByLanguage, toIsoDateByLanguageWithUtcTime, toIsoDateValue, toIsoDateValueWithTime, toIsoDateValueWithUtcTime, toUtcDayExclusiveEndIso, toUtcRangeEndIso, toUtcRangeStartIso, utilsBr, validateBr, validate_aih, validate_cartaocredito, validate_celular, validate_cep, validate_certidao, validate_chassi, validate_cnh, validate_cnhespelho, validate_cnpj, validate_cns, validate_cpf, validate_currency, validate_datahora, validate_datetime, validate_ect, validate_inscricaoestadual, validate_iptu, validate_iptu_contagem, validate_iptu_ctba, validate_iptu_sp, validate_number, validate_pispasep, validate_placa, validate_porcentagem, validate_processo, validate_renachestadual, validate_renachseguranca, validate_renavam, validate_rg, validate_sped, validate_telefone, validate_time, validate_titulo };
3059
+ export type { ActionButton, Benchmark, BenchmarkMark, BenchmarkingChart, Classification as BenchmarkingClassification, BigObject, Breadpiece, ButtonIcon, Candidate, Capability, CapabilityClassification, CapabilityComparative, CapabilityItem, ChartOptions, Classification$1 as Classification, Competence$1 as Competence, DataNode, DataTableAlignment, DataTableColumn, DataTablePageChange, DataTableSelectionChange, DataTableSortChange, DataTableSortDirection, DateFormatPattern, DateInput$1 as DateInput, DateTimeFormatPattern, DatepickerLocale, DatepickerMode, DatepickerOptions, DatepickerPreset, DetailedIndicatorItem, DetailedIndicatorSection, DialogData, Dimension$1 as Dimension, ElementOption, ElementSearch, ElementTreeNode, Errors, EstadosType, EvaluationBenchmarkResult, Dimension$2 as GroupReportDimension, GroupReportItem, IndicatorCollectionOptions, IndicatorCollections, Indicators, LocaleDateStyle, LowReliabilityReport, MapaConclusionCardData, MapaConclusionCardVariant, MapaConclusionMetadata, MapaDateFormat, MapaDateLocale, MapaDatepickerControlValue, MapaDatepickerPresetEntry, MapaDatepickerRangeComponent, MapaDatepickerRangeControlValue, MapaDatepickerRangeFormGroup, MapaDatepickerRangeValue, MapaReportDimension, MapaReportDirection, MapaReportFinalClassification, MapaReportGroupProfileData, MapaReportGroupProfileDimension, MapaReportGroupProfileSlice, MapaReportHeading, MapaReportIndicator, MapaReportIndicatorGroup, MapaReportIndicatorsViewMode, MapaReportLegendData, MapaReportLegendGroup, MapaReportLegendItem, MapaReportMetadata, MapaReportPalette, MapaReportParameterizationCompetence, MapaReportParameterizationData, MapaReportParameterizationSection, MapaReportParameterizationViewMode, MapaReportPointsData, MapaReportPointsViewMode, MapaReportPsychosocialData, MapaReportRankingDimension, MapaReportRankingEntry, MapaReportRankingLevel, MapaReportRankingView, MapaReportScale, MapaReportScaleGroup, MapaReportScaleViewMode, MapaReportSocioemotionalCompetence, MapaReportSocioemotionalData, MapaResultTrackAppearance, MapaResultTrackStyle, MapaTableCellContext, MapaUiTexts, MaskType, Masks, MasksIE, MenuActionEvent, MenuActionItem, MenuItem, ProgressBar$1 as ProgressBar, ReportItem, ReportItemMenuItem, RowClickEvent, Scale$1 as Scale, Competence as ScaleParameterizationCompetence, Dimension as ScaleParameterizationDimension, ProgressBar as ScaleParameterizationProgressBar, Scale as ScaleParameterizationScale, SelectedTableRow, Status, TableCellStyleClass, TableColumn, TableColumnStatus, TableEmptyState, TableRowData, TableStatus, Tag, ValidationMessageContext };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "2.9.0",
3
+ "version": "2.11.0",
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.4.0",
14
+ "mapa-frontend-i18n": "^2.8.0",
15
15
  "ng-apexcharts": "^2.3.0",
16
16
  "ngx-mask": "^20.0.3",
17
17
  "ngx-mat-select-search": "^8.0.4",
@@ -32,6 +32,8 @@ interface TableColumn {
32
32
  align?: string;
33
33
  class?: string;
34
34
  classification?: Classification;
35
+ /** Semantic direction, independent of the sorting indicator. */
36
+ headerDirection?: 'positive' | 'negative';
35
37
  }
36
38
 
37
39
  type DataTableSortDirection = SortDirection;
@@ -144,6 +144,8 @@ interface TableColumn {
144
144
  align?: string;
145
145
  class?: string;
146
146
  classification?: Classification;
147
+ /** Semantic direction, independent of the sorting indicator. */
148
+ headerDirection?: 'positive' | 'negative';
147
149
  }
148
150
 
149
151
  interface MenuItem extends MenuActionItem {
@@ -180,6 +182,8 @@ declare class MapaTableComponent {
180
182
  data: readonly unknown[];
181
183
  rowKey: string;
182
184
  caption: string;
185
+ responsiveLayout: 'cards' | 'scroll';
186
+ stickyFirstColumn: boolean;
183
187
  selectable?: boolean;
184
188
  showSelectAll: boolean;
185
189
  selectedKeys?: readonly string[];
@@ -242,6 +246,15 @@ declare class MapaTableComponent {
242
246
  private filterValue;
243
247
  private observedFilter?;
244
248
  private filterSubscription?;
249
+ private readonly tableFrame;
250
+ private resizeObserver?;
251
+ private observedFrame?;
252
+ private observedTable?;
253
+ protected horizontalOverflow: boolean;
254
+ constructor();
255
+ private observeOverflow;
256
+ private measureOverflow;
257
+ protected headerDirectionLabel(column: TableColumn): string;
245
258
  protected get texts(): mapa_frontend_i18n.MapaUiTextGroups;
246
259
  protected get visibleData(): readonly unknown[];
247
260
  protected get isSelectable(): boolean;
@@ -302,7 +315,7 @@ declare class MapaTableComponent {
302
315
  private asRow;
303
316
  private isInteractiveTarget;
304
317
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaTableComponent, never>;
305
- static ɵcmp: i0.ɵɵComponentDeclaration<MapaTableComponent, "mapa-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rowKey": { "alias": "rowKey"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "selectionLabelKey": { "alias": "selectionLabelKey"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "finished": { "alias": "finished"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySubtitle": { "alias": "emptySubtitle"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorSubtitle": { "alias": "errorSubtitle"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "status": { "alias": "status"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "paginatorShowFirstButton": { "alias": "paginatorShowFirstButton"; "required": false; }; "paginatorShowLastButton": { "alias": "paginatorShowLastButton"; "required": false; }; "paginatorRenderButtonsNumber": { "alias": "paginatorRenderButtonsNumber"; "required": false; }; "paginatorHideDefaultArrows": { "alias": "paginatorHideDefaultArrows"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "filterControl": { "alias": "filterControl"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "retry": "retry"; "onChangePage": "onChangePage"; "onSortChange": "onSortChange"; "selectedRows": "selectedRows"; "rowClick": "rowClick"; }, ["projectedCells"], never, true, never>;
318
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaTableComponent, "mapa-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rowKey": { "alias": "rowKey"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "responsiveLayout": { "alias": "responsiveLayout"; "required": false; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectedKeys": { "alias": "selectedKeys"; "required": false; }; "selectionLabelKey": { "alias": "selectionLabelKey"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "finished": { "alias": "finished"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySubtitle": { "alias": "emptySubtitle"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorSubtitle": { "alias": "errorSubtitle"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "status": { "alias": "status"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "paginatorShowFirstButton": { "alias": "paginatorShowFirstButton"; "required": false; }; "paginatorShowLastButton": { "alias": "paginatorShowLastButton"; "required": false; }; "paginatorRenderButtonsNumber": { "alias": "paginatorRenderButtonsNumber"; "required": false; }; "paginatorHideDefaultArrows": { "alias": "paginatorHideDefaultArrows"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "filterControl": { "alias": "filterControl"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "retry": "retry"; "onChangePage": "onChangePage"; "onSortChange": "onSortChange"; "selectedRows": "selectedRows"; "rowClick": "rowClick"; }, ["projectedCells"], never, true, never>;
306
319
  }
307
320
 
308
321
  export { BubblePaginationDirective, MapaTableCellDirective, MapaTableComponent, customPaginatorFactory };
Binary file