@acorex-platform/module-dashboard-management-client 0.0.37 → 0.0.46
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/fesm2022/{acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-BUmHWNqL.mjs → acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-Ey27MqFo.mjs} +976 -2957
- package/fesm2022/acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-Ey27MqFo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-bar-chart-widget.component-5c4X-lEC.mjs +151 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-bar-chart-widget.component-5c4X-lEC.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-card-widget.component-BYdlIBv9.mjs +126 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-card-widget.component-BYdlIBv9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-configurator-widget-column.component-DxNKy3bB.mjs +76 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-configurator-widget-column.component-DxNKy3bB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-FhtkU52L.mjs +559 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-configurator-widget-edit.component-FhtkU52L.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-legend.util-C1zqTQEf.mjs +31 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-legend.util-C1zqTQEf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-widget-data.util-DgCBHS1p.mjs +589 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-chart-widget-data.util-DgCBHS1p.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts-entities-dashboard.mjs +30 -1
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts-entities-dashboard.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-dashboard-management-client-contracts-entity-catalog-acorex-platform-module-dashboard-management-client-contracts-entity-catalog-CPDwiLWC.mjs → acorex-platform-module-dashboard-management-client-contracts-entity-catalog-acorex-platform-module-dashboard-management-client-contracts-entity-catalog-C3ZKIYgQ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-dashboard-management-client-contracts-entity-catalog-acorex-platform-module-dashboard-management-client-contracts-entity-catalog-CPDwiLWC.mjs.map → acorex-platform-module-dashboard-management-client-contracts-entity-catalog-acorex-platform-module-dashboard-management-client-contracts-entity-catalog-C3ZKIYgQ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-dashboard-management-client-contracts-entity-catalog-dashboard.entity-C1ju-BQM.mjs → acorex-platform-module-dashboard-management-client-contracts-entity-catalog-dashboard.entity-D2uqZMd4.mjs} +32 -3
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts-entity-catalog-dashboard.entity-D2uqZMd4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts.mjs +21 -1
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-dashboard-management-client-donut-chart-widget.component-DRiIRbhX.mjs +145 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-donut-chart-widget.component-DRiIRbhX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-BPY1NchM.mjs +135 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-funnel-chart-widget.component-BPY1NchM.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-Cy6fgife.mjs +138 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-gauge-chart-widget.component-Cy6fgife.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CTelqGbm.mjs +154 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-heatmap-chart-widget.component-CTelqGbm.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-dashboard-management-client-index-C1Te5cDf.mjs → acorex-platform-module-dashboard-management-client-index-P-PzUrbN.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-dashboard-management-client-index-C1Te5cDf.mjs.map → acorex-platform-module-dashboard-management-client-index-P-PzUrbN.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-dashboard-management-client-line-chart-widget.component-B18VZb9t.mjs +158 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client-line-chart-widget.component-B18VZb9t.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-dashboard-management-client.mjs +1 -1
- package/package.json +1 -1
- package/types/acorex-platform-module-dashboard-management-client-contracts.d.ts +19 -5
- package/types/acorex-platform-module-dashboard-management-client.d.ts +49 -267
- package/fesm2022/acorex-platform-module-dashboard-management-client-acorex-platform-module-dashboard-management-client-BUmHWNqL.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-dashboard-management-client-contracts-entity-catalog-dashboard.entity-C1ju-BQM.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
3
3
|
import * as i1 from '@acorex-platform/framework-client/layout/widget-core';
|
|
4
|
-
import { AXPBaseWidgetComponent
|
|
4
|
+
import { AXPBaseWidgetComponent } from '@acorex-platform/framework-client/layout/widget-core';
|
|
5
5
|
import * as _acorex_platform_module_dashboard_management_client_contracts from '@acorex-platform/module-dashboard-management-client/contracts';
|
|
6
6
|
import { AXPMultiLanguageString, AXMDashboardWidgetLayoutMap, AXMDashboardScope, AXMDashboardScopeRef, AXMDashboardBreakpoint, AXMCommonDashboardEntityModel } from '@acorex-platform/module-dashboard-management-client/contracts';
|
|
7
7
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
@@ -15,22 +15,15 @@ import { AXContextMenuOpeningEvent, AXContextMenuItemsClickEvent } from '@acorex
|
|
|
15
15
|
import { AXPPageLayoutBaseComponent } from '@acorex-platform/framework-client/layout/views';
|
|
16
16
|
import { AXPopupService } from '@acorex/components/popup';
|
|
17
17
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
|
-
import { AXPWidgetPropertiesChangedEvent
|
|
18
|
+
import { AXPWidgetPropertiesChangedEvent } from '@acorex-platform/framework-client/layout/components';
|
|
19
19
|
import { AXItemClickEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
20
20
|
import { AXButtonItemComponent } from '@acorex/components/button';
|
|
21
21
|
import * as _acorex_platform_module_dashboard_management_contracts from '@acorex-platform/module-dashboard-management-client/contracts';
|
|
22
|
-
import { AXMDashboardBreakpoint as AXMDashboardBreakpoint$1, AXGridLayoutSize, AXMCommonDashboardEntityModel as AXMCommonDashboardEntityModel$1 } from '@acorex-platform/module-dashboard-management-client/contracts';
|
|
22
|
+
import { AXMDashboardBreakpoint as AXMDashboardBreakpoint$1, AXGridLayoutSize, AXPChartColorRule, AXMCommonDashboardEntityModel as AXMCommonDashboardEntityModel$1 } from '@acorex-platform/module-dashboard-management-client/contracts';
|
|
23
23
|
import * as _acorex_platform_module_dashboard_management_client from '@acorex-platform/module-dashboard-management-client';
|
|
24
24
|
import * as dist_libs_modules_dashboard_management_contracts_src from 'dist/libs/modules/dashboard-management/contracts/src';
|
|
25
|
-
import * as _acorex_charts_chart_legend from '@acorex/charts/chart-legend';
|
|
26
|
-
import { AXBarChartData, AXBarChartOption } from '@acorex/charts/bar-chart';
|
|
27
|
-
import { Observable } from 'rxjs';
|
|
28
25
|
import { AXPWidgetConfig } from '@acorex-platform/framework-shared/widget-core';
|
|
29
|
-
import {
|
|
30
|
-
import { AXFunnelData, AXFunnelChartOption } from '@acorex/charts/funnel-chart';
|
|
31
|
-
import { AXGaugeChartOption } from '@acorex/charts/gauge-chart';
|
|
32
|
-
import { AXHeatmapData, AXHeatmapChartOption } from '@acorex/charts/heatmap-chart';
|
|
33
|
-
import { AXLineChartData, AXLineChartOption, AXLineChartPointClickEvent } from '@acorex/charts/line-chart';
|
|
26
|
+
import { Observable } from 'rxjs';
|
|
34
27
|
import { AXFormatService } from '@acorex/core/format';
|
|
35
28
|
import { AXTranslationService } from '@acorex/core/translation';
|
|
36
29
|
import { AXPQueryExecutor } from '@acorex-platform/framework-client/runtime';
|
|
@@ -87,6 +80,7 @@ declare const AXMDashboardStore: _angular_core.Type<{
|
|
|
87
80
|
config: _acorex_platform_module_dashboard_management_client_contracts.AXMDashboardWidgetLayoutMap;
|
|
88
81
|
node?: AXPWidgetNode;
|
|
89
82
|
}[]>;
|
|
83
|
+
isHomeCanvasReadOnly: _angular_core.Signal<boolean>;
|
|
90
84
|
canConfigureWidget: _angular_core.Signal<(widget: AXMDashboardWidgetData) => boolean>;
|
|
91
85
|
isWidgetLocked: _angular_core.Signal<(widget: AXMDashboardWidgetData) => boolean>;
|
|
92
86
|
setCurrentDashboard: (dashboardId: string) => void;
|
|
@@ -220,6 +214,7 @@ declare class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent imple
|
|
|
220
214
|
config: _acorex_platform_module_dashboard_management_client_contracts.AXMDashboardWidgetLayoutMap;
|
|
221
215
|
node?: _acorex_platform_framework_shared_core.AXPWidgetNode;
|
|
222
216
|
}[]>;
|
|
217
|
+
isHomeCanvasReadOnly: _angular_core.Signal<boolean>;
|
|
223
218
|
canConfigureWidget: _angular_core.Signal<(widget: AXMDashboardWidgetData) => boolean>;
|
|
224
219
|
isWidgetLocked: _angular_core.Signal<(widget: AXMDashboardWidgetData) => boolean>;
|
|
225
220
|
setCurrentDashboard: (dashboardId: string) => void;
|
|
@@ -278,6 +273,7 @@ declare class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent imple
|
|
|
278
273
|
sideMenuWidth: _angular_core.Signal<number>;
|
|
279
274
|
sideMenuCompactWidth: _angular_core.Signal<number>;
|
|
280
275
|
menuVerticalMode: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode>;
|
|
276
|
+
menuToggleCyclesStyle: _angular_core.Signal<boolean>;
|
|
281
277
|
menuOrientation: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuOrientation>;
|
|
282
278
|
menuAppearance: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuAppearance>;
|
|
283
279
|
headerAppearance: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPHeaderAppearance>;
|
|
@@ -291,6 +287,7 @@ declare class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent imple
|
|
|
291
287
|
overlayTaskCount: _angular_core.Signal<number>;
|
|
292
288
|
isNavigationLoading: _angular_core.Signal<boolean>;
|
|
293
289
|
isMenuHorizontal: _angular_core.Signal<boolean>;
|
|
290
|
+
menuToggleCyclesStyleEnabled: _angular_core.Signal<boolean>;
|
|
294
291
|
effectiveMenuVerticalMode: _angular_core.Signal<_acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode>;
|
|
295
292
|
sideMenuDrawerWidth: _angular_core.Signal<number>;
|
|
296
293
|
menuDarkEnabled: _angular_core.Signal<boolean>;
|
|
@@ -305,6 +302,7 @@ declare class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent imple
|
|
|
305
302
|
setSideMenuWidth: (width: number) => void;
|
|
306
303
|
setSideMenuCompactWidth: (width: number) => void;
|
|
307
304
|
setSideMenuDrawerWidth: (width: number) => void;
|
|
305
|
+
setMenuVerticalMode: (mode: _acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode) => void;
|
|
308
306
|
toggleSideMenu: () => void;
|
|
309
307
|
setNavigationLoading: (value: boolean, delay?: number) => void;
|
|
310
308
|
setOverlayLoading: (value: boolean, delay?: number) => void;
|
|
@@ -327,6 +325,7 @@ declare class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent imple
|
|
|
327
325
|
sideMenuWidth: number;
|
|
328
326
|
sideMenuCompactWidth: number;
|
|
329
327
|
menuVerticalMode: _acorex_platform_framework_client_themes_shared.AXPMenuVerticalMode;
|
|
328
|
+
menuToggleCyclesStyle: boolean;
|
|
330
329
|
menuOrientation: _acorex_platform_framework_client_themes_shared.AXPMenuOrientation;
|
|
331
330
|
menuAppearance: _acorex_platform_framework_client_themes_shared.AXPMenuAppearance;
|
|
332
331
|
headerAppearance: _acorex_platform_framework_client_themes_shared.AXPHeaderAppearance;
|
|
@@ -526,21 +525,24 @@ declare function layoutFromDimensions(id: string, dimensions: DashboardSeedDimen
|
|
|
526
525
|
|
|
527
526
|
type DashboardSeedWidget = AXMCommonDashboardEntityModel$1['widgets'][number];
|
|
528
527
|
type QueryTab = {
|
|
529
|
-
label: string;
|
|
528
|
+
label: string | AXPMultiLanguageString$1;
|
|
530
529
|
query: string;
|
|
531
530
|
};
|
|
532
531
|
type ChartWidgetType = 'BarChart' | 'DonutChart' | 'LineChart' | 'GaugeChart' | 'FunnelChart' | 'HeatmapChart';
|
|
533
|
-
|
|
534
|
-
declare function buildDashboardKpiTile(id: string, type: 'KpiProgress' | 'KpiSegmented' | 'KpiDetails', x: number, y: number, options: Record<string, unknown>, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
535
|
-
declare function buildDashboardChartWidget(id: string, title: string, type: ChartWidgetType, x: number, y: number, options: Record<string, unknown>, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
536
|
-
declare function buildDashboardChartWidgetWithQuery(id: string, title: string, type: 'BarChart' | 'DonutChart' | 'LineChart' | 'GaugeChart', x: number, y: number, queryOrTabs: string | QueryTab[], size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
532
|
+
type ChartCardTabType = ChartWidgetType | 'KpiStatCard' | 'KpiProgress' | 'KpiSegmented' | 'KpiDetails';
|
|
537
533
|
type DashboardChartCardTab = {
|
|
538
|
-
type:
|
|
539
|
-
label: string;
|
|
534
|
+
type: ChartCardTabType;
|
|
535
|
+
label: string | AXPMultiLanguageString$1;
|
|
540
536
|
query: string;
|
|
541
|
-
|
|
537
|
+
xAxisLabel?: string | AXPMultiLanguageString$1;
|
|
538
|
+
yAxisLabel?: string | AXPMultiLanguageString$1;
|
|
539
|
+
colorRules?: AXPChartColorRule[];
|
|
542
540
|
};
|
|
543
|
-
declare function
|
|
541
|
+
declare function buildDashboardKpiStatCard(id: string, x: number, y: number, query: string, size?: DashboardSeedGridSize, navigatePath?: string): DashboardSeedWidget;
|
|
542
|
+
declare function buildDashboardKpiTile(id: string, type: 'KpiProgress' | 'KpiSegmented' | 'KpiDetails', x: number, y: number, options: Record<string, unknown>, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
543
|
+
declare function buildDashboardChartWidget(id: string, title: string | AXPMultiLanguageString$1, type: ChartWidgetType, x: number, y: number, options: Record<string, unknown>, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
544
|
+
declare function buildDashboardChartWidgetWithQuery(id: string, title: string | AXPMultiLanguageString$1, type: ChartWidgetType, x: number, y: number, queryOrTabs: string | QueryTab[], size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
545
|
+
declare function buildDashboardChartCardWidget(id: string, title: string | AXPMultiLanguageString$1, x: number, y: number, tabs: DashboardChartCardTab[], size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
544
546
|
declare function buildDashboardShortcut(id: string, x: number, y: number, title: string, icon: string, path: string, color: string, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
545
547
|
declare function buildDashboardClockCalendar(id: string, x: number, y: number, options?: Record<string, unknown>, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
546
548
|
declare function buildDashboardStickyNote(id: string, x: number, y: number, defaultValue: string, size?: DashboardSeedGridSize): DashboardSeedWidget;
|
|
@@ -559,6 +561,7 @@ declare const AXP_CHART_FUNNEL_DIMENSIONS: Required<Partial<Record<dist_libs_mod
|
|
|
559
561
|
declare const AXP_CHART_CONFIGURATOR_DEFAULT_TYPE: string;
|
|
560
562
|
declare function chartResultTypeForWidget(type: string): string | undefined;
|
|
561
563
|
declare function chartTypeUsesAxisLabels(resultType: string): boolean;
|
|
564
|
+
declare function chartTypeUsesColorRules(resultType: string): boolean;
|
|
562
565
|
declare function asChartTabWidgetNode(value: unknown): AXPWidgetNode | null;
|
|
563
566
|
declare function readChartTabTitle(node: AXPWidgetNode): unknown;
|
|
564
567
|
declare function readChartTabQuery(node: AXPWidgetNode): string;
|
|
@@ -568,16 +571,21 @@ declare function areChartCardTabsConfigured(widget: AXPWidgetNode | null | undef
|
|
|
568
571
|
declare function readStashedChartAppearance(options: Record<string, unknown>): Record<string, unknown>;
|
|
569
572
|
declare function optionsAfterChartTypeSwitch(options: Record<string, unknown>, previousType: string, nextType: string, stashedAppearance: Record<string, unknown>): Record<string, unknown>;
|
|
570
573
|
|
|
571
|
-
|
|
572
|
-
* Shared helpers for loading dashboard chart/KPI data via AXPQuery (single or tabbed).
|
|
573
|
-
*/
|
|
574
|
+
declare const AXPBarChartWidget: AXPWidgetConfig;
|
|
574
575
|
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
576
|
+
declare const AXPChartCardWidget: AXPWidgetConfig;
|
|
577
|
+
|
|
578
|
+
declare const AXMChartConfiguratorWidget: AXPWidgetConfig;
|
|
579
|
+
|
|
580
|
+
declare const AXPDonutChartWidget: AXPWidgetConfig;
|
|
581
|
+
|
|
582
|
+
declare const AXPFunnelChartWidget: AXPWidgetConfig;
|
|
583
|
+
|
|
584
|
+
declare const AXPGaugeChartWidget: AXPWidgetConfig;
|
|
585
|
+
|
|
586
|
+
declare const AXPHeatmapChartWidget: AXPWidgetConfig;
|
|
587
|
+
|
|
588
|
+
declare const AXPLineChartWidget: AXPWidgetConfig;
|
|
581
589
|
|
|
582
590
|
/** Reserved widgets-container key for runtime entity detail context (entity dashboard plugin). */
|
|
583
591
|
declare const AXPDASHBOARD_ENTITY_CONTEXT_KEY = "__dashboardEntityContext";
|
|
@@ -636,243 +644,6 @@ declare abstract class AXPDashboardWidgetComponent<TOptions extends Record<strin
|
|
|
636
644
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXPDashboardWidgetComponent<any>>;
|
|
637
645
|
}
|
|
638
646
|
|
|
639
|
-
/**
|
|
640
|
-
* Bar Chart Widget Component
|
|
641
|
-
* Renders data as vertical bars with interactive hover effects and animations
|
|
642
|
-
*/
|
|
643
|
-
declare class AXPBarChartWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
644
|
-
private readonly queryExecutor;
|
|
645
|
-
private readonly translationService;
|
|
646
|
-
protected data: _angular_core.WritableSignal<AXBarChartData[]>;
|
|
647
|
-
/** Options for the chart with localized title and axis labels. */
|
|
648
|
-
protected barChartOptions: _angular_core.WritableSignal<AXBarChartOption & {
|
|
649
|
-
title: string;
|
|
650
|
-
}>;
|
|
651
|
-
protected readonly legendOptions: _acorex_charts_chart_legend.AXChartLegendOptions;
|
|
652
|
-
private labelResolveGeneration;
|
|
653
|
-
protected readonly queryTabs: _angular_core.Signal<AXPChartQueryTab[]>;
|
|
654
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
655
|
-
private readonly activeQuery;
|
|
656
|
-
protected selectQueryTab(index: number): void;
|
|
657
|
-
private resolveChartOptionLabel;
|
|
658
|
-
/**
|
|
659
|
-
* Resolves bar category labels from plain text, @i18n keys, or multi-language maps.
|
|
660
|
-
*/
|
|
661
|
-
private resolveLocalizedChartText;
|
|
662
|
-
private readonly resolveChartLabelKeysEffect;
|
|
663
|
-
private readonly clampTabIndexEffect;
|
|
664
|
-
private readonly dataLoadEffect;
|
|
665
|
-
constructor();
|
|
666
|
-
handleBarClick(_event: unknown): void;
|
|
667
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPBarChartWidgetViewComponent, never>;
|
|
668
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPBarChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
declare const AXPBarChartWidget: AXPWidgetConfig;
|
|
672
|
-
|
|
673
|
-
declare class AXPChartCardWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
674
|
-
private readonly translationService;
|
|
675
|
-
protected readonly tabNodes: _angular_core.Signal<AXPWidgetNode[]>;
|
|
676
|
-
protected readonly tabStrip: _angular_core.WritableSignal<AXPChartQueryTab[]>;
|
|
677
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
678
|
-
protected readonly activeTabNode: _angular_core.Signal<AXPWidgetNode | null>;
|
|
679
|
-
protected selectQueryTab(index: number): void;
|
|
680
|
-
protected isTabConfigured(node: AXPWidgetNode): boolean;
|
|
681
|
-
private readonly clampTabIndexEffect;
|
|
682
|
-
private readonly resolveTabLabelsEffect;
|
|
683
|
-
private resolveTabLabel;
|
|
684
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPChartCardWidgetViewComponent, never>;
|
|
685
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPChartCardWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
declare const AXPChartCardWidget: AXPWidgetConfig;
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* Pick a chart type and configure tab-scoped options via {@link AXPItemConfiguratorComponent}.
|
|
692
|
-
* Bound value is an {@link AXPWidgetNode} (`type` + `options`).
|
|
693
|
-
*/
|
|
694
|
-
declare class AXMChartConfiguratorComponent {
|
|
695
|
-
readonly widget: _angular_core.ModelSignal<AXPWidgetNode>;
|
|
696
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
697
|
-
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
698
|
-
protected readonly selectedTypeModel: _angular_core.ModelSignal<string>;
|
|
699
|
-
protected readonly optionsModel: _angular_core.ModelSignal<Record<string, unknown>>;
|
|
700
|
-
protected readonly catalogItems: _angular_core.Signal<ItemConfiguratorListItem[]>;
|
|
701
|
-
private lastSelectedType;
|
|
702
|
-
private stashedAppearance;
|
|
703
|
-
constructor();
|
|
704
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMChartConfiguratorComponent, never>;
|
|
705
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMChartConfiguratorComponent, "axm-chart-configurator", never, { "widget": { "alias": "widget"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "selectedTypeModel": { "alias": "selectedTypeModel"; "required": false; "isSignal": true; }; "optionsModel": { "alias": "optionsModel"; "required": false; "isSignal": true; }; }, { "widget": "widgetChange"; "selectedTypeModel": "selectedTypeModelChange"; "optionsModel": "optionsModelChange"; }, never, never, true, never>;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
declare const AXMChartConfiguratorWidget: AXPWidgetConfig;
|
|
709
|
-
|
|
710
|
-
declare class AXMChartConfiguratorWidgetColumnComponent extends AXPColumnWidgetComponent<AXPWidgetNode> {
|
|
711
|
-
private readonly widgetRegistry;
|
|
712
|
-
protected readonly widget: _angular_core.Signal<AXPWidgetConfig<any> | undefined>;
|
|
713
|
-
protected readonly displayTitle: _angular_core.Signal<_acorex_platform_framework_shared_core.AXPMultiLanguageString | undefined>;
|
|
714
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMChartConfiguratorWidgetColumnComponent, never>;
|
|
715
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMChartConfiguratorWidgetColumnComponent, "axm-chart-configurator-widget-column", never, { "rawValue": { "alias": "rawValue"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, {}, never, never, true, never>;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
declare class AXMChartConfiguratorWidgetEditComponent extends AXPValueWidgetComponent<AXPWidgetNode> {
|
|
719
|
-
protected readonly readonly: _angular_core.Signal<boolean>;
|
|
720
|
-
protected readonly label: _angular_core.Signal<string>;
|
|
721
|
-
protected readonly isInitialized: _angular_core.WritableSignal<boolean>;
|
|
722
|
-
protected readonly widgetModel: _angular_core.ModelSignal<AXPWidgetNode>;
|
|
723
|
-
private readonly syncValueToConfigurator;
|
|
724
|
-
private readonly syncConfiguratorToValue;
|
|
725
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMChartConfiguratorWidgetEditComponent, never>;
|
|
726
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMChartConfiguratorWidgetEditComponent, "axm-chart-configurator-widget-edit", never, { "widgetModel": { "alias": "widgetModel"; "required": false; "isSignal": true; }; }, { "widgetModel": "widgetModelChange"; }, never, never, true, never>;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* Donut Chart Widget Component
|
|
731
|
-
* Displays data in a circular donut chart with interactive segments
|
|
732
|
-
*/
|
|
733
|
-
declare class AXPDonutChartWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
734
|
-
private readonly queryExecutor;
|
|
735
|
-
private readonly translationService;
|
|
736
|
-
protected data: _angular_core.WritableSignal<AXDonutChartData[]>;
|
|
737
|
-
protected donutChartOptions: _angular_core.WritableSignal<AXDonutChartOption & {
|
|
738
|
-
title: string;
|
|
739
|
-
}>;
|
|
740
|
-
protected readonly legendOptions: _acorex_charts_chart_legend.AXChartLegendOptions;
|
|
741
|
-
private labelResolveGeneration;
|
|
742
|
-
private resolveChartOptionLabel;
|
|
743
|
-
/**
|
|
744
|
-
* Resolves segment labels from plain text, @i18n keys, or multi-language maps.
|
|
745
|
-
*/
|
|
746
|
-
private resolveLocalizedChartText;
|
|
747
|
-
private readonly resolveDonutOptionsEffect;
|
|
748
|
-
protected readonly queryTabs: _angular_core.Signal<AXPChartQueryTab[]>;
|
|
749
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
750
|
-
private readonly activeQuery;
|
|
751
|
-
protected selectQueryTab(index: number): void;
|
|
752
|
-
private readonly clampTabIndexEffect;
|
|
753
|
-
private readonly dataLoadEffect;
|
|
754
|
-
constructor();
|
|
755
|
-
handleDonutChartSegmentClick(_event: unknown): void;
|
|
756
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPDonutChartWidgetViewComponent, never>;
|
|
757
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPDonutChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
declare const AXPDonutChartWidget: AXPWidgetConfig;
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Funnel Chart Widget Component
|
|
764
|
-
* Displays step-wise conversion/flow data as a funnel.
|
|
765
|
-
*/
|
|
766
|
-
declare class AXPFunnelChartWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
767
|
-
private readonly queryExecutor;
|
|
768
|
-
private readonly translationService;
|
|
769
|
-
protected data: _angular_core.WritableSignal<AXFunnelData[]>;
|
|
770
|
-
/** Options passed to the chart with resolved messages/labels (multi-language and @i18n keys). */
|
|
771
|
-
protected funnelOptions: _angular_core.WritableSignal<AXFunnelChartOption>;
|
|
772
|
-
private labelResolveGeneration;
|
|
773
|
-
protected readonly queryTabs: _angular_core.Signal<AXPChartQueryTab[]>;
|
|
774
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
775
|
-
private readonly activeQuery;
|
|
776
|
-
protected selectQueryTab(index: number): void;
|
|
777
|
-
private resolveChartText;
|
|
778
|
-
private readonly resolveOptionLabelsEffect;
|
|
779
|
-
private readonly clampTabIndexEffect;
|
|
780
|
-
private readonly dataLoadEffect;
|
|
781
|
-
constructor();
|
|
782
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPFunnelChartWidgetViewComponent, never>;
|
|
783
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPFunnelChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
declare const AXPFunnelChartWidget: AXPWidgetConfig;
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* Gauge Chart Widget Component
|
|
790
|
-
* Renders a semi-circular gauge chart with animated needle and thresholds
|
|
791
|
-
*/
|
|
792
|
-
declare class AXPGaugeChartWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
793
|
-
private readonly queryExecutor;
|
|
794
|
-
private readonly translationService;
|
|
795
|
-
protected value: _angular_core.WritableSignal<number>;
|
|
796
|
-
/** Options with resolved title, label, and threshold labels for the chart SVG/layer. */
|
|
797
|
-
protected gaugeChartOptions: _angular_core.WritableSignal<AXGaugeChartOption & {
|
|
798
|
-
title?: string;
|
|
799
|
-
}>;
|
|
800
|
-
private labelResolveGeneration;
|
|
801
|
-
private resolveChartOptionLabel;
|
|
802
|
-
private readonly resolveGaugeOptionsEffect;
|
|
803
|
-
protected readonly queryTabs: _angular_core.Signal<AXPChartQueryTab[]>;
|
|
804
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
805
|
-
private readonly activeQuery;
|
|
806
|
-
protected selectQueryTab(index: number): void;
|
|
807
|
-
private readonly clampTabIndexEffect;
|
|
808
|
-
private readonly dataLoadEffect;
|
|
809
|
-
constructor();
|
|
810
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPGaugeChartWidgetViewComponent, never>;
|
|
811
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPGaugeChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
declare const AXPGaugeChartWidget: AXPWidgetConfig;
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* Heatmap Chart Widget Component
|
|
818
|
-
* Displays matrix-like data with color intensity based on value.
|
|
819
|
-
*/
|
|
820
|
-
declare class AXPHeatmapChartWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
821
|
-
private readonly queryExecutor;
|
|
822
|
-
private readonly translationService;
|
|
823
|
-
protected data: _angular_core.WritableSignal<AXHeatmapData[]>;
|
|
824
|
-
/** Options passed to the chart with resolved string labels (multi-language and @i18n keys). */
|
|
825
|
-
protected heatmapOptions: _angular_core.WritableSignal<AXHeatmapChartOption>;
|
|
826
|
-
private labelResolveGeneration;
|
|
827
|
-
protected readonly queryTabs: _angular_core.Signal<AXPChartQueryTab[]>;
|
|
828
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
829
|
-
private readonly activeQuery;
|
|
830
|
-
protected selectQueryTab(index: number): void;
|
|
831
|
-
private resolveChartText;
|
|
832
|
-
private readonly resolveOptionLabelsEffect;
|
|
833
|
-
private readonly clampTabIndexEffect;
|
|
834
|
-
private readonly dataLoadEffect;
|
|
835
|
-
constructor();
|
|
836
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPHeatmapChartWidgetViewComponent, never>;
|
|
837
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPHeatmapChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
declare const AXPHeatmapChartWidget: AXPWidgetConfig;
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* Line Chart Widget Component
|
|
844
|
-
* Renders data as lines with interactive hover effects and animations
|
|
845
|
-
*/
|
|
846
|
-
declare class AXPLineChartWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
847
|
-
private readonly queryExecutor;
|
|
848
|
-
private readonly translationService;
|
|
849
|
-
protected data: _angular_core.WritableSignal<AXLineChartData[]>;
|
|
850
|
-
/** Options passed to the chart with resolved string labels (multi-language and @i18n keys). */
|
|
851
|
-
protected lineChartOptions: _angular_core.WritableSignal<AXLineChartOption & {
|
|
852
|
-
title: string;
|
|
853
|
-
}>;
|
|
854
|
-
protected readonly legendOptions: _acorex_charts_chart_legend.AXChartLegendOptions;
|
|
855
|
-
private labelResolveGeneration;
|
|
856
|
-
private resolveChartOptionLabel;
|
|
857
|
-
/**
|
|
858
|
-
* Resolves series labels from plain text, @i18n keys, or multi-language maps.
|
|
859
|
-
*/
|
|
860
|
-
private resolveLocalizedChartText;
|
|
861
|
-
private readonly resolveChartLabelKeysEffect;
|
|
862
|
-
protected readonly queryTabs: _angular_core.Signal<AXPChartQueryTab[]>;
|
|
863
|
-
protected readonly activeTabIndex: _angular_core.WritableSignal<number>;
|
|
864
|
-
private readonly activeQuery;
|
|
865
|
-
protected selectQueryTab(index: number): void;
|
|
866
|
-
private readonly clampTabIndexEffect;
|
|
867
|
-
private readonly dataLoadEffect;
|
|
868
|
-
constructor();
|
|
869
|
-
handleLineChartPointClick(_event: AXLineChartPointClickEvent): void;
|
|
870
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPLineChartWidgetViewComponent, never>;
|
|
871
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPLineChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
declare const AXPLineChartWidget: AXPWidgetConfig;
|
|
875
|
-
|
|
876
647
|
interface AXPKpiTextValueFormat {
|
|
877
648
|
style?: 'decimal' | 'currency' | 'percent';
|
|
878
649
|
currency?: string;
|
|
@@ -980,6 +751,17 @@ declare const AXP_KPI_STANDARD_DIMENSIONS: Required<Partial<Record<dist_libs_mod
|
|
|
980
751
|
/** KpiDetails — value + detail rows. */
|
|
981
752
|
declare const AXP_KPI_DETAILS_DIMENSIONS: Required<Partial<Record<dist_libs_modules_dashboard_management_contracts_src.AXMDashboardBreakpoint, _acorex_platform_module_dashboard_management_client.AXPDashboardBreakpointDimensions>>>;
|
|
982
753
|
|
|
754
|
+
/**
|
|
755
|
+
* Shared helpers for loading dashboard chart/KPI data via AXPQuery (single or tabbed).
|
|
756
|
+
*/
|
|
757
|
+
|
|
758
|
+
interface AXPChartQueryTab {
|
|
759
|
+
label: string;
|
|
760
|
+
query: string;
|
|
761
|
+
/** Present when the tab/query binding has an input payload; otherwise `undefined`. */
|
|
762
|
+
queryInput: Record<string, unknown> | undefined;
|
|
763
|
+
}
|
|
764
|
+
|
|
983
765
|
declare class AXPKpiProgressWidgetViewComponent extends AXPDashboardWidgetComponent {
|
|
984
766
|
private readonly queryExecutor;
|
|
985
767
|
private readonly translationService;
|
|
@@ -1320,5 +1102,5 @@ declare const AXP_DASHBOARD_SHARED_SUB_UTILITY_TIME: AXPDefinitionCategory;
|
|
|
1320
1102
|
declare const AXP_DASHBOARD_SHARED_SUB_UTILITY_WEATHER: AXPDefinitionCategory;
|
|
1321
1103
|
declare const AXP_DASHBOARD_SHARED_SUB_UTILITY_NOTES: AXPDefinitionCategory;
|
|
1322
1104
|
|
|
1323
|
-
export { AXMAddDashboardPopup,
|
|
1105
|
+
export { AXMAddDashboardPopup, AXMChartConfiguratorWidget, AXMConfigurationPopup, AXMDashboardHomeComponent, AXMDashboardManagementModule, AXMDashboardPopupService, AXMDashboardStore, AXMDashboardWidgetWrapperComponent, AXPBarChartWidget, AXPChartCardWidget, AXPClockCalendarWidget, AXPClockCalendarWidgetViewComponent, AXPDASHBOARD_ENTITY_CONTEXT_KEY, AXPDashboardWidgetComponent, AXPDonutChartWidget, AXPFunnelChartWidget, AXPGaugeChartWidget, AXPHeatmapChartWidget, AXPKpiDetailsWidget, AXPKpiDetailsWidgetViewComponent, AXPKpiProgressWidget, AXPKpiProgressWidgetViewComponent, AXPKpiSegmentedWidget, AXPKpiSegmentedWidgetViewComponent, AXPKpiStatCardWidget, AXPKpiStatCardWidgetViewComponent, AXPLineChartWidget, AXPShortcutWidget, AXPShortcutWidgetViewComponent, AXPStickyNoteWidget, AXPStickyNoteWidgetViewComponent, AXP_CHART_CONFIGURATOR_DEFAULT_TYPE, AXP_CHART_FUNNEL_DIMENSIONS, AXP_CHART_GAUGE_DIMENSIONS, AXP_CHART_SQUARE_DIMENSIONS, AXP_CHART_WIDE_DIMENSIONS, AXP_DASHBOARD_SHARED_SUB_CHART_CARTESIAN, AXP_DASHBOARD_SHARED_SUB_CHART_KPI, AXP_DASHBOARD_SHARED_SUB_CHART_RADIAL, AXP_DASHBOARD_SHARED_SUB_CHART_SPECIALIZED, AXP_DASHBOARD_SHARED_SUB_UTILITY_NOTES, AXP_DASHBOARD_SHARED_SUB_UTILITY_SHORTCUT, AXP_DASHBOARD_SHARED_SUB_UTILITY_TIME, AXP_DASHBOARD_SHARED_SUB_UTILITY_WEATHER, AXP_KPI_DETAILS_DIMENSIONS, DASHBOARD_WIDGET_GRID_HEIGHT_OPTION as AXP_KPI_GRID_HEIGHT_OPTION, DASHBOARD_WIDGET_GRID_WIDTH_OPTION as AXP_KPI_GRID_WIDTH_OPTION, AXP_KPI_PROGRESS_SEGMENTED_DIMENSIONS, AXP_KPI_STANDARD_DIMENSIONS, AXP_KPI_STAT_CARD_DIMENSIONS, AXP_UTILITY_CLOCK_CALENDAR_DIMENSIONS, AXP_UTILITY_COMPACT_SQUARE_DIMENSIONS, AXP_UTILITY_SHORTCUT_DIMENSIONS, AXP_UTILITY_WEATHER_DIMENSIONS, AXP_WIDGETS_CHART_CATEGORY, AXP_WIDGETS_UTILITY_CATEGORY, DASHBOARD_WIDGET_GRID_HEIGHT_OPTION, DASHBOARD_WIDGET_GRID_WIDTH_OPTION, STICKY_NOTE_COLOR_PRESETS, STICKY_NOTE_DEFAULT_BACKGROUND, areChartCardTabsConfigured, asChartTabWidgetNode, buildDashboardChartCardWidget, buildDashboardChartWidget, buildDashboardChartWidgetWithQuery, buildDashboardClockCalendar, buildDashboardKpiStatCard, buildDashboardKpiTile, buildDashboardShortcut, buildDashboardStickyNote, buildDashboardWeatherWidget, buildDashboardWidgetsContext, chartResultTypeForWidget, chartTypeUsesAxisLabels, chartTypeUsesColorRules, defineDashboardWidgetDimensions, enrichDashboardLayoutNode, formatDashboardGridSizeToken, formatDashboardGridSizeToken as formatKpiGridSizeToken, formatKpiValue, formatUtcOffsetLabel, getIanaTimeZoneOffsetMinutes, hasKpiQueryConfigured, isChartTabConfigured, isStickyNoteEmpty, layoutFromDimensions, loadKpiQueryResult, normalizeKpiPercent, optionsAfterChartTypeSwitch, readChartTabQuery, readChartTabTitle, readDashboardEntityContext, readDashboardGridSizeToken, readDashboardGridSizeToken as readKpiGridSizeToken, readStashedChartAppearance, resolveDashboardLayoutNode, resolveDashboardMetaDimensionsForBreakpoint, resolveDashboardMetaLayoutNode, resolveKpiIconToneTheme, resolveKpiIconToneValueColor, resolveKpiProgressBarTone, resolveKpiSegmentPaletteColor, resolveKpiText, resolveStickyNoteBackgroundColor, resolveStickyNoteLayoutVariant, resolveStickyNoteMutedTextColor, resolveStickyNoteText, resolveStickyNoteTextColor, resolveTimeZoneCode, shouldShowStickyNoteEmptyHint, stripHtmlToPlainText, withDashboardGridSizeOptions };
|
|
1324
1106
|
export type { AXMDashboardLayoutDialogOptions, AXPDashboardBreakpointDimensions, AXPDashboardCoreDimensionPresets, AXPDashboardDimensionPreset, AXPDashboardDimensionPresets, AXPDashboardEntityContext, AXPDashboardLegacyBreakpointDimensions, AXPDashboardWidgetContainerSize, AXPDashboardWidgetDimensions, AXPHourNumber, AXPKpiDetailItem, AXPKpiDetailsData, AXPKpiIconTone, AXPKpiProgressData, AXPKpiQueryLoadState, AXPKpiSegmentItem, AXPKpiSegmentedData, AXPKpiStatCardData, AXPKpiTextValueFormat, AXPKpiTitleBadge, AXPKpiTitleBadgeTone, AXPKpiTrendStatus, AXPShortcutItem, AXPStickyNoteLayoutVariant, DashboardChartCardTab, DashboardSeedDimensionPreset, DashboardSeedGridSize, DashboardSeedLayoutPlacement, DashboardSeedWidget };
|