@masterteam/dashboard-builder 0.0.100 → 0.0.102

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.
@@ -1,2 +1,2 @@
1
- export { aU as ActionsSettings, b0 as ArrayBuilderField, a2 as BarChartHandler, aN as BarControlUi, be as CHART_CAPABILITIES, aQ as CHART_TYPES, bt as CONFIG_DOMAINS, bX as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b4 as ChartFilterDrawer, aJ as ChartSettingsDrawer, aV as ChartViewer, a$ as ColorListField, ad as ComparisonChartHandler, a1 as DASHBOARD_ITEM_VISIBILITY, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aC as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ax as DashboardList, aD as DashboardStoreService, e as DashboardViewer, aT as DataSourceSettings, ba as DatasourcePanelComponent, aL as DefaultControlUi, aK as DisplaySettings, u as DynamicFiltersComponent, aI as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b9 as FilterBuilderComponent, bc as FilterByGroupPipe, b8 as FilterChipsBarComponent, a7 as GaugeChartHandler, aS as GeneralSettings, bd as GetChartActionsPipe, b7 as GuidedConfigDialogComponent, aB as HTTPMethod, H as HeaderCardComponent, cc as ITEM_GUIDANCE_REGISTRY, b3 as ItemCardMenuComponent, b6 as ItemConfigPopoverComponent, b5 as ItemContextToolbarComponent, ce as ItemGuidanceService, b1 as KeyValueMapField, L as LastHistoryLevelCardComponent, b2 as LegendOrderField, af as LevelCardHandler, ab as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, ay as MODULE_CLASSIFICATION_LOG, az as MODULE_CLASSIFICATION_LOG_NAME, aG as ManageBreadcrumb, aH as ManageFilterOnPage, aP as ManageItem, aR as ManageItemService, aF as ManagePages, ag as MapChartHandler, U as MapViewComponent, a9 as OverviewCardHandler, bw as POPOVER_TABS, bx as POPOVER_TAB_SPECS, aj as PhaseGateStepperHandler, a3 as PieChartHandler, aM as PieControlUi, P as PropertiesCardComponent, ah as RingGaugeChartHandler, ai as SPlusChartHandler, bO as STYLE_PRESETS, bb as SchemaControlRendererComponent, a_ as SegmentedField, V as SkeletonCardComponent, ac as SnapshotHandler, ae as SplitterChartHandler, a4 as StackBarChartHandler, aO as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aZ as StyleField, aX as StyleSettingsRenderer, aW as StyleStudioDrawer, Y as TableCardComponent, a8 as TableViewHandler, aa as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bK as applyBehaviorToPersisted, b_ as applyControlPatchToPersisted, b$ as applyControlPatchesToPersisted, bL as applyFilterChipsToPersisted, bI as applyLabelLegendFormatToPersisted, bG as applyLayoutToPersisted, bE as applyStyleToPersisted, bz as applyTitleToPersisted, a5 as axisFormatters, bJ as behaviorToUi, c7 as bindingKey, bN as buildAssembly, c6 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, ap as createAxisFormatter, aq as createTooltipFormatter, bA as datasourceToUi, bV as deepMerge, cd as describeGuidance, bu as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aY as expandResetPatches, bB as fieldsToUi, bC as filtersToUi, bv as findDomain, bQ as findPreset, c4 as flattenSchema, ar as formatAxisLabel, ak as formatCurrency, ao as formatDate, bW as formatForEditor, an as formatNumber, am as formatPercentage, k as formatValue, as as formatWordsUnderBar, at as formatXAxis, j as generalConfiguration, c8 as getBinding, bf as getCapabilityById, q as getColorFromConditions, c0 as getControlSchema, al as getCurrencySuffix, c3 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a6 as groupDatesByYearAndMonth, bT as groupIssuesByDomain, av as handleFilterForCard, aw as handleFilterForSnapshot, au as handleFiltersForCustom, bS as hasBlockingIssues, aA as isLogClassification, aE as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bH as labelLegendFormatToUi, bF as layoutToUi, c9 as listBindings, ca as listBindingsForChart, c1 as listControlSchemaIds, c2 as listControlSchemas, a0 as loadImmediately, A as mergePropertyAppearance, bn as moduleIdFromSelector, bk as normalizeAggregateFunction, bs as normalizeBeforeRequest, br as normalizeBeforeSave, bi as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bj as normalizeFilterOperation, bl as normalizeFilters, bq as normalizeOnLoad, $ as observeNearViewport, bU as parseAdvancedJson, bM as persistedToUi, K as plottableGroups, bP as presetsForCapability, cb as readBoundValue, bY as readByPath, bg as resolveCapability, c5 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bm as selectorFromLegacy, bZ as setByPath, m as sortChartData, o as sortDataTableView, bD as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, by as titleToUi, bh as toBackendChartType, bo as toBackendSourceLink, bp as toFormSourceLink, bR as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-dow5mT_G.mjs';
1
+ export { aU as ActionsSettings, b0 as ArrayBuilderField, a2 as BarChartHandler, aN as BarControlUi, be as CHART_CAPABILITIES, aQ as CHART_TYPES, bt as CONFIG_DOMAINS, bX as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b4 as ChartFilterDrawer, aJ as ChartSettingsDrawer, aV as ChartViewer, a$ as ColorListField, ad as ComparisonChartHandler, a1 as DASHBOARD_ITEM_VISIBILITY, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aC as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ax as DashboardList, aD as DashboardStoreService, e as DashboardViewer, aT as DataSourceSettings, ba as DatasourcePanelComponent, aL as DefaultControlUi, aK as DisplaySettings, u as DynamicFiltersComponent, aI as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b9 as FilterBuilderComponent, bc as FilterByGroupPipe, b8 as FilterChipsBarComponent, a7 as GaugeChartHandler, aS as GeneralSettings, bd as GetChartActionsPipe, b7 as GuidedConfigDialogComponent, aB as HTTPMethod, H as HeaderCardComponent, cc as ITEM_GUIDANCE_REGISTRY, b3 as ItemCardMenuComponent, b6 as ItemConfigPopoverComponent, b5 as ItemContextToolbarComponent, ce as ItemGuidanceService, b1 as KeyValueMapField, L as LastHistoryLevelCardComponent, b2 as LegendOrderField, af as LevelCardHandler, ab as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, ay as MODULE_CLASSIFICATION_LOG, az as MODULE_CLASSIFICATION_LOG_NAME, aG as ManageBreadcrumb, aH as ManageFilterOnPage, aP as ManageItem, aR as ManageItemService, aF as ManagePages, ag as MapChartHandler, U as MapViewComponent, a9 as OverviewCardHandler, bw as POPOVER_TABS, bx as POPOVER_TAB_SPECS, aj as PhaseGateStepperHandler, a3 as PieChartHandler, aM as PieControlUi, P as PropertiesCardComponent, ah as RingGaugeChartHandler, ai as SPlusChartHandler, bO as STYLE_PRESETS, bb as SchemaControlRendererComponent, a_ as SegmentedField, V as SkeletonCardComponent, ac as SnapshotHandler, ae as SplitterChartHandler, a4 as StackBarChartHandler, aO as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aZ as StyleField, aX as StyleSettingsRenderer, aW as StyleStudioDrawer, Y as TableCardComponent, a8 as TableViewHandler, aa as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bK as applyBehaviorToPersisted, b_ as applyControlPatchToPersisted, b$ as applyControlPatchesToPersisted, bL as applyFilterChipsToPersisted, bI as applyLabelLegendFormatToPersisted, bG as applyLayoutToPersisted, bE as applyStyleToPersisted, bz as applyTitleToPersisted, a5 as axisFormatters, bJ as behaviorToUi, c7 as bindingKey, bN as buildAssembly, c6 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, ap as createAxisFormatter, aq as createTooltipFormatter, bA as datasourceToUi, bV as deepMerge, cd as describeGuidance, bu as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aY as expandResetPatches, bB as fieldsToUi, bC as filtersToUi, bv as findDomain, bQ as findPreset, c4 as flattenSchema, ar as formatAxisLabel, ak as formatCurrency, ao as formatDate, bW as formatForEditor, an as formatNumber, am as formatPercentage, k as formatValue, as as formatWordsUnderBar, at as formatXAxis, j as generalConfiguration, c8 as getBinding, bf as getCapabilityById, q as getColorFromConditions, c0 as getControlSchema, al as getCurrencySuffix, c3 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a6 as groupDatesByYearAndMonth, bT as groupIssuesByDomain, av as handleFilterForCard, aw as handleFilterForSnapshot, au as handleFiltersForCustom, bS as hasBlockingIssues, aA as isLogClassification, aE as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bH as labelLegendFormatToUi, bF as layoutToUi, c9 as listBindings, ca as listBindingsForChart, c1 as listControlSchemaIds, c2 as listControlSchemas, a0 as loadImmediately, A as mergePropertyAppearance, bn as moduleIdFromSelector, bk as normalizeAggregateFunction, bs as normalizeBeforeRequest, br as normalizeBeforeSave, bi as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bj as normalizeFilterOperation, bl as normalizeFilters, bq as normalizeOnLoad, $ as observeNearViewport, bU as parseAdvancedJson, bM as persistedToUi, K as plottableGroups, bP as presetsForCapability, cb as readBoundValue, bY as readByPath, bg as resolveCapability, c5 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bm as selectorFromLegacy, bZ as setByPath, m as sortChartData, o as sortDataTableView, bD as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, by as titleToUi, bh as toBackendChartType, bo as toBackendSourceLink, bp as toFormSourceLink, bR as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-DfAo6fUq.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.100",
3
+ "version": "0.0.102",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -23,9 +23,9 @@
23
23
  "quill": "^2.0.3",
24
24
  "rxjs": "^7.8.2",
25
25
  "tailwindcss": "^4.2.2",
26
- "@masterteam/components": "^0.0.314",
27
26
  "@masterteam/icons": "^0.0.17",
28
- "@masterteam/timeline": "^0.0.23"
27
+ "@masterteam/timeline": "^0.0.23",
28
+ "@masterteam/components": "^0.0.318"
29
29
  },
30
30
  "dependencies": {
31
31
  "tslib": "^2.8.1",
@@ -698,8 +698,8 @@ declare class ItemCardMenuComponent {
698
698
  */
699
699
  /** Backend ChartType enum names that the host BE accepts in execution payloads. */
700
700
  type BackendChartType = 'BarChart' | 'PropertiesBarChar' | 'DonutChart' | 'TableChart' | 'SplitterChart' | 'BarStackChart' | 'TimeLine' | 'OverviewCard' | 'TableView' | 'PercentagePieChart' | 'Properties' | 'FormulaBarChart' | 'ComparisonChart' | 'BarV2Chart' | 'PieV2Chart' | 'StackBarV2Chart' | 'CardViewV2Chart' | 'GaugeChart' | 'LineChart' | 'SplitChart' | 'GaugeComponentChart' | 'PropertyCardView';
701
- type RequestType$1 = 'level' | 'levellog' | 'log' | 'custom' | 'snapShot' | 'levelCards' | 'timelineProjectDependencies' | 'customSplus' | 'phaseGate';
702
- type QueryEditorKind = 'none' | 'general' | 'lineChart' | 'table' | 'properties' | 'timeline' | 'timelineMultiLevel' | 'phaseGateTable' | 'map' | 'splitter' | 'snapshot' | 'phaseGate' | 'repeater';
701
+ type RequestType$1 = 'level' | 'levellog' | 'log' | 'custom' | 'snapShot' | 'levelCards' | 'timelineProjectDependencies' | 'customSplus';
702
+ type QueryEditorKind = 'none' | 'general' | 'lineChart' | 'table' | 'properties' | 'timeline' | 'timelineMultiLevel' | 'phaseGateTable' | 'map' | 'splitter' | 'snapshot' | 'phaseGateStepper' | 'repeater';
703
703
  type RendererKey = 'chart' | 'map' | 'table' | 'phaseGateTable' | 'timeline' | 'listStatistic' | 'levelCards' | 'properties' | 'entityPreview' | 'performanceCard' | 'performanceGaugeCard' | 'splitter' | 'phaseGateStepper' | 'header' | 'topbar' | 'repeater' | 'group' | 'raw';
704
704
  type Product = 'pplus' | 'splus' | 'report';
705
705
  /** Generic display schema field key. Open string to allow registry-specific extensions. */
@@ -872,8 +872,7 @@ declare function normalizeFilters(filters: any[] | undefined): any[] | undefined
872
872
  declare function selectorFromLegacy(moduleType: string | null | undefined, moduleId: string | number | null | undefined): string | null;
873
873
  /**
874
874
  * Extract numeric/string id from `Type:Id` selector. Used by legacy
875
- * host endpoints (`GetCards/{moduleId}`, `Levels/{levelId}/PhaseGates`)
876
- * which never accepted a selector.
875
+ * host endpoints (`GetCards/{moduleId}`) which never accepted a selector.
877
876
  */
878
877
  declare function moduleIdFromSelector(selector: string | null | undefined): string | null;
879
878
  /**
@@ -981,7 +980,7 @@ interface ChartDomainSupport {
981
980
  * Determine which domains apply to a given chart capability.
982
981
  *
983
982
  * Layout widgets (header/topbar/group) only support title + style + advanced.
984
- * Special endpoint widgets (snapshot/phaseGate/repeater) skip filters where
983
+ * Special endpoint widgets (snapshot/repeater) skip filters where
985
984
  * filters are not honored. Everything else gets the full domain set.
986
985
  *
987
986
  * Pure: never mutates the capability.
@@ -3238,7 +3237,7 @@ interface ChartLabel {
3238
3237
  /**
3239
3238
  * Request types for data fetching
3240
3239
  */
3241
- type RequestType = 'level' | 'levellog' | 'log' | 'custom' | 'snapShot' | 'levelCards' | 'timelineProjectDependencies' | 'customSplus' | 'phaseGate';
3240
+ type RequestType = 'level' | 'levellog' | 'log' | 'custom' | 'snapShot' | 'levelCards' | 'timelineProjectDependencies' | 'customSplus';
3242
3241
  /**
3243
3242
  * Chart type to component mapping
3244
3243
  */
@@ -3972,13 +3971,41 @@ declare class MapViewComponent {
3972
3971
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapViewComponent, "mt-map-view", never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "legendPosition": { "alias": "legendPosition"; "required": false; "isSignal": true; }; "legendIcon": { "alias": "legendIcon"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "configurationItem": { "alias": "configurationItem"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; }, { "pointClick": "pointClick"; }, never, never, true, never>;
3973
3972
  }
3974
3973
 
3974
+ interface PhaseGateStepperStep {
3975
+ name: string;
3976
+ isCurrent: boolean;
3977
+ isCompleted: boolean;
3978
+ }
3979
+ interface PhaseGateStepperData {
3980
+ steps: PhaseGateStepperStep[];
3981
+ /** Index of the current step; -1 when no step is current. */
3982
+ currentIndex: number;
3983
+ /** Distinct records in the response. Steps are built only when it is 1. */
3984
+ recordCount: number;
3985
+ noData: boolean;
3986
+ }
3987
+ /** One `TableView` cell — the backend's rendered `PropertyValueDto`. */
3988
+ interface PropertyValueCell {
3989
+ value?: unknown;
3990
+ rawValue?: unknown;
3991
+ }
3992
+ type PhaseGateRow = Record<string, PropertyValueCell | undefined>;
3993
+ declare class PhaseGateStepperHandler {
3994
+ /** Matches `functionName: 'handlePhaseGateStepperCard'` in the registry. */
3995
+ handlePhaseGateStepperCard(data: {
3996
+ values?: PhaseGateRow[];
3997
+ } | null | undefined, config: ItemConfig): PhaseGateStepperData;
3998
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PhaseGateStepperHandler, never>;
3999
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<PhaseGateStepperHandler>;
4000
+ }
4001
+
3975
4002
  /**
3976
4003
  * Inline view-mode the body should render with.
3977
4004
  *
3978
4005
  * - 'echart' — handler returned ECharts options.
3979
4006
  * - 'splitter' — handler returned `{ positive, negative }`.
3980
4007
  * - 'timeline' — handler returned `{ calendarOptions, ... }`.
3981
- * - 'phaseGateStepper' — handler returned `{ steps, currentIndex }`.
4008
+ * - 'phaseGateStepper' — handler returned `{ steps, currentIndex, recordCount }`.
3982
4009
  * - 'performanceGauge' — handler returned `{ performance, status, statuses }`.
3983
4010
  * - 'map' — handler returned the grouped location array.
3984
4011
  * - 'raw' — fallback to ECharts (we still try to render).
@@ -4116,9 +4143,12 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
4116
4143
  readonly timelineColumns: _angular_core.Signal<TimelineColumnConfig<unknown, unknown>[]>;
4117
4144
  readonly timelineEntityColumns: _angular_core.Signal<TimelineColumnConfig<unknown, unknown>[]>;
4118
4145
  readonly timelineGanttMapping: TimelineGanttMapping<any>;
4146
+ /** `PhaseGateStepperHandler` output; the stepper draws exactly one record. */
4147
+ private readonly phaseGateStepper;
4148
+ readonly phaseGateSteps: _angular_core.Signal<PhaseGateStepperStep[]>;
4119
4149
  readonly hasPhaseGateData: _angular_core.Signal<boolean>;
4120
- readonly phaseGateSteps: _angular_core.Signal<any[]>;
4121
- readonly phaseGateCurrentIndex: _angular_core.Signal<number>;
4150
+ /** More than one record in the data — the stepper asks for a narrower filter. */
4151
+ readonly phaseGateRecordCount: _angular_core.Signal<number>;
4122
4152
  readonly phaseGateShowLabels: _angular_core.Signal<boolean>;
4123
4153
  readonly phaseGateCompact: _angular_core.Signal<boolean>;
4124
4154
  ngOnInit(): void;
@@ -5139,7 +5169,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
5139
5169
  readonly iconColor: _angular_core.Signal<any>;
5140
5170
  readonly iconBackgroundColor: _angular_core.Signal<any>;
5141
5171
  readonly borderColor: _angular_core.Signal<any>;
5142
- readonly borderWidth: _angular_core.Signal<1 | 0>;
5172
+ readonly borderWidth: _angular_core.Signal<0 | 1>;
5143
5173
  readonly padding: _angular_core.Signal<number>;
5144
5174
  readonly titleFontSize: _angular_core.Signal<number>;
5145
5175
  readonly subtitleFontSize: _angular_core.Signal<number>;
@@ -5348,11 +5378,6 @@ declare class ChartDataService {
5348
5378
  * Fetch custom S+ data
5349
5379
  */
5350
5380
  private fetchCustomSplusData;
5351
- /**
5352
- * Fetch phase gate data
5353
- * URL: ${urlPrefix}api/Levels/${levelId}/PhaseGates
5354
- */
5355
- private fetchPhaseGateData;
5356
5381
  /**
5357
5382
  * Fetch data from custom API (customApi.customApiUrl)
5358
5383
  */
@@ -5988,76 +6013,6 @@ declare class SPlusChartHandler {
5988
6013
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SPlusChartHandler>;
5989
6014
  }
5990
6015
 
5991
- interface PhaseGateStep {
5992
- id: string | number;
5993
- name: string;
5994
- order: number;
5995
- status: 'completed' | 'current' | 'upcoming' | 'skipped';
5996
- date?: string;
5997
- completedDate?: string;
5998
- color?: string;
5999
- icon?: string;
6000
- properties?: PhaseGateProperty[];
6001
- }
6002
- interface PhaseGateProperty {
6003
- key: string;
6004
- label: string;
6005
- value: any;
6006
- displayValue?: string;
6007
- viewType?: string;
6008
- }
6009
- declare class PhaseGateStepperHandler {
6010
- private readonly storeService;
6011
- /**
6012
- * handlePhaseGateStepperCard - matches functionName from CHART_TYPES
6013
- * Returns data directly matching old PhaseGateStepperService format.
6014
- *
6015
- * Tolerates BE responses that arrive as: an array, an object with `phases`,
6016
- * an object with `phaseGates`, or an object with `data`. Always returns
6017
- * `{ phases, checkList, currentIndex, noData }` so the chart-card
6018
- * phase-gate view-mode can render safely without further branching.
6019
- */
6020
- handlePhaseGateStepperCard(data: any, _configurationItem: any): any;
6021
- /**
6022
- * Handle phase gate for table display
6023
- */
6024
- handleTable(dataResponse: any, config: ItemConfig): ChartDataHandled;
6025
- /**
6026
- * Parse phase gate data from API response
6027
- */
6028
- private parsePhaseGateData;
6029
- /**
6030
- * Determine step status
6031
- */
6032
- private determineStepStatus;
6033
- /**
6034
- * Get color based on status
6035
- */
6036
- private getStatusColor;
6037
- /**
6038
- * Parse step properties
6039
- */
6040
- private parseStepProperties;
6041
- /**
6042
- * Get display value from property
6043
- */
6044
- private getDisplayValue;
6045
- /**
6046
- * Build table columns from steps
6047
- */
6048
- private buildTableColumns;
6049
- /**
6050
- * Build table rows from steps
6051
- */
6052
- private buildTableRows;
6053
- /**
6054
- * Get localized status label
6055
- */
6056
- private getStatusLabel;
6057
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PhaseGateStepperHandler, never>;
6058
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<PhaseGateStepperHandler>;
6059
- }
6060
-
6061
6016
  /**
6062
6017
  * Formatters
6063
6018
  *
@@ -8388,7 +8343,7 @@ interface ModuleProperties {
8388
8343
  /**
8389
8344
  * Query component type based on chart type and component name
8390
8345
  */
8391
- type QueryComponentType = 'general' | 'lineChart' | 'table' | 'timeline' | 'timelineMultiLevel' | 'phaseGateTable' | 'map' | 'splitter' | 'properties' | 'snapshot' | 'phaseGate' | 'repeater' | 'none';
8346
+ type QueryComponentType = 'general' | 'lineChart' | 'table' | 'timeline' | 'timelineMultiLevel' | 'phaseGateTable' | 'map' | 'splitter' | 'properties' | 'snapshot' | 'phaseGateStepper' | 'repeater' | 'none';
8392
8347
  type TimelineTimeFrame = 'monthly' | 'quarterly' | 'biannually' | 'annually';
8393
8348
  /**
8394
8349
  * Data Source Settings Component
@@ -8544,7 +8499,7 @@ declare class DataSourceSettings {
8544
8499
  }[]>;
8545
8500
  /** Show source links when multiple selections exist */
8546
8501
  readonly showSourceLinks: _angular_core.Signal<boolean>;
8547
- /** Hide selection config for layout, snapshot, phaseGate types (they don't need data source selection) */
8502
+ /** Hide selection config for layout and snapshot types (they don't need data source selection) */
8548
8503
  readonly hideSelectionConfig: _angular_core.Signal<boolean>;
8549
8504
  /** Show groupByMultiple for table queries (non-report mode) */
8550
8505
  readonly showGroupByMultiple: _angular_core.Signal<boolean>;
@@ -8689,10 +8644,6 @@ declare class DataSourceSettings {
8689
8644
  * extra columns and phaseGate input fallback).
8690
8645
  */
8691
8646
  onRepeaterSelectedPropertiesChange(values: string[]): void;
8692
- /**
8693
- * Phase Gate query: a single levelId field (static or dynamic placeholder).
8694
- */
8695
- onPhaseGateLevelIdChange(value: string): void;
8696
8647
  /**
8697
8648
  * Timeline Multi-Level: list of per-level configurations + extra
8698
8649
  * selected properties. Auto-fills selectedProperties.
@@ -8715,9 +8666,15 @@ declare class DataSourceSettings {
8715
8666
  */
8716
8667
  readonly repeaterSelectedProperties: _angular_core.Signal<string[]>;
8717
8668
  /**
8718
- * Reads the phaseGate levelId — convenience accessor for the template.
8669
+ * Role pickers of the Phase Gate Stepper, in display order. The stepper
8670
+ * shares the PhaseGate Table query contract; which roles are required comes
8671
+ * from its capability schema.
8719
8672
  */
8720
- readonly phaseGateLevelId: _angular_core.Signal<string>;
8673
+ readonly phaseGateStepperRoles: readonly {
8674
+ field: PhaseGateTableRoleField;
8675
+ label: string;
8676
+ hint: string;
8677
+ }[];
8721
8678
  /** Dedicated PhaseGate table query hydrated from legacy table configs. */
8722
8679
  readonly phaseGateTableQuery: _angular_core.Signal<PhaseGateTableQueryConfig>;
8723
8680
  /**
@@ -9548,4 +9505,4 @@ declare class GetChartActionsPipe implements PipeTransform {
9548
9505
  declare function cloneDeep<T>(obj: T): T;
9549
9506
 
9550
9507
  export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CUSTOM_COLOR_OPTION, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DASHBOARD_ITEM_VISIBILITY, DEFAULT_MAP_REGION_KEY, 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, MAP_DATA_ATTRIBUTION, MAP_FALLBACK_COLORS, MAP_MARKER_PATH, MAP_REGIONS, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, MapViewComponent, 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, buildMapChartOption, 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, isLogClassification, isManagePagesDeleteResult, isMobilePlatform, isPlottable, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, loadImmediately, mergePropertyAppearance, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, observeNearViewport, parseAdvancedJson, persistedToUi, plottableGroups, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveMapRegion, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9551
- 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, DashboardItemVisibility, DashboardLevelLogsResolver, DashboardLevelModule, 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, GeoJsonCollection, 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, LocalizedLegendLabelChange, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, MapFontOptions, MapLegendOptions, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, 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 };
9508
+ 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, DashboardItemVisibility, DashboardLevelLogsResolver, DashboardLevelModule, 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, GeoJsonCollection, 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, LocalizedLegendLabelChange, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, MapFontOptions, MapLegendOptions, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateStepperData, PhaseGateStepperStep, 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 };