@masterteam/dashboard-builder 0.0.117 → 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.
Files changed (22) hide show
  1. package/README.md +119 -75
  2. package/assets/dashboard-builder.css +2 -2
  3. package/assets/i18n/ar.json +3 -1
  4. package/assets/i18n/en.json +3 -1
  5. package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-C3tEnWfy.mjs → masterteam-dashboard-builder-dashboard-dialog.component-DgOzErsZ.mjs} +2 -2
  6. package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-C3tEnWfy.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-DgOzErsZ.mjs.map} +1 -1
  7. package/fesm2022/masterteam-dashboard-builder-faris.mjs +588 -0
  8. package/fesm2022/masterteam-dashboard-builder-faris.mjs.map +1 -0
  9. package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-CMWrKUhw.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-D4ioW0Wu.mjs} +3005 -2699
  10. package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-D4ioW0Wu.mjs.map +1 -0
  11. package/fesm2022/{masterteam-dashboard-builder-table-card.component-kHPxfvAb.mjs → masterteam-dashboard-builder-table-card.component-CBc9-976.mjs} +6 -6
  12. package/fesm2022/masterteam-dashboard-builder-table-card.component-CBc9-976.mjs.map +1 -0
  13. package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
  14. package/package.json +17 -6
  15. package/types/masterteam-dashboard-builder-faris.d.ts +98 -0
  16. package/types/masterteam-dashboard-builder.d.ts +379 -356
  17. package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CMWrKUhw.mjs.map +0 -1
  18. package/fesm2022/masterteam-dashboard-builder-riyadh.geo-CE3Amxoa.mjs +0 -3902
  19. package/fesm2022/masterteam-dashboard-builder-riyadh.geo-CE3Amxoa.mjs.map +0 -1
  20. package/fesm2022/masterteam-dashboard-builder-saudi.geo-C_9VzPCF.mjs +0 -2530
  21. package/fesm2022/masterteam-dashboard-builder-saudi.geo-C_9VzPCF.mjs.map +0 -1
  22. package/fesm2022/masterteam-dashboard-builder-table-card.component-kHPxfvAb.mjs.map +0 -1
@@ -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
  /**
@@ -3885,154 +3987,67 @@ declare class CardInfoComponent {
3885
3987
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardInfoComponent, "mt-card-info", never, { "cardInfo": { "alias": "cardInfo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3886
3988
  }
3887
3989
 
3888
- /**
3889
- * Map regions available to the Map Chart widget.
3890
- *
3891
- * The widget draws boundaries from GeoJSON registered with ECharts rather than
3892
- * fetching raster tiles, so it needs no network, no API key and no third-party
3893
- * usage policy — the same approach the legacy dashboardBuilder app used.
3894
- *
3895
- * Each region's GeoJSON is lazy-loaded: the files are a few hundred KB and only
3896
- * a dashboard containing a Map Chart should pay for them.
3897
- */
3898
- interface GeoJsonCollection {
3899
- type: string;
3900
- features: unknown[];
3901
- [key: string]: unknown;
3902
- }
3903
- interface MapRegion {
3904
- /** The name the GeoJSON is registered under in ECharts' global map registry. */
3905
- readonly echartsName: string;
3906
- /** `[lon, lat]`, matching ECharts' `geo.center`. */
3907
- readonly center: [number, number];
3908
- /**
3909
- * `geo.zoom`, relative to the boundary fitted to the card. Dashboard cards
3910
- * are much wider than they are tall, so a fitted map leaves a lot of empty
3911
- * card; these values fill it without clipping the outline.
3912
- */
3913
- readonly zoom: number;
3914
- readonly load: () => Promise<GeoJsonCollection>;
3915
- }
3916
- /**
3917
- * Keyed by the lowercased persisted `clientConfig.map` value.
3918
- *
3919
- * `riyadhgovernorate` is the name the legacy ECharts handler used for the same
3920
- * region, so configs written by either side resolve.
3921
- */
3922
- declare const MAP_REGIONS: Readonly<Record<string, MapRegion>>;
3923
- declare const DEFAULT_MAP_REGION_KEY = "saudiarabia";
3924
- /** Attribution for the bundled boundaries. Rendered by the widget; keep it. */
3925
- declare const MAP_DATA_ATTRIBUTION = "\u00A9 OpenStreetMap contributors (ODbL)";
3926
- declare function resolveMapRegion(value: unknown): MapRegion;
3927
-
3928
- /**
3929
- * Builds the ECharts `geo` + scatter option for the Map Chart widget.
3930
- *
3931
- * Kept pure and separate from the component so the grouping, colour assignment
3932
- * and coordinate filtering can be unit-tested without a DOM or an ECharts
3933
- * instance. Mirrors the legacy dashboardBuilder `MapChartService` option so the
3934
- * widget renders the same way it always did.
3935
- */
3936
-
3937
- /** One record placed on the map. Mirrors `MapChartHandler.handleLeafletMap`. */
3990
+ /** The point shape returned by the map handler and emitted by the widget. */
3938
3991
  interface MapViewPoint {
3939
3992
  displayName: string;
3940
3993
  lat: number;
3941
3994
  lon: number;
3942
3995
  color: string;
3943
3996
  extraValues?: unknown;
3944
- /** Tooltip Properties of this record (`tooltips[index]` in the response). */
3945
3997
  tooltip?: unknown;
3946
3998
  }
