@masterteam/dashboard-builder 0.0.59 → 0.0.61

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.
@@ -7,11 +7,11 @@ import { MenuItem } from 'primeng/api';
7
7
  import { MTMenuItem } from '@masterteam/components/menu';
8
8
  import * as _angular_forms from '@angular/forms';
9
9
  import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors, FormControl } from '@angular/forms';
10
- import * as rxjs from 'rxjs';
11
- import { Observable } from 'rxjs';
12
10
  import { MTIcon } from '@masterteam/icons';
13
11
  import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
14
12
  import { EntityData as EntityData$1, EntityViewType } 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
16
  import { ActivatedRoute } from '@angular/router';
17
17
  import { ModalService } from '@masterteam/components/modal';
@@ -601,7 +601,7 @@ type Product = 'pplus' | 'splus' | 'report';
601
601
  /** Generic display schema field key. Open string to allow registry-specific extensions. */
602
602
  type DisplayField = string;
603
603
  /** Generic query schema field key. */
604
- type QueryField = 'valueProperty' | 'aggregateFunction' | 'groupByProperties' | 'autoStack' | 'stackProperties' | 'autoStackByProperty' | 'categoryProperty' | 'color' | 'formula' | 'filters' | 'extraProperties' | 'showAdvancedSettings' | 'barType' | 'baseProperties' | 'rowIdentityProperty' | 'phaseNameProperty' | 'phaseIdProperty' | 'phaseOrderProperty' | 'phaseStatusProperty' | 'phaseProgressProperty' | 'phaseIsCurrentProperty' | 'phaseIsCompletedProperty' | 'phaseAllItemsCompletedProperty';
604
+ type QueryField = 'valueProperty' | 'aggregateFunction' | 'groupByProperties' | 'autoStack' | 'stackProperties' | 'autoStackByProperty' | 'categoryProperty' | 'color' | 'formula' | 'filters' | 'extraProperties' | 'showAdvancedSettings' | 'barType' | 'baseProperties' | 'rowIdentityProperty' | 'phaseNameProperty' | 'phaseIdProperty' | 'phaseOrderProperty' | 'phaseStatusProperty' | 'phaseProgressProperty' | 'phaseIsCurrentProperty' | 'phaseIsCompletedProperty' | 'phaseAllItemsCompletedProperty' | 'levelId' | 'levelDataId' | 'timeFrame' | 'year' | 'getAveragePerPeriod' | 'selectedProperties';
605
605
  interface QuerySchema {
606
606
  /** Visible chart-specific fields (subset of QueryField, in chosen order). */
607
607
  fields: QueryField[];
@@ -1700,6 +1700,14 @@ interface FilterFieldConfiguration {
1700
1700
  checked?: boolean;
1701
1701
  minYear?: number;
1702
1702
  maxYear?: number;
1703
+ /** Old persisted date default resolved at runtime. */
1704
+ defaultDate?: 'startOfYear' | 'endOfYear';
1705
+ /** Old persisted multi-select defaults. */
1706
+ defaultValues?: any[];
1707
+ /** Optional single-value default used by newer saved filters. */
1708
+ defaultValue?: any;
1709
+ defaultYear?: number | string;
1710
+ setCurrentYear?: boolean;
1703
1711
  }
1704
1712
  /** Filter field definition */
1705
1713
  interface FilterField {
@@ -1707,6 +1715,8 @@ interface FilterField {
1707
1715
  name?: LocalizedText;
1708
1716
  type: FilterFieldType;
1709
1717
  configuration?: FilterFieldConfiguration;
1718
+ /** Disabled fields remain persisted but do not participate at runtime. */
1719
+ active?: boolean;
1710
1720
  }
1711
1721
  /** Filter field type option for dropdown */
1712
1722
  interface FilterFieldTypeOption {
@@ -2404,6 +2414,8 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2404
2414
  /** Reference to chart settings drawer */
2405
2415
  private chartSettingsRef;
2406
2416
  readonly languageCode: _angular_core.Signal<string>;
2417
+ /** Reactive layout direction, driven by the app's current direction. */
2418
+ readonly direction: _angular_core.Signal<"rtl" | "ltr">;
2407
2419
  readonly chartActionsContext: ChartActionsContext;
2408
2420
  readonly options: GridsterConfig;
2409
2421
  private subscription;
@@ -2620,83 +2632,6 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2620
2632
  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>;
2621
2633
  }
2622
2634
 
2623
- /**
2624
- * Store Service
2625
- *
2626
- * Simple reactive store for dashboard builder state management
2627
- */
2628
- declare class DashboardStoreService {
2629
- private readonly limitedHttp;
2630
- /** Query parameters */
2631
- private queryParamsSignal;
2632
- readonly queryParams: _angular_core.Signal<Record<string, any>>;
2633
- /** Stop actions on cards flag */
2634
- private stopActionsSignal;
2635
- readonly stopActions: _angular_core.Signal<boolean>;
2636
- /** Dynamic key-value store */
2637
- private dynamicStore;
2638
- /** Language code */
2639
- readonly languageCode: _angular_core.WritableSignal<string>;
2640
- /** Direction */
2641
- readonly direction: _angular_core.WritableSignal<"rtl" | "ltr">;
2642
- /** Inside Report Viewer flag - controls text truncation in charts */
2643
- private insideReportViewerSignal;
2644
- readonly insideReportViewer: _angular_core.Signal<boolean>;
2645
- /** Reload current page subject */
2646
- private reloadCurrentPageSubject;
2647
- readonly reloadCurrentPage$: rxjs.Observable<void>;
2648
- /**
2649
- * Trigger reload of current page.
2650
- *
2651
- * @param force When true, the LimitedHttpService response cache is cleared
2652
- * first so dashboard items re-fetch fresh data from the network instead of
2653
- * being served a cached (potentially stale) response. Pass `true` after a
2654
- * data mutation (create/update/delete) so counts/KPIs reflect the new state
2655
- * without requiring a full page refresh. Defaults to `false` to preserve the
2656
- * existing cache-friendly behaviour for plain re-renders.
2657
- */
2658
- triggerReloadCurrentPage(force?: boolean): void;
2659
- /**
2660
- * Update query parameters
2661
- */
2662
- updateQueryParams(params: Record<string, any>): void;
2663
- /**
2664
- * Update stop actions flag
2665
- */
2666
- updateStopActions(value: boolean): void;
2667
- /**
2668
- * Set inside report viewer mode
2669
- * When true, axis labels won't be truncated and custom legends may be skipped
2670
- */
2671
- setInsideReportViewer(value: boolean): void;
2672
- /**
2673
- * Update dynamic key in store
2674
- */
2675
- updateDynamicKey(key: string, value: any): void;
2676
- /**
2677
- * Get dynamic key from store
2678
- */
2679
- getDynamicKey<T = any>(key: string): T | undefined;
2680
- /**
2681
- * Get computed value from dynamic store
2682
- */
2683
- selectDynamicKey<T = any>(key: string): _angular_core.Signal<T | undefined>;
2684
- /**
2685
- * Get query params as a plain object
2686
- */
2687
- getQueryParams(): Record<string, any>;
2688
- /**
2689
- * Get extra filters for a specific dashboard action
2690
- */
2691
- getExtraFilterForCurrentAction(dashboardId: string): Record<string, any>;
2692
- /**
2693
- * Reset store to initial state
2694
- */
2695
- reset(): void;
2696
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardStoreService, never>;
2697
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardStoreService>;
2698
- }
2699
-
2700
2635
  /**
2701
2636
  * Dashboard Viewer Component
2702
2637
  *
@@ -2707,7 +2642,7 @@ declare class DashboardStoreService {
2707
2642
  * - CSS Grid-based layout display
2708
2643
  * - Chart/widget rendering
2709
2644
  * - Group support with tab switching
2710
- * - Filter sidebar integration
2645
+ * - Page filter drawer integration
2711
2646
  * - Dialog rendering
2712
2647
  */
2713
2648
  declare class DashboardViewer implements OnInit, OnDestroy {
@@ -2718,8 +2653,9 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2718
2653
  private limitedHttp;
2719
2654
  private route;
2720
2655
  private router;
2721
- /** Expose the store so the template can seed the filter sidebar. */
2722
- protected readonly store: DashboardStoreService;
2656
+ private modalService;
2657
+ private transloco;
2658
+ private pageFilterDefaults;
2723
2659
  private get repeaterUrlConfig();
2724
2660
  /** Whether to wrap content in mt-page component */
2725
2661
  readonly isPage: _angular_core.InputSignal<boolean>;
@@ -2736,11 +2672,15 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2736
2672
  /** Pre-loaded dialogs (optional) */
2737
2673
  readonly dialogsData: _angular_core.InputSignal<DashboardDialogItem[]>;
2738
2674
  /** Pre-loaded filters (optional) */
2739
- readonly filtersData: _angular_core.InputSignal<any[]>;
2675
+ readonly filtersData: _angular_core.InputSignal<FilterField[]>;
2740
2676
  /** Dashboard-wide extra filters applied to every item request */
2741
2677
  readonly extraFilters: _angular_core.InputSignal<Record<string, any>>;
2742
- /** Show filters sidebar */
2678
+ /** Enable page-wide runtime filters. */
2743
2679
  readonly showFilters: _angular_core.InputSignal<boolean>;
2680
+ /** Render the built-in, in-flow button that opens page runtime filters. */
2681
+ readonly showFilterTrigger: _angular_core.InputSignal<boolean>;
2682
+ /** Host-wide opt-out from URL/query filters for every chart. */
2683
+ readonly ignoreQueryFilter: _angular_core.InputSignal<boolean>;
2744
2684
  /** Emit when page is loaded */
2745
2685
  readonly pageLoaded: _angular_core.OutputEmitterRef<_masterteam_dashboard_builder.Report>;
2746
2686
  /** Emit when back button is clicked */
@@ -2754,7 +2694,7 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2754
2694
  readonly pageConfig: _angular_core.WritableSignal<_masterteam_dashboard_builder.Report | null>;
2755
2695
  readonly charts: _angular_core.WritableSignal<DashboardChartItem[]>;
2756
2696
  readonly dialogs: _angular_core.WritableSignal<DashboardDialogItem[]>;
2757
- readonly filters: _angular_core.WritableSignal<any[]>;
2697
+ readonly filters: _angular_core.WritableSignal<FilterField[]>;
2758
2698
  readonly filtersPanelOpen: _angular_core.WritableSignal<boolean>;
2759
2699
  readonly languageCode: _angular_core.Signal<string>;
2760
2700
  readonly direction: _angular_core.Signal<"rtl" | "ltr">;
@@ -2767,6 +2707,10 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2767
2707
  private readonly rowGap;
2768
2708
  private readonly bottomSafeArea;
2769
2709
  private lastExtraFiltersSignature;
2710
+ private filtersDrawerRef?;
2711
+ private pageLoadSubscription?;
2712
+ private pageLoadRequestId;
2713
+ private readonly suppressedPageDefaultKeys;
2770
2714
  private readonly hasSplitPreloadedData;
2771
2715
  private dashboardDataEffect;
2772
2716
  private chartsDataEffect;
@@ -2774,7 +2718,6 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2774
2718
  private filtersDataEffect;
2775
2719
  private extraFiltersEffect;
2776
2720
  private preloadedInputsEffect;
2777
- private pageFiltersVisibilityEffect;
2778
2721
  private pageIdEffect;
2779
2722
  ngOnInit(): void;
2780
2723
  ngOnDestroy(): void;
@@ -2788,7 +2731,16 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2788
2731
  onPageFilterChange(values: Record<string, any>): void;
2789
2732
  toggleFiltersPanel(): void;
2790
2733
  closeFiltersPanel(): void;
2734
+ /** Open the stable MT drawer. Hosts can call this when rendering their own trigger. */
2735
+ openFiltersPanel(): void;
2736
+ private trackExplicitDefaultState;
2737
+ private hasConfiguredDefault;
2791
2738
  loadPage(id: string | number): void;
2739
+ private cancelPageLoad;
2740
+ private resetLoadedPageState;
2741
+ private commitLoadedPage;
2742
+ private buildInactiveFilterClears;
2743
+ private mergeActiveQueryParams;
2792
2744
  /**
2793
2745
  * Normalize a page's filters into a FLAT `FilterField[]`. The backend stores
2794
2746
  * `dashboardConfig.filters` as a JSON string OR an array; older code wrapped
@@ -2832,6 +2784,8 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2832
2784
  * Check if item should be shown (not grouped or is a group itself)
2833
2785
  */
2834
2786
  shouldShowItem(item: DashboardChartItem): boolean;
2787
+ /** Page/host opt-out and the chart's own opt-out are both authoritative. */
2788
+ shouldIgnoreQueryFilter(item: DashboardChartItem): boolean;
2835
2789
  /**
2836
2790
  * Get item title
2837
2791
  */
@@ -2866,7 +2820,7 @@ declare class DashboardViewer implements OnInit, OnDestroy {
2866
2820
  trackByDashboardId(_index: number, item: DashboardChartItem): string;
2867
2821
  private refreshAllItems;
2868
2822
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardViewer, never>;
2869
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
2823
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardViewer, "mt-dashboard-viewer", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backButton": { "alias": "backButton"; "required": false; "isSignal": true; }; "pageId": { "alias": "pageId"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "chartsData": { "alias": "chartsData"; "required": false; "isSignal": true; }; "dialogsData": { "alias": "dialogsData"; "required": false; "isSignal": true; }; "filtersData": { "alias": "filtersData"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "showFilterTrigger": { "alias": "showFilterTrigger"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; }, { "pageLoaded": "pageLoaded"; "onBack": "onBack"; "chartClick": "chartClick"; }, never, never, true, never>;
2870
2824
  }
2871
2825
 
2872
2826
  /**
@@ -2901,6 +2855,8 @@ interface DashboardItemStore {
2901
2855
  hasError?: boolean;
2902
2856
  /** Extra filter from parent context */
2903
2857
  extraFilter?: Record<string, any>;
2858
+ /** Configured chart-filter defaults explicitly cleared for this widget. */
2859
+ suppressedDynamicFilterDefaultKeys?: string[];
2904
2860
  /** Stop actions flag */
2905
2861
  stopActions?: boolean;
2906
2862
  /** Query params for current context */
@@ -3165,9 +3121,11 @@ declare class DashboardItem implements OnInit, OnDestroy {
3165
3121
  private readonly itemStoreService;
3166
3122
  private readonly chartDataService;
3167
3123
  private readonly actionService;
3124
+ private readonly activatedRoute;
3168
3125
  private readonly transloco;
3169
3126
  private readonly guidance;
3170
3127
  private subscription;
3128
+ private dataRequestSubscription?;
3171
3129
  private readonly destroy$;
3172
3130
  /** Chart configuration */
3173
3131
  readonly config: _angular_core.InputSignal<ItemConfig | null>;
@@ -3185,6 +3143,8 @@ declare class DashboardItem implements OnInit, OnDestroy {
3185
3143
  readonly queryParams: _angular_core.InputSignal<Record<string, any>>;
3186
3144
  /** Dashboard-wide extra filters passed from viewer/context */
3187
3145
  readonly extraFilters: _angular_core.InputSignal<Record<string, any>>;
3146
+ /** Parent report/page id used as the chart request execution context. */
3147
+ readonly reportId: _angular_core.InputSignal<string | number | null>;
3188
3148
  /** Skip global route/query filters for this item */
3189
3149
  readonly ignoreQueryFilter: _angular_core.InputSignal<boolean>;
3190
3150
  /**
@@ -3265,6 +3225,8 @@ declare class DashboardItem implements OnInit, OnDestroy {
3265
3225
  private initialized;
3266
3226
  /** Track current dashboardId to detect changes */
3267
3227
  private currentDashboardId;
3228
+ /** Last parent config reference, including same-item immutable updates. */
3229
+ private currentInputConfig;
3268
3230
  constructor();
3269
3231
  ngOnInit(): void;
3270
3232
  /**
@@ -3315,7 +3277,7 @@ declare class DashboardItem implements OnInit, OnDestroy {
3315
3277
  private buildParentFilter;
3316
3278
  private mergeRequestFilters;
3317
3279
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardItem, never>;
3318
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardItem, "mt-dashboard-item", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pageName": { "alias": "pageName"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "isDialog": { "alias": "isDialog"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; "builderMode": { "alias": "builderMode"; "required": false; "isSignal": true; }; }, { "actionTriggered": "actionTriggered"; "configureRequested": "configureRequested"; "titleEdited": "titleEdited"; }, never, never, true, never>;
3280
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardItem, "mt-dashboard-item", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pageName": { "alias": "pageName"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "isDialog": { "alias": "isDialog"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "ignoreQueryFilter": { "alias": "ignoreQueryFilter"; "required": false; "isSignal": true; }; "builderMode": { "alias": "builderMode"; "required": false; "isSignal": true; }; }, { "actionTriggered": "actionTriggered"; "configureRequested": "configureRequested"; "titleEdited": "titleEdited"; }, never, never, true, never>;
3319
3281
  }
3320
3282
 
3321
3283
  interface HeaderCardConfig$1 {
@@ -3500,85 +3462,50 @@ declare class StaticFiltersComponent implements OnInit {
3500
3462
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<StaticFiltersComponent, "mt-static-filters", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; }, never, never, true, never>;
3501
3463
  }
3502
3464
 
3503
- declare class DynamicFiltersComponent implements OnInit {
3465
+ /**
3466
+ * Compact chart-level filter entry point.
3467
+ *
3468
+ * The funnel button opens an anchored popover (not a full-height drawer) that
3469
+ * hosts the shared MT runtime filter editor. Values are edited as a draft and
3470
+ * only mutate the item store after the user picks Apply/Clear, so one chart can
3471
+ * never refresh its siblings. Snapshotting the store on open keeps the popover
3472
+ * a draft even while the chart re-fetches behind it.
3473
+ */
3474
+ declare class DynamicFiltersComponent {
3504
3475
  private readonly storeService;
3505
3476
  private readonly transloco;
3506
- private readonly dashboardService;
3507
- private readonly filterUtils;
3508
- private readonly destroyRef;
3509
- /** Loaded option lists per field key (lookup/status/phaseGate/dropdown). */
3510
- private readonly optionsByKey;
3511
- /** Field keys whose options have already been requested (avoid refetch). */
3512
- private readonly loadedOptionKeys;
3513
- /** Dynamic filter fields configuration */
3477
+ private readonly defaultsService;
3478
+ /** Persisted definitions. `active:false` and layout-only rows are hidden. */
3514
3479
  readonly fields: _angular_core.InputSignal<DynamicFilterField[]>;
3515
- /** Dashboard ID for store updates */
3480
+ /** Store identity of the single widget this control owns. */
3516
3481
  readonly dashboardId: _angular_core.InputSignal<string | number | undefined>;
3517
- /** Whether to show labels above filters */
3482
+ /** Parent report identity used only for dropdown option requests. */
3483
+ readonly reportId: _angular_core.InputSignal<string | number | null>;
3484
+ /** Retained for source compatibility; fields now render inside the popover. */
3518
3485
  readonly showLabels: _angular_core.InputSignal<boolean>;
3519
- /** Filter change event */
3520
3486
  readonly filterChange: _angular_core.OutputEmitterRef<{
3521
3487
  key: string;
3522
3488
  value: any;
3523
3489
  }>;
3524
- /** All filters change event - emitted with all current values */
3525
3490
  readonly filtersChange: _angular_core.OutputEmitterRef<Record<string, any>>;
3526
- /** Current filter values */
3527
- private currentValues;
3528
- /** Language code */
3529
- readonly langCode: _angular_core.Signal<string>;
3530
- /** Month options */
3531
- readonly months: {
3532
- value: number;
3533
- labelEn: string;
3534
- labelAr: string;
3535
- }[];
3536
- /** Quarter options */
3537
- readonly quarters: {
3538
- value: number;
3539
- labelEn: string;
3540
- labelAr: string;
3541
- }[];
3491
+ /** Snapshot of the persisted values taken when the popover opens. */
3492
+ readonly draftInitialValues: _angular_core.WritableSignal<Record<string, any>>;
3493
+ /** Snapshot of suppressed default keys taken when the popover opens. */
3494
+ readonly draftSuppressedKeys: _angular_core.WritableSignal<readonly string[]>;
3495
+ readonly runtimeFields: _angular_core.Signal<DynamicFilterField[]>;
3542
3496
  constructor();
3543
- /** Options to show for a field: loaded set, else any preloaded on config. */
3544
- optionsFor(field: DynamicFilterField): any[];
3545
- /**
3546
- * Load a field's options by type (lookup/status/phaseGate from client
3547
- * settings; dropdownTVService by running its selection). Year/month/quarter
3548
- * use the built-in option lists; date/user/checkbox need none.
3549
- */
3550
- private loadOptions;
3551
- /** Resolve a dropdown-by-selection field's distinct values via its query. */
3552
- private loadDropdownTvServiceOptions;
3553
- private mapTvServiceRows;
3554
- private setOptions;
3555
- ngOnInit(): void;
3556
3497
  /**
3557
- * Get localized field label
3498
+ * Hydrate the popover editor from the currently persisted values. Taken on
3499
+ * open so the editor stays a draft even if the chart re-fetches behind it.
3558
3500
  */
3559
- getFieldLabel(field: DynamicFilterField): string;
3501
+ snapshotDraft(): void;
3560
3502
  /**
3561
- * Get localized option label
3503
+ * Commit an Apply/Clear result. The shared editor returns the same
3504
+ * query-params shape for both actions, so a single handler covers them.
3562
3505
  */
3563
- getOptionLabel(option: any): string;
3564
- /**
3565
- * Get selected value for a field
3566
- */
3567
- getSelectedValue(field: DynamicFilterField): any;
3568
- /**
3569
- * Get year options based on configuration
3570
- */
3571
- getYearOptions(field: DynamicFilterField): number[];
3572
- /**
3573
- * Handle field value change
3574
- */
3575
- onFieldChange(field: DynamicFilterField, value: any): void;
3576
- applyFilters(): void;
3577
- clearFilters(): void;
3578
- private compactValues;
3579
- private mergeOwnFilterValues;
3506
+ applyResult(values: Record<string, any>): void;
3580
3507
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicFiltersComponent, never>;
3581
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicFiltersComponent, "mt-dynamic-filters", never, { "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; "filtersChange": "filtersChange"; }, never, never, true, never>;
3508
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicFiltersComponent, "mt-dynamic-filters", never, { "fields": { "alias": "fields"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; "filtersChange": "filtersChange"; }, never, never, true, never>;
3582
3509
  }
3583
3510
 
3584
3511
  interface CardInfoConfig$1 {
@@ -3657,10 +3584,11 @@ interface PerformanceGaugeViewModel {
3657
3584
  declare class ChartCardComponent implements OnInit, OnDestroy {
3658
3585
  private readonly storeService;
3659
3586
  private readonly dashboardStore;
3660
- private readonly actionService;
3661
3587
  private readonly subscription;
3662
3588
  /** Dashboard ID for this card */
3663
3589
  readonly dashboardId: _angular_core.InputSignal<string | number>;
3590
+ /** Parent report identity; distinct from this widget's store identity. */
3591
+ readonly reportId: _angular_core.InputSignal<string | number | null>;
3664
3592
  /** Whether card is inside a group */
3665
3593
  readonly inGroup: _angular_core.InputSignal<boolean>;
3666
3594
  /** Config mode flag (drawer preview) */
@@ -3695,9 +3623,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3695
3623
  } | undefined>;
3696
3624
  /** Static filter configuration */
3697
3625
  readonly staticFilterConfig: _angular_core.Signal<StaticFilterConfig | null>;
3698
- /** Dynamic filter fields. Reads the current `dynamicFilters`, falling back to
3699
- * the legacy p+4 location `extraFilters.dynamicFilters` so old charts still
3700
- * render their interactive filters. */
3626
+ /** Canonical interactive fields with a legacy read fallback. */
3701
3627
  readonly dynamicFilterFields: _angular_core.Signal<DynamicFilterField[]>;
3702
3628
  /** Show static filters */
3703
3629
  readonly showStaticFilters: _angular_core.Signal<boolean | undefined>;
@@ -3794,7 +3720,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3794
3720
  private humanizeTimelinePropertyKey;
3795
3721
  private toDisplayText;
3796
3722
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartCardComponent, never>;
3797
- 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>;
3723
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartCardComponent, "mt-chart-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; "reportId": { "alias": "reportId"; "required": false; "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>;
3798
3724
  }
3799
3725
 
3800
3726
  type EChartsType = any;
@@ -3852,7 +3778,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3852
3778
  readonly showCustomLegend: _angular_core.Signal<boolean>;
3853
3779
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
3854
3780
  /** Custom HTML legend placement from the configured legend position. */
3855
- readonly customLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
3781
+ readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3856
3782
  constructor();
3857
3783
  ngOnInit(): Promise<void>;
3858
3784
  ngAfterViewInit(): void;
@@ -4282,6 +4208,7 @@ declare class LastHistoryLevelCardComponent implements OnInit, OnDestroy {
4282
4208
  private readonly dashboardStore;
4283
4209
  private readonly subscription;
4284
4210
  readonly dashboardId: _angular_core.InputSignal<string | number | null>;
4211
+ readonly reportId: _angular_core.InputSignal<string | number | null>;
4285
4212
  readonly inGroup: _angular_core.InputSignal<boolean>;
4286
4213
  readonly onAction: _angular_core.OutputEmitterRef<{
4287
4214
  type: string;
@@ -4295,6 +4222,7 @@ declare class LastHistoryLevelCardComponent implements OnInit, OnDestroy {
4295
4222
  readonly createdByName: _angular_core.Signal<any>;
4296
4223
  readonly showStaticFilters: _angular_core.Signal<any>;
4297
4224
  readonly showDynamicFilters: _angular_core.Signal<boolean>;
4225
+ readonly dynamicFilterFields: _angular_core.Signal<DynamicFilterField[]>;
4298
4226
  readonly showTopEnd: _angular_core.Signal<any>;
4299
4227
  ngOnInit(): void;
4300
4228
  ngOnDestroy(): void;
@@ -4304,7 +4232,7 @@ declare class LastHistoryLevelCardComponent implements OnInit, OnDestroy {
4304
4232
  private unwrapPropertyValue;
4305
4233
  private normalize;
4306
4234
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LastHistoryLevelCardComponent, never>;
4307
- 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>;
4235
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LastHistoryLevelCardComponent, "mt-last-history-level-card", never, { "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "reportId": { "alias": "reportId"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
4308
4236
  }
4309
4237
 
4310
4238
  declare class ListStatisticCardComponent implements OnInit, OnDestroy {
@@ -4680,7 +4608,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
4680
4608
  readonly iconColor: _angular_core.Signal<any>;
4681
4609
  readonly iconBackgroundColor: _angular_core.Signal<any>;
4682
4610
  readonly borderColor: _angular_core.Signal<any>;
4683
- readonly borderWidth: _angular_core.Signal<1 | 0>;
4611
+ readonly borderWidth: _angular_core.Signal<0 | 1>;
4684
4612
  readonly padding: _angular_core.Signal<number>;
4685
4613
  readonly titleFontSize: _angular_core.Signal<number>;
4686
4614
  readonly subtitleFontSize: _angular_core.Signal<number>;
@@ -4772,6 +4700,9 @@ declare class DashboardItemStoreService {
4772
4700
  * Set extra filter for an item
4773
4701
  */
4774
4702
  setExtraFilter(dashboardId: string | number, filter: Record<string, any>): void;
4703
+ /** Configured defaults explicitly cleared for one chart runtime session. */
4704
+ getSuppressedDynamicFilterDefaultKeys(dashboardId: string | number): readonly string[];
4705
+ setSuppressedDynamicFilterDefaultKeys(dashboardId: string | number, keys: readonly string[]): void;
4775
4706
  /**
4776
4707
  * Set query params for an item
4777
4708
  */
@@ -4831,7 +4762,7 @@ declare class ChartDataService {
4831
4762
  /**
4832
4763
  * Main entry point - fetch and process chart data
4833
4764
  */
4834
- fetchChartData(config: ItemConfig, filters?: Record<string, any>): Observable<ChartDataHandled | null>;
4765
+ fetchChartData(config: ItemConfig, filters?: Record<string, any>, reportId?: string | number | null): Observable<ChartDataHandled | null>;
4835
4766
  /**
4836
4767
  * Build HTTP request based on request type
4837
4768
  */
@@ -4869,7 +4800,7 @@ declare class ChartDataService {
4869
4800
  private buildCustomRequestBody;
4870
4801
  /**
4871
4802
  * Fetch snapshot data
4872
- * URL: ${urlPrefix}dashboards/${apiVersion}GetSnapShotInfo/${levelId?/}${timeFrame}?year=${year}
4803
+ * URL: ${urlPrefix}dashboards/${apiVersion}GetSnapShotInfo/${levelDataId}/${timeFrame}?year=${year}
4873
4804
  */
4874
4805
  private fetchSnapshotData;
4875
4806
  /**
@@ -4986,6 +4917,15 @@ declare class StackBarChartHandler {
4986
4917
  * or not a recognized position (keeps existing behavior).
4987
4918
  */
4988
4919
  private resolveBarLabelPosition;
4920
+ /**
4921
+ * Rounded-cap corner radius for a bar segment, honoring orientation.
4922
+ * ECharts corner order is [topLeft, topRight, bottomRight, bottomLeft].
4923
+ * - vertical bars grow upward, so the rounded cap is the top edge.
4924
+ * - horizontal bars grow left -> right (this handler's value axis is not
4925
+ * inverted for RTL, matching the grouped-bar handler), so the rounded
4926
+ * cap is the right edge.
4927
+ */
4928
+ private stackBarCapRadius;
4989
4929
  private resolveStackBarBorderRadius;
4990
4930
  /**
4991
4931
  * Helper method to convert legend position based on language
@@ -5578,14 +5518,29 @@ declare function createAxisFormatter(config?: {
5578
5518
  declare function createTooltipFormatter(config?: {
5579
5519
  type?: 'currency' | 'percentage' | 'number';
5580
5520
  }, langCode?: string): (value: number) => string;
5521
+ type AxisLabelWrapMode = 'characters' | 'words' | 'none';
5522
+ interface AxisLabelWrapConfig {
5523
+ axisLabelWrapMode?: AxisLabelWrapMode | null;
5524
+ maxCharsPerLine?: number | null;
5525
+ maxWordsPerLine?: number | null;
5526
+ }
5527
+ interface AxisLabelWrapOptions {
5528
+ mode?: Exclude<AxisLabelWrapMode, 'none'>;
5529
+ /** `null` keeps every wrapped line. */
5530
+ maxLines?: number | null;
5531
+ }
5581
5532
  /**
5582
- * Format words with underscores for display
5583
- * Matches old formatterWordsUnderBar from Formatters.ts
5584
- * @param text - Text to format
5585
- * @param maxCharsPerLine - Max characters per line before wrapping
5586
- * @param insideReport - When true, return full text with line breaks (no truncation)
5533
+ * Format an axis label using the persisted chart wrapping controls.
5534
+ * Missing mode values keep legacy dashboards on character-based wrapping.
5535
+ */
5536
+ declare function formatAxisLabel(text: string, config?: AxisLabelWrapConfig | null): string;
5537
+ /**
5538
+ * Wrap a display label without changing its casing.
5539
+ *
5540
+ * Existing callers retain the legacy two-line cap outside report mode. New
5541
+ * chart controls use `formatAxisLabel`, which keeps the complete label.
5587
5542
  */
5588
- declare function formatWordsUnderBar(text: string, maxCharsPerLine?: number, insideReport?: boolean): string;
5543
+ declare function formatWordsUnderBar(text: string, maxPerLine?: number, insideReport?: boolean, options?: AxisLabelWrapOptions): string;
5589
5544
  /**
5590
5545
  * Format X Axis Configuration
5591
5546
  */
@@ -5818,6 +5773,11 @@ interface ApiResponse<T> {
5818
5773
  status?: number;
5819
5774
  message?: string;
5820
5775
  }
5776
+ interface SnapshotLevelDataOption {
5777
+ id: number;
5778
+ name: string;
5779
+ schemaId?: number;
5780
+ }
5821
5781
  interface DashboardTargetTemplateFilter {
5822
5782
  propertyKey: string;
5823
5783
  propertyValue: any;
@@ -6050,6 +6010,12 @@ declare class DashboardBuilderService {
6050
6010
  * Get all available services from gateway
6051
6011
  */
6052
6012
  getMetadataServices(): Observable<ApiResponse<any[]>>;
6013
+ /**
6014
+ * Load the records belonging to one Level schema for snapshot authoring.
6015
+ * The snapshot endpoint is record-scoped, so its URL must receive one of
6016
+ * these record ids rather than the selected schema id.
6017
+ */
6018
+ getSnapshotLevelDataOptions(levelId: string | number): Observable<SnapshotLevelDataOption[]>;
6053
6019
  /**
6054
6020
  * Get modules tree with all services, modules, and values in a single call
6055
6021
  * This returns the complete tree structure for efficient caching
@@ -6136,6 +6102,83 @@ declare class DashboardBuilderService {
6136
6102
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardBuilderService>;
6137
6103
  }
6138
6104
 
6105
+ /**
6106
+ * Store Service
6107
+ *
6108
+ * Simple reactive store for dashboard builder state management
6109
+ */
6110
+ declare class DashboardStoreService {
6111
+ private readonly limitedHttp;
6112
+ /** Query parameters */
6113
+ private queryParamsSignal;
6114
+ readonly queryParams: _angular_core.Signal<Record<string, any>>;
6115
+ /** Stop actions on cards flag */
6116
+ private stopActionsSignal;
6117
+ readonly stopActions: _angular_core.Signal<boolean>;
6118
+ /** Dynamic key-value store */
6119
+ private dynamicStore;
6120
+ /** Language code */
6121
+ readonly languageCode: _angular_core.WritableSignal<string>;
6122
+ /** Direction */
6123
+ readonly direction: _angular_core.WritableSignal<"rtl" | "ltr">;
6124
+ /** Inside Report Viewer flag - controls text truncation in charts */
6125
+ private insideReportViewerSignal;
6126
+ readonly insideReportViewer: _angular_core.Signal<boolean>;
6127
+ /** Reload current page subject */
6128
+ private reloadCurrentPageSubject;
6129
+ readonly reloadCurrentPage$: rxjs.Observable<void>;
6130
+ /**
6131
+ * Trigger reload of current page.
6132
+ *
6133
+ * @param force When true, the LimitedHttpService response cache is cleared
6134
+ * first so dashboard items re-fetch fresh data from the network instead of
6135
+ * being served a cached (potentially stale) response. Pass `true` after a
6136
+ * data mutation (create/update/delete) so counts/KPIs reflect the new state
6137
+ * without requiring a full page refresh. Defaults to `false` to preserve the
6138
+ * existing cache-friendly behaviour for plain re-renders.
6139
+ */
6140
+ triggerReloadCurrentPage(force?: boolean): void;
6141
+ /**
6142
+ * Update query parameters
6143
+ */
6144
+ updateQueryParams(params: Record<string, any>): void;
6145
+ /**
6146
+ * Update stop actions flag
6147
+ */
6148
+ updateStopActions(value: boolean): void;
6149
+ /**
6150
+ * Set inside report viewer mode
6151
+ * When true, axis labels won't be truncated and custom legends may be skipped
6152
+ */
6153
+ setInsideReportViewer(value: boolean): void;
6154
+ /**
6155
+ * Update dynamic key in store
6156
+ */
6157
+ updateDynamicKey(key: string, value: any): void;
6158
+ /**
6159
+ * Get dynamic key from store
6160
+ */
6161
+ getDynamicKey<T = any>(key: string): T | undefined;
6162
+ /**
6163
+ * Get computed value from dynamic store
6164
+ */
6165
+ selectDynamicKey<T = any>(key: string): _angular_core.Signal<T | undefined>;
6166
+ /**
6167
+ * Get query params as a plain object
6168
+ */
6169
+ getQueryParams(): Record<string, any>;
6170
+ /**
6171
+ * Get extra filters for a specific dashboard action
6172
+ */
6173
+ getExtraFilterForCurrentAction(dashboardId: string): Record<string, any>;
6174
+ /**
6175
+ * Reset store to initial state
6176
+ */
6177
+ reset(): void;
6178
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardStoreService, never>;
6179
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DashboardStoreService>;
6180
+ }
6181
+
6139
6182
  interface ManagePagesDeleteResult {
6140
6183
  action: 'deleted';
6141
6184
  id: string | number;
@@ -7188,6 +7231,9 @@ interface BarControlConfig {
7188
7231
  yAxisFontColor?: string;
7189
7232
  xAxisLineColor?: string;
7190
7233
  yAxisLineColor?: string;
7234
+ axisLabelWrapMode?: 'characters' | 'words' | 'none';
7235
+ maxCharsPerLine?: number | null;
7236
+ maxWordsPerLine?: number | null;
7191
7237
  gridTop?: number | null;
7192
7238
  gridBottom?: number | null;
7193
7239
  gridLeft?: number | null;
@@ -7204,7 +7250,6 @@ interface BarControlConfig {
7204
7250
  tooltipBorderWidth?: number;
7205
7251
  borderRadius?: boolean;
7206
7252
  showValueOnlyInTooltip?: boolean;
7207
- maxCharsPerLine?: number | null;
7208
7253
  isGrouped?: boolean;
7209
7254
  }
7210
7255
  declare class BarControlUi implements ControlValueAccessor {
@@ -7249,14 +7294,19 @@ declare class BarControlUi implements ControlValueAccessor {
7249
7294
  label: string;
7250
7295
  value: number;
7251
7296
  })[];
7252
- /** Axis-label wrap length presets — Default disables wrapping. */
7253
- readonly maxCharsPerLineOptions: ({
7297
+ readonly axisLabelWrapModeOptions: {
7254
7298
  label: string;
7255
- value: null;
7256
- } | {
7299
+ value: string;
7300
+ }[];
7301
+ /** Character limits keep numeric styling choices predictable. */
7302
+ readonly maxCharsPerLineOptions: {
7257
7303
  label: string;
7258
7304
  value: number;
7259
- })[];
7305
+ }[];
7306
+ readonly maxWordsPerLineOptions: {
7307
+ label: string;
7308
+ value: number;
7309
+ }[];
7260
7310
  private onChange;
7261
7311
  private onTouched;
7262
7312
  writeValue(value: BarControlConfig): void;
@@ -7274,6 +7324,9 @@ interface StackBarControlConfig {
7274
7324
  barType?: 'bar' | 'line';
7275
7325
  xAxisLabelRotate?: number;
7276
7326
  xAxisFontSize?: number;
7327
+ axisLabelWrapMode?: 'characters' | 'words' | 'none';
7328
+ maxCharsPerLine?: number | null;
7329
+ maxWordsPerLine?: number | null;
7277
7330
  yAxisShow?: boolean;
7278
7331
  yAxisFormat?: {
7279
7332
  type: string;
@@ -7321,6 +7374,18 @@ declare class StackBarControlUi implements ControlValueAccessor {
7321
7374
  label: string;
7322
7375
  value: number;
7323
7376
  }[];
7377
+ readonly axisLabelWrapModeOptions: {
7378
+ label: string;
7379
+ value: string;
7380
+ }[];
7381
+ readonly maxCharsPerLineOptions: {
7382
+ label: string;
7383
+ value: number;
7384
+ }[];
7385
+ readonly maxWordsPerLineOptions: {
7386
+ label: string;
7387
+ value: number;
7388
+ }[];
7324
7389
  /** ECharts barWidth presets — Auto (omit) + common pixel widths. */
7325
7390
  readonly barWidthOptions: ({
7326
7391
  label: string;
@@ -7698,7 +7763,7 @@ declare class DataSourceSettings {
7698
7763
  * Active tab within the selection cycle: Selection (pick modules) · Source
7699
7764
  * Links (joins, only with >1 selection) · Query (fields).
7700
7765
  */
7701
- readonly activeSection: _angular_core.WritableSignal<"selection" | "query" | "sourceLinks">;
7766
+ readonly activeSection: _angular_core.WritableSignal<"query" | "selection" | "sourceLinks">;
7702
7767
  /** Selection mode inside the selection tab (informative authoring). */
7703
7768
  readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
7704
7769
  readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
@@ -8567,5 +8632,5 @@ declare class GetChartActionsPipe implements PipeTransform {
8567
8632
  */
8568
8633
  declare function cloneDeep<T>(obj: T): T;
8569
8634
 
8570
- 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, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
8571
- 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, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
8635
+ export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
8636
+ export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardInformativeContext, DashboardItemStore, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };