@acorex/modules 19.3.6 → 19.3.8
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/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +36 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +40 -1
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts +7 -7
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts +4 -3
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart-widget.component.d.ts +4 -3
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart-widget.component.d.ts +3 -2
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1130 -1227
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/package.json +9 -9
@@ -30,7 +30,42 @@ export declare class AXMDashboardHomeComponent extends AXPBasePageComponent impl
|
|
30
30
|
protected readonly dialogService: AXDialogService;
|
31
31
|
protected readonly popupService: AXPopupService;
|
32
32
|
protected readonly router: Router;
|
33
|
-
protected readonly store:
|
33
|
+
protected readonly store: {
|
34
|
+
dashboards: import("@angular/core").Signal<import("@acorex/modules/dashboard-management").AXMDashboardLayout[]>;
|
35
|
+
allDashboards: import("@angular/core").Signal<import("@acorex/modules/dashboard-management").AXMDashboardLayout[]>;
|
36
|
+
currentDashboardId: import("@angular/core").Signal<string | null>;
|
37
|
+
isAdmin: import("@angular/core").Signal<boolean>;
|
38
|
+
dashboardsOption: import("@ngrx/signals").DeepSignal<import("@acorex/components/grid-layout-builder").AXGridLayoutOptions>;
|
39
|
+
isLoading: import("@angular/core").Signal<boolean>;
|
40
|
+
selectedDashboard: import("@angular/core").Signal<import("@acorex/modules/dashboard-management").AXMDashboardLayout | null>;
|
41
|
+
isUserAdmin: import("@angular/core").Signal<boolean>;
|
42
|
+
availableDashboards: import("@angular/core").Signal<import("@acorex/modules/dashboard-management").AXMDashboardLayout[]>;
|
43
|
+
currentLayoutOptions: import("@angular/core").Signal<import("@acorex/components/grid-layout-builder").AXGridLayoutOptions>;
|
44
|
+
canConfigureWidget: import("@angular/core").Signal<(widget: import("@acorex/modules/dashboard-management").AXMDashboardWidgetData) => any>;
|
45
|
+
isWidgetLocked: import("@angular/core").Signal<(widget: import("@acorex/modules/dashboard-management").AXMDashboardWidgetData) => any>;
|
46
|
+
setCurrentDashboard: (dashboardId: string) => void;
|
47
|
+
addDashboard: () => Promise<void>;
|
48
|
+
editDashboard: () => Promise<void>;
|
49
|
+
addWidget: () => Promise<void>;
|
50
|
+
removeDashboard: (id: string) => Promise<void>;
|
51
|
+
removeWidget: (dashboardId: string, widgetId: string) => Promise<void>;
|
52
|
+
handleConfigChange: (dashboard: import("@acorex/modules/dashboard-management").AXMDashboardLayout) => Promise<void>;
|
53
|
+
onGridChange: (event: import("@acorex/components/grid-layout-builder").AXGridLayoutEvent) => Promise<void>;
|
54
|
+
handlePopupConfiguration: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode) => Promise<void>;
|
55
|
+
handleValueChanged: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode, data: unknown) => Promise<void>;
|
56
|
+
handleOptionsChanged: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode, data: unknown) => Promise<void>;
|
57
|
+
setIsAdmin: (isAdmin: boolean) => void;
|
58
|
+
filterDashboardsByScope: (isAdmin: boolean) => void;
|
59
|
+
toggleLockDashboard: () => Promise<void>;
|
60
|
+
isDashboardLocked: () => boolean;
|
61
|
+
} & import("@ngrx/signals").StateSource<{
|
62
|
+
dashboards: import("@acorex/modules/dashboard-management").AXMDashboardLayout[];
|
63
|
+
allDashboards: import("@acorex/modules/dashboard-management").AXMDashboardLayout[];
|
64
|
+
currentDashboardId: string | null;
|
65
|
+
isAdmin: boolean;
|
66
|
+
dashboardsOption: import("@acorex/components/grid-layout-builder").AXGridLayoutOptions;
|
67
|
+
isLoading: boolean;
|
68
|
+
}>;
|
34
69
|
protected readonly themeService: {
|
35
70
|
currentMode: import("@angular/core").Signal<import("@acorex/platform/themes/shared").AXPThemeMode>;
|
36
71
|
currentPalette: import("@angular/core").Signal<string>;
|
@@ -91,12 +126,10 @@ export declare class AXMDashboardHomeComponent extends AXPBasePageComponent impl
|
|
91
126
|
sideMenuWidth: number;
|
92
127
|
menuOrientation: import("@acorex/platform/themes/shared").AXPMenuOrientation;
|
93
128
|
}>;
|
94
|
-
protected readonly isEdited: import("@angular/core").WritableSignal<boolean>;
|
95
129
|
protected readonly context: import("@angular/core").WritableSignal<{}>;
|
96
130
|
private dashboardsLoaded;
|
97
131
|
ngOnInit(): Promise<void>;
|
98
132
|
private applyDashboardFiltering;
|
99
|
-
protected toggleEdit(): void;
|
100
133
|
protected confirmWidgetDelete(dashboardId: string, widgetId: string): Promise<void>;
|
101
134
|
getPageTitle(): string;
|
102
135
|
getPageDescription(): Promise<string>;
|
package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts
CHANGED
@@ -1 +1,40 @@
|
|
1
|
-
|
1
|
+
import { AXGridLayoutEvent, AXGridLayoutOptions } from '@acorex/components/grid-layout-builder';
|
2
|
+
import { AXPWidgetNode } from '@acorex/platform/layout/builder';
|
3
|
+
import { Signal } from '@angular/core';
|
4
|
+
import { AXMDashboardLayout, AXMDashboardWidgetData } from './home-dashboard.type';
|
5
|
+
export declare const AXMDashboardStore: import("@angular/core").Type<{
|
6
|
+
dashboards: Signal<AXMDashboardLayout[]>;
|
7
|
+
allDashboards: Signal<AXMDashboardLayout[]>;
|
8
|
+
currentDashboardId: Signal<string | null>;
|
9
|
+
isAdmin: Signal<boolean>;
|
10
|
+
dashboardsOption: import("@ngrx/signals").DeepSignal<AXGridLayoutOptions>;
|
11
|
+
isLoading: Signal<boolean>;
|
12
|
+
selectedDashboard: Signal<AXMDashboardLayout | null>;
|
13
|
+
isUserAdmin: Signal<boolean>;
|
14
|
+
availableDashboards: Signal<AXMDashboardLayout[]>;
|
15
|
+
currentLayoutOptions: Signal<AXGridLayoutOptions>;
|
16
|
+
canConfigureWidget: Signal<(widget: AXMDashboardWidgetData) => any>;
|
17
|
+
isWidgetLocked: Signal<(widget: AXMDashboardWidgetData) => any>;
|
18
|
+
setCurrentDashboard: (dashboardId: string) => void;
|
19
|
+
addDashboard: () => Promise<void>;
|
20
|
+
editDashboard: () => Promise<void>;
|
21
|
+
addWidget: () => Promise<void>;
|
22
|
+
removeDashboard: (id: string) => Promise<void>;
|
23
|
+
removeWidget: (dashboardId: string, widgetId: string) => Promise<void>;
|
24
|
+
handleConfigChange: (dashboard: AXMDashboardLayout) => Promise<void>;
|
25
|
+
onGridChange: (event: AXGridLayoutEvent) => Promise<void>;
|
26
|
+
handlePopupConfiguration: (widgetNode: AXPWidgetNode) => Promise<void>;
|
27
|
+
handleValueChanged: (widgetNode: AXPWidgetNode, data: unknown) => Promise<void>;
|
28
|
+
handleOptionsChanged: (widgetNode: AXPWidgetNode, data: unknown) => Promise<void>;
|
29
|
+
setIsAdmin: (isAdmin: boolean) => void;
|
30
|
+
filterDashboardsByScope: (isAdmin: boolean) => void;
|
31
|
+
toggleLockDashboard: () => Promise<void>;
|
32
|
+
isDashboardLocked: () => boolean;
|
33
|
+
} & import("@ngrx/signals").StateSource<{
|
34
|
+
dashboards: AXMDashboardLayout[];
|
35
|
+
allDashboards: AXMDashboardLayout[];
|
36
|
+
currentDashboardId: string | null;
|
37
|
+
isAdmin: boolean;
|
38
|
+
dashboardsOption: AXGridLayoutOptions;
|
39
|
+
isLoading: boolean;
|
40
|
+
}>>;
|
package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts
CHANGED
@@ -4,18 +4,18 @@ import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AXMAddDashboardPopup extends AXBasePageComponent implements OnInit {
|
5
5
|
protected readonly scope: string;
|
6
6
|
private readonly data;
|
7
|
-
protected isAdmin: boolean;
|
8
7
|
private readonly roleService;
|
9
8
|
private readonly sessionService;
|
10
|
-
protected
|
11
|
-
protected
|
12
|
-
protected
|
13
|
-
protected
|
14
|
-
protected
|
9
|
+
protected title: import("@angular/core").ModelSignal<string>;
|
10
|
+
protected description: import("@angular/core").ModelSignal<string>;
|
11
|
+
protected selectedRoleIds: import("@angular/core").ModelSignal<string[]>;
|
12
|
+
protected isDisabled: import("@angular/core").ModelSignal<boolean>;
|
13
|
+
protected isLocked: import("@angular/core").ModelSignal<boolean>;
|
14
|
+
protected isAdmin: import("@angular/core").ModelSignal<boolean>;
|
15
15
|
protected roles: any[];
|
16
16
|
protected get isValid(): boolean;
|
17
17
|
ngOnInit(): Promise<void>;
|
18
18
|
protected handleClose(isCanceled?: boolean): Promise<void>;
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAddDashboardPopup, never>;
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "selectedRoleIds": { "alias": "selectedRoleIds"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; "selectedRoleIds": "selectedRoleIdsChange"; "isDisabled": "isDisabledChange"; "isLocked": "isLockedChange"; }, never, never, true, never>;
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "selectedRoleIds": { "alias": "selectedRoleIds"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isLocked": { "alias": "isLocked"; "required": false; "isSignal": true; }; "isAdmin": { "alias": "isAdmin"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; "selectedRoleIds": "selectedRoleIdsChange"; "isDisabled": "isDisabledChange"; "isLocked": "isLockedChange"; "isAdmin": "isAdminChange"; }, never, never, true, never>;
|
21
21
|
}
|
package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AXBarChartData, AXBarChartOption } from '@acorex/charts/bar-chart';
|
2
2
|
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
3
|
import { Signal } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
@@ -7,10 +7,11 @@ import * as i0 from "@angular/core";
|
|
7
7
|
* Renders data as vertical bars with interactive hover effects and animations
|
8
8
|
*/
|
9
9
|
export declare class AXPBarChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
|
-
barChartData: Signal<
|
11
|
-
barChartOptions: Signal<
|
10
|
+
barChartData: Signal<AXBarChartData[]>;
|
11
|
+
barChartOptions: Signal<AXBarChartOption & {
|
12
12
|
title: string;
|
13
13
|
}>;
|
14
|
+
constructor();
|
14
15
|
handleBarClick(event: any): void;
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPBarChartWidgetViewComponent, never>;
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPBarChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AXDonutChartData, AXDonutChartOption } from '@acorex/charts/donut-chart';
|
2
2
|
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
3
|
import { Signal } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
@@ -7,10 +7,11 @@ import * as i0 from "@angular/core";
|
|
7
7
|
* Displays data in a circular donut chart with interactive segments
|
8
8
|
*/
|
9
9
|
export declare class AXPDonutChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
|
-
donutChartData: Signal<
|
11
|
-
donutChartOptions: Signal<
|
10
|
+
donutChartData: Signal<AXDonutChartData[]>;
|
11
|
+
donutChartOptions: Signal<AXDonutChartOption & {
|
12
12
|
title: string;
|
13
13
|
}>;
|
14
|
+
constructor();
|
14
15
|
handleDonutChartSegmentClick(event: any): void;
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDonutChartWidgetViewComponent, never>;
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDonutChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AXGaugeChartOption } from '@acorex/charts/gauge-chart';
|
2
2
|
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
3
|
import { Signal } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
@@ -8,9 +8,10 @@ import * as i0 from "@angular/core";
|
|
8
8
|
*/
|
9
9
|
export declare class AXPGaugeChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
10
|
gaugeChartValue: Signal<number>;
|
11
|
-
gaugeChartOptions: Signal<
|
11
|
+
gaugeChartOptions: Signal<AXGaugeChartOption & {
|
12
12
|
title: string;
|
13
13
|
}>;
|
14
|
+
constructor();
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPGaugeChartWidgetViewComponent, never>;
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPGaugeChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
16
17
|
}
|
package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts
CHANGED
@@ -11,6 +11,7 @@ export declare class AXPLineChartWidgetViewComponent extends AXPValueWidgetCompo
|
|
11
11
|
lineChartOptions: Signal<AXLineChartOption & {
|
12
12
|
title: string;
|
13
13
|
}>;
|
14
|
+
constructor();
|
14
15
|
handleLineChartPointClick(event: AXLineChartPointClickEvent): void;
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLineChartWidgetViewComponent, never>;
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLineChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|