3947
- /** One grouping-property bucket, as produced by `handleLeafletMap`. */
3948
3999
  interface MapViewGroup {
3949
4000
  groupName: string;
3950
4001
  color: string;
3951
4002
  points: MapViewPoint[];
3952
4003
  }
3953
- interface MapLegendOptions {
3954
- show: boolean;
3955
- position: 'top' | 'right' | 'bottom' | 'left';
3956
- icon?: string;
3957
- }
3958
- interface MapFontOptions {
3959
- fontFamily?: string;
3960
- labelSize?: number;
3961
- legendSize?: number;
3962
- }
3963
- /** Marker silhouette, carried over from the legacy service's Figma export. */
3964
- declare const MAP_MARKER_PATH = "path://M6.99998 0.666687C5.24336 0.666599 3.55769 1.35982 2.30935 2.59568C1.06101 3.83154 0.350879 5.51016 0.333313 7.26669C0.333313 11.8334 6.20831 16.9167 6.45831 17.1334C6.60926 17.2625 6.80135 17.3334 6.99998 17.3334C7.19861 17.3334 7.3907 17.2625 7.54165 17.1334C7.83331 16.9167 13.6666 11.8334 13.6666 7.26669C13.6491 5.51016 12.939 3.83154 11.6906 2.59568C10.4423 1.35982 8.7566 0.666599 6.99998 0.666687ZM6.99998 9.83335C6.42312 9.83335 5.85921 9.66229 5.37957 9.34181C4.89992 9.02132 4.52609 8.5658 4.30533 8.03285C4.08458 7.4999 4.02682 6.91345 4.13936 6.34767C4.2519 5.7819 4.52968 5.2622 4.93758 4.85429C5.34549 4.44639 5.86519 4.1686 6.43097 4.05606C6.99674 3.94352 7.58319 4.00128 8.11614 4.22204C8.64909 4.44279 9.10461 4.81663 9.4251 5.29627C9.74559 5.77592 9.91665 6.33983 9.91665 6.91669C9.91665 7.29971 9.8412 7.67898 9.69463 8.03285C9.54805 8.38671 9.33321 8.70825 9.06237 8.97908C8.79154 9.24992 8.47001 9.46476 8.11614 9.61134C7.76227 9.75791 7.383 9.83335 6.99998 9.83335Z";
3965
- /** Assigned in order to groups that carry no colour of their own. */
3966
- declare const MAP_FALLBACK_COLORS: string[];
3967
- declare function isPlottable(point: MapViewPoint | undefined | null): boolean;
3968
- /** Groups that have at least one record with usable coordinates. */
3969
- declare function plottableGroups(groups: readonly MapViewGroup[] | null | undefined): MapViewGroup[];
3970
- /**
3971
- * The ECharts option for a Map Chart.
3972
- *
3973
- * Returns `null` when nothing is plottable, so the caller can show its own
3974
- * empty state instead of an ECharts canvas with an invisible scatter series.
3975
- */
3976
- declare function buildMapChartOption(groups: readonly MapViewGroup[] | null | undefined, region: MapRegion, legend: MapLegendOptions, font?: MapFontOptions): Record<string, unknown> | null;
4004
+ type MapLegendPosition = 'top' | 'right' | 'bottom' | 'left';
3977
4005
 
3978
- /** The persisted Style Studio map controls this renderer honours. */
3979
4006
  interface MapViewConfig {
3980
4007
  mapRegion?: string;
3981
4008
  }
