mapa-library-ui 2.8.0 → 2.10.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.
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs +64 -9
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +63 -8
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +14 -2
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
- package/fesm2022/mapa-library-ui.mjs +296 -156
- package/fesm2022/mapa-library-ui.mjs.map +1 -1
- package/index.d.ts +67 -15
- package/mapa-library-ui-2.10.0.tgz +0 -0
- package/package.json +2 -2
- package/src/lib/components/group-report/index.d.ts +2 -0
- package/src/lib/components/table/index.d.ts +14 -1
- package/mapa-library-ui-2.8.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. */
|
|
@@ -432,10 +434,17 @@ interface MapaReportRankingDimension {
|
|
|
432
434
|
id?: string | number;
|
|
433
435
|
name: string;
|
|
434
436
|
value?: number | string;
|
|
437
|
+
/**
|
|
438
|
+
* Suffix printed after `value` (e.g. `%`). Keeps `value` numeric so the
|
|
439
|
+
* column still sorts numerically.
|
|
440
|
+
*/
|
|
441
|
+
unit?: string;
|
|
435
442
|
direction?: MapaReportDirection;
|
|
436
443
|
classification?: Classification$1;
|
|
437
444
|
}
|
|
438
445
|
interface MapaReportRankingEntry {
|
|
446
|
+
/** Presentation only; independent of classification colours. */
|
|
447
|
+
color?: string;
|
|
439
448
|
id?: string | number;
|
|
440
449
|
name: string;
|
|
441
450
|
/** Secondary line under the name — CPF, participant count, unit… */
|
|
@@ -474,6 +483,8 @@ interface TableColumn {
|
|
|
474
483
|
align?: string;
|
|
475
484
|
class?: string;
|
|
476
485
|
classification?: Classification$1;
|
|
486
|
+
/** Semantic direction, independent of the sorting indicator. */
|
|
487
|
+
headerDirection?: 'positive' | 'negative';
|
|
477
488
|
}
|
|
478
489
|
|
|
479
490
|
interface TableEmptyState {
|
|
@@ -652,6 +663,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
|
|
|
652
663
|
viewModeLabel: string;
|
|
653
664
|
readingInformationTitle: string;
|
|
654
665
|
dimensionTitle: string;
|
|
666
|
+
indicatorTitle: string;
|
|
655
667
|
conceptTitle: string;
|
|
656
668
|
classificationTitle: string;
|
|
657
669
|
resultReadingTitle: string;
|
|
@@ -689,6 +701,16 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
|
|
|
689
701
|
meterLabel: (name: string, value: number) => string;
|
|
690
702
|
gaugeLabel: (name: string, value: number) => string;
|
|
691
703
|
itemCountLabel: (count: number) => string;
|
|
704
|
+
scaleCountLabel: (count: number) => string;
|
|
705
|
+
continueLabel: string;
|
|
706
|
+
newGroupTitle: string;
|
|
707
|
+
groupNameHint: string;
|
|
708
|
+
groupNameRequired: string;
|
|
709
|
+
groupPeopleRequired: string;
|
|
710
|
+
groupMinimumHint: string;
|
|
711
|
+
groupUnsavedHint: string;
|
|
712
|
+
groupSavedLabel: (name: string) => string;
|
|
713
|
+
groupCountLabel: (count: number, limit: number) => string;
|
|
692
714
|
}>;
|
|
693
715
|
paginator: Partial<{
|
|
694
716
|
itemsPerPage: string;
|
|
@@ -709,6 +731,7 @@ declare const MAPA_UI_TEXTS: InjectionToken<Partial<{
|
|
|
709
731
|
selectAllVisible: string;
|
|
710
732
|
selectionColumn: string;
|
|
711
733
|
selectRow: string;
|
|
734
|
+
horizontalScrollHint: string;
|
|
712
735
|
selectNamedRow: (item: string) => string;
|
|
713
736
|
}>;
|
|
714
737
|
validation: Partial<{
|
|
@@ -1398,13 +1421,15 @@ declare class MapaClassificationTagComponent {
|
|
|
1398
1421
|
readonly casing: i0.InputSignal<TagCasing>;
|
|
1399
1422
|
/** Shown when there is no classification; defaults to the i18n text. */
|
|
1400
1423
|
readonly fallbackLabel: i0.InputSignal<string | undefined>;
|
|
1424
|
+
/** Visible value override; the original classification remains accessible. */
|
|
1425
|
+
readonly valueLabel: i0.InputSignal<string | undefined>;
|
|
1401
1426
|
protected readonly label: i0.Signal<string>;
|
|
1402
1427
|
protected readonly background: i0.Signal<string>;
|
|
1403
1428
|
protected readonly foreground: i0.Signal<string>;
|
|
1404
1429
|
protected readonly border: i0.Signal<string>;
|
|
1405
1430
|
protected readonly usesNaturalCasing: i0.Signal<boolean>;
|
|
1406
1431
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapaClassificationTagComponent, never>;
|
|
1407
|
-
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>;
|
|
1432
|
+
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>;
|
|
1408
1433
|
}
|
|
1409
1434
|
|
|
1410
1435
|
declare class ButtonIconComponent implements OnInit, OnChanges {
|
|
@@ -2036,6 +2061,8 @@ declare class MapaTableComponent {
|
|
|
2036
2061
|
data: readonly unknown[];
|
|
2037
2062
|
rowKey: string;
|
|
2038
2063
|
caption: string;
|
|
2064
|
+
responsiveLayout: 'cards' | 'scroll';
|
|
2065
|
+
stickyFirstColumn: boolean;
|
|
2039
2066
|
selectable?: boolean;
|
|
2040
2067
|
showSelectAll: boolean;
|
|
2041
2068
|
selectedKeys?: readonly string[];
|
|
@@ -2098,6 +2125,15 @@ declare class MapaTableComponent {
|
|
|
2098
2125
|
private filterValue;
|
|
2099
2126
|
private observedFilter?;
|
|
2100
2127
|
private filterSubscription?;
|
|
2128
|
+
private readonly tableFrame;
|
|
2129
|
+
private resizeObserver?;
|
|
2130
|
+
private observedFrame?;
|
|
2131
|
+
private observedTable?;
|
|
2132
|
+
protected horizontalOverflow: boolean;
|
|
2133
|
+
constructor();
|
|
2134
|
+
private observeOverflow;
|
|
2135
|
+
private measureOverflow;
|
|
2136
|
+
protected headerDirectionLabel(column: TableColumn): string;
|
|
2101
2137
|
protected get texts(): mapa_frontend_i18n.MapaUiTextGroups;
|
|
2102
2138
|
protected get visibleData(): readonly unknown[];
|
|
2103
2139
|
protected get isSelectable(): boolean;
|
|
@@ -2158,7 +2194,7 @@ declare class MapaTableComponent {
|
|
|
2158
2194
|
private asRow;
|
|
2159
2195
|
private isInteractiveTarget;
|
|
2160
2196
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapaTableComponent, never>;
|
|
2161
|
-
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>;
|
|
2197
|
+
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>;
|
|
2162
2198
|
}
|
|
2163
2199
|
|
|
2164
2200
|
interface Candidate {
|
|
@@ -2330,6 +2366,10 @@ declare abstract class ReportGroupProfileContent {
|
|
|
2330
2366
|
protected readonly legendItems: i0.Signal<MapaReportLegendItem[]>;
|
|
2331
2367
|
/** Zero-width slices would still cost a pill seam, so they are dropped. */
|
|
2332
2368
|
protected slices(dimension: MapaReportGroupProfileDimension): MapaReportGroupProfileSlice[];
|
|
2369
|
+
private legacyOrder;
|
|
2370
|
+
private sliceOrder;
|
|
2371
|
+
private itemOrder;
|
|
2372
|
+
protected sliceForeground(slice: MapaReportGroupProfileSlice): string;
|
|
2333
2373
|
protected width(slice: MapaReportGroupProfileSlice): number;
|
|
2334
2374
|
protected sliceColor(slice: MapaReportGroupProfileSlice): string;
|
|
2335
2375
|
protected sliceLabel(slice: MapaReportGroupProfileSlice): string;
|
|
@@ -2351,6 +2391,20 @@ declare class MapaReportGroupProfileWidgetComponent extends ReportGroupProfileCo
|
|
|
2351
2391
|
static ɵcmp: i0.ɵɵComponentDeclaration<MapaReportGroupProfileWidgetComponent, "mapa-report-group-profile-widget", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; }, {}, never, ["[mapaReportGroupProfileFilters]"], true, never>;
|
|
2352
2392
|
}
|
|
2353
2393
|
|
|
2394
|
+
/** Full profile, using exactly the same scales and distribution as the summary. */
|
|
2395
|
+
declare class MapaReportGroupProfileDetailComponent {
|
|
2396
|
+
readonly profiles: i0.InputSignal<MapaReportGroupProfileData[]>;
|
|
2397
|
+
readonly heading: i0.InputSignal<MapaReportHeading | undefined>;
|
|
2398
|
+
readonly palette: i0.InputSignal<MapaReportPalette>;
|
|
2399
|
+
readonly showAverage: i0.InputSignal<boolean>;
|
|
2400
|
+
readonly averageAppearance: i0.InputSignal<"rounded" | "stepped">;
|
|
2401
|
+
readonly exportLabel: i0.InputSignal<string | undefined>;
|
|
2402
|
+
readonly exporting: i0.InputSignal<boolean>;
|
|
2403
|
+
readonly exportRequested: i0.OutputEmitterRef<void>;
|
|
2404
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportGroupProfileDetailComponent, never>;
|
|
2405
|
+
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>;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2354
2408
|
/** Reusable average content, without filters or widget heading. */
|
|
2355
2409
|
declare class MapaReportGroupProfileWidgetAverageComponent extends ReportGroupProfileContent {
|
|
2356
2410
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportGroupProfileWidgetAverageComponent, never>;
|
|
@@ -2469,22 +2523,15 @@ declare class MapaReportScaleWidgetDetailedComponent extends ReportScaleContent
|
|
|
2469
2523
|
|
|
2470
2524
|
declare abstract class ReportSocioemotionalContent {
|
|
2471
2525
|
protected readonly i18n: MapaI18nService;
|
|
2472
|
-
protected readonly gaugeSegments: {
|
|
2473
|
-
index: number;
|
|
2474
|
-
x1: number;
|
|
2475
|
-
y1: number;
|
|
2476
|
-
x2: number;
|
|
2477
|
-
y2: number;
|
|
2478
|
-
}[];
|
|
2479
2526
|
readonly data: i0.InputSignal<MapaReportSocioemotionalData>;
|
|
2480
2527
|
readonly palette: i0.InputSignal<MapaReportPalette>;
|
|
2481
2528
|
protected clamp(value?: number): number;
|
|
2482
|
-
protected activeSegmentCount(value?: number): number;
|
|
2483
2529
|
protected classificationLabel(classification?: Classification$1): string;
|
|
2484
2530
|
protected directionArrow(direction?: 'positive' | 'negative'): string;
|
|
2485
2531
|
protected skillHeadingLabel(name: string, direction?: 'positive' | 'negative'): string;
|
|
2486
2532
|
protected vulnerabilityDimensions(scale: MapaReportScale): MapaReportDimension[];
|
|
2487
2533
|
protected gaugeColor(classification?: Classification$1): string;
|
|
2534
|
+
protected gaugeClassification(classification?: Classification$1): Classification$1;
|
|
2488
2535
|
protected gaugeValueText(value: number | undefined, classification?: Classification$1): string;
|
|
2489
2536
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportSocioemotionalContent, never>;
|
|
2490
2537
|
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>;
|
|
@@ -2577,7 +2624,7 @@ declare abstract class ReportParameterizationContent {
|
|
|
2577
2624
|
readonly data: i0.InputSignal<MapaReportParameterizationData>;
|
|
2578
2625
|
readonly palette: i0.InputSignal<MapaReportPalette>;
|
|
2579
2626
|
protected readonly metadata: i0.Signal<mapa_library_ui.MapaReportMetadata[]>;
|
|
2580
|
-
/** Classificação final do resultado
|
|
2627
|
+
/** Classificação final do resultado, com a cor configurada na parametrização. */
|
|
2581
2628
|
protected readonly finalClassification: i0.Signal<mapa_library_ui.MapaReportFinalClassification | null>;
|
|
2582
2629
|
/**
|
|
2583
2630
|
* O resumo mostra o valor por grupo; seções sem agrupamento (sem nota de
|
|
@@ -2640,6 +2687,7 @@ declare class MapaReportRankingTableWidgetComponent {
|
|
|
2640
2687
|
readonly view: i0.ModelSignal<string | undefined>;
|
|
2641
2688
|
readonly palette: i0.InputSignal<MapaReportPalette>;
|
|
2642
2689
|
readonly showAverage: i0.InputSignal<boolean>;
|
|
2690
|
+
readonly cellDisplay: i0.InputSignal<"classification" | "classified-value">;
|
|
2643
2691
|
/** Header of the first column, per view id. Falls back to the view label. */
|
|
2644
2692
|
readonly entryColumnLabel: i0.InputSignal<string | undefined>;
|
|
2645
2693
|
/** Footnote under the table. */
|
|
@@ -2654,11 +2702,12 @@ declare class MapaReportRankingTableWidgetComponent {
|
|
|
2654
2702
|
protected readonly activeView: i0.Signal<MapaReportRankingView | undefined>;
|
|
2655
2703
|
protected selectView(id: string): void;
|
|
2656
2704
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportRankingTableWidgetComponent, never>;
|
|
2657
|
-
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>;
|
|
2705
|
+
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; }; "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"; "exportRequested": "exportRequested"; }, never, ["[mapaReportRankingLegend]"], true, never>;
|
|
2658
2706
|
}
|
|
2659
2707
|
|
|
2660
2708
|
interface RankingRow extends Record<string, unknown> {
|
|
2661
2709
|
name: string;
|
|
2710
|
+
color?: string;
|
|
2662
2711
|
description?: string;
|
|
2663
2712
|
average?: number;
|
|
2664
2713
|
}
|
|
@@ -2667,6 +2716,7 @@ declare class MapaReportRankingTableContentComponent {
|
|
|
2667
2716
|
protected readonly i18n: MapaI18nService;
|
|
2668
2717
|
readonly palette: i0.InputSignal<MapaReportPalette>;
|
|
2669
2718
|
readonly showAverage: i0.InputSignal<boolean>;
|
|
2719
|
+
readonly cellDisplay: i0.InputSignal<"classification" | "classified-value">;
|
|
2670
2720
|
/** Header of the entry column. */
|
|
2671
2721
|
readonly entryColumnLabel: i0.InputSignal<string | undefined>;
|
|
2672
2722
|
/** Footnote under the table. */
|
|
@@ -2690,14 +2740,16 @@ declare class MapaReportRankingTableContentComponent {
|
|
|
2690
2740
|
private sortRows;
|
|
2691
2741
|
/**
|
|
2692
2742
|
* Dimensions sort by classification rank so the columns order by severity,
|
|
2693
|
-
* not by the label that happens to be printed in the chip.
|
|
2743
|
+
* not by the label that happens to be printed in the chip. Cells without a
|
|
2744
|
+
* classification sort by their value — numeric or, for plain text columns,
|
|
2745
|
+
* the text itself.
|
|
2694
2746
|
*/
|
|
2695
2747
|
private sortValue;
|
|
2696
2748
|
private columnKey;
|
|
2697
2749
|
readonly entries: i0.InputSignal<MapaReportRankingEntry[]>;
|
|
2698
2750
|
readonly caption: i0.InputSignal<string>;
|
|
2699
2751
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapaReportRankingTableContentComponent, never>;
|
|
2700
|
-
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>;
|
|
2752
|
+
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>;
|
|
2701
2753
|
}
|
|
2702
2754
|
|
|
2703
2755
|
type MapaResultTrackAppearance = 'rounded' | 'segmented' | 'stepped';
|
|
@@ -2971,5 +3023,5 @@ declare class MapaScaleParameterizationComponent {
|
|
|
2971
3023
|
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>;
|
|
2972
3024
|
}
|
|
2973
3025
|
|
|
2974
|
-
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 };
|
|
3026
|
+
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 };
|
|
2975
3027
|
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 };
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mapa-library-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.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.
|
|
14
|
+
"mapa-frontend-i18n": "^2.7.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
|