@masterteam/dashboard-builder 0.0.120 → 0.0.122

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.
@@ -1649,7 +1649,7 @@ declare function formatForEditor(value: unknown): string;
1649
1649
  * renders a small bespoke editor so structured config never falls back to a raw
1650
1650
  * JSON textarea. `json` is retained ONLY for the Advanced escape hatch.
1651
1651
  */
1652
- type ControlFieldType = 'text' | 'multilineText' | 'number' | 'boolean' | 'color' | 'select' | 'multiselect' | 'iconPicker' | 'palette' | 'json' | 'numberRange' | 'cssDimension' | 'segmented' | 'colorList' | 'arrayBuilder' | 'keyValueMap' | 'conditionBuilder' | 'legendOrder' | 'entryColors';
1652
+ type ControlFieldType = 'text' | 'multilineText' | 'number' | 'boolean' | 'color' | 'select' | 'multiselect' | 'iconPicker' | 'palette' | 'json' | 'numberRange' | 'cssDimension' | 'segmented' | 'colorList' | 'arrayBuilder' | 'keyValueMap' | 'conditionBuilder' | 'legendOrder' | 'entryColors' | 'seriesStyles';
1653
1653
  /** Where the control lives in the popover. */
1654
1654
  type ControlSectionScope = 'simple' | 'advanced';
1655
1655
  /** Domain bucket — used by the popover to group controls and validation. */
@@ -2664,6 +2664,8 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2664
2664
  y: number;
2665
2665
  }>;
2666
2666
  readonly preview: _angular_core.WritableSignal<boolean>;
2667
+ /** The document the preview shows (a copy taken when preview opens). */
2668
+ readonly previewDocument: _angular_core.WritableSignal<DashboardBuilderData | null>;
2667
2669
  readonly isReadonly: _angular_core.Signal<boolean>;
2668
2670
  readonly pendingWidgetType: _angular_core.WritableSignal<ChartTypeConfig | null>;
2669
2671
  /** Whether the most recent action can be reverted (drives the Undo button). */
@@ -2701,6 +2703,8 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2701
2703
  private readonly lastItemGeometry;
2702
2704
  private readonly undoStack;
2703
2705
  private readonly HISTORY_LIMIT;
2706
+ /** Set by "Save and leave": leave once that explicit save commits. */
2707
+ private leaveAfterSave;
2704
2708
  private committedSnapshot;
2705
2709
  private committedSignature;
2706
2710
  private historyDebounce;
@@ -2802,6 +2806,14 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2802
2806
  */
2803
2807
  onBeforeUnload(event: BeforeUnloadEvent): void;
2804
2808
  onBackClick(): void;
2809
+ /**
2810
+ * "Save and leave": run the normal explicit save and leave only once it has
2811
+ * committed. A failed or partial save keeps the author in the builder with
2812
+ * the edits intact (the save already reports what went wrong).
2813
+ */
2814
+ private saveAndLeave;
2815
+ /** Called on every committed explicit save. */
2816
+ private leaveIfRequested;
2805
2817
  onKeyDown(event: KeyboardEvent): void;
2806
2818
  onSelect(chart: DashboardChartItem, event: MouseEvent): void;
2807
2819
  pasteSelectedCharts(): void;