3982
- /** What ECharts hands back for a clicked pin (see `buildMapChartOption`). */
3983
- interface MapPinData {
3984
- extraValues?: unknown;
3985
- name?: string;
3986
- value?: unknown[];
3987
- }
3988
4009
  declare class MapViewComponent {
3989
- /** Grouped records from `MapChartHandler.handleLeafletMap`. */
3990
4010
  readonly groups: _angular_core.InputSignal<MapViewGroup[]>;
3991
- /** Persisted Style Studio map controls. */
3992
4011
  readonly config: _angular_core.InputSignal<MapViewConfig>;
3993
- /** Hide the group legend when the widget's legend control is off. */
3994
4012
  readonly showLegend: _angular_core.InputSignal<boolean>;
3995
- /** Where the widget's legend control puts the legend. */
3996
- readonly legendPosition: _angular_core.InputSignal<"bottom" | "top" | "right" | "left">;
3997
- /** Legend marker shape, from the widget's legend control. */
4013
+ readonly legendPosition: _angular_core.InputSignal<MapLegendPosition>;
3998
4014
  readonly legendIcon: _angular_core.InputSignal<string | undefined>;
3999
- /** Forwarded to `mt-echart` so it keys its chart instance per widget. */
4000
4015
  readonly dashboardId: _angular_core.InputSignal<string | number>;
4001
4016
  readonly configurationItem: _angular_core.InputSignal<ItemConfig | null>;
4002
4017
  readonly inGroup: _angular_core.InputSignal<boolean>;
4003
- /** Emitted when a marker is clicked, for the widget's row actions. */
4004
4018
  readonly pointClick: _angular_core.OutputEmitterRef<MapViewPoint>;
4005
- /** Emitted when a marker is double-clicked. */
4006
4019
  readonly pointDblClick: _angular_core.OutputEmitterRef<MapViewPoint>;
4007
- /** The ECharts map name currently in the global registry, once loaded. */
4008
- private readonly registeredName;
4009
- protected readonly attribution = "\u00A9 OpenStreetMap contributors (ODbL)";
4010
- protected readonly region: _angular_core.Signal<MapRegion>;
4011
- protected readonly hasPoints: _angular_core.Signal<boolean>;
4012
- /**
4013
- * `null` until the region's boundaries are registered — handing ECharts a
4014
- * `geo.map` name it does not know renders an empty canvas with no error.
4015
- */
4016
- protected readonly option: _angular_core.Signal<Record<string, unknown> | null>;
4020
+ private readonly document;
4021
+ private readonly destroyRef;
4022
+ private readonly zone;
4023
+ private readonly transloco;
4024
+ private readonly container;
4025
+ private readonly language;
4026
+ private readonly arabic;
4027
+ private readonly region;
4028
+ private readonly hiddenGroups;
4029
+ private readonly usableGroups;
4030
+ private readonly visiblePoints;
4031
+ protected readonly legendGroups: _angular_core.Signal<MapViewGroup[]>;
4032
+ protected readonly noLocations: _angular_core.Signal<boolean>;
4033
+ protected readonly status: _angular_core.WritableSignal<"loading" | "ready" | "unavailable">;
4034
+ private map?;
4035
+ private popup?;
4036
+ private observer?;
4037
+ private labels;
4038
+ private nextPointId;
4039
+ private readonly pointsById;
4040
+ private fitPending;
4017
4041
  constructor();
4018
- /**
4019
- * Loads the region's GeoJSON (lazily — the files are large) and registers it
4020
- * under the name the option refers to. `import('echarts')` resolves to the
4021
- * same module instance `mt-echart` uses, so the registration is visible to
4022
- * the chart it renders.
4023
- */
4024
- private ensureRegistered;
4025
- /**
4026
- * `mt-echart` forwards ECharts' own click payload; the record that produced
4027
- * the marker rides along on `extraValues`.
4028
- */
4029
- protected onChartClick(event: {
4030
- data?: MapPinData;
4031
- }): void;
4032
- protected onChartDblClick(event: {
4033
- data?: MapPinData;
4034
- }): void;
4035
- private toPoint;
4042
+ protected isGroupVisible(name: string): boolean;
4043
+ protected toggleGroup(name: string): void;
4044
+ private mountMap;
4045
+ private updateLabels;
4046
+ private updatePoints;
4047
+ private fitPoints;
4048
+ private zoomToCluster;
4049
+ private pointAt;
4050
+ private openPoint;
4036
4051
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapViewComponent, never>;
4037
4052
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapViewComponent, "mt-map-view", never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "legendPosition": { "alias": "legendPosition"; "required": false; "isSignal": true; }; "legendIcon": { "alias": "legendIcon"; "required": false; "isSignal": true; }; "dashboardId": { "alias": "dashboardId"; "required": false; "isSignal": true; }; "configurationItem": { "alias": "configurationItem"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; }, { "pointClick": "pointClick"; "pointDblClick": "pointDblClick"; }, never, never, true, never>;
4038
4053
  }
@@ -4165,9 +4180,8 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
4165
4180
  */
4166
4181
  readonly componentViewMode: _angular_core.Signal<CardViewMode>;
