@masterteam/dashboard-builder 0.0.118 → 0.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- import * as _masterteam_dashboard_builder from '@masterteam/dashboard-builder';
2
1
  import * as _angular_core from '@angular/core';
3
- import { OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, InjectionToken, TemplateRef, WritableSignal, PipeTransform } from '@angular/core';
2
+ import { Signal, Type, InjectionToken, OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, TemplateRef, WritableSignal, PipeTransform } from '@angular/core';
3
+ import * as _masterteam_dashboard_builder from '@masterteam/dashboard-builder';
4
+ import { MTIcon } from '@masterteam/icons';
5
+ import * as _angular_forms from '@angular/forms';
6
+ import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors, FormControl } from '@angular/forms';
4
7
  import { GridsterItem, GridsterConfig } from 'angular-gridster2';
5
- import { ContextMenu } from 'primeng/contextmenu';
6
- import { MenuItem } from 'primeng/api';
7
8
  import * as rxjs from 'rxjs';
8
9
  import { Observable } from 'rxjs';
10
+ import { ContextMenu } from 'primeng/contextmenu';
11
+ import { MenuItem } from 'primeng/api';
9
12
  import { MTMenuItem } from '@masterteam/components/menu';
10
- import * as _angular_forms from '@angular/forms';
11
- import { ControlValueAccessor, FormGroup, FormArray, ValidationErrors, FormControl } from '@angular/forms';
12
- import { MTIcon } from '@masterteam/icons';
13
13
  import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
14
14
  import { EntityData as EntityData$1, EntityViewType, EntityConfiguration } from '@masterteam/components/entities';
15
15
  import { HttpContext } from '@angular/common/http';
@@ -639,6 +639,246 @@ interface CustomApi {
639
639
  params?: Record<string, any>;
640
640
  }
641
641
 
