@masterteam/dashboard-builder 0.0.121 → 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.
- package/README.md +14 -0
- package/assets/dashboard-builder.css +1 -1
- package/assets/i18n/ar.json +96 -5
- package/assets/i18n/en.json +114 -5
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BONE-Sx4.mjs → masterteam-dashboard-builder-dashboard-dialog.component-B-PGAYTE.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BONE-Sx4.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-B-PGAYTE.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-CSttjkZj.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-r4HI2aa1.mjs} +40440 -38721
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-r4HI2aa1.mjs.map +1 -0
- package/fesm2022/{masterteam-dashboard-builder-table-card.component-BnHzOc5W.mjs → masterteam-dashboard-builder-table-card.component-C6Lt4LcU.mjs} +4 -4
- package/fesm2022/masterteam-dashboard-builder-table-card.component-C6Lt4LcU.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +5 -5
- package/types/masterteam-dashboard-builder.d.ts +137 -16
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CSttjkZj.mjs.map +0 -1
- package/fesm2022/masterteam-dashboard-builder-table-card.component-BnHzOc5W.mjs.map +0 -1
|
@@ -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 */
|
|
@@ -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 */
|
|
@@ -4214,7 +4263,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
|
|
|
4214
4263
|
/** Whether the user can act on the Configure CTA (builder mode). */
|
|
4215
4264
|
readonly canConfigure: _angular_core.Signal<boolean>;
|
|
4216
4265
|
readonly hasSplitterData: _angular_core.Signal<boolean>;
|
|
4217
|
-
readonly splitterOrientation: _angular_core.Signal<"
|
|
4266
|
+
readonly splitterOrientation: _angular_core.Signal<"horizontal" | "vertical">;
|
|
4218
4267
|
readonly splitterGap: _angular_core.Signal<number>;
|
|
4219
4268
|
readonly hasTimelineData: _angular_core.Signal<boolean>;
|
|
4220
4269
|
readonly timelineEvents: _angular_core.Signal<any[]>;
|
|
@@ -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,6 +4851,12 @@ 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 */
|
|
@@ -5607,12 +5678,7 @@ declare class BarChartHandler {
|
|
|
5607
5678
|
* Format X axis value using the formatXAxis utility
|
|
5608
5679
|
*/
|
|
5609
5680
|
private formatXAxisValue;
|
|
5610
|
-
/**
|
|
5611
|
-
* Resolve bar corner radius with backward-compatible values:
|
|
5612
|
-
* - undefined/null/true => default curved
|
|
5613
|
-
* - false/0 => square corners
|
|
5614
|
-
* - number/string => that numeric value
|
|
5615
|
-
*/
|
|
5681
|
+
/** Corner radius from the "Rounded corners" toggle and its slider. */
|
|
5616
5682
|
private resolveBarBorderRadius;
|
|
5617
5683
|
/** Convert the numeric Style Studio width into the ECharts CSS dimension. */
|
|
5618
5684
|
private resolveBarWidth;
|
|
@@ -5680,6 +5746,17 @@ declare class BarChartHandler {
|
|
|
5680
5746
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<BarChartHandler>;
|
|
5681
5747
|
}
|
|
5682
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;
|
|
5683
5760
|
declare class PieChartHandler {
|
|
5684
5761
|
private readonly storeService;
|
|
5685
5762
|
/**
|
|
@@ -5723,6 +5800,7 @@ declare class StackBarChartHandler {
|
|
|
5723
5800
|
* cap is the right edge.
|
|
5724
5801
|
*/
|
|
5725
5802
|
private stackBarCapRadius;
|
|
5803
|
+
/** Corner radius from the "Rounded corners" toggle and its slider. */
|
|
5726
5804
|
private resolveStackBarBorderRadius;
|
|
5727
5805
|
/**
|
|
5728
5806
|
* Helper method to convert legend position based on language
|
|
@@ -5873,6 +5951,12 @@ declare class LineChartHandler {
|
|
|
5873
5951
|
*/
|
|
5874
5952
|
handleLineChart(dataResponse: any, config: ItemConfig): any;
|
|
5875
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;
|
|
5876
5960
|
/**
|
|
5877
5961
|
* Build ECharts configuration
|
|
5878
5962
|
*/
|
|
@@ -5884,10 +5968,6 @@ declare class LineChartHandler {
|
|
|
5884
5968
|
* Get default color for series index
|
|
5885
5969
|
*/
|
|
5886
5970
|
private getDefaultColor;
|
|
5887
|
-
/**
|
|
5888
|
-
* Convert hex to rgba
|
|
5889
|
-
*/
|
|
5890
|
-
private hexToRgba;
|
|
5891
5971
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartHandler, never>;
|
|
5892
5972
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<LineChartHandler>;
|
|
5893
5973
|
}
|
|
@@ -6449,7 +6529,7 @@ declare function applyBuiltInConditions(serviceConfig: any, clientConfig: any):
|
|
|
6449
6529
|
* Event emitted when a dashboard action is triggered
|
|
6450
6530
|
*/
|
|
6451
6531
|
interface DashboardListEvent {
|
|
6452
|
-
type: 'view' | 'edit' | 'create' | 'delete' | 'manage';
|
|
6532
|
+
type: 'view' | 'edit' | 'create' | 'delete' | 'manage' | 'duplicate';
|
|
6453
6533
|
dashboard?: DashboardPage;
|
|
6454
6534
|
id?: string | number;
|
|
6455
6535
|
}
|
|
@@ -6457,6 +6537,7 @@ declare class DashboardList implements OnDestroy {
|
|
|
6457
6537
|
private dashboardService;
|
|
6458
6538
|
private modalService;
|
|
6459
6539
|
private transloco;
|
|
6540
|
+
private toast;
|
|
6460
6541
|
private readonly router;
|
|
6461
6542
|
private modalRef;
|
|
6462
6543
|
readonly nameTpl: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
@@ -6494,6 +6575,8 @@ declare class DashboardList implements OnDestroy {
|
|
|
6494
6575
|
readonly tableActions: _angular_core.Signal<TableAction[]>;
|
|
6495
6576
|
/** Table row actions */
|
|
6496
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)[]>;
|
|
6497
6580
|
/** Deleting row IDs for loading state */
|
|
6498
6581
|
readonly deletingRowIds: _angular_core.WritableSignal<(string | number)[]>;
|
|
6499
6582
|
ngOnDestroy(): void;
|
|
@@ -6513,6 +6596,12 @@ declare class DashboardList implements OnDestroy {
|
|
|
6513
6596
|
* Handle manage action - emits event for navigation
|
|
6514
6597
|
*/
|
|
6515
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;
|
|
6516
6605
|
/**
|
|
6517
6606
|
* Open create dashboard modal
|
|
6518
6607
|
*/
|
|
@@ -6602,6 +6691,8 @@ interface DashboardTargetsResponse {
|
|
|
6602
6691
|
context: DashboardTargetsContextInfo;
|
|
6603
6692
|
targets: DashboardTargetOption[];
|
|
6604
6693
|
}
|
|
6694
|
+
/** Name of a dashboard copy, in both languages: "Sales (copy)" / "Sales (نسخة)". */
|
|
6695
|
+
declare function copyName(name: LocalizedName | undefined): LocalizedName;
|
|
6605
6696
|
/**
|
|
6606
6697
|
* Dashboard Builder Service
|
|
6607
6698
|
*
|
|
@@ -6767,6 +6858,19 @@ declare class DashboardBuilderService {
|
|
|
6767
6858
|
* Delete a report
|
|
6768
6859
|
*/
|
|
6769
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;
|
|
6770
6874
|
/**
|
|
6771
6875
|
* Link a chart to a report (creates or updates link)
|
|
6772
6876
|
*/
|
|
@@ -7006,6 +7110,12 @@ interface ManagePagesDeleteResult {
|
|
|
7006
7110
|
id: string | number;
|
|
7007
7111
|
}
|
|
7008
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;
|
|
7009
7119
|
/**
|
|
7010
7120
|
* Manage Pages Component
|
|
7011
7121
|
*
|
|
@@ -7015,6 +7125,7 @@ declare class ManagePages implements OnInit {
|
|
|
7015
7125
|
private dashboardService;
|
|
7016
7126
|
private confirmationService;
|
|
7017
7127
|
private transloco;
|
|
7128
|
+
private toast;
|
|
7018
7129
|
readonly modal: ModalService;
|
|
7019
7130
|
private ref;
|
|
7020
7131
|
/** Input: Report to edit (if editing) */
|
|
@@ -7035,6 +7146,15 @@ declare class ManagePages implements OnInit {
|
|
|
7035
7146
|
* report in the reports menu, so it means nothing to a host-persisted page.
|
|
7036
7147
|
*/
|
|
7037
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>;
|
|
7038
7158
|
/** Report form data */
|
|
7039
7159
|
readonly report: _angular_core.WritableSignal<{
|
|
7040
7160
|
id: number | null;
|
|
@@ -7059,11 +7179,12 @@ declare class ManagePages implements OnInit {
|
|
|
7059
7179
|
isFormInvalid(): boolean;
|
|
7060
7180
|
saveReport(): void;
|
|
7061
7181
|
deleteReport(): void;
|
|
7182
|
+
duplicateReport(): void;
|
|
7062
7183
|
private executeDeleteReport;
|
|
7063
7184
|
close(): void;
|
|
7064
7185
|
private clear;
|
|
7065
7186
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ManagePages, never>;
|
|
7066
|
-
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>;
|
|
7067
7188
|
}
|
|
7068
7189
|
|
|
7069
7190
|
/**
|
|
@@ -9826,5 +9947,5 @@ declare function firstFreePosition(items: readonly {
|
|
|
9826
9947
|
y: number;
|
|
9827
9948
|
};
|
|
9828
9949
|
|
|
9829
|
-
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 };
|
|
9830
|
-
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 };
|