4167
4182
  /**
4168
- * `MapChartHandler.handleLeafletMap` returns a bare array of
4169
- * `{ groupName, color, points }` rather than an ECharts option, so the map
4170
- * widget is rendered by `mt-map-view` instead of `mt-echart`.
4183
+ * `MapChartHandler.handleLeafletMap` returns the grouped records consumed
4184
+ * by `mt-map-view`.
4171
4185
  */
4172
4186
  readonly mapGroups: _angular_core.Signal<MapViewGroup[]>;
4173
4187
  /**
@@ -4916,6 +4930,15 @@ declare class ListStatisticCardComponent implements OnInit, OnDestroy {
4916
4930
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListStatisticCardComponent, "mt-list-statistic-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
4917
4931
  }
4918
4932
 
4933
+ /** Starting camera for saved dashboard map regions when there are no points. */
4934
+ interface MapRegion {
4935
+ readonly center: [number, number];
4936
+ readonly zoom: number;
4937
+ }
4938
+ declare const MAP_REGIONS: Readonly<Record<string, MapRegion>>;
4939
+ declare const DEFAULT_MAP_REGION_KEY = "saudiarabia";
4940
+ declare function resolveMapRegion(value: unknown): MapRegion;
4941
+
4919
4942
  interface SkeletonConfig {
4920
4943
  width: string;
4921
4944
  height: string;
@@ -6012,23 +6035,8 @@ declare class LevelCardHandler {
6012
6035
 
6013
6036
  declare class MapChartHandler {
6014
6037
  private readonly storeService;
6015
- private mapCity;
6016
- /**
6017
- * handleMapChart - for ECharts geo map
6018
- * Returns ECharts option directly
6019
- */
6038
+ /** Compatibility with saved configurations that use the older handler key. */
6020
6039
  handleMapChart(dataResponse: any, config: ItemConfig): any;
6021
- private normalizeLegendPosition;
6022
- private getLegendLayout;
6023
- /**
6024
- * The group a record is plotted under.
6025
- *
6026
- * The grouping property is optional: with none configured every record
6027
- * lands in one unnamed group, which the map draws without a legend entry.
6028
- * A record with no grouping value is grouped as "Unknown" rather than
6029
- * dropped — the backend omits null properties from the row, so a missing
6030
- * key means "no value", not "not requested".
6031
- */
6032
6040
  private resolveGroupName;
6033
6041
  /**
6034
6042
  * Status values arrive as `{ display, en, ar, color }`, users as
@@ -6435,6 +6443,7 @@ declare class DashboardList implements OnDestroy {
6435
6443
  private dashboardService;
6436
6444
  private modalService;
6437
6445
  private transloco;
6446
+ private readonly router;
6438
6447
  private modalRef;
6439
6448
  readonly nameTpl: _angular_core.Signal<TemplateRef<any> | undefined>;
6440
6449
  /** Host actions for the page header (e.g. "Design a dashboard with Faris"), next to the title. */
@@ -6447,6 +6456,8 @@ declare class DashboardList implements OnDestroy {
6447
6456
  readonly baseRoute: _angular_core.InputSignal<string>;
6448
6457
  /** Whether to show the create button */
6449
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>;
6450
6461
  /** Whether to show the view action */
6451
6462
  readonly showViewButton: _angular_core.InputSignal<boolean>;
6452
6463
  /** Whether to show the edit action */
@@ -6506,7 +6517,7 @@ declare class DashboardList implements OnDestroy {
6506
6517
  */
6507
6518
  refresh(): void;
6508
6519
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardList, never>;
6509
- 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>;
6510
6521
  }
6511
6522
 
6512
6523
  interface ApiResponse<T> {
@@ -9789,5 +9800,17 @@ declare class GetChartActionsPipe implements PipeTransform {
9789
9800
  */
9790
9801
  declare function cloneDeep<T>(obj: T): T;
9791
9802
 
9792
- export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CUSTOM_COLOR_OPTION, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DASHBOARD_ITEM_VISIBILITY, DEFAULT_MAP_REGION_KEY, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, MAP_DATA_ATTRIBUTION, MAP_FALLBACK_COLORS, MAP_MARKER_PATH, MAP_REGIONS, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, MapViewComponent, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyBuiltInConditions, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, buildMapChartOption, 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, isPlottable, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, loadImmediately, loadTableCard, mergePropertyAppearance, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, observeNearViewport, parseAdvancedJson, persistedToUi, plottableGroups, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityCheckbox, resolveEntityUserPhoto, resolveMapRegion, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9793
- export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardItemVisibility, DashboardLevelLogsResolver, DashboardLevelModule, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GeoJsonCollection, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedLegendLabelChange, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, MapFontOptions, MapLegendOptions, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateStepperData, PhaseGateStepperStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
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 };