642
+ /**
643
+ * Chart Type Configuration
644
+ */
645
+ interface ChartTypeConfig {
646
+ id: string;
647
+ name: string;
648
+ icon: string;
649
+ serviceType: string;
650
+ componentName: string;
651
+ functionName: string;
652
+ requestType?: string;
653
+ category: 'chart' | 'card' | 'table' | 'special' | 'layout';
654
+ /** Products this chart type is available for (pplus, splus, report) */
655
+ products?: ('pplus' | 'splus' | 'report')[];
656
+ hideInList?: boolean;
657
+ /** Whether this type requires manage-item configuration (false = add directly) */
658
+ hasManageItem: boolean;
659
+ /** Default size when added to grid */
660
+ defaultSize?: {
661
+ cols: number;
662
+ rows: number;
663
+ };
664
+ }
665
+ /**
666
+ * Module Type from API
667
+ */
668
+ interface IModuleType {
669
+ id: string;
670
+ name: string;
671
+ version?: string;
672
+ description?: string;
673
+ }
674
+ /**
675
+ * Module with properties
676
+ */
677
+ interface IModule {
678
+ moduleDisplay: string;
679
+ moduleId: number | string;
680
+ moduleName: string;
681
+ selectionId?: number;
682
+ }
683
+ /**
684
+ * Property definition from API
685
+ * Maps to PropertyItem from dashboard.model.ts
686
+ */
687
+ interface IProperty extends PropertyItem {
688
+ /** @deprecated Use PropertyItem.isCalculated when available */
689
+ isCalculated?: boolean;
690
+ description?: string;
691
+ }
692
+ /**
693
+ * Property with grouping info
694
+ */
695
+ interface IPropertyWithGroup extends IProperty {
696
+ groupingBy: string;
697
+ }
698
+ /**
699
+ * Selection filter
700
+ */
701
+ interface SelectionFilter {
702
+ propertyKey: string | null;
703
+ propertyValue: any;
704
+ operation: 'Equals' | 'NotEquals' | 'OneOf' | 'Between' | 'Contains' | 'GreaterThan' | 'LessThan' | 'Empty' | 'NotEmpty' | null;
705
+ logical: 'And' | 'Or' | null;
706
+ operationLevel?: number | null;
707
+ propertyData?: any;
708
+ }
709
+ /**
710
+ * Selection configuration
711
+ */
712
+ interface ISelection {
713
+ id: number;
714
+ service?: string | null;
715
+ /** Module selector in format "ModuleType:Id" (e.g., "Level:7") */
716
+ selector: string | null;
717
+ /** Display name of the selected module (e.g., "Project" for "Level:7") */
718
+ selectorName?: string | null;
719
+ filters: SelectionFilter[];
720
+ }
721
+ /**
722
+ * Source link configuration for joins
723
+ */
724
+ interface SourceLink {
725
+ source1SelectionId: number | null;
726
+ source2SelectionId: number | null;
727
+ source1PropertyKey: string | null;
728
+ source2PropertyKey: string | null;
729
+ source1Properties?: IProperty[];
730
+ source2Properties?: IProperty[];
731
+ isLeftJoin?: boolean;
732
+ isFilterLinkage?: boolean;
733
+ sourceLinkId?: number | null;
734
+ }
735
+ /**
736
+ * Available chart types — derived from the chart capability registry.
737
+ *
738
+ * The registry (`CHART_CAPABILITIES`) is the single source of truth.
739
+ * Adding a new chart means adding a manifest entry, not editing this array.
740
+ */
741
+ declare const CHART_TYPES: ChartTypeConfig[];
742
+ /**
743
+ * Manage Item Service
744
+ *
745
+ * Handles state and operations for the manage-item drawer
746
+ */
747
+ declare class ManageItemService {
748
+ private dashboardService;
749
+ private fb;
750
+ readonly chart: _angular_core.WritableSignal<DashboardChartItem | null>;
751
+ readonly selectedType: _angular_core.WritableSignal<ChartTypeConfig | null>;
752
+ readonly chartTypes: _angular_core.WritableSignal<ChartTypeConfig[]>;
753
+ readonly moduleTypes: _angular_core.WritableSignal<IModuleType[]>;
754
+ readonly modulesProperties: _angular_core.WritableSignal<{
755
+ moduleName: string;
756
+ moduleDisplay: string;
757
+ properties: IProperty[];
758
+ }[]>;
759
+ readonly propertiesFlat: _angular_core.WritableSignal<IPropertyWithGroup[]>;
760
+ readonly isEdit: _angular_core.WritableSignal<boolean>;
761
+ readonly dirty: _angular_core.WritableSignal<boolean>;
762
+ readonly loading: _angular_core.WritableSignal<boolean>;
763
+ readonly configSignal: _angular_core.WritableSignal<ItemConfig | null>;
764
+ readonly chartTypesFiltered: _angular_core.Signal<ChartTypeConfig[]>;
765
+ readonly chartTypesByCategory: _angular_core.Signal<{
766
+ card: ChartTypeConfig[];
767
+ chart: ChartTypeConfig[];
768
+ table: ChartTypeConfig[];
769
+ special: ChartTypeConfig[];
770
+ layout: ChartTypeConfig[];
771
+ }>;
772
+ readonly chartForm: _angular_forms.FormGroup<{
773
+ id: _angular_forms.FormControl<number | null>;
774
+ name: _angular_forms.FormControl<string | null>;
775
+ dashboardId: _angular_forms.FormControl<string | null>;
776
+ chartTypeId: _angular_forms.FormControl<string | null>;
777
+ configuration: _angular_forms.FormGroup<{
778
+ clientConfig: _angular_forms.FormControl<ClientConfig | null>;
779
+ serviceConfig: _angular_forms.FormControl<ServiceConfig | null>;
780
+ }>;
781
+ }>;
782
+ /**
783
+ * Reset all state
784
+ */
785
+ resetState(): void;
786
+ /**
787
+ * Initialize with existing chart (edit mode) or empty (new mode)
788
+ */
789
+ init(chartData?: DashboardChartItem): void;
790
+ /**
791
+ * Set chart data for editing
792
+ */
793
+ setChart(chartData: DashboardChartItem): void;
794
+ /**
795
+ * Select a chart type
796
+ */
797
+ selectType(type: ChartTypeConfig): void;
798
+ /**
799
+ * Mark form as dirty
800
+ */
801
+ markDirty(): void;
802
+ /**
803
+ * Get configuration value (returns signal value for reactivity)
804
+ */
805
+ getConfig(): ItemConfig | null;
806
+ /**
807
+ * Update service config
808
+ */
809
+ updateServiceConfig(partial: Partial<ServiceConfig>): void;
810
+ /**
811
+ * Update client config
812
+ */
813
+ updateClientConfig(partial: Partial<ClientConfig>): void;
814
+ /**
815
+ * Load module types from API
816
+ */
817
+ loadModuleTypes(): void;
818
+ /**
819
+ * Load properties for selected modules
820
+ */
821
+ loadPropertiesForModules(modules: {
822
+ moduleType: string;
823
+ moduleDisplay?: string;
824
+ }[]): void;
825
+ /**
826
+ * Get final chart data for saving
827
+ */
828
+ getFinalChartData(): {
829
+ configuration: ItemConfig;
830
+ chartTypeId: string;
831
+ } | null;
832
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManageItemService, never>;
833
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ManageItemService>;
834
+ }
835
+
836
+ /** An optional helper that can create and change widgets for the user. */
837
+ interface DashboardBuilderAssist {
838
+ readonly typeIds: Signal<ReadonlySet<string>>;
839
+ /** Inputs: widget and label; communicates through WIDGET_PALETTE_TILE_HOST. */
840
+ readonly paletteTile: Type<unknown>;
841
+ readonly itemLabel: Signal<string>;
842
+ readonly itemIcon: MTIcon;
843
+ canAssistItem?(item: DashboardChartItem): boolean;
844
+ }
845
+ declare const DASHBOARD_BUILDER_ASSIST: InjectionToken<DashboardBuilderAssist>;
846
+ /** What a palette tile component can ask of the palette. */
847
+ interface WidgetPaletteTileHost {
848
+ select(widget: ChartTypeConfig): void;
849
+ assist(widget: ChartTypeConfig): void;
850
+ dragStart(event: DragEvent, widget: ChartTypeConfig): void;
851
+ }
852
+ declare const WIDGET_PALETTE_TILE_HOST: InjectionToken<WidgetPaletteTileHost>;
853
+ /** A per-item mark keyed by config.serviceConfig.dashboardId. */
854
+ interface DashboardItemMark {
855
+ cssClass?: string;
856
+ label?: string;
857
+ }
858
+ /** One saved-dashboard item, without persistence identity. */
859
+ interface DashboardChartDraft {
860
+ chartTypeId: string;
861
+ config: {
862
+ serviceConfig: Record<string, unknown>;
863
+ clientConfig: Record<string, unknown>;
864
+ };
865
+ cols?: number;
866
+ rows?: number;
867
+ }
868
+ /** A level from the modules tree, with its workspace name. */
869
+ interface DashboardLevelOption {
870
+ levelId: number;
871
+ name: string | {
872
+ en?: string;
873
+ ar?: string;
874
+ };
875
+ templateName?: string | {
876
+ en?: string;
877
+ ar?: string;
878
+ };
879
+ }
880
+ declare function dashboardLevelOptions(tree: readonly ServiceItem[]): DashboardLevelOption[];
881
+
642
882
  /**
643
883
  * Action emitted from the kebab menu. The host (`dashboard-builder`)
644
884
  * routes each id to a single concrete owner (ManageItem, ChartSettingsDrawer,
@@ -650,6 +890,8 @@ type ItemCardMenuAction = {
650
890
  type: 'actions';
651
891
  } | {
652
892
  type: 'style';
893
+ } | {
894
+ type: 'assist';
653
895
  } | {
654
896
  type: 'filters';
655
897
  } | {
@@ -670,6 +912,8 @@ type ItemCardMenuAction = {
670
912
  type: 'dialog-remove';
671
913
  };
672
914
  declare class ItemCardMenuComponent {
915
+ readonly assistLabel: _angular_core.InputSignal<string | null>;
916
+ readonly assistIcon: _angular_core.InputSignal<MTIcon | null>;
673
917
  private readonly transloco;
674
918
  /** Whether to allow duplicate (excluded for layout/group widgets). */
