@masterteam/dashboard-builder 0.0.46 → 0.0.47

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.
@@ -6,14 +6,16 @@ import { ContextMenu } from 'primeng/contextmenu';
6
6
  import { MenuItem } from 'primeng/api';
7
7
  import { MTMenuItem } from '@masterteam/components/menu';
8
8
  import * as _angular_forms from '@angular/forms';
9
- import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors } from '@angular/forms';
9
+ import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors, FormControl } from '@angular/forms';
10
+ import * as rxjs from 'rxjs';
11
+ import { Observable } from 'rxjs';
10
12
  import { MTIcon } from '@masterteam/icons';
11
13
  import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
12
14
  import { EntityData as EntityData$1 } from '@masterteam/components/entities';
13
- import * as rxjs from 'rxjs';
14
- import { Observable } from 'rxjs';
15
15
  import { ColumnDef, TableAction, CellChangeEvent } from '@masterteam/components/table';
16
+ import { ActivatedRoute } from '@angular/router';
16
17
  import { ModalService } from '@masterteam/components/modal';
18
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
17
19
  import { ModalRef } from '@masterteam/components/dialog';
18
20
 
19
21
  /**
@@ -37,7 +39,24 @@ interface ModulesTreeRequest {
37
39
  workspaceId?: string | number | null;
38
40
  }
39
41
  /**
40
- * Module value item from tree response
42
+ * Extra linkage metadata carried by hierarchical tree nodes.
43
+ * Roots carry `nodeType`/`selector`; children carry `parent*` back-references.
44
+ */
45
+ interface ModuleValueExtra {
46
+ nodeType?: string;
47
+ selector?: string;
48
+ parentType?: string;
49
+ parentId?: string;
50
+ parentSelector?: string;
51
+ parentName?: string;
52
+ }
53
+ /**
54
+ * Module value item from tree response.
55
+ *
56
+ * From `metadata/modules/tree/hierarchical` a value may be a PARENT root
57
+ * (e.g. a `Template`) whose `children` hold the selectable nodes (e.g. `Level`).
58
+ * For flat modules (`Module`, `Request`) `children` is empty/absent and the
59
+ * value itself is the selectable node.
41
60
  */
42
61
  interface ModuleValue {
43
62
  id: number;
@@ -45,6 +64,8 @@ interface ModuleValue {
45
64
  value: string;
46
65
  selector: string;
47
66
  workspaceId?: string | number | null;
67
+ extra?: ModuleValueExtra;
68
+ children?: ModuleValue[];
48
69
  }
49
70
  /**
50
71
  * Module item from tree response
@@ -81,6 +102,31 @@ interface GroupedModuleOption {
81
102
  /** Items in this group */
82
103
  items: ModuleSelectOption[];
83
104
  }
105
+ /**
106
+ * Parent (root) option for the cascading parent select.
107
+ * Only emitted for hierarchical modules (values that have `children`).
108
+ */
109
+ interface ParentSelectOption {
110
+ /** Parent id (number) */
111
+ id: number;
112
+ /** Display name */
113
+ name: string;
114
+ /** Parent selector, e.g. "Template:48" */
115
+ selector: string;
116
+ /** Owning module type id, e.g. "Level" */
117
+ moduleTypeId: string;
118
+ }
119
+ /**
120
+ * Grouped parent option (grouped by owning module type).
121
+ */
122
+ interface GroupedParentOption {
123
+ /** Group label (module name like "Levels") */
124
+ label: string;
125
+ /** Module type id */
126
+ moduleTypeId: string;
127
+ /** Parent roots in this group */
128
+ items: ParentSelectOption[];
129
+ }
84
130
  /**
85
131
  * Module option for select dropdown
86
132
  */
@@ -511,6 +557,8 @@ type ItemCardMenuAction = {
511
557
  };
512
558
  declare class ItemCardMenuComponent {
513
559
  private readonly transloco;
560
+ /** Per-chart filters are configured inside Manage Item (the "Filters" tab),
561
+ * matching the old builder — so the kebab Filters entry stays hidden. */
514
562
  private readonly filtersActionVisible;
515
563
  /** Whether to allow duplicate (excluded for layout/group widgets). */
516
564
  readonly allowDuplicate: _angular_core.InputSignal<boolean>;
@@ -724,6 +772,18 @@ declare function moduleIdFromSelector(selector: string | null | undefined): stri
724
772
  * source1LinkProperty, source2LinkProperty, isFilterLinkage, isLeftJoin }
725
773
  */
726
774
  declare function toBackendSourceLink(link: any, fallbackId: number): any;
775
+ /**
776
+ * Map a source-link entry (backend DTO OR already-FE shape) to the FE form
777
+ * shape the SourceLinkConfiguration control binds to. Inverse of
778
+ * toBackendSourceLink. Tolerant of both encodings so configs loaded straight
779
+ * from the BE (sourceId1 / source1LinkProperty) AND in-session FE edits
780
+ * (source1SelectionId / source1PropertyKey) both restore correctly — the
781
+ * source-link form was rendering blank because it only read the FE keys.
782
+ *
783
+ * BE chained links use `sourceLinkId2` with the source1/source2 link
784
+ * properties swapped (matching the runtime join direction); mirror that.
785
+ */
786
+ declare function toFormSourceLink(link: any): any;
727
787
  /**
728
788
  * Normalize a config that may be old (moduleType/moduleId, fuctionName,
729
789
  * root repeaterDashboardId) into canonical new shape, without losing data.
@@ -928,6 +988,7 @@ interface LabelLegendFormatUi {
928
988
  legendShow: boolean;
929
989
  legendPosition: 'top' | 'right' | 'bottom' | 'left';
930
990
  legendIconType: 'circle' | 'rect' | 'roundRect' | 'triangle' | 'diamond';
991
+ legendOverrideOrder: string[];
931
992
  labelShow: boolean;
932
993
  labelPosition: 'inside' | 'outside' | 'top';
933
994
  formatType: 'number' | 'currency' | 'percentage';
@@ -1113,8 +1174,15 @@ declare function formatForEditor(value: unknown): string;
1113
1174
  * to the schema affects rendering through the existing pipeline.
1114
1175
  */
1115
1176
 
1116
- /** Canonical control field types the generic renderer can render. */
1117
- type ControlFieldType = 'text' | 'multilineText' | 'number' | 'boolean' | 'color' | 'select' | 'multiselect' | 'iconPicker' | 'palette' | 'json' | 'numberRange' | 'cssDimension';
1177
+ /**
1178
+ * Canonical control field types the generic renderer can render.
1179
+ *
1180
+ * The first block maps 1:1 to a single `mt-*` field. The composite block
1181
+ * (`segmented`, `colorList`, `arrayBuilder`, `keyValueMap`, `conditionBuilder`)
1182
+ * renders a small bespoke editor so structured config never falls back to a raw
1183
+ * JSON textarea. `json` is retained ONLY for the Advanced escape hatch.
1184
+ */
1185
+ type ControlFieldType = 'text' | 'multilineText' | 'number' | 'boolean' | 'color' | 'select' | 'multiselect' | 'iconPicker' | 'palette' | 'json' | 'numberRange' | 'cssDimension' | 'segmented' | 'colorList' | 'arrayBuilder' | 'keyValueMap' | 'conditionBuilder' | 'legendOrder';
1118
1186
  /** Where the control lives in the popover. */
1119
1187
  type ControlSectionScope = 'simple' | 'advanced';
1120
1188
  /** Domain bucket — used by the popover to group controls and validation. */
@@ -1176,6 +1244,33 @@ interface ControlField {
1176
1244
  visibleWhen?: ControlVisiblePredicate;
1177
1245
  /** Optional placeholder text. */
1178
1246
  placeholder?: string;
1247
+ /** Optional unit suffix shown on number / numberRange / cssDimension (e.g. '%', 'px'). */
1248
+ unit?: string;
1249
+ /**
1250
+ * For `arrayBuilder` / `conditionBuilder`: the sub-fields rendered for every
1251
+ * row. Each sub-field's `path` is relative to the row object (e.g. `en`).
1252
+ */
1253
+ itemFields?: ControlField[];
1254
+ /**
1255
+ * For `arrayBuilder`: a sub-field key whose value labels each collapsed row
1256
+ * (falls back to a generic "Item N" when absent).
1257
+ */
1258
+ itemTitleKey?: string;
1259
+ /** For `arrayBuilder` / `keyValueMap`: row-count bounds. */
1260
+ minItems?: number;
1261
+ maxItems?: number;
1262
+ /** For `arrayBuilder`: label for the add button. */
1263
+ addLabel?: string;
1264
+ /**
1265
+ * For `keyValueMap`: enumerates the keys (e.g. the chart's selected
1266
+ * properties). Each option's `value` becomes a map key, `label` its caption.
1267
+ */
1268
+ keysFrom?: (cfg: PersistedItemConfig, cap: ChartCapability | null) => ControlOption[];
1269
+ /**
1270
+ * For `keyValueMap`: the sub-fields rendered for each key's value object.
1271
+ * A single sub-field with `path: ''` stores a scalar per key.
1272
+ */
1273
+ valueFields?: ControlField[];
1179
1274
  }
1180
1275
  /** A logical group of fields in the popover. */
