@masterteam/dashboard-builder 0.0.115 → 0.0.116
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/assets/dashboard-builder.css +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-CA4nvx2c.mjs → masterteam-dashboard-builder-dashboard-dialog.component-BDNd7eud.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-CA4nvx2c.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-BDNd7eud.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-CaX0Tj_g.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-BjNTcvqc.mjs} +290 -318
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-BjNTcvqc.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +6 -4
- package/types/masterteam-dashboard-builder.d.ts +31 -58
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CaX0Tj_g.mjs.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { aX as ActionsSettings, b3 as ArrayBuilderField, a4 as BarChartHandler, aQ as BarControlUi, bh as CHART_CAPABILITIES, aT as CHART_TYPES, bw as CONFIG_DOMAINS, b_ as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, a0 as ChartDataService, b7 as ChartFilterDrawer, aM as ChartSettingsDrawer, aY as ChartViewer, b2 as ColorListField, af as ComparisonChartHandler, a3 as DASHBOARD_ITEM_VISIBILITY, T as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aF as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, aA as DashboardList, aG as DashboardStoreService, e as DashboardViewer, aW as DataSourceSettings, bd as DatasourcePanelComponent, aO as DefaultControlUi, aN as DisplaySettings, u as DynamicFiltersComponent, aL as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, z as EntityInfoComponent, H as EntityPreviewCardComponent, bc as FilterBuilderComponent, bf as FilterByGroupPipe, bb as FilterChipsBarComponent, a9 as GaugeChartHandler, aV as GeneralSettings, bg as GetChartActionsPipe, ba as GuidedConfigDialogComponent, aE as HTTPMethod, I as HeaderCardComponent, cf as ITEM_GUIDANCE_REGISTRY, b6 as ItemCardMenuComponent, b9 as ItemConfigPopoverComponent, b8 as ItemContextToolbarComponent, ch as ItemGuidanceService, b4 as KeyValueMapField, L as LastHistoryLevelCardComponent, b5 as LegendOrderField, ah as LevelCardHandler, ad as LineChartHandler, J as ListStatisticCardComponent, U as MAP_DATA_ATTRIBUTION, K as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, R as MAP_REGIONS, aB as MODULE_CLASSIFICATION_LOG, aC as MODULE_CLASSIFICATION_LOG_NAME, aJ as ManageBreadcrumb, aK as ManageFilterOnPage, aS as ManageItem, aU as ManageItemService, aI as ManagePages, ai as MapChartHandler, W as MapViewComponent, ab as OverviewCardHandler, bz as POPOVER_TABS, bA as POPOVER_TAB_SPECS, al as PhaseGateStepperHandler, a5 as PieChartHandler, aP as PieControlUi, P as PropertiesCardComponent, aj as RingGaugeChartHandler, ak as SPlusChartHandler, bR as STYLE_PRESETS, be as SchemaControlRendererComponent, b1 as SegmentedField, X as SkeletonCardComponent, ae as SnapshotHandler, ag as SplitterChartHandler, a6 as StackBarChartHandler, aR as StackBarControlUi, S as StaticFiltersComponent, Z as StatisticCardComponent, b0 as StyleField, a_ as StyleSettingsRenderer, aZ as StyleStudioDrawer, _ as TableCardComponent, aa as TableViewHandler, ac as TimelineHandler, $ as TopbarCardComponent, n as addCommasToNumber, bN as applyBehaviorToPersisted, az as applyBuiltInConditions, c1 as applyControlPatchToPersisted, c2 as applyControlPatchesToPersisted, bO as applyFilterChipsToPersisted, bL as applyLabelLegendFormatToPersisted, bJ as applyLayoutToPersisted, bH as applyStyleToPersisted, bC as applyTitleToPersisted, a7 as axisFormatters, bM as behaviorToUi, ca as bindingKey, bQ as buildAssembly, c9 as buildDisplayFieldPredicate, Q as buildMapChartOption, c as cloneDeep, ar as createAxisFormatter, as as createTooltipFormatter, bD as datasourceToUi, A as dateDisplayRawValue, bY as deepMerge, cg as describeGuidance, bx as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, a$ as expandResetPatches, bE as fieldsToUi, bF as filtersToUi, by as findDomain, bT as findPreset, c7 as flattenSchema, at as formatAxisLabel, am as formatCurrency, aq as formatDate, bZ as formatForEditor, ap as formatNumber, ao as formatPercentage, k as formatValue, au as formatWordsUnderBar, av as formatXAxis, j as generalConfiguration, cb as getBinding, bi as getCapabilityById, q as getColorFromConditions, c3 as getControlSchema, an as getCurrencySuffix, c6 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a8 as groupDatesByYearAndMonth, bW as groupIssuesByDomain, ax as handleFilterForCard, ay as handleFilterForSnapshot, aw as handleFiltersForCustom, bV as hasBlockingIssues, aD as isLogClassification, aH as isManagePagesDeleteResult, p as isMobilePlatform, N as isPlottable, bK as labelLegendFormatToUi, bI as layoutToUi, cc as listBindings, cd as listBindingsForChart, c4 as listControlSchemaIds, c5 as listControlSchemas, a2 as loadImmediately, G as mergePropertyAppearance, bq as moduleIdFromSelector, bn as normalizeAggregateFunction, bv as normalizeBeforeRequest, bu as normalizeBeforeSave, bl as normalizeChartTypeForRequest, B as normalizeDashboardCardEntityValue, bm as normalizeFilterOperation, bo as normalizeFilters, bt as normalizeOnLoad, a1 as observeNearViewport, bX as parseAdvancedJson, bP as persistedToUi, O as plottableGroups, bS as presetsForCapability, ce as readBoundValue, b$ as readByPath, bj as resolveCapability, c8 as resolveDisplayFields, y as resolveEntityCheckbox, x as resolveEntityUserPhoto, V as resolveMapRegion, Y as resolveStatisticIconPlacement, bp as selectorFromLegacy, c0 as setByPath, m as sortChartData, o as sortDataTableView, bG as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bB as titleToUi, bk as toBackendChartType, br as toBackendSourceLink, bs as toFormSourceLink, bU as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
1
|
+
export { aX as ActionsSettings, b3 as ArrayBuilderField, a4 as BarChartHandler, aQ as BarControlUi, bh as CHART_CAPABILITIES, aT as CHART_TYPES, bw as CONFIG_DOMAINS, b_ as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, a0 as ChartDataService, b7 as ChartFilterDrawer, aM as ChartSettingsDrawer, aY as ChartViewer, b2 as ColorListField, af as ComparisonChartHandler, a3 as DASHBOARD_ITEM_VISIBILITY, T as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aF as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, aA as DashboardList, aG as DashboardStoreService, e as DashboardViewer, aW as DataSourceSettings, bd as DatasourcePanelComponent, aO as DefaultControlUi, aN as DisplaySettings, u as DynamicFiltersComponent, aL as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, z as EntityInfoComponent, H as EntityPreviewCardComponent, bc as FilterBuilderComponent, bf as FilterByGroupPipe, bb as FilterChipsBarComponent, a9 as GaugeChartHandler, aV as GeneralSettings, bg as GetChartActionsPipe, ba as GuidedConfigDialogComponent, aE as HTTPMethod, I as HeaderCardComponent, cf as ITEM_GUIDANCE_REGISTRY, b6 as ItemCardMenuComponent, b9 as ItemConfigPopoverComponent, b8 as ItemContextToolbarComponent, ch as ItemGuidanceService, b4 as KeyValueMapField, L as LastHistoryLevelCardComponent, b5 as LegendOrderField, ah as LevelCardHandler, ad as LineChartHandler, J as ListStatisticCardComponent, U as MAP_DATA_ATTRIBUTION, K as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, R as MAP_REGIONS, aB as MODULE_CLASSIFICATION_LOG, aC as MODULE_CLASSIFICATION_LOG_NAME, aJ as ManageBreadcrumb, aK as ManageFilterOnPage, aS as ManageItem, aU as ManageItemService, aI as ManagePages, ai as MapChartHandler, W as MapViewComponent, ab as OverviewCardHandler, bz as POPOVER_TABS, bA as POPOVER_TAB_SPECS, al as PhaseGateStepperHandler, a5 as PieChartHandler, aP as PieControlUi, P as PropertiesCardComponent, aj as RingGaugeChartHandler, ak as SPlusChartHandler, bR as STYLE_PRESETS, be as SchemaControlRendererComponent, b1 as SegmentedField, X as SkeletonCardComponent, ae as SnapshotHandler, ag as SplitterChartHandler, a6 as StackBarChartHandler, aR as StackBarControlUi, S as StaticFiltersComponent, Z as StatisticCardComponent, b0 as StyleField, a_ as StyleSettingsRenderer, aZ as StyleStudioDrawer, _ as TableCardComponent, aa as TableViewHandler, ac as TimelineHandler, $ as TopbarCardComponent, n as addCommasToNumber, bN as applyBehaviorToPersisted, az as applyBuiltInConditions, c1 as applyControlPatchToPersisted, c2 as applyControlPatchesToPersisted, bO as applyFilterChipsToPersisted, bL as applyLabelLegendFormatToPersisted, bJ as applyLayoutToPersisted, bH as applyStyleToPersisted, bC as applyTitleToPersisted, a7 as axisFormatters, bM as behaviorToUi, ca as bindingKey, bQ as buildAssembly, c9 as buildDisplayFieldPredicate, Q as buildMapChartOption, c as cloneDeep, ar as createAxisFormatter, as as createTooltipFormatter, bD as datasourceToUi, A as dateDisplayRawValue, bY as deepMerge, cg as describeGuidance, bx as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, a$ as expandResetPatches, bE as fieldsToUi, bF as filtersToUi, by as findDomain, bT as findPreset, c7 as flattenSchema, at as formatAxisLabel, am as formatCurrency, aq as formatDate, bZ as formatForEditor, ap as formatNumber, ao as formatPercentage, k as formatValue, au as formatWordsUnderBar, av as formatXAxis, j as generalConfiguration, cb as getBinding, bi as getCapabilityById, q as getColorFromConditions, c3 as getControlSchema, an as getCurrencySuffix, c6 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a8 as groupDatesByYearAndMonth, bW as groupIssuesByDomain, ax as handleFilterForCard, ay as handleFilterForSnapshot, aw as handleFiltersForCustom, bV as hasBlockingIssues, aD as isLogClassification, aH as isManagePagesDeleteResult, p as isMobilePlatform, N as isPlottable, bK as labelLegendFormatToUi, bI as layoutToUi, cc as listBindings, cd as listBindingsForChart, c4 as listControlSchemaIds, c5 as listControlSchemas, a2 as loadImmediately, G as mergePropertyAppearance, bq as moduleIdFromSelector, bn as normalizeAggregateFunction, bv as normalizeBeforeRequest, bu as normalizeBeforeSave, bl as normalizeChartTypeForRequest, B as normalizeDashboardCardEntityValue, bm as normalizeFilterOperation, bo as normalizeFilters, bt as normalizeOnLoad, a1 as observeNearViewport, bX as parseAdvancedJson, bP as persistedToUi, O as plottableGroups, bS as presetsForCapability, ce as readBoundValue, b$ as readByPath, bj as resolveCapability, c8 as resolveDisplayFields, y as resolveEntityCheckbox, x as resolveEntityUserPhoto, V as resolveMapRegion, Y as resolveStatisticIconPlacement, bp as selectorFromLegacy, c0 as setByPath, m as sortChartData, o as sortDataTableView, bG as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bB as titleToUi, bk as toBackendChartType, br as toBackendSourceLink, bs as toFormSourceLink, bU as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-BjNTcvqc.mjs';
|
|
2
2
|
export * from '@masterteam/dashboard-builder/access';
|
|
3
3
|
//# sourceMappingURL=masterteam-dashboard-builder.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/dashboard-builder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.116",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/dashboard-builder",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -23,9 +23,11 @@
|
|
|
23
23
|
"quill": "^2.0.3",
|
|
24
24
|
"rxjs": "^7.8.2",
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
|
-
"@masterteam/
|
|
27
|
-
"@masterteam/
|
|
28
|
-
"@masterteam/
|
|
26
|
+
"@masterteam/data-grid": "^0.0.2",
|
|
27
|
+
"@masterteam/data-table": "^0.0.2",
|
|
28
|
+
"@masterteam/components": "^0.0.334",
|
|
29
|
+
"@masterteam/timeline": "^0.0.24",
|
|
30
|
+
"@masterteam/icons": "^0.0.17"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
33
|
"tslib": "^2.8.1",
|
|
@@ -13,6 +13,7 @@ import { MTIcon } from '@masterteam/icons';
|
|
|
13
13
|
import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
|
|
14
14
|
import { EntityData as EntityData$1, EntityViewType, EntityConfiguration } from '@masterteam/components/entities';
|
|
15
15
|
import { HttpContext } from '@angular/common/http';
|
|
16
|
+
import { MtColDef, MtGridApi } from '@masterteam/data-grid';
|
|
16
17
|
import { ColumnDef, TableAction, CellChangeEvent } from '@masterteam/components/table';
|
|
17
18
|
import { ActivatedRoute } from '@angular/router';
|
|
18
19
|
export * from '@masterteam/dashboard-builder/access';
|
|
@@ -3763,7 +3764,7 @@ declare class CardFilterComponent implements OnInit {
|
|
|
3763
3764
|
/** Language code */
|
|
3764
3765
|
readonly langCode: _angular_core.Signal<string>;
|
|
3765
3766
|
/** Filter type */
|
|
3766
|
-
readonly filterType: _angular_core.Signal<"
|
|
3767
|
+
readonly filterType: _angular_core.Signal<"text" | "date" | "select" | "multiselect" | "multiSelect" | "daterange">;
|
|
3767
3768
|
/** Filter options */
|
|
3768
3769
|
readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
|
|
3769
3770
|
/** Placeholder text */
|
|
@@ -3992,7 +3993,7 @@ declare class MapViewComponent {
|
|
|
3992
3993
|
/** Hide the group legend when the widget's legend control is off. */
|
|
3993
3994
|
readonly showLegend: _angular_core.InputSignal<boolean>;
|
|
3994
3995
|
/** Where the widget's legend control puts the legend. */
|
|
3995
|
-
readonly legendPosition: _angular_core.InputSignal<"
|
|
3996
|
+
readonly legendPosition: _angular_core.InputSignal<"bottom" | "top" | "right" | "left">;
|
|
3996
3997
|
/** Legend marker shape, from the widget's legend control. */
|
|
3997
3998
|
readonly legendIcon: _angular_core.InputSignal<string | undefined>;
|
|
3998
3999
|
/** Forwarded to `mt-echart` so it keys its chart instance per widget. */
|
|
@@ -4177,7 +4178,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
|
|
|
4177
4178
|
readonly mapViewConfig: _angular_core.Signal<MapViewConfig>;
|
|
4178
4179
|
/** The widget's legend controls also govern the map's group legend. */
|
|
4179
4180
|
readonly mapLegendShow: _angular_core.Signal<boolean>;
|
|
4180
|
-
readonly mapLegendPosition: _angular_core.Signal<"
|
|
4181
|
+
readonly mapLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
4181
4182
|
readonly mapLegendIcon: _angular_core.Signal<string | undefined>;
|
|
4182
4183
|
private readonly mapLegend;
|
|
4183
4184
|
onMapPointClick(point: MapViewPoint): void;
|
|
@@ -4205,7 +4206,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
|
|
|
4205
4206
|
readonly timelineResources: _angular_core.Signal<any[]>;
|
|
4206
4207
|
readonly timelineLabels: _angular_core.Signal<any[]>;
|
|
4207
4208
|
readonly timelineLegendIconType: _angular_core.Signal<string>;
|
|
4208
|
-
readonly timelineLegendPosition: _angular_core.Signal<"
|
|
4209
|
+
readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
4209
4210
|
/** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
|
|
4210
4211
|
readonly timelineLegendShow: _angular_core.Signal<boolean>;
|
|
4211
4212
|
readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
|
|
@@ -4344,7 +4345,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
|
|
|
4344
4345
|
readonly showCustomLegend: _angular_core.Signal<boolean>;
|
|
4345
4346
|
readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
|
|
4346
4347
|
/** Custom HTML legend placement from the configured legend position. */
|
|
4347
|
-
readonly customLegendPosition: _angular_core.Signal<"
|
|
4348
|
+
readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
4348
4349
|
constructor();
|
|
4349
4350
|
ngOnInit(): Promise<void>;
|
|
4350
4351
|
ngAfterViewInit(): void;
|
|
@@ -4775,7 +4776,7 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
|
|
|
4775
4776
|
/** Icon name */
|
|
4776
4777
|
readonly icon: _angular_core.Signal<string>;
|
|
4777
4778
|
/** Position of the layout icon relative to the header title. */
|
|
4778
|
-
readonly iconPlacement: _angular_core.Signal<"
|
|
4779
|
+
readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
|
|
4779
4780
|
/** Logo configuration */
|
|
4780
4781
|
readonly logo: _angular_core.Signal<any>;
|
|
4781
4782
|
/** Logo URL */
|
|
@@ -5001,6 +5002,15 @@ declare class StatisticCardComponent implements OnInit {
|
|
|
5001
5002
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatisticCardComponent, "mt-statistic-card", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "styleConfig": { "alias": "styleConfig"; "required": false; "isSignal": true; }; "configurationItem": { "alias": "configurationItem"; "required": false; "isSignal": true; }; }, { "cardClick": "cardClick"; }, never, never, true, never>;
|
|
5002
5003
|
}
|
|
5003
5004
|
|
|
5005
|
+
/** A dashboard table row on the standard grid: the source row plus its group and aggregates. */
|
|
5006
|
+
interface TableCardGridRow {
|
|
5007
|
+
readonly __row: any;
|
|
5008
|
+
readonly __index: number;
|
|
5009
|
+
readonly __id: string;
|
|
5010
|
+
readonly __mtgroup?: EntityData$1 | null;
|
|
5011
|
+
readonly __mtaggregates?: string;
|
|
5012
|
+
}
|
|
5013
|
+
|
|
5004
5014
|
interface TableColumn {
|
|
5005
5015
|
key: string;
|
|
5006
5016
|
keyPure?: string;
|
|
@@ -5048,22 +5058,7 @@ interface TableStyleConfig {
|
|
|
5048
5058
|
showPercentageAsProgressBar?: boolean;
|
|
5049
5059
|
showPercentageStatus?: boolean;
|
|
5050
5060
|
}
|
|
5051
|
-
interface TableVirtualRow {
|
|
5052
|
-
trackId: string;
|
|
5053
|
-
row: any;
|
|
5054
|
-
rowIndex: number;
|
|
5055
|
-
}
|
|
5056
|
-
interface GroupedTableVirtualItem {
|
|
5057
|
-
kind: 'group' | 'row';
|
|
5058
|
-
trackId: string;
|
|
5059
|
-
group: any;
|
|
5060
|
-
groupIndex: number;
|
|
5061
|
-
row?: any;
|
|
5062
|
-
rowIndex?: number;
|
|
5063
|
-
}
|
|
5064
5061
|
declare class TableCardComponent implements OnInit, OnDestroy {
|
|
5065
|
-
private readonly virtualRowHeightPx;
|
|
5066
|
-
private readonly virtualOverscanRows;
|
|
5067
5062
|
private readonly storeService;
|
|
5068
5063
|
private readonly transloco;
|
|
5069
5064
|
private readonly subscription;
|
|
@@ -5096,7 +5091,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
5096
5091
|
* two never disagree about visibility.
|
|
5097
5092
|
*/
|
|
5098
5093
|
readonly hasLegend: _angular_core.Signal<boolean>;
|
|
5099
|
-
readonly legendPosition: _angular_core.Signal<"
|
|
5094
|
+
readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
|
|
5100
5095
|
readonly legendIconType: _angular_core.Signal<string>;
|
|
5101
5096
|
readonly isSideLegend: _angular_core.Signal<boolean>;
|
|
5102
5097
|
/** Processed table rows */
|
|
@@ -5111,10 +5106,6 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
5111
5106
|
* aggregateFunction, alias, value }`); an alias replaces the generated name.
|
|
5112
5107
|
*/
|
|
5113
5108
|
aggregateSummary(aggregates: unknown): string;
|
|
5114
|
-
/** Virtual scroll offset for the native dashboard table renderer. */
|
|
5115
|
-
readonly tableScrollTop: _angular_core.WritableSignal<number>;
|
|
5116
|
-
/** Current table viewport height. Defaults to the timeline/card body size. */
|
|
5117
|
-
readonly tableViewportHeight: _angular_core.WritableSignal<number>;
|
|
5118
5109
|
/** Title */
|
|
5119
5110
|
readonly title: _angular_core.Signal<string>;
|
|
5120
5111
|
/** Table style config */
|
|
@@ -5131,12 +5122,6 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
5131
5122
|
* persisted sort config.
|
|
5132
5123
|
*/
|
|
5133
5124
|
private readonly _sortConfigSync;
|
|
5134
|
-
/**
|
|
5135
|
-
* Hide the table's column-header (subheader) row.
|
|
5136
|
-
* Reads `clientConfig.tableFormat.hideTableSubheader`. Gated: defaults to
|
|
5137
|
-
* showing the header (current behavior) unless the flag is explicitly true.
|
|
5138
|
-
*/
|
|
5139
|
-
readonly hideSubheader: _angular_core.Signal<boolean>;
|
|
5140
5125
|
/**
|
|
5141
5126
|
* Whether to skip currency formatting on cells.
|
|
5142
5127
|
* Reads `clientConfig.tableFormat.disableCurrencyFormat`. Gated: only true
|
|
@@ -5165,31 +5150,23 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
5165
5150
|
readonly hasData: _angular_core.Signal<boolean>;
|
|
5166
5151
|
/** Visible columns (not hidden) */
|
|
5167
5152
|
readonly visibleColumns: _angular_core.Signal<TableColumn[]>;
|
|
5168
|
-
/** Total columns (for colspan) */
|
|
5169
|
-
readonly totalColumns: _angular_core.Signal<number>;
|
|
5170
|
-
readonly flatVirtualWindow: _angular_core.Signal<{
|
|
5171
|
-
startIndex: number;
|
|
5172
|
-
endIndex: number;
|
|
5173
|
-
}>;
|
|
5174
|
-
readonly visibleTableRows: _angular_core.Signal<TableVirtualRow[]>;
|
|
5175
|
-
readonly flatVirtualTopSpacerHeightPx: _angular_core.Signal<number>;
|
|
5176
|
-
readonly flatVirtualBottomSpacerHeightPx: _angular_core.Signal<number>;
|
|
5177
|
-
readonly flattenedGroupedRows: _angular_core.Signal<GroupedTableVirtualItem[]>;
|
|
5178
|
-
readonly groupedVirtualWindow: _angular_core.Signal<{
|
|
5179
|
-
startIndex: number;
|
|
5180
|
-
endIndex: number;
|
|
5181
|
-
}>;
|
|
5182
|
-
readonly visibleGroupedRows: _angular_core.Signal<GroupedTableVirtualItem[]>;
|
|
5183
|
-
readonly groupedVirtualTopSpacerHeightPx: _angular_core.Signal<number>;
|
|
5184
|
-
readonly groupedVirtualBottomSpacerHeightPx: _angular_core.Signal<number>;
|
|
5185
5153
|
/** Row clickable */
|
|
5186
5154
|
readonly isRowClickable: _angular_core.Signal<boolean | undefined>;
|
|
5155
|
+
/** Rows for the standard grid: the source row, its index, its group and the group's aggregates. */
|
|
5156
|
+
protected readonly gridRows: _angular_core.Signal<readonly TableCardGridRow[]>;
|
|
5157
|
+
protected readonly gridRowId: (row: TableCardGridRow) => string;
|
|
5158
|
+
private readonly gridCells;
|
|
5159
|
+
protected readonly gridColumns: _angular_core.Signal<readonly MtColDef<TableCardGridRow>[]>;
|
|
5160
|
+
protected readonly gridApi: _angular_core.WritableSignal<MtGridApi<TableCardGridRow> | null>;
|
|
5161
|
+
private readonly gridHost;
|
|
5162
|
+
/** The grid fills the card body; measured, because the dashboard layout sizes the card. */
|
|
5163
|
+
protected readonly gridHeight: _angular_core.WritableSignal<number>;
|
|
5164
|
+
private readonly gridEffects;
|
|
5165
|
+
/** Double-click on a data row runs the item's double-click action. */
|
|
5166
|
+
protected onGridDoubleClick(event: MouseEvent): void;
|
|
5187
5167
|
ngOnInit(): void;
|
|
5188
5168
|
ngOnDestroy(): void;
|
|
5189
|
-
onTableScroll(event: Event): void;
|
|
5190
|
-
private resolveVirtualWindow;
|
|
5191
5169
|
private resolveRowTrackId;
|
|
5192
|
-
private resolveGroupTrackId;
|
|
5193
5170
|
/**
|
|
5194
5171
|
* Build table columns and rows from raw data
|
|
5195
5172
|
* Matches old buildTable logic in table-card.component.ts
|
|
@@ -5248,10 +5225,6 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
5248
5225
|
getPhaseGateCellText(cell: PhaseGateCell | null): string;
|
|
5249
5226
|
getPhaseGatePercentage(cell: PhaseGateCell | null): number | null;
|
|
5250
5227
|
getPhaseGateCellTooltip(cell: PhaseGateCell | null): string;
|
|
5251
|
-
/**
|
|
5252
|
-
* Sort column
|
|
5253
|
-
*/
|
|
5254
|
-
onSort(column: TableColumn): void;
|
|
5255
5228
|
/**
|
|
5256
5229
|
* Get sortable value from row
|
|
5257
5230
|
*/
|
|
@@ -5298,7 +5271,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
5298
5271
|
readonly showSubtitle: _angular_core.Signal<boolean>;
|
|
5299
5272
|
readonly icon: _angular_core.Signal<any>;
|
|
5300
5273
|
/** Position of the layout icon relative to the topbar title. */
|
|
5301
|
-
readonly iconPlacement: _angular_core.Signal<"
|
|
5274
|
+
readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
|
|
5302
5275
|
/**
|
|
5303
5276
|
* Center the icon/title block within the topbar row
|
|
5304
5277
|
* (configAsType.headerCardConfig.isHeaderCentered === true) — same source
|
|
@@ -5308,7 +5281,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
5308
5281
|
readonly iconColor: _angular_core.Signal<any>;
|
|
5309
5282
|
readonly iconBackgroundColor: _angular_core.Signal<any>;
|
|
5310
5283
|
readonly borderColor: _angular_core.Signal<any>;
|
|
5311
|
-
readonly borderWidth: _angular_core.Signal<
|
|
5284
|
+
readonly borderWidth: _angular_core.Signal<1 | 0>;
|
|
5312
5285
|
readonly padding: _angular_core.Signal<number>;
|
|
5313
5286
|
readonly titleFontSize: _angular_core.Signal<number>;
|
|
5314
5287
|
readonly subtitleFontSize: _angular_core.Signal<number>;
|