@@ -3738,6 +3750,10 @@ interface HeaderCardConfig$1 {
3738
3750
  isHeaderCentered?: boolean;
3739
3751
  headerFontSize?: number;
3740
3752
  headerColor?: string;
3753
+ /** Header background: none (default), a light tint, or solid. */
3754
+ headerFill?: 'none' | 'tint' | 'solid';
3755
+ /** Colour of the header background; the brand colour when unset. */
3756
+ headerFillColor?: string;
3741
3757
  icon?: string;
3742
3758
  iconColor?: string;
3743
3759
  iconPlacement?: 'start' | 'end' | 'top';
@@ -3838,6 +3854,14 @@ declare class CardContentComponent {
3838
3854
  readonly iconStyles: _angular_core.Signal<Record<string, string>>;
3839
3855
  /** Computed header row styles from StyleConfig (color, font-size passed through) */
3840
3856
  readonly headerRowStyles: _angular_core.Signal<Record<string, string> | null>;
3857
+ /** This card's own header background (Card header → Background). */
3858
+ readonly headerFill: _angular_core.Signal<{
3859
+ background?: string;
3860
+ titleColor?: string;
3861
+ hideDivider: boolean;
3862
+ }>;
3863
+ /** Title colour: the author's choice, else readable on a solid header. */
3864
+ readonly titleColor: _angular_core.Signal<string>;
3841
3865
  /** Computed card styles from StyleConfig and cardStyleConfig */
3842
3866
  readonly cardStyles: _angular_core.Signal<Record<string, string>>;
3843
3867
  /** Computed border radius style */
@@ -3866,7 +3890,7 @@ declare class CardFilterComponent implements OnInit {
3866
3890
  /** Language code */
3867
3891
  readonly langCode: _angular_core.Signal<string>;
3868
3892
  /** Filter type */
3869
- readonly filterType: _angular_core.Signal<"select" | "text" | "date" | "multiselect" | "multiSelect" | "daterange">;
3893
+ readonly filterType: _angular_core.Signal<"date" | "text" | "select" | "multiselect" | "multiSelect" | "daterange">;
3870
3894
  /** Filter options */
3871
3895
  readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
3872
3896
  /** Placeholder text */
@@ -3987,6 +4011,22 @@ declare class CardInfoComponent {
3987
4011
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardInfoComponent, "mt-card-info", never, { "cardInfo": { "alias": "cardInfo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3988
4012
  }
3989
4013
 
4014
+ type PieLegendStyle = 'list' | 'table' | 'progress';
4015
+ interface PieLegendRow {
4016
+ name: string;
4017
+ color: string;
4018
+ /** Formatted with the chart's number format. */
4019
+ value: string;
4020
+ /** Share of the total, 0–100. */
4021
+ percent: number;
4022
+ }
4023
+ interface PieDataLegend {
4024
+ style: Exclude<PieLegendStyle, 'list'>;
4025
+ /** Side of the chart the legend sits on. */
4026
+ placement: 'end' | 'bottom';
4027
+ rows: PieLegendRow[];
4028
+ }
4029
+
3990
4030
  /** The point shape returned by the map handler and emitted by the widget. */
3991
4031
  interface MapViewPoint {
3992
4032
  displayName: string;
@@ -4154,6 +4194,15 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
4154
4194
  readonly configurationItem: _angular_core.WritableSignal<ItemConfig | null>;
4155
4195
  /** Handled chart data */
4156
4196
  readonly dataHandled: _angular_core.WritableSignal<ChartDataHandled | null>;
4197
+ /** Donut Table / Progress legend rows, drawn next to the chart. */
4198
+ readonly pieDataLegend: _angular_core.Signal<PieDataLegend | null>;
4199
+ /** What mt-echart draws: the option without the HTML legend rows. */
4200
+ readonly echartData: _angular_core.Signal<ChartDataHandled | null>;
4201
+ /**
4202
+ * The config mt-echart reads. With the HTML legend on, its canvas legend is
4203
+ * switched off here: mt-echart re-applies `configAsType.legend.show`.
4204
+ */
4205
+ readonly echartConfigItem: _angular_core.Signal<ItemConfig | null>;
4157
4206
  /** Card title */
4158
4207
  readonly title: _angular_core.Signal<string>;
4159
4208
  /** Show filter flag */
@@ -4193,7 +4242,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
4193
4242
  readonly mapViewConfig: _angular_core.Signal<MapViewConfig>;
4194
4243
  /** The widget's legend controls also govern the map's group legend. */
4195
4244
  readonly mapLegendShow: _angular_core.Signal<boolean>;
4196
- readonly mapLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
4245
+ readonly mapLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4197
4246
  readonly mapLegendIcon: _angular_core.Signal<string | undefined>;
4198
4247
  private readonly mapLegend;
4199
4248
  onMapPointClick(point: MapViewPoint): void;
@@ -4221,7 +4270,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
4221
4270
  readonly timelineResources: _angular_core.Signal<any[]>;
4222
4271
  readonly timelineLabels: _angular_core.Signal<any[]>;
4223
4272
  readonly timelineLegendIconType: _angular_core.Signal<string>;
4224
- readonly timelineLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
4273
+ readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4225
4274
  /** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
4226
4275
  readonly timelineLegendShow: _angular_core.Signal<boolean>;
4227
4276
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
@@ -4360,7 +4409,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
4360
4409
  readonly showCustomLegend: _angular_core.Signal<boolean>;
4361
4410
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
4362
4411
  /** Custom HTML legend placement from the configured legend position. */
4363
- readonly customLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
4412
+ readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4364
4413
  constructor();
4365
4414
  ngOnInit(): Promise<void>;
4366
4415
  ngAfterViewInit(): void;
@@ -4746,6 +4795,22 @@ declare class EntityPreviewCardComponent implements OnInit, OnDestroy {
4746
4795
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreviewCardComponent, "mt-entity-preview-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
4747
4796
  }
4748
4797
 
4798
+ /**
4799
+ * Section divider of the Header widget (`configAsType.divider`): a line drawn
4800
+ * with the section title. "Start" and "end" follow the reading direction, so
4801
+ * the same shape mirrors in Arabic.
4802
+ */
4803
+ type SectionDividerShape = 'none' | 'under' | 'above' | 'beside' | 'besideMiddle' | 'centered' | 'lineOnly';
4804
+ interface SectionDivider {
4805
+ shape: SectionDividerShape;
4806
+ lineStyle: 'solid' | 'dashed' | 'dotted';
4807
+ /** Line weight in px. */
4808
+ weight: number;
4809
+ color: string;
4810
+ /** Gap between the title and the line, and above / below the divider, px. */
4811
+ spacing: number;
4812
+ }
4813
+
4749
4814
  interface StatusItem {
4750
4815
  label: string;
4751
4816
  color: string;
@@ -4786,12 +4851,18 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
4786
4851
  readonly cols: _angular_core.Signal<number>;
4787
4852
  /** Is full width (cols == 36) */
4788
4853
  readonly isFullWidth: _angular_core.Signal<boolean>;
4854
+ /** Section divider drawn with the title (configAsType.divider). */
4855
+ readonly divider: _angular_core.Signal<SectionDivider>;
4856
+ /** The divider line itself: weight, style and colour. */
4857
+ readonly dividerLineStyle: _angular_core.Signal<{
4858
+ 'border-top': string;
4859
+ }>;
4789
4860
  /** Title with dynamic text replacement */
4790
4861
  readonly title: _angular_core.Signal<string>;
4791
4862
  /** Icon name */
4792
4863
  readonly icon: _angular_core.Signal<string>;
4793
4864
  /** Position of the layout icon relative to the header title. */
4794
- readonly iconPlacement: _angular_core.Signal<"top" | "end" | "start">;
4865
+ readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
4795
4866
  /** Logo configuration */
4796
4867
  readonly logo: _angular_core.Signal<any>;
4797
4868
  /** Logo URL */
@@ -5114,7 +5185,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
5114
5185
  * two never disagree about visibility.
5115
5186
  */
5116
5187
  readonly hasLegend: _angular_core.Signal<boolean>;
5117
- readonly legendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
5188
+ readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
5118
5189
  readonly legendIconType: _angular_core.Signal<string>;
5119
5190
  readonly isSideLegend: _angular_core.Signal<boolean>;
5120
5191
  /** Processed table rows */
@@ -5175,6 +5246,19 @@ declare class TableCardComponent implements OnInit, OnDestroy {
5175
5246
  /** Rows for the standard grid: the source row, its group and the group's aggregates. */
5176
5247
  protected readonly gridRows: _angular_core.Signal<readonly TableCardGridRow[]>;
5177
5248
  protected readonly gridRowId: (row: TableCardGridRow) => string;
5249
+ /**
5250
+ * Charts persist per configured card. The card knows only its item's store id
5251
+ * (`serviceConfig.dashboardId`, a GUID per configured item), not the dashboard page's id,
5252
+ * so that id names the grid. The settings previews use throwaway ids (`*-preview-*`) and
5253
+ * keep their charts for the visit only.
5254
+ */
5255
+ protected readonly chartPersistence: _angular_core.Signal<{
5256
+ view: {
5257
+ level: string;
5258
+ module: null;
5259
+ role: string;
5260
+ };
5261
+ } | null>;
5178
5262
  private readonly gridCells;
5179
5263
  /**
5180
5264
  * Each data row's displayed position (after sorting and filtering), counted from 1 in
@@ -5312,7 +5396,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
5312
5396
  readonly showSubtitle: _angular_core.Signal<boolean>;
5313
5397
  readonly icon: _angular_core.Signal<any>;
5314
5398
  /** Position of the layout icon relative to the topbar title. */
5315
- readonly iconPlacement: _angular_core.Signal<"top" | "end" | "start">;
5399
+ readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
5316
5400
  /**
5317
5401
  * Center the icon/title block within the topbar row
5318
5402
  * (configAsType.headerCardConfig.isHeaderCentered === true) — same source
@@ -5322,7 +5406,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
5322
5406
  readonly iconColor: _angular_core.Signal<any>;
5323
5407
  readonly iconBackgroundColor: _angular_core.Signal<any>;
5324
5408
  readonly borderColor: _angular_core.Signal<any>;
5325
- readonly borderWidth: _angular_core.Signal<1 | 0>;
5409
+ readonly borderWidth: _angular_core.Signal<0 | 1>;
5326
5410
  readonly padding: _angular_core.Signal<number>;
5327
5411
  readonly titleFontSize: _angular_core.Signal<number>;
5328
5412
  readonly subtitleFontSize: _angular_core.Signal<number>;
@@ -5594,12 +5678,7 @@ declare class BarChartHandler {
5594
5678
  * Format X axis value using the formatXAxis utility
5595
5679
  */
5596
5680
  private formatXAxisValue;
5597
- /**
5598
- * Resolve bar corner radius with backward-compatible values:
5599
- * - undefined/null/true => default curved
5600
- * - false/0 => square corners
5601
- * - number/string => that numeric value
5602
- */
5681
+ /** Corner radius from the "Rounded corners" toggle and its slider. */
5603
5682
  private resolveBarBorderRadius;
5604
5683
  /** Convert the numeric Style Studio width into the ECharts CSS dimension. */
5605
5684
  private resolveBarWidth;
@@ -5667,6 +5746,17 @@ declare class BarChartHandler {
5667
5746
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<BarChartHandler>;
5668
5747
  }
5669
5748
 
5749
+ type PieShape = 'donut' | 'pie' | 'half';
5750
+ /** `pieConfigOverried.shape`; anything unknown (or unset) is a donut. */
5751
+ declare function resolvePieShape(value: unknown): PieShape;
5752
+ /**
5753
+ * Inner radius (in % of the card) for a shape.
5754
+ *
5755
+ * - Pie: 0, no hole.
5756
+ * - Ring thickness set: the ring covers that share of the outer radius.
5757
+ * - Otherwise the saved inner radius, or the historical 34%.
5758
+ */
5759
+ declare function resolvePieInnerRadius(shape: PieShape, ringThickness: unknown, outer: unknown, savedInner: unknown): number;
5670
5760
  declare class PieChartHandler {
5671
5761
  private readonly storeService;
5672
5762
  /**
@@ -5710,6 +5800,7 @@ declare class StackBarChartHandler {
5710
5800
  * cap is the right edge.
5711
5801
  */
5712
5802
  private stackBarCapRadius;
5803
+ /** Corner radius from the "Rounded corners" toggle and its slider. */
5713
5804
  private resolveStackBarBorderRadius;
5714
5805
  /**
5715
5806
  * Helper method to convert legend position based on language
@@ -5860,6 +5951,12 @@ declare class LineChartHandler {
5860
5951
  */
5861
5952
  handleLineChart(dataResponse: any, config: ItemConfig): any;
5862
5953
  private toLineChartData;
5954
+ /**
5955
+ * "Today" reference line: a vertical mark at the category that holds today,
5956
+ * on a chart whose X-axis is split by a date. Nothing is drawn when the axis
5957
+ * is not a date or today's period has no category.
5958
+ */
5959
+ private applyTodayLine;
5863
5960
  /**
5864
5961
  * Build ECharts configuration
5865
5962
  */
@@ -5871,10 +5968,6 @@ declare class LineChartHandler {
5871
5968
  * Get default color for series index
5872
5969
  */
5873
5970
  private getDefaultColor;
5874
- /**
5875
- * Convert hex to rgba
5876
- */
5877
- private hexToRgba;
5878
5971
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartHandler, never>;
5879
5972
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<LineChartHandler>;
5880
5973
  }
@@ -6436,7 +6529,7 @@ declare function applyBuiltInConditions(serviceConfig: any, clientConfig: any):
6436
6529
  * Event emitted when a dashboard action is triggered
6437
6530
  */
6438
6531
  interface DashboardListEvent {
6439
- type: 'view' | 'edit' | 'create' | 'delete' | 'manage';
6532
+ type: 'view' | 'edit' | 'create' | 'delete' | 'manage' | 'duplicate';
6440
6533
  dashboard?: DashboardPage;
6441
6534
  id?: string | number;
6442
6535
  }
@@ -6444,6 +6537,7 @@ declare class DashboardList implements OnDestroy {
6444
6537
  private dashboardService;
6445
6538
  private modalService;
6446
6539
  private transloco;
6540
+ private toast;
6447
6541
  private readonly router;
6448
6542
  private modalRef;
6449
6543
  readonly nameTpl: _angular_core.Signal<TemplateRef<any> | undefined>;
@@ -6481,6 +6575,8 @@ declare class DashboardList implements OnDestroy {
6481
6575
  readonly tableActions: _angular_core.Signal<TableAction[]>;
6482
6576
  /** Table row actions */
6483
6577
  readonly rowActions: _angular_core.Signal<TableAction[]>;
6578
+ /** Rows whose copy is being made (their Duplicate action is hidden). */
6579
+ readonly duplicatingRowIds: _angular_core.WritableSignal<(string | number)[]>;
6484
6580
  /** Deleting row IDs for loading state */
6485
6581
  readonly deletingRowIds: _angular_core.WritableSignal<(string | number)[]>;
6486
6582
  ngOnDestroy(): void;
@@ -6500,6 +6596,12 @@ declare class DashboardList implements OnDestroy {
6500
6596
  * Handle manage action - emits event for navigation
6501
6597
  */
6502
6598
  onManage(dashboard: DashboardPage): void;
6599
+ /**
6600
+ * Copy a dashboard (page settings + every chart) and list the copy. The
6601
+ * copy starts unpublished; `duplicate` carries its id for hosts that want to
6602
+ * open it.
6603
+ */
6604
+ onDuplicate(dashboard: DashboardPage): void;
6503
6605
  /**
6504
6606
  * Open create dashboard modal
6505
6607
  */
@@ -6589,6 +6691,8 @@ interface DashboardTargetsResponse {
6589
6691
  context: DashboardTargetsContextInfo;
6590
6692
  targets: DashboardTargetOption[];
6591
6693
  }
6694
+ /** Name of a dashboard copy, in both languages: "Sales (copy)" / "Sales (نسخة)". */
6695
+ declare function copyName(name: LocalizedName | undefined): LocalizedName;
6592
6696
  /**
6593
6697
  * Dashboard Builder Service
6594
6698
  *
@@ -6754,6 +6858,19 @@ declare class DashboardBuilderService {
6754
6858
  * Delete a report
6755
6859
  */
6756
6860
  deleteReport(id: string | number): Observable<ApiResponse<void>>;
6861
+ /**
6862
+ * Copy a saved dashboard: a new report with the same page settings and
6863
+ * every chart and dialog link.
6864
+ *
6865
+ * - Links keep their chart ids (unique per report only), so actions, dialogs
6866
+ * and groups that point at another chart keep working inside the copy.
6867
+ * - The saved link configuration is copied verbatim, never re-normalized.
6868
+ * - The copy starts unpublished (out of the reports menu).
6869
+ * - If any link fails, the half-made copy is deleted and the call errors,
6870
+ * so a failed copy never leaves a dashboard with missing charts behind.
6871
+ */
6872
+ duplicateReport(id: string | number): Observable<Report>;
6873
+ private linkCopiedCharts;
6757
6874
  /**
6758
6875
  * Link a chart to a report (creates or updates link)
6759
6876
  */
@@ -6993,6 +7110,12 @@ interface ManagePagesDeleteResult {
6993
7110
  id: string | number;
6994
7111
  }
6995
7112
  declare function isManagePagesDeleteResult(result: unknown): result is ManagePagesDeleteResult;
7113
+ /** "Duplicate dashboard" made a copy: `id` is the new report. */
7114
+ interface ManagePagesDuplicateResult {
7115
+ action: 'duplicated';
7116
+ id: string | number;
7117
+ }
7118
+ declare function isManagePagesDuplicateResult(result: unknown): result is ManagePagesDuplicateResult;
6996
7119
  /**
6997
7120
  * Manage Pages Component
6998
7121
  *
@@ -7002,6 +7125,7 @@ declare class ManagePages implements OnInit {
7002
7125
  private dashboardService;
7003
7126
  private confirmationService;
7004
7127
  private transloco;
7128
+ private toast;
7005
7129
  readonly modal: ModalService;
7006
7130
  private ref;
7007
7131
  /** Input: Report to edit (if editing) */
@@ -7022,6 +7146,15 @@ declare class ManagePages implements OnInit {
7022
7146
  * report in the reports menu, so it means nothing to a host-persisted page.
7023
7147
  */
7024
7148
  readonly showPublish: _angular_core.InputSignal<boolean>;
7149
+ /** Offer "Duplicate dashboard" (a saved, server-backed dashboard only). */
7150
+ readonly allowDuplicate: _angular_core.InputSignal<boolean>;
7151
+ /**
7152
+ * The builder holds edits that are not saved. The copy is made from the
7153
+ * saved dashboard, so duplicating is held back until they are saved.
7154
+ */
7155
+ readonly unsavedChanges: _angular_core.InputSignal<boolean>;
7156
+ /** Duplicating state */
7157
+ readonly duplicating: _angular_core.WritableSignal<boolean>;
7025
7158
  /** Report form data */
7026
7159
  readonly report: _angular_core.WritableSignal<{
7027
7160
  id: number | null;
@@ -7046,11 +7179,12 @@ declare class ManagePages implements OnInit {
7046
7179
  isFormInvalid(): boolean;
7047
7180
  saveReport(): void;
7048
7181
  deleteReport(): void;
7182
+ duplicateReport(): void;
7049
7183
  private executeDeleteReport;
7050
7184
  close(): void;
7051
7185
  private clear;
7052
7186
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManagePages, never>;
7053
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ManagePages, "mt-manage-pages", never, { "dataEdit": { "alias": "dataEdit"; "required": false; "isSignal": true; }; "allowDelete": { "alias": "allowDelete"; "required": false; "isSignal": true; }; "persist": { "alias": "persist"; "required": false; "isSignal": true; }; "showPublish": { "alias": "showPublish"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7187
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ManagePages, "mt-manage-pages", never, { "dataEdit": { "alias": "dataEdit"; "required": false; "isSignal": true; }; "allowDelete": { "alias": "allowDelete"; "required": false; "isSignal": true; }; "persist": { "alias": "persist"; "required": false; "isSignal": true; }; "showPublish": { "alias": "showPublish"; "required": false; "isSignal": true; }; "allowDuplicate": { "alias": "allowDuplicate"; "required": false; "isSignal": true; }; "unsavedChanges": { "alias": "unsavedChanges"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7054
7188
  }
7055
7189
 
7056
7190
  /**
@@ -8694,7 +8828,7 @@ declare class DataSourceSettings {
8694
8828
  * Active tab within the selection cycle: Selection (pick modules) · Source
8695
8829
  * Links (joins, only with >1 selection) · Query (fields).
8696
8830
  */
8697
- readonly activeSection: _angular_core.WritableSignal<"selection" | "query" | "sourceLinks">;
8831
+ readonly activeSection: _angular_core.WritableSignal<"query" | "selection" | "sourceLinks">;
8698
8832
  /** Selection mode inside the selection tab (informative authoring). */
8699
8833
  readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
8700
8834
  readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
@@ -9813,5 +9947,5 @@ declare function firstFreePosition(items: readonly {
9813
9947
  y: number;
9814
9948
  };
9815
9949
 
9816
- 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 };
9817
- 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 };
9950
+ 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, copyName, 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, isManagePagesDuplicateResult, 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, resolvePieInnerRadius, resolvePieShape, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9951
+ 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, ManagePagesDuplicateResult, MapRegion, MapViewConfig, MapViewGroup, MapViewPoint, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateStepperData, PhaseGateStepperStep, PieChartData, PieShape, 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 };