@masterteam/dashboard-builder 0.0.74 → 0.0.76
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/README.md +13 -12
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-CZH5MfEm.mjs → masterteam-dashboard-builder-dashboard-dialog.component-DTm4d6HX.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-CZH5MfEm.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-DTm4d6HX.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-Th2a3HZu.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-iLvC1OvH.mjs} +323 -85
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-iLvC1OvH.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +4 -4
- package/types/masterteam-dashboard-builder.d.ts +86 -9
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-Th2a3HZu.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { aB as ActionsSettings, aJ as ArrayBuilderField, K as BarChartHandler, au as BarControlUi, aX as CHART_CAPABILITIES, ax as CHART_TYPES, ba as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, J as ChartDataService, aN as ChartFilterDrawer, aq as ChartSettingsDrawer, aC as ChartViewer, aI as ColorListField, Z as ComparisonChartHandler, b as DashboardBuilder, aj as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ah as DashboardList, ak as DashboardStoreService, d as DashboardViewer, aA as DataSourceSettings, aT as DatasourcePanelComponent, as as DefaultControlUi, ar as DisplaySettings, r as DynamicFiltersComponent, ap as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, w as EntityInfoComponent, y as EntityPreviewCardComponent, aS as FilterBuilderComponent, aV as FilterByGroupPipe, aR as FilterChipsBarComponent, R as GaugeChartHandler, az as GeneralSettings, aW as GetChartActionsPipe, aQ as GuidedConfigDialogComponent, ai as HTTPMethod, H as HeaderCardComponent, bU as ITEM_GUIDANCE_REGISTRY, aM as ItemCardMenuComponent, aP as ItemConfigPopoverComponent, aO as ItemContextToolbarComponent, bW as ItemGuidanceService, aK as KeyValueMapField, L as LastHistoryLevelCardComponent, aL as LegendOrderField, $ as LevelCardHandler, X as LineChartHandler, z as ListStatisticCardComponent, an as ManageBreadcrumb, ao as ManageFilterOnPage, aw as ManageItem, ay as ManageItemService, am as ManagePages, a0 as MapChartHandler, V as OverviewCardHandler, bd as POPOVER_TABS, be as POPOVER_TAB_SPECS, a3 as PhaseGateStepperHandler, M as PieChartHandler, at as PieControlUi, P as PropertiesCardComponent, a1 as RingGaugeChartHandler, a2 as SPlusChartHandler, bv as STYLE_PRESETS, aU as SchemaControlRendererComponent, aH as SegmentedField, A as SkeletonCardComponent, Y as SnapshotHandler, _ as SplitterChartHandler, N as StackBarChartHandler, av as StackBarControlUi, S as StaticFiltersComponent, G as StatisticCardComponent, aG as StyleField, aE as StyleSettingsRenderer, aD as StyleStudioDrawer, T as TableCardComponent, U as TableViewHandler, W as TimelineHandler, I as TopbarCardComponent, m as addCommasToNumber, br as applyBehaviorToPersisted, bG as applyControlPatchToPersisted, bH as applyControlPatchesToPersisted, bs as applyFilterChipsToPersisted, bp as applyLabelLegendFormatToPersisted, bn as applyLayoutToPersisted, bl as applyStyleToPersisted, bg as applyTitleToPersisted, O as axisFormatters, bq as behaviorToUi, bP as bindingKey, bu as buildAssembly, bO as buildDisplayFieldPredicate, c as cloneDeep, a9 as createAxisFormatter, aa as createTooltipFormatter, bh as datasourceToUi, bC as deepMerge, bV as describeGuidance, bb as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aF as expandResetPatches, bi as fieldsToUi, bj as filtersToUi, bc as findDomain, bx as findPreset, bM as flattenSchema, ab as formatAxisLabel, a4 as formatCurrency, a8 as formatDate, bD as formatForEditor, a7 as formatNumber, a6 as formatPercentage, j as formatValue, ac as formatWordsUnderBar, ad as formatXAxis, i as generalConfiguration, bQ as getBinding, aY as getCapabilityById, p as getColorFromConditions, bI as getControlSchema, a5 as getCurrencySuffix, bL as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, Q as groupDatesByYearAndMonth, bA as groupIssuesByDomain, af as handleFilterForCard, ag as handleFilterForSnapshot, ae as handleFiltersForCustom, bz as hasBlockingIssues, al as isManagePagesDeleteResult, o as isMobilePlatform, bo as labelLegendFormatToUi, bm as layoutToUi, bR as listBindings, bS as listBindingsForChart, bJ as listControlSchemaIds, bK as listControlSchemas, b4 as moduleIdFromSelector, b1 as normalizeAggregateFunction, b9 as normalizeBeforeRequest, b8 as normalizeBeforeSave, a$ as normalizeChartTypeForRequest, x as normalizeDashboardCardEntityValue, b0 as normalizeFilterOperation, b2 as normalizeFilters, b7 as normalizeOnLoad, bB as parseAdvancedJson, bt as persistedToUi, bw as presetsForCapability, bT as readBoundValue, bE as readByPath, aZ as resolveCapability, bN as resolveDisplayFields, v as resolveEntityUserPhoto, B as resolveStatisticIconPlacement, b3 as selectorFromLegacy, bF as setByPath, l as sortChartData, n as sortDataTableView, bk as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bf as titleToUi, a_ as toBackendChartType, b5 as toBackendSourceLink, b6 as toFormSourceLink, by as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-
|
|
1
|
+
export { aB as ActionsSettings, aJ as ArrayBuilderField, K as BarChartHandler, au as BarControlUi, aX as CHART_CAPABILITIES, ax as CHART_TYPES, ba as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, J as ChartDataService, aN as ChartFilterDrawer, aq as ChartSettingsDrawer, aC as ChartViewer, aI as ColorListField, Z as ComparisonChartHandler, b as DashboardBuilder, aj as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ah as DashboardList, ak as DashboardStoreService, d as DashboardViewer, aA as DataSourceSettings, aT as DatasourcePanelComponent, as as DefaultControlUi, ar as DisplaySettings, r as DynamicFiltersComponent, ap as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, w as EntityInfoComponent, y as EntityPreviewCardComponent, aS as FilterBuilderComponent, aV as FilterByGroupPipe, aR as FilterChipsBarComponent, R as GaugeChartHandler, az as GeneralSettings, aW as GetChartActionsPipe, aQ as GuidedConfigDialogComponent, ai as HTTPMethod, H as HeaderCardComponent, bU as ITEM_GUIDANCE_REGISTRY, aM as ItemCardMenuComponent, aP as ItemConfigPopoverComponent, aO as ItemContextToolbarComponent, bW as ItemGuidanceService, aK as KeyValueMapField, L as LastHistoryLevelCardComponent, aL as LegendOrderField, $ as LevelCardHandler, X as LineChartHandler, z as ListStatisticCardComponent, an as ManageBreadcrumb, ao as ManageFilterOnPage, aw as ManageItem, ay as ManageItemService, am as ManagePages, a0 as MapChartHandler, V as OverviewCardHandler, bd as POPOVER_TABS, be as POPOVER_TAB_SPECS, a3 as PhaseGateStepperHandler, M as PieChartHandler, at as PieControlUi, P as PropertiesCardComponent, a1 as RingGaugeChartHandler, a2 as SPlusChartHandler, bv as STYLE_PRESETS, aU as SchemaControlRendererComponent, aH as SegmentedField, A as SkeletonCardComponent, Y as SnapshotHandler, _ as SplitterChartHandler, N as StackBarChartHandler, av as StackBarControlUi, S as StaticFiltersComponent, G as StatisticCardComponent, aG as StyleField, aE as StyleSettingsRenderer, aD as StyleStudioDrawer, T as TableCardComponent, U as TableViewHandler, W as TimelineHandler, I as TopbarCardComponent, m as addCommasToNumber, br as applyBehaviorToPersisted, bG as applyControlPatchToPersisted, bH as applyControlPatchesToPersisted, bs as applyFilterChipsToPersisted, bp as applyLabelLegendFormatToPersisted, bn as applyLayoutToPersisted, bl as applyStyleToPersisted, bg as applyTitleToPersisted, O as axisFormatters, bq as behaviorToUi, bP as bindingKey, bu as buildAssembly, bO as buildDisplayFieldPredicate, c as cloneDeep, a9 as createAxisFormatter, aa as createTooltipFormatter, bh as datasourceToUi, bC as deepMerge, bV as describeGuidance, bb as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aF as expandResetPatches, bi as fieldsToUi, bj as filtersToUi, bc as findDomain, bx as findPreset, bM as flattenSchema, ab as formatAxisLabel, a4 as formatCurrency, a8 as formatDate, bD as formatForEditor, a7 as formatNumber, a6 as formatPercentage, j as formatValue, ac as formatWordsUnderBar, ad as formatXAxis, i as generalConfiguration, bQ as getBinding, aY as getCapabilityById, p as getColorFromConditions, bI as getControlSchema, a5 as getCurrencySuffix, bL as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, Q as groupDatesByYearAndMonth, bA as groupIssuesByDomain, af as handleFilterForCard, ag as handleFilterForSnapshot, ae as handleFiltersForCustom, bz as hasBlockingIssues, al as isManagePagesDeleteResult, o as isMobilePlatform, bo as labelLegendFormatToUi, bm as layoutToUi, bR as listBindings, bS as listBindingsForChart, bJ as listControlSchemaIds, bK as listControlSchemas, b4 as moduleIdFromSelector, b1 as normalizeAggregateFunction, b9 as normalizeBeforeRequest, b8 as normalizeBeforeSave, a$ as normalizeChartTypeForRequest, x as normalizeDashboardCardEntityValue, b0 as normalizeFilterOperation, b2 as normalizeFilters, b7 as normalizeOnLoad, bB as parseAdvancedJson, bt as persistedToUi, bw as presetsForCapability, bT as readBoundValue, bE as readByPath, aZ as resolveCapability, bN as resolveDisplayFields, v as resolveEntityUserPhoto, B as resolveStatisticIconPlacement, b3 as selectorFromLegacy, bF as setByPath, l as sortChartData, n as sortDataTableView, bk as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bf as titleToUi, a_ as toBackendChartType, b5 as toBackendSourceLink, b6 as toFormSourceLink, by as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-iLvC1OvH.mjs';
|
|
2
2
|
//# 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.76",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/dashboard-builder",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"quill": "^2.0.3",
|
|
24
24
|
"rxjs": "^7.8.2",
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
|
-
"@masterteam/
|
|
26
|
+
"@masterteam/components": "^0.0.260",
|
|
27
27
|
"@masterteam/icons": "^0.0.17",
|
|
28
|
-
"@masterteam/
|
|
29
|
-
"@masterteam/
|
|
28
|
+
"@masterteam/formula-builder": "^0.0.27",
|
|
29
|
+
"@masterteam/timeline": "^0.0.21"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.8.1",
|
|
@@ -68,6 +68,7 @@ interface DashboardFilterStatusDefinition {
|
|
|
68
68
|
propertyId?: number | string;
|
|
69
69
|
propertyKey?: string;
|
|
70
70
|
normalizedPropertyKey?: string | null;
|
|
71
|
+
propertyName?: string | DashboardFilterLocalizedText;
|
|
71
72
|
moduleId?: number | string | null;
|
|
72
73
|
levelId?: number | string | null;
|
|
73
74
|
levelModuleId?: number | string | null;
|
|
@@ -75,6 +76,24 @@ interface DashboardFilterStatusDefinition {
|
|
|
75
76
|
}
|
|
76
77
|
/** Host status input supports canonical definitions and legacy flat statuses. */
|
|
77
78
|
type DashboardFilterStatus = DashboardFilterStatusDefinition | DashboardFilterStatusItem;
|
|
79
|
+
/** One log attached to a level inside the host-owned levels schema. */
|
|
80
|
+
interface DashboardFilterLevelLog {
|
|
81
|
+
id: number | string;
|
|
82
|
+
description?: string;
|
|
83
|
+
name?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* One level of the host-owned levels schema (the product-settings
|
|
87
|
+
* `levels.schema` record). Backs the status filter's Log select plus the
|
|
88
|
+
* runtime phase-gate and schema-settings option lists.
|
|
89
|
+
*/
|
|
90
|
+
interface DashboardFilterLevelSchema {
|
|
91
|
+
id: number | string;
|
|
92
|
+
description?: string;
|
|
93
|
+
name?: string;
|
|
94
|
+
logs?: readonly DashboardFilterLevelLog[];
|
|
95
|
+
phaseGatesSchema?: readonly unknown[];
|
|
96
|
+
}
|
|
78
97
|
/**
|
|
79
98
|
* Report type enum
|
|
80
99
|
*/
|
|
@@ -2430,6 +2449,11 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
|
|
|
2430
2449
|
readonly lookups: _angular_core.InputSignal<readonly DashboardFilterLookup[] | null>;
|
|
2431
2450
|
/** Host-owned canonical or legacy status metadata for runtime filters. */
|
|
2432
2451
|
readonly statuses: _angular_core.InputSignal<readonly DashboardFilterStatus[] | null>;
|
|
2452
|
+
/**
|
|
2453
|
+
* Host-owned levels schema (product settings `levels.schema`). Backs the
|
|
2454
|
+
* status filter's "Log" select and the phase-gate / schema-settings lists.
|
|
2455
|
+
*/
|
|
2456
|
+
readonly levelsSchema: _angular_core.InputSignal<readonly DashboardFilterLevelSchema[] | null>;
|
|
2433
2457
|
private readonly filterMetadataEffect;
|
|
2434
2458
|
/** Emit when page config changes */
|
|
2435
2459
|
readonly pageChange: _angular_core.OutputEmitterRef<_masterteam_dashboard_builder.Report>;
|
|
@@ -2784,7 +2808,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
|
|
|
2784
2808
|
private readSerializedObject;
|
|
2785
2809
|
private parseSerializedValue;
|
|
2786
2810
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardBuilder, never>;
|
|
2787
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardBuilder, "mt-dashboard-builder", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "standalone": { "alias": "standalone"; "required": false; "isSignal": true; }; "services": { "alias": "services"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "onSave": "onSave"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
|
|
2811
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardBuilder, "mt-dashboard-builder", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "standalone": { "alias": "standalone"; "required": false; "isSignal": true; }; "services": { "alias": "services"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "onSave": "onSave"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
|
|
2788
2812
|
}
|
|
2789
2813
|
|
|
2790
2814
|
/**
|
|
@@ -2834,6 +2858,11 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
2834
2858
|
readonly lookups: _angular_core.InputSignal<readonly DashboardFilterLookup[] | null>;
|
|
2835
2859
|
/** Host-owned canonical or legacy status metadata for runtime filters. */
|
|
2836
2860
|
readonly statuses: _angular_core.InputSignal<readonly DashboardFilterStatus[] | null>;
|
|
2861
|
+
/**
|
|
2862
|
+
* Host-owned levels schema (product settings `levels.schema`). Backs the
|
|
2863
|
+
* runtime phase-gate and schema-settings filter option lists.
|
|
2864
|
+
*/
|
|
2865
|
+
readonly levelsSchema: _angular_core.InputSignal<readonly DashboardFilterLevelSchema[] | null>;
|
|
2837
2866
|
/** Enable page-wide runtime filters. */
|
|
2838
2867
|
readonly showFilters: _angular_core.InputSignal<boolean>;
|
|
2839
2868
|
/** Render the built-in, in-flow button that opens page runtime filters. */
|
|
@@ -2984,7 +3013,7 @@ declare class DashboardViewer implements OnInit, OnDestroy {
|
|
|
2984
3013
|
trackByDashboardId(_index: number, item: DashboardChartItem): string;
|
|
2985
3014
|
private refreshAllItems;
|
|
2986
3015
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardViewer, never>;
|
|
2987
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "showFilterTrigger": { "alias": "showFilterTrigger"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
|
|
3016
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "showFilterTrigger": { "alias": "showFilterTrigger"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
|
|
2988
3017
|
}
|
|
2989
3018
|
|
|
2990
3019
|
/**
|
|
@@ -4310,6 +4339,8 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
|
|
|
4310
4339
|
readonly title: _angular_core.Signal<string>;
|
|
4311
4340
|
/** Icon name */
|
|
4312
4341
|
readonly icon: _angular_core.Signal<string>;
|
|
4342
|
+
/** Position of the layout icon relative to the header title. */
|
|
4343
|
+
readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
|
|
4313
4344
|
/** Logo configuration */
|
|
4314
4345
|
readonly logo: _angular_core.Signal<any>;
|
|
4315
4346
|
/** Logo URL */
|
|
@@ -4338,6 +4369,16 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
|
|
|
4338
4369
|
* preserved.
|
|
4339
4370
|
*/
|
|
4340
4371
|
readonly headerJustify: _angular_core.Signal<string>;
|
|
4372
|
+
/**
|
|
4373
|
+
* Inline styles for `.header-content` (title + status list). Applied here
|
|
4374
|
+
* rather than on the outer `.header-card` row: `.header-content` has
|
|
4375
|
+
* `flex: 1` and always fills the row's free space, so setting
|
|
4376
|
+
* `justify-content` on the outer row was a no-op — there was nothing left
|
|
4377
|
+
* to redistribute. `align-items: center` additionally centers the block
|
|
4378
|
+
* when the header collapses to a column (icon-placement-top / narrow
|
|
4379
|
+
* cards), where `justify-content` controls the vertical axis instead.
|
|
4380
|
+
*/
|
|
4381
|
+
readonly headerContentStyles: _angular_core.Signal<Record<string, string>>;
|
|
4341
4382
|
/**
|
|
4342
4383
|
* Center the header block
|
|
4343
4384
|
* (configAsType.headerCardConfig.isHeaderCentered === true).
|
|
@@ -4803,6 +4844,14 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
4803
4844
|
readonly subtitleText: _angular_core.Signal<string>;
|
|
4804
4845
|
readonly showSubtitle: _angular_core.Signal<boolean>;
|
|
4805
4846
|
readonly icon: _angular_core.Signal<any>;
|
|
4847
|
+
/** Position of the layout icon relative to the topbar title. */
|
|
4848
|
+
readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
|
|
4849
|
+
/**
|
|
4850
|
+
* Center the icon/title block within the topbar row
|
|
4851
|
+
* (configAsType.headerCardConfig.isHeaderCentered === true) — same source
|
|
4852
|
+
* field the header widget reads.
|
|
4853
|
+
*/
|
|
4854
|
+
readonly isHeaderCentered: _angular_core.Signal<boolean>;
|
|
4806
4855
|
readonly iconColor: _angular_core.Signal<any>;
|
|
4807
4856
|
readonly iconBackgroundColor: _angular_core.Signal<any>;
|
|
4808
4857
|
readonly borderColor: _angular_core.Signal<any>;
|
|
@@ -6110,6 +6159,7 @@ declare class DashboardBuilderService {
|
|
|
6110
6159
|
/** Host-owned lookup/status metadata, matching the client-form contract. */
|
|
6111
6160
|
private readonly filterLookups;
|
|
6112
6161
|
private readonly filterStatuses;
|
|
6162
|
+
private readonly filterLevelsSchema;
|
|
6113
6163
|
/**
|
|
6114
6164
|
* Fixed selections that cannot be removed or edited in SelectionConfiguration.
|
|
6115
6165
|
* These selections are always shown and are read-only.
|
|
@@ -6156,7 +6206,7 @@ declare class DashboardBuilderService {
|
|
|
6156
6206
|
getDialogConfig(dialogId: string | number | null | undefined): ItemConfig | null;
|
|
6157
6207
|
setModulesTreeServices(services: readonly string[] | null | undefined): void;
|
|
6158
6208
|
setModulesTreeWorkspaceId(workspaceId: string | number | null | undefined): void;
|
|
6159
|
-
setFilterMetadata(lookups: readonly DashboardFilterLookup[] | null, statuses: readonly DashboardFilterStatus[] | null): void;
|
|
6209
|
+
setFilterMetadata(lookups: readonly DashboardFilterLookup[] | null, statuses: readonly DashboardFilterStatus[] | null, levelsSchema?: readonly DashboardFilterLevelSchema[] | null): void;
|
|
6160
6210
|
/**
|
|
6161
6211
|
* Add a single fixed selection
|
|
6162
6212
|
* @param selection Selection to add as fixed
|
|
@@ -6299,8 +6349,14 @@ declare class DashboardBuilderService {
|
|
|
6299
6349
|
private getClientSettings;
|
|
6300
6350
|
/** Narrow a possibly-corrupt settings value to an array (never throws). */
|
|
6301
6351
|
private asArray;
|
|
6302
|
-
/** Levels schema (used to resolve a level's phase gates). */
|
|
6352
|
+
/** Levels schema (used to resolve a level's logs and phase gates). */
|
|
6303
6353
|
getLevelsSchema(): any[];
|
|
6354
|
+
/**
|
|
6355
|
+
* Logs of a level, for the status filter's "Log" select. Prefers the level's
|
|
6356
|
+
* own `logs` collection (legacy contract) and otherwise derives them from the
|
|
6357
|
+
* level-scoped status metadata — see `buildDashboardLevelLogOptions`.
|
|
6358
|
+
*/
|
|
6359
|
+
getLevelLogsByLevelId(levelId: string | number | null | undefined, moduleNamesById?: ReadonlyMap<string, string>): DashboardFilterLevelLog[];
|
|
6304
6360
|
/** Available lookups for the page-filter "Lookup" dropdown. */
|
|
6305
6361
|
getLookups(): DashboardFilterLookup[];
|
|
6306
6362
|
/** Items of a single lookup (the runtime options for a `lookup` filter). */
|
|
@@ -6311,6 +6367,12 @@ declare class DashboardBuilderService {
|
|
|
6311
6367
|
* `basicLevelsStatuses` by moduleId + module ('Level' or 'Log').
|
|
6312
6368
|
*/
|
|
6313
6369
|
getStatuses(levelId: string | number | null | undefined, module?: 'Level' | 'Log'): DashboardFilterStatusItem[];
|
|
6370
|
+
/**
|
|
6371
|
+
* Raw status metadata (host-owned, else the cached client settings). Exposed
|
|
6372
|
+
* because the status filter derives its level-scoped "Log" options from the
|
|
6373
|
+
* same records the runtime later resolves statuses from.
|
|
6374
|
+
*/
|
|
6375
|
+
getStatusMetadata(): readonly DashboardFilterStatus[];
|
|
6314
6376
|
/** Phase gates of a level, for the runtime `phaseGate` filter. */
|
|
6315
6377
|
getPhaseGatesByLevelId(levelId: string | number | null | undefined): any[];
|
|
6316
6378
|
/**
|
|
@@ -6507,10 +6569,10 @@ declare class ManageFilterOnPage implements OnInit {
|
|
|
6507
6569
|
/** Handle filter configuration changes */
|
|
6508
6570
|
onFiltersChange(filters: FilterField[]): void;
|
|
6509
6571
|
/**
|
|
6510
|
-
* Hook for hosts that
|
|
6511
|
-
*
|
|
6512
|
-
*
|
|
6513
|
-
*
|
|
6572
|
+
* Hook for hosts that feed level-log values from their own source. Left as
|
|
6573
|
+
* a no-op because `DynamicFiltersConfig` already resolves the "Log" options
|
|
6574
|
+
* from the host-owned levels schema (`DashboardBuilder[levelsSchema]`);
|
|
6575
|
+
* `levelLogs` stays only as the fallback for an external log source.
|
|
6514
6576
|
*/
|
|
6515
6577
|
onLoadLevelLogs(_schemaLevelId: number): void;
|
|
6516
6578
|
/** Save and close the dialog */
|
|
@@ -6531,6 +6593,7 @@ declare class DynamicFiltersConfig implements ControlValueAccessor {
|
|
|
6531
6593
|
private readonly dashboardService;
|
|
6532
6594
|
private readonly destroyRef;
|
|
6533
6595
|
private readonly emptySelections;
|
|
6596
|
+
private readonly emptyLevelLogs;
|
|
6534
6597
|
private readonly emptyModulesProperties;
|
|
6535
6598
|
private readonly emptyProperties;
|
|
6536
6599
|
private readonly propertiesFlatCache;
|
|
@@ -6545,6 +6608,14 @@ declare class DynamicFiltersConfig implements ControlValueAccessor {
|
|
|
6545
6608
|
private readonly modulesTree;
|
|
6546
6609
|
readonly lookupOptions: _angular_core.Signal<DashboardFilterLookup[]>;
|
|
6547
6610
|
readonly levelSchemaOptions: _angular_core.Signal<any[]>;
|
|
6611
|
+
/** Module display names from the shared metadata tree, keyed by module id. */
|
|
6612
|
+
private readonly moduleNames;
|
|
6613
|
+
/**
|
|
6614
|
+
* Logs per level id, memoized so repeated template reads keep returning the
|
|
6615
|
+
* same array reference. Keyed access also keeps every status row on its own
|
|
6616
|
+
* level's logs instead of the single shared `levelLogs` list.
|
|
6617
|
+
*/
|
|
6618
|
+
private readonly levelLogsByLevelId;
|
|
6548
6619
|
/** Product type to filter available field types */
|
|
6549
6620
|
readonly productType: _angular_core.InputSignal<string>;
|
|
6550
6621
|
/** Workspace metadata scope used by the shared datasource selection editor. */
|
|
@@ -6586,6 +6657,12 @@ declare class DynamicFiltersConfig implements ControlValueAccessor {
|
|
|
6586
6657
|
updateFieldConfig(index: number, key: string, value: any): void;
|
|
6587
6658
|
/** Handle field type change */
|
|
6588
6659
|
onFieldTypeChange(index: number, type: FilterFieldType): void;
|
|
6660
|
+
/**
|
|
6661
|
+
* "Log" options for one status row's selected schema level. Resolved from
|
|
6662
|
+
* the shared filter metadata, falling back to the `levelLogs` input for
|
|
6663
|
+
* hosts that answer `(loadLevelLogs)` from their own source.
|
|
6664
|
+
*/
|
|
6665
|
+
levelLogOptions(schemaLevelId: string | number | null | undefined): DashboardFilterLevelLog[];
|
|
6589
6666
|
/** Handle schema level change for status/phaseGate */
|
|
6590
6667
|
onSchemaLevelChange(index: number, schemaLevelId: number): void;
|
|
6591
6668
|
updateDropdownSelections(index: number, selections: ISelection[]): void;
|
|
@@ -8883,4 +8960,4 @@ declare class GetChartActionsPipe implements PipeTransform {
|
|
|
8883
8960
|
declare function cloneDeep<T>(obj: T): T;
|
|
8884
8961
|
|
|
8885
8962
|
export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
|
|
8886
|
-
export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
|
|
8963
|
+
export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
|