675
919
  readonly allowDuplicate: _angular_core.InputSignal<boolean>;
@@ -687,7 +931,7 @@ declare class ItemCardMenuComponent {
687
931
  readonly items: _angular_core.Signal<MTMenuItem[]>;
688
932
  onItemSelect(item: MTMenuItem): void;
689
933
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ItemCardMenuComponent, never>;
690
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ItemCardMenuComponent, "mt-item-card-menu", never, { "allowDuplicate": { "alias": "allowDuplicate"; "required": false; "isSignal": true; }; "hasLinkedDialog": { "alias": "hasLinkedDialog"; "required": false; "isSignal": true; }; "canLinkDialog": { "alias": "canLinkDialog"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
934
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ItemCardMenuComponent, "mt-item-card-menu", never, { "assistLabel": { "alias": "assistLabel"; "required": false; "isSignal": true; }; "assistIcon": { "alias": "assistIcon"; "required": false; "isSignal": true; }; "allowDuplicate": { "alias": "allowDuplicate"; "required": false; "isSignal": true; }; "hasLinkedDialog": { "alias": "hasLinkedDialog"; "required": false; "isSignal": true; }; "canLinkDialog": { "alias": "canLinkDialog"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
691
935
  }
692
936
 
693
937
  /**
@@ -2249,200 +2493,6 @@ declare class FilterBuilderComponent {
2249
2493
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterBuilderComponent, "mt-filter-builder", never, { "chips": { "alias": "chips"; "required": true; "isSignal": true; }; "persisted": { "alias": "persisted"; "required": false; "isSignal": true; }; }, { "chipsChange": "chipsChange"; }, never, never, true, never>;
2250
2494
  }
2251
2495
 
2252
- /**
2253
- * Chart Type Configuration
2254
- */
2255
- interface ChartTypeConfig {
2256
- id: string;
2257
- name: string;
2258
- icon: string;
2259
- serviceType: string;
2260
- componentName: string;
2261
- functionName: string;
2262
- requestType?: string;
2263
- category: 'chart' | 'card' | 'table' | 'special' | 'layout';
2264
- /** Products this chart type is available for (pplus, splus, report) */
2265
- products?: ('pplus' | 'splus' | 'report')[];
2266
- hideInList?: boolean;
2267
- /** Whether this type requires manage-item configuration (false = add directly) */
2268
- hasManageItem: boolean;
2269
- /** Default size when added to grid */
2270
- defaultSize?: {
2271
- cols: number;
2272
- rows: number;
2273
- };
2274
- }
2275
- /**
2276
- * Module Type from API
2277
- */
2278
- interface IModuleType {
2279
- id: string;
2280
- name: string;
2281
- version?: string;
2282
- description?: string;
2283
- }
2284
- /**
2285
- * Module with properties
2286
- */
2287
- interface IModule {
2288
- moduleDisplay: string;
2289
- moduleId: number | string;
2290
- moduleName: string;
2291
- selectionId?: number;
2292
- }
2293
- /**
2294
- * Property definition from API
2295
- * Maps to PropertyItem from dashboard.model.ts
2296
- */
2297
- interface IProperty extends PropertyItem {
2298
- /** @deprecated Use PropertyItem.isCalculated when available */
2299
- isCalculated?: boolean;
2300
- description?: string;
2301
- }
2302
- /**
2303
- * Property with grouping info
2304
- */
2305
- interface IPropertyWithGroup extends IProperty {
2306
- groupingBy: string;
2307
- }
2308
- /**
2309
- * Selection filter
2310
- */
2311
- interface SelectionFilter {
2312
- propertyKey: string | null;
2313
- propertyValue: any;
2314
- operation: 'Equals' | 'NotEquals' | 'OneOf' | 'Between' | 'Contains' | 'GreaterThan' | 'LessThan' | 'Empty' | 'NotEmpty' | null;
2315
- logical: 'And' | 'Or' | null;
2316
- operationLevel?: number | null;
2317
- propertyData?: any;
2318
- }
2319
- /**
2320
- * Selection configuration
2321
- */
2322
- interface ISelection {
2323
- id: number;
2324
- service?: string | null;
2325
- /** Module selector in format "ModuleType:Id" (e.g., "Level:7") */
2326
- selector: string | null;
2327
- /** Display name of the selected module (e.g., "Project" for "Level:7") */
2328
- selectorName?: string | null;
2329
- filters: SelectionFilter[];
2330
- }
2331
- /**
2332
- * Source link configuration for joins
2333
- */
2334
- interface SourceLink {
2335
- source1SelectionId: number | null;
2336
- source2SelectionId: number | null;
2337
- source1PropertyKey: string | null;
2338
- source2PropertyKey: string | null;
2339
- source1Properties?: IProperty[];
2340
- source2Properties?: IProperty[];
2341
- isLeftJoin?: boolean;
2342
- isFilterLinkage?: boolean;
2343
- sourceLinkId?: number | null;
2344
- }
2345
- /**
2346
- * Available chart types — derived from the chart capability registry.
2347
- *
2348
- * The registry (`CHART_CAPABILITIES`) is the single source of truth.
2349
- * Adding a new chart means adding a manifest entry, not editing this array.
2350
- */
2351
- declare const CHART_TYPES: ChartTypeConfig[];
2352
- /**
2353
- * Manage Item Service
2354
- *
2355
- * Handles state and operations for the manage-item drawer
2356
- */
2357
- declare class ManageItemService {
2358
- private dashboardService;
2359
- private fb;
2360
- readonly chart: _angular_core.WritableSignal<DashboardChartItem | null>;
2361
- readonly selectedType: _angular_core.WritableSignal<ChartTypeConfig | null>;
2362
- readonly chartTypes: _angular_core.WritableSignal<ChartTypeConfig[]>;
2363
- readonly moduleTypes: _angular_core.WritableSignal<IModuleType[]>;
2364
- readonly modulesProperties: _angular_core.WritableSignal<{
2365
- moduleName: string;
2366
- moduleDisplay: string;
2367
- properties: IProperty[];
2368
- }[]>;
2369
- readonly propertiesFlat: _angular_core.WritableSignal<IPropertyWithGroup[]>;
2370
- readonly isEdit: _angular_core.WritableSignal<boolean>;
2371
- readonly dirty: _angular_core.WritableSignal<boolean>;
2372
- readonly loading: _angular_core.WritableSignal<boolean>;
2373
- readonly configSignal: _angular_core.WritableSignal<ItemConfig | null>;
2374
- readonly chartTypesFiltered: _angular_core.Signal<ChartTypeConfig[]>;
2375
- readonly chartTypesByCategory: _angular_core.Signal<{
2376
- card: ChartTypeConfig[];
2377
- chart: ChartTypeConfig[];
2378
- table: ChartTypeConfig[];
2379
- special: ChartTypeConfig[];
2380
- layout: ChartTypeConfig[];
2381
- }>;
2382
- readonly chartForm: _angular_forms.FormGroup<{
2383
- id: _angular_forms.FormControl<number | null>;
2384
- name: _angular_forms.FormControl<string | null>;
2385
- dashboardId: _angular_forms.FormControl<string | null>;
2386
- chartTypeId: _angular_forms.FormControl<string | null>;
2387
- configuration: _angular_forms.FormGroup<{
2388
- clientConfig: _angular_forms.FormControl<ClientConfig | null>;
2389
- serviceConfig: _angular_forms.FormControl<ServiceConfig | null>;
2390
- }>;
2391
- }>;
2392
- /**
2393
- * Reset all state
2394
- */
2395
- resetState(): void;
2396
- /**
2397
- * Initialize with existing chart (edit mode) or empty (new mode)
2398
- */
2399
- init(chartData?: DashboardChartItem): void;
2400
- /**
2401
- * Set chart data for editing
2402
- */
2403
- setChart(chartData: DashboardChartItem): void;
2404
- /**
2405
- * Select a chart type
2406
- */
2407
- selectType(type: ChartTypeConfig): void;
2408
- /**
2409
- * Mark form as dirty
2410
- */
2411
- markDirty(): void;
2412
- /**
2413
- * Get configuration value (returns signal value for reactivity)
2414
- */
2415
- getConfig(): ItemConfig | null;
2416
- /**
2417
- * Update service config
2418
- */
2419
- updateServiceConfig(partial: Partial<ServiceConfig>): void;
2420
- /**
2421
- * Update client config
2422
- */
2423
- updateClientConfig(partial: Partial<ClientConfig>): void;
2424
- /**
2425
- * Load module types from API
2426
- */
2427
- loadModuleTypes(): void;
2428
- /**
2429
- * Load properties for selected modules
2430
- */
2431
- loadPropertiesForModules(modules: {
2432
- moduleType: string;
2433
- moduleDisplay?: string;
2434
- }[]): void;
2435
- /**
2436
- * Get final chart data for saving
2437
- */
2438
- getFinalChartData(): {
2439
- configuration: ItemConfig;
2440
- chartTypeId: string;
2441
- } | null;
2442
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManageItemService, never>;
2443
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<ManageItemService>;
2444
- }
2445
-
2446
2496
  declare class DatasourcePanelComponent {
2447
2497
  private readonly transloco;
2448
2498
  readonly item: _angular_core.InputSignal<DashboardChartItem | null>;
@@ -2494,6 +2544,9 @@ declare class SchemaControlRendererComponent {
2494
2544
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SchemaControlRendererComponent, "mt-schema-control-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; }; }, { "patch": "patch"; }, never, never, true, never>;
2495
2545
  }
2496
2546
 
2547
+ interface DashboardDocumentLoadOptions {
2548
+ mode: 'new' | 'replace';
2549
+ }
2497
2550
  /**
2498
2551
  * Dashboard Builder Component
2499
2552
  *
@@ -2506,6 +2559,8 @@ declare class SchemaControlRendererComponent {
2506
2559
  * - Chart settings drawer (pie, bar, stack bar controls)
2507
2560
  */
2508
2561
  declare class DashboardBuilder implements OnInit, OnDestroy {
2562
+ protected readonly assist: _masterteam_dashboard_builder.DashboardBuilderAssist | null;
2563
+ private readonly injector;
2509
2564
  private cdr;
2510
2565
  private dashboardService;
2511
2566
  private storeService;
@@ -2523,6 +2578,9 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2523
2578
  readonly backButton: _angular_core.InputSignal<boolean>;
2524
2579
  /** Dashboard/Page ID to load */
2525
2580
  readonly pageId: _angular_core.InputSignal<string | number | null>;
2581
+ readonly newPage: _angular_core.InputSignal<boolean>;
2582
+ private readonly createdPageId;
2583
+ readonly effectivePageId: _angular_core.Signal<string | number | null>;
2526
2584
  /** Standalone mode (when true, builder runs without API calls) */
2527
2585
  readonly standalone: _angular_core.InputSignal<boolean>;
2528
2586
  /** Optional services filter used by manage-item metadata tree loading */
@@ -2565,8 +2623,12 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2565
2623
  readonly pageChange: _angular_core.OutputEmitterRef<_masterteam_dashboard_builder.Report>;
2566
2624
  /** Emit when charts change */
2567
2625
  readonly chartsChange: _angular_core.OutputEmitterRef<DashboardChartItem[]>;
2626
+ readonly widgetAssist: _angular_core.OutputEmitterRef<ChartTypeConfig>;
2627
+ readonly itemAssist: _angular_core.OutputEmitterRef<DashboardChartItem>;
2628
+ readonly itemMarks: _angular_core.ModelSignal<Readonly<Record<string, DashboardItemMark>>>;
2568
2629
  /** Emit when save is complete */
2569
2630
  readonly onSave: _angular_core.OutputEmitterRef<void>;
2631
+ readonly pageCreated: _angular_core.OutputEmitterRef<string | number>;
2570
2632
  /** Emit when back button is clicked */
2571
2633
  readonly onBack: _angular_core.OutputEmitterRef<void>;
2572
2634
  /** Emit when requesting to add new chart (opens external chart editor) */
@@ -2581,12 +2643,21 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2581
2643
  }>;
2582
2644
  readonly contextMenu: _angular_core.Signal<ContextMenu | undefined>;
2583
2645
  readonly gridsterContainer: _angular_core.Signal<any>;
2646
+ /**
2647
+ * Gridster lays out on window resizes only. The page column also changes
2648
+ * width without one (an inline Faris panel opening or closing, a sidebar):
2649
+ * re-measure whenever the grid itself changes size, or the items keep the
2650
+ * old widths and leave empty space when the column grows back.
2651
+ */
2652
+ private readonly gridResize;
2584
2653
  readonly loading: _angular_core.WritableSignal<boolean>;
2585
2654
  readonly saving: _angular_core.WritableSignal<boolean>;
2586
2655
  readonly pageConfig: _angular_core.WritableSignal<_masterteam_dashboard_builder.Report | null>;
2587
2656
  readonly charts: _angular_core.WritableSignal<DashboardChartItem[]>;
2588
2657
  readonly dialogs: _angular_core.WritableSignal<DashboardDialogItem[]>;
2589
2658
  readonly filtersConfig: _angular_core.WritableSignal<any[]>;
2659
+ readonly pageFilters: _angular_core.Signal<any[]>;
2660
+ readonly levelOptions: _angular_core.WritableSignal<readonly DashboardLevelOption[]>;
2590
2661
  readonly selectedCharts: _angular_core.WritableSignal<string[]>;
2591
2662
  readonly contextPos: _angular_core.WritableSignal<{
2592
2663
  x: number;
@@ -2617,6 +2688,11 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2617
2688
  private lastExtraFiltersSignature;
2618
2689
  private lastLoadedPageKey;
2619
2690
  private lastStandaloneDashboardSignature;
2691
+ private readonly linkedIds;
2692
+ private localDraftPending;
2693
+ private readonly pendingUnlinks;
2694
+ private persistedFiltersSignature;
2695
+ private pendingCreatedPageId;
2620
2696
  /**
2621
2697
  * Last geometry published per chart id, keyed by `serviceConfig.dashboardId`.
2622
2698
  * Gridster mutates the bound chart object in place, so this is the only way
@@ -2651,6 +2727,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2651
2727
  saveDash(options?: {
2652
2728
  silent?: boolean;
2653
2729
  }): void;
2730
+ private savePage;
2654
2731
  /**
2655
2732
  * The builder's own save message. The link requests are silent: their
2656
2733
  * backend message is "Created successfully." even when an existing
@@ -2668,17 +2745,17 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2668
2745
  private commitSavedState;
2669
2746
  /**
2670
2747
  * Persist the page-level filters through the dashboard (report) endpoint —
2671
- * the canonical carrier of `dashboardConfig.filters`. In API-backed mode
2672
- * `saveDash()` only links charts/dialogs via `linkChartsBulk` and never writes
2673
- * the page config, so configured filters were lost on reload and never reached
2674
- * the runtime sidebar (#1141). Standalone mode already emits filters via
2675
- * `emitDashboardDataChange`, so this no-ops there.
2748
+ * the canonical carrier of `dashboardConfig.filters`. Explicit Save awaits
2749
+ * this write in API mode when the normalized filters changed.
2750
+ * Standalone mode emits filters through its document model instead.
2676
2751
  */
2752
+ private persistFiltersOnEdit;
2677
2753
  private persistPageFilters;
2754
+ private unlinkChart;
2678
2755
  addOrEditPage(page?: DashboardPage): void;
2679
2756
  /**
2680
- * Merge page settings edited in the drawer into the live standalone document
2681
- * and run the host's save path.
2757
+ * Merge drawer settings into a standalone document or an unsaved report.
2758
+ * Standalone hosts receive their usual save event; reports await explicit Save.
2682
2759
  *
2683
2760
  * The drawer does not edit filters, so the builder's own `filtersConfig` — not
2684
2761
  * the empty default the drawer carries — stays authoritative.
@@ -2814,6 +2891,31 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2814
2891
  private removeGroupLocally;
2815
2892
  addHeader(): void;
2816
2893
  addTopbar(): void;
2894
+ itemMarkClass(chart: DashboardChartItem): string;
2895
+ itemMarkLabel(chart: DashboardChartItem): string | null;
2896
+ assistLabelFor(item: DashboardChartItem): string | null;
2897
+ /** Load a whole draft as an undoable local edit; persistence belongs to Save. */
2898
+ loadDocument(doc: DashboardBuilderData, options: DashboardDocumentLoadOptions): void;
2899
+ /** Add a local draft; persistence remains owned by Save. */
2900
+ addChart(draft: DashboardChartDraft, options?: {
2901
+ placement?: 'first-free' | {
2902
+ x: number;
2903
+ y: number;
2904
+ };
2905
+ }): DashboardChartItem;
2906
+ /** Replace content without changing the canvas or backend link identity. */
2907
+ replaceChart(dashboardId: string, draft: DashboardChartDraft): DashboardChartItem | null;
2908
+ removeChart(dashboardId: string): void;
2909
+ chartById(dashboardId: string): DashboardChartItem | null;
2910
+ /**
2911
+ * Scrolls an item into view once gridster has placed it: its transform
2912
+ * lands a frame or more after the render, so wait until the item's
2913
+ * position stops moving (at most ~20 frames).
2914
+ */
2915
+ revealItem(dashboardId: string): void;
2916
+ chartLevel(item: DashboardChartItem): number | null;
2917
+ snapshot(): DashboardBuilderData;
2918
+ restore(snapshot: DashboardBuilderData): void;
2817
2919
  /** Open widget palette drawer */
2818
2920
  toggleWidgetPalette(): void;
2819
2921
  /** Close widget palette drawer */
@@ -2912,13 +3014,13 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2912
3014
  * which is a bug in its own right rather than part of the undone state.
2913
3015
  */
2914
3016
  undo(): void;
3017
+ private applyHistorySnapshot;
2915
3018
  /**
2916
3019
  * Remove backend links for items the revert dropped.
2917
3020
  *
2918
- * `saveDash` only ever upserts, so an already-linked item that is no longer
2919
- * in the document would otherwise survive as an orphan and reappear on the
2920
- * next load. This does NOT restore any other saved state — it only prevents
2921
- * an item the user just undid from coming back.
3021
+ * Save also reconciles tracked links, but clean up background-added items
3022
+ * immediately so an item the user just undid cannot return on reload before
3023
+ * the next explicit Save. This does not restore any other saved state.
2922
3024
  */
2923
3025
  private unlinkItemsRemovedByUndo;
2924
3026
  /**
@@ -2938,7 +3040,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2938
3040
  private readSerializedObject;
2939
3041
  private parseSerializedValue;
2940
3042
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardBuilder, never>;
2941
- 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; }; "product": { "alias": "product"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; "levelLogsResolver": { "alias": "levelLogsResolver"; "required": false; "isSignal": true; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "onSave": "onSave"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
3043
+ 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; }; "newPage": { "alias": "newPage"; "required": false; "isSignal": true; }; "standalone": { "alias": "standalone"; "required": false; "isSignal": true; }; "services": { "alias": "services"; "required": false; "isSignal": true; }; "product": { "alias": "product"; "required": false; "isSignal": true; }; "dashboardData": { "alias": "dashboardData"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "informativeContext": { "alias": "informativeContext"; "required": false; "isSignal": true; }; "extraFilters": { "alias": "extraFilters"; "required": false; "isSignal": true; }; "lookups": { "alias": "lookups"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "levelsSchema": { "alias": "levelsSchema"; "required": false; "isSignal": true; }; "levelLogsResolver": { "alias": "levelLogsResolver"; "required": false; "isSignal": true; }; "itemMarks": { "alias": "itemMarks"; "required": false; "isSignal": true; }; }, { "dashboardData": "dashboardDataChange"; "pageChange": "pageChange"; "chartsChange": "chartsChange"; "widgetAssist": "widgetAssist"; "itemAssist": "itemAssist"; "itemMarks": "itemMarksChange"; "onSave": "onSave"; "pageCreated": "pageCreated"; "onBack": "onBack"; "onAddChart": "onAddChart"; "onEditChart": "onEditChart"; }, never, never, true, never>;
2942
3044
  }
2943
3045
 
2944
3046
  /**
@@ -6341,6 +6443,7 @@ declare class DashboardList implements OnDestroy {
6341
6443
  private dashboardService;
6342
6444
  private modalService;
6343
6445
  private transloco;
6446
+ private readonly router;
6344
6447
  private modalRef;
6345
6448
  readonly nameTpl: _angular_core.Signal<TemplateRef<any> | undefined>;
6346
6449
  /** Host actions for the page header (e.g. "Design a dashboard with Faris"), next to the title. */
@@ -6353,6 +6456,8 @@ declare class DashboardList implements OnDestroy {
6353
6456
  readonly baseRoute: _angular_core.InputSignal<string>;
6354
6457
  /** Whether to show the create button */
6355
6458
  readonly showCreateButton: _angular_core.InputSignal<boolean>;
6459
+ /** Optional route to an unsaved dashboard. Without it, Create opens the name dialog. */
6460
+ readonly createPath: _angular_core.InputSignal<string | null>;
6356
6461
  /** Whether to show the view action */
6357
6462
  readonly showViewButton: _angular_core.InputSignal<boolean>;
6358
6463
  /** Whether to show the edit action */
@@ -6412,7 +6517,7 @@ declare class DashboardList implements OnDestroy {
6412
6517
  */
6413
6518
  refresh(): void;
6414
6519
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardList, never>;
6415
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardList, "mt-dashboard-list", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "baseRoute": { "alias": "baseRoute"; "required": false; "isSignal": true; }; "showCreateButton": { "alias": "showCreateButton"; "required": false; "isSignal": true; }; "showViewButton": { "alias": "showViewButton"; "required": false; "isSignal": true; }; "showEditButton": { "alias": "showEditButton"; "required": false; "isSignal": true; }; }, { "dashboardAction": "dashboardAction"; "dashboardCreated": "dashboardCreated"; }, ["headerEnd"], never, true, never>;
6520
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardList, "mt-dashboard-list", never, { "isPage": { "alias": "isPage"; "required": false; "isSignal": true; }; "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "baseRoute": { "alias": "baseRoute"; "required": false; "isSignal": true; }; "showCreateButton": { "alias": "showCreateButton"; "required": false; "isSignal": true; }; "createPath": { "alias": "createPath"; "required": false; "isSignal": true; }; "showViewButton": { "alias": "showViewButton"; "required": false; "isSignal": true; }; "showEditButton": { "alias": "showEditButton"; "required": false; "isSignal": true; }; }, { "dashboardAction": "dashboardAction"; "dashboardCreated": "dashboardCreated"; }, ["headerEnd"], never, true, never>;
6416
6521
  }
6417
6522
 
6418
6523
  interface ApiResponse<T> {
@@ -9695,5 +9800,17 @@ declare class GetChartActionsPipe implements PipeTransform {
9695
9800
  */
9696
9801
  declare function cloneDeep<T>(obj: T): T;
9697
9802
 
9698
- export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CUSTOM_COLOR_OPTION, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DASHBOARD_ITEM_VISIBILITY, DEFAULT_MAP_REGION_KEY, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, MAP_REGIONS, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, MapViewComponent, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyBuiltInConditions, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, dateDisplayRawValue, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isLogClassification, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, loadImmediately, loadTableCard, mergePropertyAppearance, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, observeNearViewport, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityCheckbox, resolveEntityUserPhoto, resolveMapRegion, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9699
- export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardItemVisibility, DashboardLevelLogsResolver, DashboardLevelModule, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedLegendLabelChange, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateStepperData, PhaseGateStepperStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
9803
+ /** Row-major placement on the canvas; grouped children occupy their parent. */
9804
+ declare function firstFreePosition(items: readonly {
9805
+ x: number;
9806
+ y: number;
9807
+ cols: number;
9808
+ rows: number;
9809
+ group?: string | null;
9810
+ }[], cols: number, rows: number, columns?: number): {
9811
+ x: number;
9812
+ y: number;
9813
+ };
9814
+
9815
+ export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CUSTOM_COLOR_OPTION, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DASHBOARD_BUILDER_ASSIST, DASHBOARD_ITEM_VISIBILITY, DEFAULT_MAP_REGION_KEY, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, MAP_REGIONS, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, MapViewComponent, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, WIDGET_PALETTE_TILE_HOST, addCommasToNumber, applyBehaviorToPersisted, applyBuiltInConditions, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, dashboardLevelOptions, datasourceToUi, dateDisplayRawValue, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, firstFreePosition, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isLogClassification, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, loadImmediately, loadTableCard, mergePropertyAppearance, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, observeNearViewport, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityCheckbox, resolveEntityUserPhoto, resolveMapRegion, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9816
+ 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, DashboardBuilderAssist, DashboardBuilderData, DashboardChartDraft, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardDocumentLoadOptions, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemMark, DashboardItemStore, DashboardItemVisibility, DashboardLevelLogsResolver, DashboardLevelModule, DashboardLevelOption, 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, LocalizedLegendLabelChange, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateStepperData, PhaseGateStepperStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity, WidgetPaletteTileHost };