1181
1276
  interface ControlSection {
@@ -2189,7 +2284,6 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2189
2284
  /** Reference to chart settings drawer */
2190
2285
  private chartSettingsRef;
2191
2286
  readonly languageCode: _angular_core.Signal<string>;
2192
- readonly direction: _angular_core.Signal<"rtl" | "ltr">;
2193
2287
  readonly chartActionsContext: ChartActionsContext;
2194
2288
  readonly options: GridsterConfig;
2195
2289
  private subscription;
@@ -2262,7 +2356,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2262
2356
  * `ItemCardMenuAction` and the host routes each id to one obvious owner:
2263
2357
  *
2264
2358
  * - configure-datasource → ManageItem (advanced editor)
2265
- * - style → ChartSettingsDrawer
2359
+ * - style → StyleStudioDrawer (schema-driven style editor)
2266
2360
  * - filters → ChartFilterDrawer
2267
2361
  * - edit-title → multilingual title editor
2268
2362
  * - duplicate / delete → host helpers
@@ -2284,6 +2378,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2284
2378
  /** Whether the kebab menu should appear on this chart card. */
2285
2379
  showContextToolbar(chart: DashboardChartItem): boolean;
2286
2380
  isPropertiesListChart(chart: DashboardChartItem): boolean;
2381
+ isTopbarChart(chart: DashboardChartItem): boolean;
2287
2382
  editItem(chart: DashboardChartItem, parentItem?: DashboardChartItem, defaultTab?: 'general' | 'dataSource' | 'actions'): void;
2288
2383
  deleteItem(chart: DashboardChartItem): void;
2289
2384
  /**
@@ -2377,6 +2472,75 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2377
2472
  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; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "onSave": "onSave"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
2378
2473
  }
2379
2474
 
2475
+ /**
2476
+ * Store Service
2477
+ *
2478
+ * Simple reactive store for dashboard builder state management
2479
+ */
2480
+ declare class DashboardStoreService {
2481
+ /** Query parameters */
2482
+ private queryParamsSignal;
2483
+ readonly queryParams: _angular_core.Signal<Record<string, any>>;
2484
+ /** Stop actions on cards flag */
2485
+ private stopActionsSignal;
2486
+ readonly stopActions: _angular_core.Signal<boolean>;
2487
+ /** Dynamic key-value store */
2488
+ private dynamicStore;
2489
+ /** Language code */
2490
+ readonly languageCode: _angular_core.WritableSignal<string>;
2491
+ /** Direction */
2492
+ readonly direction: _angular_core.WritableSignal<"rtl" | "ltr">;
2493
+ /** Inside Report Viewer flag - controls text truncation in charts */
2494
+ private insideReportViewerSignal;
2495
+ readonly insideReportViewer: _angular_core.Signal<boolean>;
2496
+ /** Reload current page subject */
2497
+ private reloadCurrentPageSubject;
2498
+ readonly reloadCurrentPage$: rxjs.Observable<void>;
2499
+ /**
2500
+ * Trigger reload of current page
2501
+ */
2502
+ triggerReloadCurrentPage(): void;
2503
+ /**
2504
+ * Update query parameters
2505
+ */
2506
+ updateQueryParams(params: Record<string, any>): void;
2507
+ /**
2508
+ * Update stop actions flag
2509
+ */
2510
+ updateStopActions(value: boolean): void;
2511
+ /**
2512
+ * Set inside report viewer mode
2513
+ * When true, axis labels won't be truncated and custom legends may be skipped
2514
+ */
2515
+ setInsideReportViewer(value: boolean): void;
2516
+ /**
2517
+ * Update dynamic key in store
2518
+ */
2519
+ updateDynamicKey(key: string, value: any): void;
2520
+ /**
2521
+ * Get dynamic key from store
2522
+ */
2523
+ getDynamicKey<T = any>(key: string): T | undefined;
2524
+ /**
2525
+ * Get computed value from dynamic store
2526
+ */
2527
+ selectDynamicKey<T = any>(key: string): _angular_core.Signal<T | undefined>;
2528
+ /**
2529
+ * Get query params as a plain object
2530
+ */
2531
+ getQueryParams(): Record<string, any>;
2532
+ /**
2533
+ * Get extra filters for a specific dashboard action
2534
+ */
2535
+ getExtraFilterForCurrentAction(dashboardId: string): Record<string, any>;
2536
+ /**
2537
+ * Reset store to initial state
2538
+ */
2539
+ reset(): void;
2540
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardStoreService, never>;
2541
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardStoreService>;
2542
+ }
2543
+
2380
2544
  /**
2381
2545
  * Dashboard Viewer Component
2382
2546
  *
@@ -2397,6 +2561,9 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2397
2561
  private itemStoreService;
2398
2562
  private limitedHttp;
2399
2563
  private route;
2564
+ private router;
2565
+ /** Expose the store so the template can seed the filter sidebar. */
2566
+ protected readonly store: DashboardStoreService;
2400
2567
  private get repeaterUrlConfig();
2401
2568
  /** Whether to wrap content in mt-page component */
2402
2569
  readonly isPage: _angular_core.InputSignal<boolean>;
@@ -2453,7 +2620,22 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2453
2620
  ngOnInit(): void;
2454
2621
  ngOnDestroy(): void;
2455
2622
  private setupSubscriptions;
2623
+ /**
2624
+ * Apply page-filter selections. Preferred path: write them onto the URL so
2625
+ * the `route.queryParams` subscription funnels them into the store and every
2626
+ * chart re-requests (the existing, correct pipeline). With no route (preview)
2627
+ * fall back to updating the store + refreshing directly.
2628
+ */
2629
+ onPageFilterChange(values: Record<string, any>): void;
2456
2630
  loadPage(id: string | number): void;
2631
+ /**
2632
+ * Normalize a page's filters into a FLAT `FilterField[]`. The backend stores
2633
+ * `dashboardConfig.filters` as a JSON string OR an array; older code wrapped
2634
+ * an already-array value in another array (`[[...]]`), which broke the
2635
+ * sidebar and surfaced an empty "Filters" tab in the value field. Flatten +
2636
+ * drop empties so consumers always receive real filter fields.
2637
+ */
2638
+ private normalizeFilters;
2457
2639
  private applyDashboardData;
2458
2640
  reloadPage(): void;
2459
2641
  /**
@@ -2665,7 +2847,7 @@ type RequestType = 'level' | 'levellog' | 'log' | 'custom' | 'snapShot' | 'level
2665
2847
  /**
2666
2848
  * Chart type to component mapping
2667
2849
  */
2668
- type ComponentType = 'chart' | 'map' | 'BackgroundTextChart' | 'chartCustomWithCardInfo' | 'listOfcharts' | 'listOfCardsStatistic' | 'cardsStatistic' | 'header' | 'footer' | 'label' | 'listOfLevelCards' | 'dialog' | 'table' | 'phaseGateTable' | 'topbar' | 'timeline' | 'timelineProjectDependencies' | 'lastHistoryLevelCard' | 'entitiesPreview' | 'entityPreview' | 'clusterStackedChart' | 'listComponentSplusCard' | 'splitterChart' | 'repeater' | 'levelCardsWithStatic' | 'phaseGateStepperCard' | 'Group';
2850
+ type ComponentType = 'chart' | 'map' | 'BackgroundTextChart' | 'chartCustomWithCardInfo' | 'listOfcharts' | 'listOfCardsStatistic' | 'cardsStatistic' | 'header' | 'footer' | 'label' | 'listOfLevelCards' | 'dialog' | 'table' | 'phaseGateTable' | 'topbar' | 'timeline' | 'timelineProjectDependencies' | 'lastHistoryLevelCard' | 'entitiesPreview' | 'entityPreview' | 'performanceCard' | 'performanceGaugeCard' | 'clusterStackedChart' | 'listComponentSplusCard' | 'splitterChart' | 'repeater' | 'levelCardsWithStatic' | 'phaseGateStepperCard' | 'Group';
2669
2851
  /**
2670
2852
  * EChart series data item
2671
2853
  */
@@ -2919,6 +3101,7 @@ declare class DashboardItem implements OnInit, OnDestroy {
2919
3101
  private initialized;
2920
3102
  /** Track current dashboardId to detect changes */
2921
3103
  private currentDashboardId;
3104
+ private isMissingQueryValue;
2922
3105
  constructor();
2923
3106
  ngOnInit(): void;
2924
3107
  /**
@@ -3100,7 +3283,7 @@ declare class CardFilterComponent implements OnInit {
3100
3283
  /** Language code */
3101
3284
  readonly langCode: _angular_core.Signal<string>;
3102
3285
  /** Filter type */
3103
- readonly filterType: _angular_core.Signal<"date" | "text" | "select" | "multiselect" | "multiSelect" | "daterange">;
3286
+ readonly filterType: _angular_core.Signal<"text" | "select" | "multiselect" | "date" | "multiSelect" | "daterange">;
3104
3287
  /** Filter options */
3105
3288
  readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
3106
3289
  /** Placeholder text */
@@ -3234,6 +3417,13 @@ interface DynamicFilterOption {
3234
3417
  declare class DynamicFiltersComponent implements OnInit {
3235
3418
  private readonly storeService;
3236
3419
  private readonly transloco;
3420
+ private readonly dashboardService;
3421
+ private readonly filterUtils;
3422
+ private readonly destroyRef;
3423
+ /** Loaded option lists per field key (lookup/status/phaseGate/dropdown). */
3424
+ private readonly optionsByKey;
3425
+ /** Field keys whose options have already been requested (avoid refetch). */
3426
+ private readonly loadedOptionKeys;
3237
3427
  /** Dynamic filter fields configuration */
3238
3428
  readonly fields: _angular_core.InputSignal<DynamicFilterField[]>;
3239
3429
  /** Dashboard ID for store updates */
@@ -3263,6 +3453,19 @@ declare class DynamicFiltersComponent implements OnInit {
3263
3453
  labelEn: string;
3264
3454
  labelAr: string;
3265
3455
  }[];
3456
+ constructor();
3457
+ /** Options to show for a field: loaded set, else any preloaded on config. */
3458
+ optionsFor(field: DynamicFilterField): any[];
3459
+ /**
3460
+ * Load a field's options by type (lookup/status/phaseGate from client
3461
+ * settings; dropdownTVService by running its selection). Year/month/quarter
3462
+ * use the built-in option lists; date/user/checkbox need none.
3463
+ */
3464
+ private loadOptions;
3465
+ /** Resolve a dropdown-by-selection field's distinct values via its query. */
3466
+ private loadDropdownTvServiceOptions;
3467
+ private mapTvServiceRows;
3468
+ private setOptions;
3266
3469
  ngOnInit(): void;
3267
3470
  /**
3268
3471
  * Get localized field label
@@ -3327,9 +3530,44 @@ declare class CardInfoComponent {
3327
3530
  * - 'splitter' — handler returned `{ positive, negative }`.
3328
3531
  * - 'timeline' — handler returned `{ calendarOptions, ... }`.
3329
3532
  * - 'phaseGateStepper' — handler returned `{ steps, currentIndex }`.
3533
+ * - 'performanceGauge' — handler returned `{ performance, status, statuses }`.
3330
3534
  * - 'raw' — fallback to ECharts (we still try to render).
3331
3535
  */
3332
- type CardViewMode = 'echart' | 'splitter' | 'timeline' | 'phaseGateStepper' | 'raw';
3536
+ type CardViewMode = 'echart' | 'splitter' | 'timeline' | 'phaseGateStepper' | 'performanceGauge' | 'raw';
3537
+ interface PerformanceGaugeStatus {
3538
+ key?: string;
3539
+ name?: string | Record<string, string>;
3540
+ display?: string | Record<string, string>;
3541
+ color?: string;
3542
+ from?: number;
3543
+ to?: number;
3544
+ [key: string]: any;
3545
+ }
3546
+ interface PerformanceGaugeSegment {
3547
+ key: string;
3548
+ label: string;
3549
+ color: string;
3550
+ dashArray: string;
3551
+ dashOffset: number;
3552
+ opacity: number;
3553
+ labelX: number;
3554
+ labelY: number;
3555
+ }
3556
+ interface PerformanceGaugeViewModel {
3557
+ value: number;
3558
+ display: string;
3559
+ label: string;
3560
+ status: PerformanceGaugeStatus;
3561
+ statuses: PerformanceGaugeStatus[];
3562
+ min: number;
3563
+ max: number;
3564
+ percent: number;
3565
+ scalePercent: number;
3566
+ marker: {
3567
+ x: number;
3568
+ y: number;
3569
+ };
3570
+ }
3333
3571
  declare class ChartCardComponent implements OnInit, OnDestroy {
3334
3572
  private readonly storeService;
3335
3573
  private readonly dashboardStore;
@@ -3371,7 +3609,9 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3371
3609
  } | undefined>;
3372
3610
  /** Static filter configuration */
3373
3611
  readonly staticFilterConfig: _angular_core.Signal<StaticFilterConfig | null>;
3374
- /** Dynamic filter fields */
3612
+ /** Dynamic filter fields. Reads the current `dynamicFilters`, falling back to
3613
+ * the legacy p+4 location `extraFilters.dynamicFilters` so old charts still
3614
+ * render their interactive filters. */
3375
3615
  readonly dynamicFilterFields: _angular_core.Signal<DynamicFilterField[]>;
3376
3616
  /** Show static filters */
3377
3617
  readonly showStaticFilters: _angular_core.Signal<boolean | undefined>;
@@ -3382,6 +3622,8 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3382
3622
  * Falls back to 'echart' when not a special widget.
3383
3623
  */
3384
3624
  readonly componentViewMode: _angular_core.Signal<CardViewMode>;
3625
+ readonly performanceGauge: _angular_core.Signal<PerformanceGaugeViewModel>;
3626
+ readonly performanceGaugeSegments: _angular_core.Signal<PerformanceGaugeSegment[]>;
3385
3627
  /**
3386
3628
  * Whether the chart needs configuration (no selection, no customApi, and
3387
3629
  * not a layout/special-endpoint widget).
@@ -3400,7 +3642,9 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3400
3642
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
3401
3643
  readonly timelineHeaderTextColor: _angular_core.Signal<string | null>;
3402
3644
  readonly timelineMode: _angular_core.WritableSignal<TimelineScaleMode>;
3645
+ readonly timelineExtraPropertyKeys: _angular_core.Signal<string[]>;
3403
3646
  readonly timelineColumns: _angular_core.Signal<TimelineColumnConfig<unknown, unknown>[]>;
3647
+ readonly timelineEntityColumns: _angular_core.Signal<TimelineColumnConfig<unknown, unknown>[]>;
3404
3648
  readonly timelineGanttMapping: TimelineGanttMapping<any>;
3405
3649
  readonly hasPhaseGateData: _angular_core.Signal<boolean>;
3406
3650
  readonly phaseGateSteps: _angular_core.Signal<any[]>;
@@ -3410,7 +3654,30 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3410
3654
  ngOnInit(): void;
3411
3655
  ngOnDestroy(): void;
3412
3656
  onChartClick(event: any): void;
3657
+ hasActions(): boolean;
3658
+ onPerformanceGaugeClick(event: MouseEvent): void;
3659
+ performanceGaugeStatusName(): string;
3660
+ private resolvePerformanceGaugePerformance;
3661
+ private resolvePerformanceGaugeStatuses;
3662
+ private resolvePerformanceGaugeStatus;
3663
+ private matchPerformanceGaugeStatus;
3664
+ private getFallbackPerformanceGaugeStatus;
3665
+ private resolvePerformanceGaugeScale;
3666
+ private resolvePerformanceGaugeLabel;
3667
+ private resolvePerformanceGaugeScalePercent;
3668
+ private resolvePerformanceGaugeStatusColor;
3669
+ private toPerformanceGaugePercent;
3670
+ private getPerformanceGaugePoint;
3671
+ private normalizePerformanceGaugeKey;
3672
+ private toLocalizedPerformanceGaugeText;
3673
+ private formatPerformanceGaugeValue;
3674
+ private formatCompactNumber;
3675
+ private toFiniteNumber;
3676
+ private clamp;
3677
+ onTimelineTitleClick(resource: any, event: MouseEvent): void;
3413
3678
  onTimelineItemClick(resource: any): void;
3679
+ private executeTimelineAction;
3680
+ timelineCollapseIcon(isCollapsed: boolean): string;
3414
3681
  onHeaderClick(): void;
3415
3682
  onConfigureClick(event: Event): void;
3416
3683
  /** Format an ISO date for inline timeline display. */
@@ -3418,8 +3685,25 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3418
3685
  private resolveTimelineMode;
3419
3686
  private getTimelineEventForResource;
3420
3687
  private resolveTimelineProgress;
3688
+ private hasTimelineProgressProperty;
3421
3689
  private resolveTimelineColor;
3690
+ timelinePopoverEntities(resourceOrEvent: any): EntityData$1[];
3691
+ timelineColumnEntityData(value: any): EntityData$1;
3692
+ private resolveTimelineExtraPropertyEntity;
3693
+ private resolveTimelineExtraColumnHeader;
3694
+ private findTimelineExtraProperty;
3695
+ private toTimelinePopoverEntityData;
3696
+ private resolveTimelineEntityName;
3697
+ private resolveTimelineEntityValue;
3698
+ private mapTimelineEntityViewType;
3699
+ private resolveTimelineStatusEntity;
3422
3700
  private resolveTimelineStatus;
3701
+ private toTimelinePropertyKey;
3702
+ private toTimelineExtraColumnKey;
3703
+ private isTimelineStatusKey;
3704
+ private isTimelineEntityValue;
3705
+ private normalizeTimelineLookupKey;
3706
+ private humanizeTimelinePropertyKey;
3423
3707
  private toDisplayText;
3424
3708
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartCardComponent, never>;
3425
3709
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartCardComponent, "mt-chart-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "isConfigMode": { "alias": "isConfigMode"; "required": false; "isSignal": true; }; "titleEditable": { "alias": "titleEditable"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; "onConfigure": "onConfigure"; "onTitleChange": "onTitleChange"; }, never, never, true, never>;
@@ -3477,7 +3761,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3477
3761
  readonly showCustomLegend: _angular_core.Signal<boolean>;
3478
3762
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
3479
3763
  /** Custom HTML legend placement from the configured legend position. */
3480
- readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3764
+ readonly customLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
3481
3765
  constructor();
3482
3766
  ngOnInit(): Promise<void>;
3483
3767
  ngAfterViewInit(): void;
@@ -3604,11 +3888,13 @@ declare class EntityInfoComponent {
3604
3888
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityInfoComponent, "mt-entity-info", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "displayType": { "alias": "displayType"; "required": false; "isSignal": true; }; "extraInfoData": { "alias": "extraInfoData"; "required": false; "isSignal": true; }; "limitWords": { "alias": "limitWords"; "required": false; "isSignal": true; }; "customClass": { "alias": "customClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3605
3889
  }
3606
3890
 
3607
- interface PropsConfigAsIndexItem$1 {
3891
+ interface PropertyRuntimeConfig {
3608
3892
  width?: string;
3609
3893
  hidden?: boolean;
3610
3894
  border?: boolean | string[];
3895
+ colorAsProperty?: string;
3611
3896
  }
3897
+
3612
3898
  interface DashboardCardProperty extends EntityData$1 {
3613
3899
  label?: string | Record<string, string>;
3614
3900
  }
@@ -3654,7 +3940,8 @@ declare class PropertiesCardComponent implements OnInit, OnDestroy {
3654
3940
  readonly galleryMode: _angular_core.Signal<boolean>;
3655
3941
  readonly currentTabItems: _angular_core.Signal<DashboardTabItem[]>;
3656
3942
  readonly selectedProperties: _angular_core.Signal<string[]>;
3657
- readonly propsConfigAsIndex: _angular_core.Signal<PropsConfigAsIndexItem$1[]>;
3943
+ readonly propsConfigAsIndex: _angular_core.Signal<PropertyRuntimeConfig[]>;
3944
+ readonly legacyHiddenPropertyKeys: _angular_core.Signal<string[]>;
3658
3945
  readonly tabOptions: _angular_core.Signal<DashboardCardTabOption[]>;
3659
3946
  readonly showTabs: _angular_core.Signal<boolean>;
3660
3947
  readonly currentTabCards: _angular_core.Signal<DashboardCardViewModel[]>;
@@ -3662,7 +3949,6 @@ declare class PropertiesCardComponent implements OnInit, OnDestroy {
3662
3949
  ngOnInit(): void;
3663
3950
  ngOnDestroy(): void;
3664
3951
  onCardClick(card: DashboardCardData): void;
3665
- private normalizePropertyKey;
3666
3952
  private clampEntitySize;
3667
3953
  private resolveEntitySize;
3668
3954
  private resolveShowBorder;
@@ -3702,6 +3988,7 @@ declare class EntityPreviewCardComponent implements OnInit, OnDestroy {
3702
3988
  private clampEntitySize;
3703
3989
  private resolveEntitySize;
3704
3990
  private resolveShowBorder;
3991
+ private readLegacyHiddenPropertyKeys;
3705
3992
  private mapViewType;
3706
3993
  private resolveEntityName;
3707
3994
  private readLocalizedText;
@@ -3794,6 +4081,42 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
3794
4081
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderCardComponent, "mt-header-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; "titleEditable": { "alias": "titleEditable"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; "titleChange": "titleChange"; }, never, never, true, never>;
3795
4082
  }
3796
4083
 
4084
+ interface ProgressUpdateStatus {
4085
+ created: string;
4086
+ createdBy: any;
4087
+ previousActivities: string;
4088
+ nextActivities: string;
4089
+ }
4090
+ declare class LastHistoryLevelCardComponent implements OnInit, OnDestroy {
4091
+ private readonly itemStore;
4092
+ private readonly dashboardStore;
4093
+ private readonly subscription;
4094
+ readonly dashboardId: _angular_core.InputSignal<string | number | null>;
4095
+ readonly inGroup: _angular_core.InputSignal<boolean>;
4096
+ readonly onAction: _angular_core.OutputEmitterRef<{
4097
+ type: string;
4098
+ data: any;
4099
+ }>;
4100
+ readonly configurationItem: _angular_core.WritableSignal<ItemConfig | null>;
4101
+ readonly dataHandled: _angular_core.WritableSignal<any>;
4102
+ readonly title: _angular_core.Signal<string>;
4103
+ readonly status: _angular_core.Signal<ProgressUpdateStatus>;
4104
+ readonly hasProgressUpdate: _angular_core.Signal<boolean>;
4105
+ readonly createdByName: _angular_core.Signal<any>;
4106
+ readonly showStaticFilters: _angular_core.Signal<any>;
4107
+ readonly showDynamicFilters: _angular_core.Signal<boolean>;
4108
+ readonly showTopEnd: _angular_core.Signal<any>;
4109
+ ngOnInit(): void;
4110
+ ngOnDestroy(): void;
4111
+ onHeaderClick(): void;
4112
+ private buildStatus;
4113
+ private findPropertyValue;
4114
+ private unwrapPropertyValue;
4115
+ private normalize;
4116
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LastHistoryLevelCardComponent, never>;
4117
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LastHistoryLevelCardComponent, "mt-last-history-level-card", never, { "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
4118
+ }
4119
+
3797
4120
  declare class ListStatisticCardComponent implements OnInit, OnDestroy {
3798
4121
  private readonly storeService;
3799
4122
  private readonly subscription;
@@ -4098,7 +4421,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
4098
4421
  readonly iconColor: _angular_core.Signal<any>;
4099
4422
  readonly iconBackgroundColor: _angular_core.Signal<any>;
4100
4423
  readonly borderColor: _angular_core.Signal<any>;
4101
- readonly borderWidth: _angular_core.Signal<0 | 1>;
4424
+ readonly borderWidth: _angular_core.Signal<1 | 0>;
4102
4425
  readonly padding: _angular_core.Signal<number>;
4103
4426
  readonly titleFontSize: _angular_core.Signal<number>;
4104
4427
  readonly subtitleFontSize: _angular_core.Signal<number>;
@@ -4122,6 +4445,12 @@ declare class DashboardItemStoreService {
4122
4445
  private storeUpdates$;
4123
4446
  /** Localization data */
4124
4447
  private localization;
4448
+ /**
4449
+ * Current UI language code (mirrors document direction), matching
4450
+ * DashboardStoreService.languageCode. Used by item renderers (e.g. chart-card)
4451
+ * to pick the localized display value.
4452
+ */
4453
+ readonly languageCode: _angular_core.WritableSignal<string>;
4125
4454
  /** Current action data per dashboard item */
4126
4455
  private actionData;
4127
4456
  /**
@@ -4421,6 +4750,12 @@ declare class GaugeChartHandler {
4421
4750
  * Returns ECharts config directly (exactly like old GaugeChartService)
4422
4751
  */
4423
4752
  handleGaugeChart(dataResponse: any, config: ItemConfig): any;
4753
+ private normalizeGaugeValues;
4754
+ private flattenGaugeValues;
4755
+ private resolveGroupValueKey;
4756
+ private resolveExtraValueMeta;
4757
+ private findStatusOrLookupWrapper;
4758
+ private resolveDisplayText;
4424
4759
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaugeChartHandler, never>;
4425
4760
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<GaugeChartHandler>;
4426
4761
  }
@@ -4487,6 +4822,12 @@ declare class TimelineHandler {
4487
4822
  * Format: { calendarOptions: {...}, ...data }
4488
4823
  */
4489
4824
  handleTimelineV2MultiLevel(dataResponse: any, config: ItemConfig): any;
4825
+ private resolveProgressValue;
4826
+ private findActualPropertyKey;
4827
+ private readNumberValue;
4828
+ private resolveTimelineTimeFrame;
4829
+ private normalizeTimelineTimeFrame;
4830
+ private resolveTimelineInitialView;
4490
4831
  /**
4491
4832
  * Helper to handle value cases (name or value directly)
4492
4833
  */
@@ -4722,6 +5063,7 @@ declare class RingGaugeChartHandler {
4722
5063
  * available and otherwise fall back to whatever the response provides.
4723
5064
  */
4724
5065
  handleRingGaugeChartWithFormula(dataResponse: any, config: ItemConfig): any;
5066
+ private adaptBarsFormulaResponseToRingGauge;
4725
5067
  /**
4726
5068
  * Convert BarV2Chart formula response into the ring-gauge `{ values: [obj] }`
4727
5069
  * shape expected by handleRingGaugeChart. Tolerant of multiple legacy
@@ -4769,6 +5111,10 @@ declare class SPlusChartHandler {
4769
5111
  * id, `{type}_{id}` format inside selection.moduleId, or via selector.
4770
5112
  */
4771
5113
  handlePerformanceGaugeCardSplus(data: any, config: ItemConfig): any;
5114
+ private extractPerformanceGaugeValue;
5115
+ private extractPerformanceGaugeValueFromItem;
5116
+ private resolvePerformanceGaugeStatusName;
5117
+ private toFiniteNumber;
4772
5118
  /**
4773
5119
  * Handle S+ Component Cards Chart - returns transformed array directly
4774
5120
  * Matches old SplusChartsService.handleComponentsCardsChart return format
@@ -5021,7 +5367,7 @@ declare function getNestedData(key: string, item: any): any;
5021
5367
  * Dynamic text replacement with placeholders
5022
5368
  * Replaces {{key}} patterns with values from the data object
5023
5369
  */
5024
- declare function dynamicTextReplace(text: string | null | undefined, data: Record<string, any> | null | undefined): string;
5370
+ declare function dynamicTextReplace(text: string | number | boolean | null | undefined, data: Record<string, any> | null | undefined): string;
5025
5371
  /**
5026
5372
  * Dynamic reorder array based on order config
5027
5373
  * Supports both object syntax and individual parameters
@@ -5244,6 +5590,14 @@ declare class DashboardBuilderService {
5244
5590
  }>;
5245
5591
  /** Filters signal for reactive state */
5246
5592
  readonly filters: _angular_core.WritableSignal<any[]>;
5593
+ /**
5594
+ * The runtime dashboard ActivatedRoute, published by the viewer. ActionService
5595
+ * is `providedIn: 'root'`, so its own injected ActivatedRoute resolves to the
5596
+ * ROOT route — useless for relative page-to-page navigation. The viewer sets
5597
+ * this to its own route so `navigateToPage` can resolve sibling dashboards.
5598
+ */
5599
+ readonly activatedRoute: _angular_core.WritableSignal<ActivatedRoute | null>;
5600
+ setActivatedRoute(route: ActivatedRoute | null): void;
5247
5601
  /** Chart for selected dialog */
5248
5602
  readonly chartForSelectedDialog: _angular_core.WritableSignal<any>;
5249
5603
  /** Dialog configs available to runtime action handling, keyed by dashboardId. */
@@ -5274,6 +5628,7 @@ declare class DashboardBuilderService {
5274
5628
  readonly fixedSelections: _angular_core.WritableSignal<ISelection[]>;
5275
5629
  /** API configuration */
5276
5630
  private urlPrefix;
5631
+ private apiVersion;
5277
5632
  /** Module tree requests are shared per services/workspace key. */
5278
5633
  private readonly modulesTreeCache;
5279
5634
  private readonly modulesTreeDataCache;
@@ -5281,6 +5636,14 @@ declare class DashboardBuilderService {
5281
5636
  private gatewayContext;
5282
5637
  constructor();
5283
5638
  private loadConfig;
5639
+ /**
5640
+ * Run a `dropdownTVService` page-filter's configured selection as a TableView
5641
+ * to fetch the distinct option VALUES (mirrors the old
5642
+ * `POST /Dashboards/{v}chart?testFilter=true`). The caller resolves the
5643
+ * payload's placeholders first (via FilterUtilsService). Returns the raw
5644
+ * `data.values` rows; mapping to {key,display} is done by the caller.
5645
+ */
5646
+ getFilterDropdownValues(payload: any): Observable<any[]>;
5284
5647
  /**
5285
5648
  * Emit process action
5286
5649
  */
@@ -5418,11 +5781,42 @@ declare class DashboardBuilderService {
5418
5781
  * @param serviceName The service name
5419
5782
  */
5420
5783
  getPublicEndpoints(serviceName: string): Observable<ApiResponse<any[]>>;
5784
+ /**
5785
+ * Property-items responses shared per `propertyKey:language`. The same key is
5786
+ * fetched by both SelectionConfiguration and FilterValueField on a single
5787
+ * property edit; this dedupes them to one request. Cached entries are evicted
5788
+ * on error so a transient failure is never cached permanently.
5789
+ */
5790
+ private readonly propertyItemsCache;
5421
5791
  /**
5422
5792
  * Get property items for lookup/status properties
5423
5793
  * GET /api/dashboards/builder/property-items/{propertyKey}?language=en
5424
5794
  */
5425
5795
  getPropertyItems(propertyKey: string, language?: string): Observable<ApiResponse<PropertyItemsResponse>>;
5796
+ /**
5797
+ * Client settings cached by the host in `localStorage('pplus.settings')`.
5798
+ * The old dashboard sourced levels schema, statuses, phase gates and lookups
5799
+ * from here (not an API); the package mirrors that to populate the RUNTIME
5800
+ * page-filter sidebar's per-type option lists (lookup / status / phaseGate).
5801
+ * Returns null when absent (e.g. the showcase) so callers fall back to empty.
5802
+ */
5803
+ private getClientSettings;
5804
+ /** Narrow a possibly-corrupt settings value to an array (never throws). */
5805
+ private asArray;
5806
+ /** Levels schema (used to resolve a level's phase gates). */
5807
+ getLevelsSchema(): any[];
5808
+ /** Available lookups for the page-filter "Lookup" dropdown. */
5809
+ getLookups(): any[];
5810
+ /** Items of a single lookup (the runtime options for a `lookup` filter). */
5811
+ getLookupItems(lookupId: string | number | null | undefined): any[];
5812
+ /**
5813
+ * Status values for a level (or status-log), for the runtime `status` filter.
5814
+ * Mirrors the old `getStatuses(levelId, module)`: filters the cached
5815
+ * `basicLevelsStatuses` by moduleId + module ('Level' or 'Log').
5816
+ */
5817
+ getStatuses(levelId: string | number | null | undefined, module?: 'Level' | 'Log'): any[];
5818
+ /** Phase gates of a level, for the runtime `phaseGate` filter. */
5819
+ getPhaseGatesByLevelId(levelId: string | number | null | undefined): any[];
5426
5820
  /**
5427
5821
  * Bulk properties lookup - single request for multiple modules
5428
5822
  * POST /metadata/modules/properties
@@ -5438,75 +5832,6 @@ declare class DashboardBuilderService {
5438
5832
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardBuilderService>;
5439
5833
  }
5440
5834
 
5441
- /**
5442
- * Store Service
5443
- *
5444
- * Simple reactive store for dashboard builder state management
5445
- */
5446
- declare class DashboardStoreService {
5447
- /** Query parameters */
5448
- private queryParamsSignal;
5449
- readonly queryParams: _angular_core.Signal<Record<string, any>>;
5450
- /** Stop actions on cards flag */
5451
- private stopActionsSignal;
5452
- readonly stopActions: _angular_core.Signal<boolean>;
5453
- /** Dynamic key-value store */
5454
- private dynamicStore;
5455
- /** Language code */
5456
- readonly languageCode: _angular_core.WritableSignal<string>;
5457
- /** Direction */
5458
- readonly direction: _angular_core.WritableSignal<"rtl" | "ltr">;
5459
- /** Inside Report Viewer flag - controls text truncation in charts */
5460
- private insideReportViewerSignal;
5461
- readonly insideReportViewer: _angular_core.Signal<boolean>;
5462
- /** Reload current page subject */
5463
- private reloadCurrentPageSubject;
5464
- readonly reloadCurrentPage$: rxjs.Observable<void>;
5465
- /**
5466
- * Trigger reload of current page
5467
- */
5468
- triggerReloadCurrentPage(): void;
5469
- /**
5470
- * Update query parameters
5471
- */
5472
- updateQueryParams(params: Record<string, any>): void;
5473
- /**
5474
- * Update stop actions flag
5475
- */
5476
- updateStopActions(value: boolean): void;
5477
- /**
5478
- * Set inside report viewer mode
5479
- * When true, axis labels won't be truncated and custom legends may be skipped
5480
- */
5481
- setInsideReportViewer(value: boolean): void;
5482
- /**
5483
- * Update dynamic key in store
5484
- */
5485
- updateDynamicKey(key: string, value: any): void;
5486
- /**
5487
- * Get dynamic key from store
5488
- */
5489
- getDynamicKey<T = any>(key: string): T | undefined;
5490
- /**
5491
- * Get computed value from dynamic store
5492
- */
5493
- selectDynamicKey<T = any>(key: string): _angular_core.Signal<T | undefined>;
5494
- /**
5495
- * Get query params as a plain object
5496
- */
5497
- getQueryParams(): Record<string, any>;
5498
- /**
5499
- * Get extra filters for a specific dashboard action
5500
- */
5501
- getExtraFilterForCurrentAction(dashboardId: string): Record<string, any>;
5502
- /**
5503
- * Reset store to initial state
5504
- */
5505
- reset(): void;
5506
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardStoreService, never>;
5507
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardStoreService>;
5508
- }
5509
-
5510
5835
  /**
5511
5836
  * Manage Pages Component
5512
5837
  *
@@ -5763,6 +6088,17 @@ declare class DefaultControlUi implements ControlValueAccessor {
5763
6088
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DefaultControlUi, "mt-default-control-ui", never, { "showIconSettings": { "alias": "showIconSettings"; "required": false; "isSignal": true; }; "layoutComponent": { "alias": "layoutComponent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5764
6089
  }
5765
6090
 
6091
+ interface LegendOrderOption {
6092
+ key: string;
6093
+ name: string;
6094
+ color?: string;
6095
+ }
6096
+ interface DrawerModuleProperties {
6097
+ moduleName: string;
6098
+ selectorName: string | null;
6099
+ selector: string;
6100
+ properties: IProperty[];
6101
+ }
5766
6102
  declare class ChartSettingsDrawer {
5767
6103
  private dialogRef;
5768
6104
  private transloco;
@@ -5778,11 +6114,14 @@ declare class ChartSettingsDrawer {
5778
6114
  private readonly chartDataService;
5779
6115
  private readonly itemStoreService;
5780
6116
  private readonly dashboardStore;
6117
+ private readonly dashboardService;
5781
6118
  readonly previewDashboardId: string;
5782
6119
  /** The chart item signal - reactive for proper change detection */
5783
6120
  readonly item: _angular_core.WritableSignal<DashboardChartItem | null>;
6121
+ readonly modulesProperties: _angular_core.WritableSignal<DrawerModuleProperties[]>;
6122
+ readonly loadingProperties: _angular_core.WritableSignal<boolean>;
5784
6123
  constructor();
5785
- /** Active tab: 'display' or 'chartControls' */
6124
+ /** Active tab: 'display', 'legend', or 'chartControls' */
5786
6125
  readonly activeTab: _angular_core.WritableSignal<string>;
5787
6126
  /** Layout widgets use quick controls only */
5788
6127
  readonly showDisplayTab: _angular_core.Signal<boolean>;
@@ -5822,6 +6161,16 @@ declare class ChartSettingsDrawer {
5822
6161
  readonly itemConfig: _angular_core.Signal<ItemConfig | null>;
5823
6162
  /** Processed preview data based on the current local drawer config. */
5824
6163
  readonly previewChartData: _angular_core.Signal<ChartDataHandled | null>;
6164
+ readonly stylePropertiesFlat: _angular_core.Signal<IProperty[]>;
6165
+ readonly selectedStyleProperties: _angular_core.Signal<string[]>;
6166
+ readonly legendConfig: _angular_core.Signal<{
6167
+ show: any;
6168
+ position: any;
6169
+ iconType: any;
6170
+ overrideLegendOrder: string[];
6171
+ }>;
6172
+ readonly legendItems: _angular_core.Signal<LegendOrderOption[]>;
6173
+ readonly showLegendTab: _angular_core.Signal<boolean>;
5825
6174
  /** True when the stored data can be rendered by the ECharts preview. */
5826
6175
  readonly canRenderChartPreview: _angular_core.Signal<boolean>;
5827
6176
  /** Localized title shown inside the isolated preview card. */
@@ -5831,6 +6180,14 @@ declare class ChartSettingsDrawer {
5831
6180
  readonly previewCardStyleConfig: _angular_core.Signal<any>;
5832
6181
  readonly previewHeaderConfig: _angular_core.Signal<any>;
5833
6182
  readonly previewDensity: _angular_core.Signal<any>;
6183
+ readonly legendPositionOptions: _angular_core.Signal<{
6184
+ label: string;
6185
+ value: string;
6186
+ }[]>;
6187
+ readonly legendIconOptions: _angular_core.Signal<{
6188
+ label: string;
6189
+ value: string;
6190
+ }[]>;
5834
6191
  /** Determine the type of manage UI to show */
5835
6192
  readonly manageType: _angular_core.Signal<QuickManageType>;
5836
6193
  /**
@@ -5865,12 +6222,23 @@ declare class ChartSettingsDrawer {
5865
6222
  onSnapshotBarConfigChange(config: any): void;
5866
6223
  /** Update client config from DisplaySettings */
5867
6224
  onClientConfigUpdate(partialClientConfig: Partial<ClientConfig>): void;
6225
+ updateLegend(key: string, value: unknown): void;
6226
+ dropLegendItem(event: CdkDragDrop<LegendOrderOption[]>): void;
6227
+ resetLegendOrder(): void;
5868
6228
  /** Apply changes and close drawer */
5869
6229
  apply(): void;
5870
6230
  /** Close without changes */
5871
6231
  close(): void;
5872
6232
  private isLayoutComponent;
5873
6233
  private setWorkingItem;
6234
+ private readonly selectionSignature;
6235
+ private loadPropertiesForStyle;
6236
+ private safeParseSignature;
6237
+ private extractModuleTypeFromSelector;
6238
+ private resolvePropertyKey;
6239
+ private hasChartLegendSurface;
6240
+ private extractLegendItems;
6241
+ private dedupeLegendItems;
5874
6242
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartSettingsDrawer, never>;
5875
6243
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartSettingsDrawer, "mt-chart-settings-drawer", never, {}, {}, never, never, true, never>;
5876
6244
  }
@@ -6009,6 +6377,7 @@ interface PropsConfigAsIndexItem {
6009
6377
  interface PropertyOption {
6010
6378
  label: string;
6011
6379
  value: string;
6380
+ viewType?: string;
6012
6381
  }
6013
6382
  interface PropertiesViewRow {
6014
6383
  key: string;
@@ -6208,10 +6577,13 @@ declare class DisplaySettings {
6208
6577
  /** Selected properties as ordered options */
6209
6578
  readonly selectedPropertyOptions: _angular_core.Signal<PropertyOption[]>;
6210
6579
  /** Available properties as options */
6211
- readonly propertyOptions: _angular_core.Signal<{
6580
+ readonly propertyOptions: _angular_core.Signal<PropertyOption[] | {
6212
6581
  label: any;
6213
6582
  value: any;
6583
+ viewType: any;
6214
6584
  }[]>;
6585
+ /** Properties that can drive color because their values carry colors. */
6586
+ readonly colorPropertyOptions: _angular_core.Signal<PropertyOption[]>;
6215
6587
  /** Properties view rows driven by selected properties order */
6216
6588
  readonly propertiesViewRows: _angular_core.Signal<PropertiesViewRow[]>;
6217
6589
  /** Property translations rows driven by selected properties order */
@@ -6221,25 +6593,29 @@ declare class DisplaySettings {
6221
6593
  translation: PropertyTranslation;
6222
6594
  }[]>;
6223
6595
  /** Available translation options (exclude used) */
6224
- readonly availableTranslationOptions: _angular_core.Signal<{
6596
+ readonly availableTranslationOptions: _angular_core.Signal<(PropertyOption | {
6225
6597
  label: any;
6226
6598
  value: any;
6227
- }[]>;
6599
+ viewType: any;
6600
+ })[]>;
6228
6601
  /** Available color options (exclude used) */
6229
- readonly availableColorOptions: _angular_core.Signal<{
6602
+ readonly availableColorOptions: _angular_core.Signal<(PropertyOption | {
6230
6603
  label: any;
6231
6604
  value: any;
6232
- }[]>;
6605
+ viewType: any;
6606
+ })[]>;
6233
6607
  /** All property options (full list) */
6234
6608
  readonly allPropertyKeyOptions: _angular_core.Signal<{
6235
6609
  label: any;
6236
6610
  value: any;
6611
+ viewType: any;
6237
6612
  }[]>;
6238
6613
  /** Ring gauge hidden properties options */
6239
- readonly ringGaugeHiddenOptions: _angular_core.Signal<{
6614
+ readonly ringGaugeHiddenOptions: _angular_core.Signal<(PropertyOption | {
6240
6615
  label: any;
6241
6616
  value: any;
6242
- }[]>;
6617
+ viewType: any;
6618
+ })[]>;
6243
6619
  /** Update style config property */
6244
6620
  updateStyleConfig(key: keyof StyleConfig | string, value: any): void;
6245
6621
  /** Update configAsType property */
@@ -6681,9 +7057,21 @@ declare class ManageItem implements OnInit {
6681
7057
  readonly isNew: _angular_core.Signal<any>;
6682
7058
  /** Optional informative authoring context */
6683
7059
  readonly informativeContext: _angular_core.Signal<any>;
7060
+ /** Active editor tab: data source vs the per-chart filters builder. */
7061
+ readonly activeTab: _angular_core.WritableSignal<"filters" | "datasource">;
7062
+ /** Option sources for the per-chart interactive-filter builder. */
7063
+ readonly chartLookups: _angular_core.WritableSignal<any[]>;
7064
+ readonly chartLevelsSchema: _angular_core.WritableSignal<any[]>;
7065
+ readonly chartLevelLogs: _angular_core.WritableSignal<any[]>;
7066
+ /**
7067
+ * The chart's interactive filter fields. Persisted (like the old builder) on
7068
+ * `clientConfig.extraFilters.dynamicFilters`; also reads a top-level
7069
+ * `dynamicFilters` for forward compatibility.
7070
+ */
7071
+ readonly dynamicFilters: _angular_core.Signal<FilterField[]>;
6684
7072
  /** Preview pane is collapsed by default; the form gets the full width. */
6685
7073
  readonly previewCollapsed: _angular_core.WritableSignal<boolean>;
6686
- /** Drawer is ~half width for the form alone, wider while the preview is open. */
7074
+ /** Drawer is ~2/3 width for the form alone, wider while the preview is open. */
6687
7075
  private readonly COMPACT_WIDTH;
6688
7076
  private readonly EXPANDED_WIDTH;
6689
7077
  /** Saving state */
@@ -6696,6 +7084,10 @@ declare class ManageItem implements OnInit {
6696
7084
  cancel(): void;
6697
7085
  /** Update service config from the datasource editor */
6698
7086
  onServiceConfigUpdate(partialConfig: Partial<ItemConfig['serviceConfig']>): void;
7087
+ /** Persist the chart's interactive filter fields (Filters tab). */
7088
+ onDynamicFiltersChange(next: FilterField[]): void;
7089
+ /** A status field needs its level's logs — derive them from the schema. */
7090
+ onLoadLevelLogs(schemaLevelId: number): void;
6699
7091
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManageItem, never>;
6700
7092
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ManageItem, "mt-manage-item", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6701
7093
  }
@@ -6894,6 +7286,7 @@ interface ModuleProperties {
6894
7286
  * Query component type based on chart type and component name
6895
7287
  */
6896
7288
  type QueryComponentType = 'general' | 'table' | 'timeline' | 'timelineMultiLevel' | 'map' | 'splitter' | 'properties' | 'snapshot' | 'phaseGate' | 'repeater' | 'none';
7289
+ type TimelineTimeFrame = 'monthly' | 'quarterly' | 'biannually' | 'annually';
6897
7290
  /**
6898
7291
  * Data Source Settings Component
6899
7292
  *
@@ -6905,6 +7298,7 @@ type QueryComponentType = 'general' | 'table' | 'timeline' | 'timelineMultiLevel
6905
7298
  declare class DataSourceSettings {
6906
7299
  private dashboardService;
6907
7300
  private transloco;
7301
+ private destroyRef;
6908
7302
  /** Current configuration */
6909
7303
  readonly config: _angular_core.InputSignal<ItemConfig | null>;
6910
7304
  /** Selected chart type */
@@ -6915,12 +7309,22 @@ declare class DataSourceSettings {
6915
7309
  readonly serviceConfigChange: _angular_core.OutputEmitterRef<Partial<ServiceConfig>>;
6916
7310
  /** Properties grouped by module */
6917
7311
  readonly modulesProperties: _angular_core.WritableSignal<ModuleProperties[]>;
6918
- /** Flattened properties list with grouping info */
7312
+ /**
7313
+ * Flattened properties list with grouping info.
7314
+ *
7315
+ * When the chart pulls from MORE THAN ONE selection, the property display
7316
+ * name is prefixed with its group ("Projects - Status") so identically-named
7317
+ * properties (e.g. "Status") are distinguishable in the query pickers AND in
7318
+ * the selected chips. Single-selection charts keep the plain name. The option
7319
+ * VALUE is `key` (unchanged), so saved configs are unaffected.
7320
+ */
6919
7321
  readonly propertiesFlat: _angular_core.Signal<IPropertyWithGroup[]>;
6920
7322
  /**
6921
7323
  * Properties grouped for select field with [group]="true"
6922
7324
  * Structure: [{ label: 'Projects', items: [{ name, key }, ...] }, ...]
6923
- * Uses selectorName for display (e.g., "Projects" instead of "Level")
7325
+ * Uses selectorName for display (e.g., "Projects" instead of "Level").
7326
+ * Items are prefixed with the group when multiple selections exist so the
7327
+ * selected chips stay unambiguous (the dropdown also shows the group header).
6924
7328
  */
6925
7329
  readonly propertiesGrouped: _angular_core.Signal<{
6926
7330
  label: string;
@@ -6953,7 +7357,7 @@ declare class DataSourceSettings {
6953
7357
  * Active tab within the selection cycle: Selection (pick modules) · Source
6954
7358
  * Links (joins, only with >1 selection) · Query (fields).
6955
7359
  */
6956
- readonly activeSection: _angular_core.WritableSignal<"query" | "selection" | "sourceLinks">;
7360
+ readonly activeSection: _angular_core.WritableSignal<"selection" | "query" | "sourceLinks">;
6957
7361
  /** Selection mode inside the selection tab (informative authoring). */
6958
7362
  readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
6959
7363
  readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
@@ -6987,6 +7391,33 @@ declare class DataSourceSettings {
6987
7391
  readonly query: _angular_core.WritableSignal<any>;
6988
7392
  readonly isNormalized: _angular_core.WritableSignal<boolean>;
6989
7393
  readonly groupByMultiple: _angular_core.WritableSignal<string[]>;
7394
+ /** Local copy of the modules tree (for the workspace Template options). */
7395
+ private readonly treeData;
7396
+ /** The single chart-level workspace (Template root selector, e.g. "Template:48"). */
7397
+ readonly chartWorkspace: _angular_core.WritableSignal<string | null>;
7398
+ /** Inline "change workspace" confirmation visibility. */
7399
+ readonly confirmingWorkspaceChange: _angular_core.WritableSignal<boolean>;
7400
+ private readonly workspaceServiceName;
7401
+ /**
7402
+ * The hierarchical "Level" module + its owning service (searches all loaded
7403
+ * services so a service-name mismatch doesn't blank the gate).
7404
+ */
7405
+ private readonly levelContext;
7406
+ /** Workspace options = the Level module's Template roots. */
7407
+ readonly workspaceOptions: _angular_core.Signal<{
7408
+ label: string;
7409
+ value: string;
7410
+ }[]>;
7411
+ /** Whether this chart uses the selection flow the workspace gates. */
7412
+ readonly showWorkspaceGate: _angular_core.Signal<boolean>;
7413
+ /**
7414
+ * Gate is open (blocking): a workspace must be picked before the tabs show.
7415
+ * Only blocks brand-new/empty charts — an existing chart with selections (incl.
7416
+ * legacy/flat charts that never had a workspace) is never blocked from editing.
7417
+ */
7418
+ readonly needsWorkspacePick: _angular_core.Signal<boolean>;
7419
+ /** Display label for the chosen workspace. */
7420
+ readonly chartWorkspaceLabel: _angular_core.Signal<string>;
6990
7421
  /** Active registry query schema used by GeneralQuery. */
6991
7422
  readonly querySchema: _angular_core.Signal<QuerySchema | null>;
6992
7423
  /** Repeater dashboard selection */
@@ -7050,6 +7481,23 @@ declare class DataSourceSettings {
7050
7481
  * Handle source links change
7051
7482
  */
7052
7483
  onSourceLinksChange(links: SourceLink[]): void;
7484
+ /** Pick the single chart workspace (Template root). Opens the tabs. */
7485
+ onWorkspacePick(selector: string): void;
7486
+ /** Ask to change workspace (shows the inline confirm). */
7487
+ requestChangeWorkspace(): void;
7488
+ /** Dismiss the change-workspace confirm. */
7489
+ cancelChangeWorkspace(): void;
7490
+ /**
7491
+ * Confirm changing the workspace: everything scoped to it (selections, source
7492
+ * links, query) is cleared and the gate re-opens.
7493
+ */
7494
+ confirmChangeWorkspace(): void;
7495
+ /** Load the modules tree into the local signal (cache-first). */
7496
+ private loadWorkspaceTree;
7497
+ /** Reverse-map a Level selector to its Template root (for legacy restore). */
7498
+ private deriveWorkspaceFromLevel;
7499
+ /** Workspace metadata filter for tree values (roots and children alike). */
7500
+ private matchesWorkspace;
7053
7501
  /**
7054
7502
  * Handle query change (general query)
7055
7503
  */
@@ -7127,10 +7575,23 @@ declare class DataSourceSettings {
7127
7575
  * Reads the current timeline-multi-level query for the template.
7128
7576
  */
7129
7577
  readonly timelineLevels: _angular_core.Signal<any[]>;
7578
+ readonly timelineTimeFrame: _angular_core.Signal<TimelineTimeFrame>;
7130
7579
  readonly timeFrameOptions: {
7131
- value: string;
7580
+ value: TimelineTimeFrame;
7132
7581
  label: string;
7133
7582
  }[];
7583
+ onTimelineTimeFrameChange(value: TimelineTimeFrame): void;
7584
+ shouldShowTimelineParentProperty(index: number): boolean;
7585
+ timelineParentPropertyOptions(index: number): IProperty[];
7586
+ private normalizeTimelineLevels;
7587
+ private defaultTimelineParentProperty;
7588
+ private timelineParentPropertyKeys;
7589
+ private toTimelineParentPropertyOption;
7590
+ private findProperty;
7591
+ private createPropertyFallback;
7592
+ private humanizePropertyKey;
7593
+ private resolveTimelineTimeFrame;
7594
+ private normalizeTimelineTimeFrame;
7134
7595
  /**
7135
7596
  * Loads available dashboards for the repeater dropdown by hitting the
7136
7597
  * configured reports list. Uses Dashboard type only.
@@ -7157,6 +7618,11 @@ declare class DataSourceSettings {
7157
7618
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataSourceSettings, "mt-data-source-settings", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartType": { "alias": "chartType"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; }, { "serviceConfigChange": "serviceConfigChange"; }, never, never, true, never>;
7158
7619
  }
7159
7620
 
7621
+ /** Page (dashboard) option for the navigate-to-page target select */
7622
+ interface PageOption {
7623
+ label: string;
7624
+ value: number;
7625
+ }
7160
7626
  /** Action type option */
7161
7627
  interface ActionTypeOption {
7162
7628
  readonly label: string;
@@ -7169,8 +7635,12 @@ interface TriggerOption {
7169
7635
  readonly value: string;
7170
7636
  readonly icon: string;
7171
7637
  }
7172
- /** Dynamic/Static key pair */
7173
- interface KeyPair {
7638
+ /**
7639
+ * A single unified action filter. `propertyKey` is the param sent to the
7640
+ * target/dialog; `propertyValue` is either a literal (static) or a `{{token}}`
7641
+ * resolved at runtime from the clicked item (dynamic) — one field, both modes.
7642
+ */
7643
+ interface ActionFilter {
7174
7644
  propertyKey: string;
7175
7645
  propertyValue: string;
7176
7646
  }
@@ -7179,18 +7649,40 @@ interface KeyPair {
7179
7649
  *
7180
7650
  * Handles chart action configuration:
7181
7651
  * - Click actions (open dialog, navigate, custom function)
7182
- * - Trigger types (click, double-click, hover)
7183
- * - Action configuration
7652
+ * - Trigger types (click, double-click)
7653
+ * - A single unified "filters" section per action (replaces the old
7654
+ * static/dynamic split). Each filter is propertyKey + a select-or-write value
7655
+ * field; any property used is auto-added to the chart's extraProperties so it
7656
+ * is returned with the clicked row at runtime.
7184
7657
  */
7185
7658
  declare class ActionsSettings {
7186
7659
  /** Current configuration */
7187
7660
  readonly config: _angular_core.InputSignal<ItemConfig | null>;
7188
7661
  /** Emit client config changes */
7189
7662
  readonly clientConfigChange: _angular_core.OutputEmitterRef<Partial<ClientConfig>>;
7663
+ /**
7664
+ * Emit the chart's extra-property keys whenever a filter adds a new one, so
7665
+ * the host can persist them onto `serviceConfig.query.extraProperties` (the
7666
+ * backend returns exactly the properties listed there with each clicked row).
7667
+ */
7668
+ readonly extraPropertiesChange: _angular_core.OutputEmitterRef<string[]>;
7669
+ private readonly dashboardService;
7670
+ private readonly destroyRef;
7671
+ /** UI language for localized page names. */
7672
+ private readonly languageCode;
7673
+ /** Dashboard pages for the navigate-to-page target select. */
7674
+ readonly pageOptions: _angular_core.WritableSignal<PageOption[]>;
7675
+ /** Properties of THIS chart's selections — the filter property picker. */
7676
+ readonly propertyOptions: _angular_core.WritableSignal<IProperty[]>;
7677
+ readonly loadingProperties: _angular_core.WritableSignal<boolean>;
7678
+ /** Guard so properties reload only when the chart's selections change. */
7679
+ private lastSelectionsKey;
7680
+ constructor();
7190
7681
  /**
7191
7682
  * Action type options. "Open Dialog" is intentionally NOT selectable here —
7192
7683
  * a dialog is created via the card's "Add dialog" action, which adds an
7193
- * `openDialog` action. Existing openDialog actions are shown read-only.
7684
+ * `openDialog` action. Existing openDialog actions keep their type but can
7685
+ * still configure filters (the params handed to the dialog).
7194
7686
  */
7195
7687
  readonly actionTypeOptions: readonly ActionTypeOption[];
7196
7688
  /** Trigger type options - using valid icons from icons.json */
@@ -7198,88 +7690,74 @@ declare class ActionsSettings {
7198
7690
  /** Current actions list */
7199
7691
  readonly actions: _angular_core.Signal<ActionConfig[]>;
7200
7692
  /**
7201
- * Get current actions array safely
7693
+ * The chart's current extra-property keys (string form), surfaced to the
7694
+ * value field's "Properties" tab and kept in sync as filters add keys.
7202
7695
  */
7696
+ readonly chartExtraProperties: _angular_core.Signal<string[]>;
7697
+ private normalizeExtraProperties;
7698
+ /** Get current actions array safely */
7203
7699
  private getCurrentActions;
7204
- /**
7205
- * Emit updated actions
7206
- */
7700
+ /** Emit updated actions */
7207
7701
  private emitActions;
7208
- /**
7209
- * Get action at index safely
7210
- */
7702
+ /** Get action at index safely */
7211
7703
  private getActionAt;
7212
- /**
7213
- * Add a new action
7214
- */
7704
+ /** Add a new action */
7215
7705
  addAction(): void;
7216
7706
  /**
7217
7707
  * Whether an action is a dialog action (added via the card's "Add dialog"
7218
- * flow). These are shown read-only here — managed from the dialog feature.
7708
+ * flow). Its type/trigger stay managed there, but its filters (the params
7709
+ * handed to the dialog) are editable here, and its value field surfaces the
7710
+ * key/pivot tokens the dialog depends on.
7219
7711
  */
7220
7712
  isDialogAction(action: ActionConfig): boolean;
7221
- /**
7222
- * Remove an action
7223
- */
7713
+ /** Remove an action */
7224
7714
  removeAction(index: number): void;
7225
- /**
7226
- * Duplicate an action
7227
- */
7715
+ /** Duplicate an action */
7228
7716
  duplicateAction(index: number): void;
7229
- /**
7230
- * Update an action property
7231
- */
7717
+ /** Update an action property */
7232
7718
  updateAction<K extends keyof ActionConfig>(index: number, key: K, value: ActionConfig[K]): void;
7233
- /**
7234
- * Update action config object
7235
- */
7719
+ /** Update action config object */
7236
7720
  updateActionConfig(index: number, configKey: string, value: unknown): void;
7237
- /**
7238
- * Move action up in the list
7239
- */
7721
+ /** Move action up in the list */
7240
7722
  moveActionUp(index: number): void;
7241
- /**
7242
- * Move action down in the list
7243
- */
7723
+ /** Move action down in the list */
7244
7724
  moveActionDown(index: number): void;
7245
- /**
7246
- * Get action type label
7247
- */
7725
+ /** Get action type label */
7248
7726
  getActionTypeLabel(actionType: string): string;
7249
- /**
7250
- * Get trigger type label
7251
- */
7727
+ /** Get trigger type label */
7252
7728
  getTriggerLabel(trigger: string): string;
7253
7729
  /**
7254
- * Add a dynamic key to action
7255
- */
7256
- addDynamicKey(actionIndex: number): void;
7257
- /**
7258
- * Remove a dynamic key from action
7259
- */
7260
- removeDynamicKey(actionIndex: number, keyIndex: number): void;
7261
- /**
7262
- * Update a dynamic key
7263
- */
7264
- updateDynamicKey(actionIndex: number, keyIndex: number, field: keyof KeyPair, value: string): void;
7265
- /**
7266
- * Add a static key to action
7267
- */
7268
- addStaticKey(actionIndex: number): void;
7269
- /**
7270
- * Remove a static key from action
7271
- */
7272
- removeStaticKey(actionIndex: number, keyIndex: number): void;
7273
- /**
7274
- * Update a static key
7275
- */
7276
- updateStaticKey(actionIndex: number, keyIndex: number, field: keyof KeyPair, value: string): void;
7277
- /**
7278
- * Track by action id for ngFor
7279
- */
7730
+ * Load the properties of the chart's own selections (the filter property
7731
+ * picker), mirroring data-source-settings.loadPropertiesForSelections.
7732
+ */
7733
+ private loadProperties;
7734
+ /**
7735
+ * Unified filters for an action. Prefers the new `filters` array; for legacy
7736
+ * actions it falls back to the old static + dynamic arrays so they still
7737
+ * render — and the next edit migrates them into `filters`.
7738
+ */
7739
+ getActionFilters(action: ActionConfig): ActionFilter[];
7740
+ private getFiltersAt;
7741
+ /** Write the unified filters back and drop the legacy split once edited. */
7742
+ private writeFilters;
7743
+ /** Add an empty filter row to an action. */
7744
+ addFilter(actionIndex: number): void;
7745
+ /** Remove a filter row. */
7746
+ removeFilter(actionIndex: number, filterIndex: number): void;
7747
+ /**
7748
+ * Pick the filter property. Resets the value (its options depend on the
7749
+ * property) and auto-adds the key to the chart's extraProperties so the
7750
+ * clicked row carries it at runtime.
7751
+ */
7752
+ updateFilterProperty(actionIndex: number, filterIndex: number, propertyKey: string): void;
7753
+ /** Update a filter's value (literal or `{{token}}`). */
7754
+ updateFilterValue(actionIndex: number, filterIndex: number, value: string): void;
7755
+ /** Ensure a property key is in the chart's extraProperties (emit if added). */
7756
+ private ensureExtraProperty;
7757
+ /** Track by index for ngFor */
7280
7758
  trackByIndex(index: number): number;
7281
7759
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionsSettings, never>;
7282
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionsSettings, "mt-actions-settings", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "clientConfigChange": "clientConfigChange"; }, never, never, true, never>;
7760
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionsSettings, "mt-actions-settings", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "clientConfigChange": "clientConfigChange"; "extraPropertiesChange": "extraPropertiesChange"; }, never, never, true, never>;
7283
7761
  }
7284
7762
 
7285
7763
  /**
@@ -7303,6 +7781,317 @@ declare class ChartViewer {
7303
7781
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartViewer, "mt-chart-viewer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7304
7782
  }
7305
7783
 
7784
+ /** A legend entry surfaced from the chart's live preview data. */
7785
+ interface LegendOrderItem {
7786
+ key: string;
7787
+ name: string;
7788
+ color?: string;
7789
+ }
7790
+ /**
7791
+ * Drag-to-reorder the chart legend. The available entries (`items`) come from
7792
+ * the live preview data (already ordered by the saved override); dragging emits
7793
+ * the new order as a name array written to
7794
+ * `clientConfig.configAsType.legend.overrideLegendOrder`. Reset emits `[]`
7795
+ * (natural order).
7796
+ */
7797
+ declare class LegendOrderField {
7798
+ readonly items: _angular_core.InputSignal<LegendOrderItem[]>;
7799
+ readonly valueChange: _angular_core.OutputEmitterRef<string[]>;
7800
+ /** Working list is just the input — reorder mutates a copy and emits. */
7801
+ readonly rows: _angular_core.Signal<LegendOrderItem[]>;
7802
+ drop(event: CdkDragDrop<unknown>): void;
7803
+ reset(): void;
7804
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LegendOrderField, never>;
7805
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LegendOrderField, "mt-legend-order-field", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
7806
+ }
7807
+
7808
+ interface NavGroup {
7809
+ label: string;
7810
+ sections: ControlSection[];
7811
+ }
7812
+ declare class StyleStudioDrawer {
7813
+ private readonly dialogRef;
7814
+ private readonly drawerConfig;
7815
+ private readonly drawerController;
7816
+ private readonly transloco;
7817
+ private readonly chartDataService;
7818
+ private readonly itemStoreService;
7819
+ private readonly dashboardStore;
7820
+ readonly modal: ModalService;
7821
+ private readonly scrollPane;
7822
+ /** Working copy of the chart (deep-cloned so Cancel never mutates source). */
7823
+ readonly item: _angular_core.WritableSignal<DashboardChartItem | null>;
7824
+ /** Simple ⇄ Advanced progressive disclosure. */
7825
+ readonly scope: _angular_core.WritableSignal<ControlSectionScope>;
7826
+ /** Free-text "find a setting" filter. */
7827
+ readonly searchControl: FormControl<string>;
7828
+ readonly search: _angular_core.Signal<string>;
7829
+ /** Section the rail highlights as active (scroll-spy). */
7830
+ readonly activeSection: _angular_core.WritableSignal<string>;
7831
+ constructor();
7832
+ readonly itemConfig: _angular_core.Signal<ItemConfig | null>;
7833
+ readonly capability: _angular_core.Signal<_masterteam_dashboard_builder.ChartCapability | null>;
7834
+ readonly schema: _angular_core.Signal<_masterteam_dashboard_builder.ControlSchema>;
7835
+ readonly chartName: _angular_core.Signal<string>;
7836
+ readonly chartIcon: _angular_core.Signal<string>;
7837
+ /**
7838
+ * Sections for the left rail. Kept in lock-step with the rendered body
7839
+ * (same scope + visibleWhen + search filtering) so every rail entry always
7840
+ * has a scroll target.
7841
+ */
7842
+ readonly navSections: _angular_core.Signal<ControlSection[]>;
7843
+ /** Rail sections grouped under friendly category headers. */
7844
+ readonly navGroups: _angular_core.Signal<NavGroup[]>;
7845
+ readonly presets: _angular_core.Signal<readonly StylePreset[]>;
7846
+ readonly scopeOptions: _angular_core.Signal<{
7847
+ label: string;
7848
+ value: string;
7849
+ }[]>;
7850
+ /** Chart-type id handed to the live ChartViewer (renders ALL widget types). */
7851
+ readonly previewChartTypeId: _angular_core.Signal<string>;
7852
+ readonly previewTitle: _angular_core.Signal<string>;
7853
+ /**
7854
+ * Preview data — the source for the legend-order entries. Prefer the data
7855
+ * the chart ACTUALLY rendered from (`DataHandled`, computed in the proper
7856
+ * render context); only fall back to re-processing the raw `DataResponse`
7857
+ * when no handled data is cached (re-processing here can lose legend names).
7858
+ */
7859
+ readonly previewData: _angular_core.Signal<ChartDataHandled | null>;
7860
+ /** Legend entries (ordered by the saved override) for the legendOrder control. */
7861
+ readonly legendItems: _angular_core.Signal<LegendOrderItem[]>;
7862
+ readonly previewWidth: _angular_core.WritableSignal<number>;
7863
+ private resizing;
7864
+ private resizeStartX;
7865
+ private resizeStartWidth;
7866
+ startResize(ev: PointerEvent): void;
7867
+ onResizeMove(ev: PointerEvent): void;
7868
+ endResize(): void;
7869
+ private extractLegendItems;
7870
+ onScopeChange(value: unknown): void;
7871
+ onPatch(patch: ControlPatch): void;
7872
+ applyPreset(preset: StylePreset): void;
7873
+ scrollTo(section: ControlSection): void;
7874
+ /** Scroll-spy: highlight the top-most section currently in view. */
7875
+ onScroll(): void;
7876
+ private setActiveSection;
7877
+ resetAll(): void;
7878
+ apply(): void;
7879
+ close(): void;
7880
+ /** Map a preset's friendly fields to the persisted paths the schema uses. */
7881
+ private presetPatches;
7882
+ private t;
7883
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleStudioDrawer, never>;
7884
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StyleStudioDrawer, "mt-style-studio-drawer", never, {}, {}, never, never, true, never>;
7885
+ }
7886
+
7887
+ interface RenderSection {
7888
+ section: ControlSection;
7889
+ /** All visible fields (used for reset + count). */
7890
+ fields: ControlField[];
7891
+ /** Non-toggle controls — rendered in the 2-column grid. */
7892
+ controls: ControlField[];
7893
+ /** Boolean (toggle) fields — grouped together as cards on their own row. */
7894
+ toggles: ControlField[];
7895
+ }
7896
+ /**
7897
+ * Walks a `ControlSchema` and renders a reactive form for each visible field,
7898
+ * grouped into section cards. Honors per-field `scope` (Simple/Advanced),
7899
+ * `visibleWhen` predicates and a free-text `search` filter. Emits `ControlPatch`
7900
+ * upward; the host applies it via `applyControlPatchToPersisted` and re-feeds
7901
+ * the persisted config (one-way data flow → the live preview reacts).
7902
+ */
7903
+ declare class StyleSettingsRenderer {
7904
+ readonly schema: _angular_core.InputSignal<ControlSchema>;
7905
+ readonly persisted: _angular_core.InputSignal<_masterteam_dashboard_builder.ItemConfig | null>;
7906
+ readonly capability: _angular_core.InputSignal<ChartCapability | null>;
7907
+ readonly scope: _angular_core.InputSignal<ControlSectionScope>;
7908
+ readonly search: _angular_core.InputSignal<string>;
7909
+ /** Live legend entries forwarded to any legendOrder control. */
7910
+ readonly legendItems: _angular_core.InputSignal<LegendOrderItem[]>;
7911
+ readonly patch: _angular_core.OutputEmitterRef<ControlPatch>;
7912
+ /** Emitted when the empty-state "switch to Advanced" affordance is used. */
7913
+ readonly requestScope: _angular_core.OutputEmitterRef<ControlSectionScope>;
7914
+ /** Sections (with their visible fields) to render, after all filtering. */
7915
+ readonly sections: _angular_core.Signal<RenderSection[]>;
7916
+ readonly isEmpty: _angular_core.Signal<boolean>;
7917
+ /** Composite/full-width field types span both grid columns. */
7918
+ isComposite(field: ControlField): boolean;
7919
+ sectionId(section: ControlSection): string;
7920
+ onPatch(patch: ControlPatch): void;
7921
+ /** Clear every visible field in a section back to its (unset) default. */
7922
+ resetSection(entry: RenderSection): void;
7923
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleSettingsRenderer, never>;
7924
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StyleSettingsRenderer, "mt-style-settings-renderer", never, { "schema": { "alias": "schema"; "required": true; "isSignal": true; }; "persisted": { "alias": "persisted"; "required": true; "isSignal": true; }; "capability": { "alias": "capability"; "required": false; "isSignal": true; }; "scope": { "alias": "scope"; "required": false; "isSignal": true; }; "search": { "alias": "search"; "required": false; "isSignal": true; }; "legendItems": { "alias": "legendItems"; "required": false; "isSignal": true; }; }, { "patch": "patch"; "requestScope": "requestScope"; }, never, never, true, never>;
7925
+ }
7926
+
7927
+ /**
7928
+ * Expand a "clear this field" reset into the patches the renderer would emit.
7929
+ * The shadow control is a preset select whose edit path also writes the derived
7930
+ * `cardStyleConfig.shadows` array, so a reset must clear BOTH or the rendered
7931
+ * box-shadow lingers. Shared by resetSection() and resetAll().
7932
+ */
7933
+ declare function expandResetPatches(path: string): ControlPatch[];
7934
+ /**
7935
+ * Renders ONE schema `ControlField` as the appropriate `mt-*` control using
7936
+ * reactive forms (no ngModel). Scalar types own a `FormControl` synced from the
7937
+ * persisted value; composite types delegate to controlled editor components.
7938
+ * Emits a `ControlPatch` (path + value) on every change.
7939
+ */
7940
+ declare class StyleField {
7941
+ readonly field: _angular_core.InputSignal<ControlField>;
7942
+ readonly persisted: _angular_core.InputSignal<_masterteam_dashboard_builder.ItemConfig | null>;
7943
+ readonly capability: _angular_core.InputSignal<ChartCapability | null>;
7944
+ /** Live legend entries (from preview data) for the legendOrder control. */
7945
+ readonly legendItems: _angular_core.InputSignal<LegendOrderItem[]>;
7946
+ readonly patch: _angular_core.OutputEmitterRef<ControlPatch>;
7947
+ /** FormControl backing scalar field types. */
7948
+ readonly control: FormControl<unknown>;
7949
+ /** FormControl backing the Advanced JSON escape hatch. */
7950
+ readonly jsonControl: FormControl<string>;
7951
+ readonly jsonError: _angular_core.WritableSignal<string | null>;
7952
+ private readonly destroyRef;
7953
+ private syncing;
7954
+ private syncingJson;
7955
+ /** True for types that own their own state (controlled, no FormControl). */
7956
+ readonly isComposite: _angular_core.Signal<boolean>;
7957
+ readonly currentValue: _angular_core.Signal<unknown>;
7958
+ constructor();
7959
+ options(): ControlOption[];
7960
+ /** select uses a search box once the list is long enough to need one. */
7961
+ get useFilter(): boolean;
7962
+ /** Numeric bounds fall back to mt-number-field's own permissive defaults. */
7963
+ get numberMin(): number;
7964
+ get numberMax(): number;
7965
+ conditionFields(): ControlField[];
7966
+ mapKeys(): ControlOption[];
7967
+ readArray(): unknown[];
7968
+ readColors(): string[];
7969
+ readMap(): Record<string, unknown>;
7970
+ readJson(): string;
7971
+ emitValue(value: unknown): void;
7972
+ onJsonInput(raw: string): void;
7973
+ private emitScalar;
7974
+ private emitShadowPreset;
7975
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StyleField, never>;
7976
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StyleField, "mt-style-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "persisted": { "alias": "persisted"; "required": true; "isSignal": true; }; "capability": { "alias": "capability"; "required": false; "isSignal": true; }; "legendItems": { "alias": "legendItems"; "required": false; "isSignal": true; }; }, { "patch": "patch"; }, never, never, true, never>;
7977
+ }
7978
+
7979
+ /**
7980
+ * Segmented (button-group) selector — a tactile alternative to a dropdown for
7981
+ * short option sets such as position / alignment / orientation. Controlled:
7982
+ * takes the current `value` and emits `valueChange`; no internal form state.
7983
+ */
7984
+ declare class SegmentedField {
7985
+ readonly options: _angular_core.InputSignal<ControlOption[]>;
7986
+ readonly value: _angular_core.InputSignal<unknown>;
7987
+ readonly disabled: _angular_core.InputSignal<boolean>;
7988
+ /** Accessible name for the button group (screen readers). */
7989
+ readonly ariaLabel: _angular_core.InputSignal<string>;
7990
+ readonly valueChange: _angular_core.OutputEmitterRef<unknown>;
7991
+ readonly normalizedValue: _angular_core.Signal<unknown>;
7992
+ isActive(option: ControlOption): boolean;
7993
+ select(option: ControlOption): void;
7994
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedField, never>;
7995
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedField, "mt-segmented-field", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
7996
+ }
7997
+
7998
+ /**
7999
+ * Reorderable palette editor — replaces the legacy comma-separated textarea.
8000
+ * Each entry is an `mt-color-picker-field` chip; rows drag to reorder, with
8001
+ * quick-add swatches. Controlled: `value` in, `valueChange` (string[]) out.
8002
+ */
8003
+ declare class ColorListField {
8004
+ readonly value: _angular_core.InputSignal<string[] | null>;
8005
+ readonly valueChange: _angular_core.OutputEmitterRef<string[]>;
8006
+ /** Working list of colors with stable per-row FormControls for the picker. */
8007
+ readonly rows: _angular_core.WritableSignal<{
8008
+ id: number;
8009
+ control: FormControl<string>;
8010
+ }[]>;
8011
+ readonly quickSwatches: string[];
8012
+ private nextId;
8013
+ private syncing;
8014
+ constructor();
8015
+ addColor(color?: string): void;
8016
+ removeColor(index: number): void;
8017
+ onColorChange(): void;
8018
+ drop(event: CdkDragDrop<unknown>): void;
8019
+ private emit;
8020
+ private sameList;
8021
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorListField, never>;
8022
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorListField, "mt-color-list-field", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
8023
+ }
8024
+
8025
+ interface ArrayRow {
8026
+ id: number;
8027
+ group: FormGroup;
8028
+ }
8029
+ /**
8030
+ * Generic add/remove/reorder editor for arrays of objects — replaces the four
8031
+ * copy-paste array builders (override labels, shadows, order rows). Each row is
8032
+ * a `FormGroup` of the `itemFields` scalar sub-fields. Controlled: `value`
8033
+ * (object[]) in, `valueChange` (object[]) out.
8034
+ */
8035
+ declare class ArrayBuilderField {
8036
+ readonly value: _angular_core.InputSignal<unknown[] | null>;
8037
+ readonly itemFields: _angular_core.InputSignal<ControlField[]>;
8038
+ readonly itemTitleKey: _angular_core.InputSignal<string | undefined>;
8039
+ readonly addLabel: _angular_core.InputSignal<string>;
8040
+ readonly maxItems: _angular_core.InputSignal<number | undefined>;
8041
+ readonly valueChange: _angular_core.OutputEmitterRef<unknown[]>;
8042
+ readonly rows: _angular_core.WritableSignal<ArrayRow[]>;
8043
+ private readonly destroyRef;
8044
+ /** Subscriptions for the current row set; torn down on every rebuild. */
8045
+ private rowSubs;
8046
+ private nextId;
8047
+ private syncing;
8048
+ constructor();
8049
+ get canAdd(): boolean;
8050
+ rowTitle(row: ArrayRow, index: number): string;
8051
+ control(row: ArrayRow, key: string): FormControl;
8052
+ options(field: ControlField): ControlOption[];
8053
+ add(): void;
8054
+ remove(index: number): void;
8055
+ drop(event: CdkDragDrop<unknown>): void;
8056
+ private buildRow;
8057
+ private emit;
8058
+ private matchesCurrent;
8059
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ArrayBuilderField, never>;
8060
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ArrayBuilderField, "mt-array-builder-field", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "itemFields": { "alias": "itemFields"; "required": false; "isSignal": true; }; "itemTitleKey": { "alias": "itemTitleKey"; "required": false; "isSignal": true; }; "addLabel": { "alias": "addLabel"; "required": false; "isSignal": true; }; "maxItems": { "alias": "maxItems"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
8061
+ }
8062
+
8063
+ interface MapRow {
8064
+ key: string;
8065
+ label: string;
8066
+ group: FormGroup;
8067
+ }
8068
+ /**
8069
+ * Per-key value editor — replaces raw-JSON maps such as per-property
8070
+ * translations (`{ key: { en, ar } }`) or per-property colors
8071
+ * (`{ key: { color } }`). Keys come from `keys` (e.g. the chart's selected
8072
+ * properties); each key renders the scalar `valueFields` as `mt-*` controls.
8073
+ * Controlled: `value` (Record) in, `valueChange` (Record) out.
8074
+ */
8075
+ declare class KeyValueMapField {
8076
+ readonly value: _angular_core.InputSignal<Record<string, unknown> | null>;
8077
+ readonly keys: _angular_core.InputSignal<ControlOption[]>;
8078
+ readonly valueFields: _angular_core.InputSignal<ControlField[]>;
8079
+ readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown>>;
8080
+ readonly rows: _angular_core.WritableSignal<MapRow[]>;
8081
+ private readonly destroyRef;
8082
+ /** Subscriptions for the current row set; torn down on every rebuild. */
8083
+ private rowSubs;
8084
+ private syncing;
8085
+ constructor();
8086
+ options(field: ControlField): ControlOption[];
8087
+ control(row: MapRow, key: string): FormControl;
8088
+ private emit;
8089
+ /** True when the existing rows already represent (keys, map, fields). */
8090
+ private matchesCurrent;
8091
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<KeyValueMapField, never>;
8092
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<KeyValueMapField, "mt-key-value-map-field", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "valueFields": { "alias": "valueFields"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
8093
+ }
8094
+
7306
8095
  /**
7307
8096
  * Filter items by group ID
7308
8097
  *
@@ -7332,5 +8121,5 @@ declare class GetChartActionsPipe implements PipeTransform {
7332
8121
  */
7333
8122
  declare function cloneDeep<T>(obj: T): T;
7334
8123
 
7335
- export { ActionsSettings, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, 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, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, 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, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, validate };
7336
- export type { ActionConfig, ApiResponse, 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, 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, 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, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModulesTreeRequest, ModulesTreeResponse, 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, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
8124
+ 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, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
8125
+ export type { ActionConfig, ApiResponse, 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, 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, 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, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };