@acorex/modules 19.3.1 → 19.3.2
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/common/lib/common.module.d.ts +2 -1
- package/dashboard-management/lib/entities/dashboard/dashboard.types.d.ts +2 -2
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +7 -7
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +6 -6
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/configuration-popup.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/dashboard-popup.service.d.ts +5 -5
- package/dashboard-management/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +4 -3
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts +9 -64
- package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar-widget.component.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart-widget.component.d.ts +9 -50
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart-widget.component.d.ts +8 -67
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/index.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/index.d.ts +0 -2
- package/dashboard-management/lib/features/shared/widgets/line-chart/index.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts +9 -68
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs → acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs} +23 -83
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs +65 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs → acorex-modules-auth-login.module-D-XgzifC.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs.map → acorex-modules-auth-login.module-D-XgzifC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs → acorex-modules-auth-master.layout-ZaCb3CED.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs.map → acorex-modules-auth-master.layout-ZaCb3CED.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs → acorex-modules-auth-password.component-C-xRIhrM.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs.map → acorex-modules-auth-password.component-C-xRIhrM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs → acorex-modules-auth-password.component-CLTZoufP.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs.map → acorex-modules-auth-password.component-CLTZoufP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs → acorex-modules-auth-routes-4T5jq7su.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs.map → acorex-modules-auth-routes-4T5jq7su.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs +98 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs → acorex-modules-auth-two-factor.module-D72KIpvA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs.map → acorex-modules-auth-two-factor.module-D72KIpvA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs.map → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +3 -5
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-CReOsVhq.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs} +846 -2174
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-home-dashboard-CHXDeuSF.mjs → acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs} +49 -48
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Q47ZZSSE.mjs → acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs} +42 -42
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Q47ZZSSE.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-Dns1Wrkd.mjs → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-Dns1Wrkd.mjs.map → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +621 -52
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DIsYLKbA.mjs → acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs} +6 -6
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D83yTFAm.mjs → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D83yTFAm.mjs.map → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DKkXCwrd.mjs → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DKkXCwrd.mjs.map → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +218 -155
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +472 -787
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +5574 -0
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -0
- package/notification-management/index.d.ts +1 -0
- package/notification-management/lib/entities/notification/notification.service.d.ts +6 -6
- package/notification-management/lib/features/components/admin-notification-panel/admin-notification-panel.component.d.ts +13 -7
- package/{dashboard-management/lib/features/shared/widgets/notification → notification-management/lib/features/dashboard/widgets/my-notification}/index.d.ts +0 -1
- package/{dashboard-management/lib/features/shared/widgets/notification → notification-management/lib/features/dashboard/widgets/my-notification}/notification-widget.component.d.ts +37 -9
- package/notification-management/lib/features/dashboard/widgets/my-notification/notification-widget.config.d.ts +5 -0
- package/notification-management/lib/features/shared/notification-connector.service.d.ts +57 -0
- package/notification-management/lib/notification-management.module.d.ts +2 -1
- package/notification-management/lib/notification-management.type.d.ts +3 -0
- package/package.json +5 -1
- package/security-management/lib/entities/index.d.ts +1 -2
- package/security-management/lib/entities/profile/index.d.ts +0 -1
- package/security-management/lib/entities/users/users.service.d.ts +2 -2
- package/security-management/lib/entities/users/users.types.d.ts +2 -2
- package/security-management/lib/user-avatar.provider.d.ts +5 -0
- package/training-management/README.md +3 -0
- package/training-management/index.d.ts +7 -0
- package/training-management/lib/const.d.ts +85 -0
- package/training-management/lib/entities/certificate/certificate.entity.d.ts +3 -0
- package/training-management/lib/entities/certificate/certificate.service.d.ts +10 -0
- package/training-management/lib/entities/certificate/certificate.types.d.ts +12 -0
- package/training-management/lib/entities/certificate/index.d.ts +3 -0
- package/training-management/lib/entities/course/course.entity.d.ts +3 -0
- package/training-management/lib/entities/course/course.service.d.ts +10 -0
- package/training-management/lib/entities/course/course.types.d.ts +8 -0
- package/training-management/lib/entities/course/index.d.ts +3 -0
- package/training-management/lib/entities/course-location/course-location.entity.d.ts +3 -0
- package/training-management/lib/entities/course-location/course-location.service.d.ts +10 -0
- package/training-management/lib/entities/course-location/course-location.types.d.ts +6 -0
- package/training-management/lib/entities/course-location/index.d.ts +3 -0
- package/training-management/lib/entities/course-period/course-period.entity.d.ts +3 -0
- package/training-management/lib/entities/course-period/course-period.service.d.ts +10 -0
- package/training-management/lib/entities/course-period/course-period.types.d.ts +6 -0
- package/training-management/lib/entities/course-period/index.d.ts +3 -0
- package/training-management/lib/entities/course-type/course-type.entity.d.ts +3 -0
- package/training-management/lib/entities/course-type/course-type.service.d.ts +10 -0
- package/training-management/lib/entities/course-type/course-type.types.d.ts +5 -0
- package/training-management/lib/entities/course-type/index.d.ts +3 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.entity.d.ts +3 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.service.d.ts +10 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.types.d.ts +6 -0
- package/training-management/lib/entities/facilitator-type/index.d.ts +3 -0
- package/training-management/lib/entities/index.d.ts +12 -0
- package/training-management/lib/entities/location/index.d.ts +3 -0
- package/training-management/lib/entities/location/location.entity.d.ts +3 -0
- package/training-management/lib/entities/location/location.service.d.ts +10 -0
- package/training-management/lib/entities/location/location.types.d.ts +7 -0
- package/training-management/lib/entities/period/index.d.ts +3 -0
- package/training-management/lib/entities/period/period.entity.d.ts +3 -0
- package/training-management/lib/entities/period/period.service.d.ts +10 -0
- package/training-management/lib/entities/period/period.types.d.ts +6 -0
- package/training-management/lib/entities/training/index.d.ts +3 -0
- package/training-management/lib/entities/training/training.entity.d.ts +3 -0
- package/training-management/lib/entities/training/training.service.d.ts +10 -0
- package/training-management/lib/entities/training/training.types.d.ts +13 -0
- package/training-management/lib/entities/training-facilitator/index.d.ts +3 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.entity.d.ts +3 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.service.d.ts +10 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.types.d.ts +7 -0
- package/training-management/lib/entities/training-participant/index.d.ts +3 -0
- package/training-management/lib/entities/training-participant/training-participant.entity.d.ts +3 -0
- package/training-management/lib/entities/training-participant/training-participant.service.d.ts +10 -0
- package/training-management/lib/entities/training-participant/training-participant.types.d.ts +7 -0
- package/training-management/lib/entities/training-type/index.d.ts +3 -0
- package/training-management/lib/entities/training-type/training-type.entity.d.ts +3 -0
- package/training-management/lib/entities/training-type/training-type.service.d.ts +10 -0
- package/training-management/lib/entities/training-type/training-type.types.d.ts +7 -0
- package/training-management/lib/entity.provider.d.ts +10 -0
- package/training-management/lib/menu.provider.d.ts +5 -0
- package/training-management/lib/permission-definition.provider.d.ts +4 -0
- package/training-management/lib/search-command.provider.d.ts +4 -0
- package/training-management/lib/setting.provider.d.ts +4 -0
- package/training-management/lib/training-management.module.d.ts +6 -0
- package/auth/lib/pages/account/avatar/avatar.component.d.ts +0 -20
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart.type.d.ts +0 -34
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart.type.d.ts +0 -67
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart.type.d.ts +0 -29
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart.type.d.ts +0 -41
- package/dashboard-management/lib/features/shared/widgets/notification/notification-widget.config.d.ts +0 -10
- package/dashboard-management/lib/features/shared/widgets/notification/notification.type.d.ts +0 -47
- package/dashboard-management/lib/features/shared/widgets/shared/chart-base.component.d.ts +0 -44
- package/dashboard-management/lib/features/shared/widgets/shared/chart-base.type.d.ts +0 -37
- package/dashboard-management/lib/features/shared/widgets/shared/components/chart-tooltip/chart-tooltip.component.d.ts +0 -28
- package/dashboard-management/lib/features/shared/widgets/shared/components/chart-tooltip/index.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/shared/index.d.ts +0 -3
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs +0 -64
- package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs +0 -97
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-CReOsVhq.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-CHXDeuSF.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DIsYLKbA.mjs.map +0 -1
- package/security-management/lib/entities/profile/profile.service.d.ts +0 -13
@@ -7,3 +7,4 @@ export * from './lib/settings.provider';
|
|
7
7
|
export * from './lib/entities/my-notification';
|
8
8
|
export * from './lib/entities/notification-log.entity';
|
9
9
|
export * from './lib/entities/notification/notification.entity';
|
10
|
+
export * from './lib/features/dashboard/widgets/my-notification';
|
@@ -3,14 +3,14 @@ import { AXMNotificationItem, AXMNotificationMarkAsReadRequest, AXMNotificationR
|
|
3
3
|
import { AXMNotificationManagementNotificationEntityModel } from './notification.types';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare abstract class AXMNotificationEntityService extends AXMEntityCrudServiceImpl<string, AXMNotificationManagementNotificationEntityModel> {
|
6
|
-
abstract getList(): AXMNotificationResponse
|
7
|
-
abstract markAsRead(payload?: AXMNotificationMarkAsReadRequest): void
|
8
|
-
abstract create(payload?: AXMNotificationItem): void
|
6
|
+
abstract getList(): Promise<AXMNotificationResponse>;
|
7
|
+
abstract markAsRead(payload?: AXMNotificationMarkAsReadRequest): Promise<void>;
|
8
|
+
abstract create(payload?: AXMNotificationItem): Promise<void>;
|
9
9
|
}
|
10
10
|
export declare class AXMNotificationEntityServiceImpl extends AXMNotificationEntityService {
|
11
|
-
getList(): AXMNotificationResponse
|
12
|
-
markAsRead(payload?: AXMNotificationMarkAsReadRequest): void
|
13
|
-
create(payload?: AXMNotificationItem): void
|
11
|
+
getList(): Promise<AXMNotificationResponse>;
|
12
|
+
markAsRead(payload?: AXMNotificationMarkAsReadRequest): Promise<void>;
|
13
|
+
create(payload?: AXMNotificationItem): Promise<void>;
|
14
14
|
constructor();
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationEntityServiceImpl, never>;
|
16
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMNotificationEntityServiceImpl>;
|
@@ -3,14 +3,16 @@ import { AXMNotificationCategory, AXMNotificationItem } from '../../../notificat
|
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXMAdminNotificationPanelComponent implements OnInit {
|
5
5
|
onNewNotfication: import("@angular/core").OutputEmitterRef<number>;
|
6
|
-
private
|
6
|
+
private notificationConnector;
|
7
7
|
private toastService;
|
8
8
|
private router;
|
9
9
|
private sessionService;
|
10
|
-
notifications: import("@angular/core").
|
11
|
-
totalNotifications: import("@angular/core").
|
12
|
-
|
10
|
+
protected readonly notifications: import("@angular/core").Signal<AXMNotificationItem[]>;
|
11
|
+
protected readonly totalNotifications: import("@angular/core").Signal<number>;
|
12
|
+
protected readonly isLoading: import("@angular/core").Signal<boolean>;
|
13
|
+
protected readonly errorMessage: import("@angular/core").Signal<string | null>;
|
13
14
|
activeTab: import("@angular/core").WritableSignal<AXMTabDataText>;
|
15
|
+
tabItems: import("@angular/core").Signal<AXTabData[]>;
|
14
16
|
changeActiveTab(tab: AXMTabDataText): void;
|
15
17
|
NewNotification: import("@angular/core").Signal<number>;
|
16
18
|
NewNotificationEffect: import("@angular/core").EffectRef;
|
@@ -18,11 +20,15 @@ export declare class AXMAdminNotificationPanelComponent implements OnInit {
|
|
18
20
|
private loadNotification;
|
19
21
|
private getTabItems;
|
20
22
|
private getNewNotification;
|
21
|
-
protected getNotificationItems(category: AXMTabDataText): AXMNotificationItem[]
|
23
|
+
protected getNotificationItems(category: AXMTabDataText): AXMNotificationItem[];
|
24
|
+
/**
|
25
|
+
* Mark a notification as read or unread (toggle read status)
|
26
|
+
*/
|
22
27
|
protected markAsRead(id: string): Promise<void>;
|
23
|
-
|
28
|
+
/**
|
29
|
+
* Mark all unread notifications as read
|
30
|
+
*/
|
24
31
|
protected markAllAsRead(): Promise<void>;
|
25
|
-
private toggleMarkAllAsRead;
|
26
32
|
protected viewAllNotifications(): void;
|
27
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAdminNotificationPanelComponent, never>;
|
28
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAdminNotificationPanelComponent, "axm-admin-notification-panel", never, {}, { "onNewNotfication": "onNewNotfication"; }, never, never, true, never>;
|
@@ -1,34 +1,62 @@
|
|
1
1
|
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
2
2
|
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
|
-
import {
|
3
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
4
|
+
import { AXMNotificationItem } from '../../../../notification-management.type';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
/**
|
6
7
|
* Notification Widget Component
|
7
8
|
* Displays notifications in a card with tabs
|
8
9
|
*/
|
9
|
-
export declare class AXPNotificationWidgetViewComponent extends AXPValueWidgetComponent<
|
10
|
-
notificationClick: import("@angular/core").OutputEmitterRef<
|
11
|
-
markAsRead: import("@angular/core").OutputEmitterRef<
|
10
|
+
export declare class AXPNotificationWidgetViewComponent extends AXPValueWidgetComponent<any> implements OnInit, OnDestroy {
|
11
|
+
notificationClick: import("@angular/core").OutputEmitterRef<AXMNotificationItem>;
|
12
|
+
markAsRead: import("@angular/core").OutputEmitterRef<AXMNotificationItem>;
|
12
13
|
private readonly cdr;
|
13
14
|
private readonly datePipe;
|
14
|
-
|
15
|
+
private readonly notificationConnector;
|
16
|
+
private readonly toastService;
|
17
|
+
protected activeTab: import("@angular/core").WritableSignal<"all" | "new">;
|
18
|
+
private refreshTimerId;
|
15
19
|
protected readonly maxItems: import("@angular/core").Signal<any>;
|
16
20
|
protected readonly showAvatar: import("@angular/core").Signal<any>;
|
17
21
|
protected readonly showDate: import("@angular/core").Signal<any>;
|
18
|
-
protected readonly
|
22
|
+
protected readonly autoRefresh: import("@angular/core").Signal<any>;
|
23
|
+
protected readonly refreshInterval: import("@angular/core").Signal<number>;
|
24
|
+
protected readonly notifications: import("@angular/core").Signal<AXMNotificationItem[]>;
|
25
|
+
protected readonly totalNotifications: import("@angular/core").Signal<number>;
|
26
|
+
protected readonly isLoading: import("@angular/core").Signal<boolean>;
|
27
|
+
protected readonly notificationItems: import("@angular/core").Signal<AXMNotificationItem[]>;
|
28
|
+
constructor();
|
29
|
+
ngOnInit(): void;
|
30
|
+
ngOnDestroy(): void;
|
31
|
+
/**
|
32
|
+
* Set up auto-refresh timer based on configuration
|
33
|
+
*/
|
34
|
+
private setupAutoRefresh;
|
35
|
+
/**
|
36
|
+
* Clear the refresh timer if it exists
|
37
|
+
*/
|
38
|
+
private clearRefreshTimer;
|
39
|
+
/**
|
40
|
+
* Load notifications data from service
|
41
|
+
*/
|
42
|
+
private loadNotifications;
|
43
|
+
/**
|
44
|
+
* Manually refresh notifications
|
45
|
+
*/
|
46
|
+
protected refreshNotifications(): void;
|
19
47
|
/**
|
20
48
|
* Get the count of new messages for the badge
|
21
49
|
*/
|
22
50
|
protected getNewMessageCount(): number;
|
23
51
|
/**
|
24
52
|
* Handle tab change event from ax-tabs component
|
25
|
-
* @param
|
53
|
+
* @param data The tab change event data
|
26
54
|
*/
|
27
55
|
protected handleTabChange(data: AXTabStripChangedEvent): void;
|
28
56
|
/**
|
29
57
|
* Mark all notifications as read
|
30
58
|
*/
|
31
|
-
protected markAllAsRead(): void
|
59
|
+
protected markAllAsRead(): Promise<void>;
|
32
60
|
/**
|
33
61
|
* Change the active tab
|
34
62
|
*/
|
@@ -36,7 +64,7 @@ export declare class AXPNotificationWidgetViewComponent extends AXPValueWidgetCo
|
|
36
64
|
/**
|
37
65
|
* Handle notification click event
|
38
66
|
*/
|
39
|
-
protected onNotificationClick(notification:
|
67
|
+
protected onNotificationClick(notification: AXMNotificationItem): void;
|
40
68
|
/**
|
41
69
|
* Format the timestamp in a user-friendly way
|
42
70
|
*/
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { AXPPagedListResult, AXPQueryRequest } from '@acorex/platform/core';
|
2
|
+
import { AXMNotificationManagementNotificationEntityModel } from '../../entities/notification/notification.types';
|
3
|
+
import { AXMNotificationItem, AXMNotificationMarkAsReadRequest, AXMNotificationResponse } from '../../notification-management.type';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Signal store that provides a reactive interface for notification-related operations
|
7
|
+
* Acts as a layer between notification components and the entity service
|
8
|
+
*/
|
9
|
+
export declare class AXMNotificationConnectorService {
|
10
|
+
private readonly notificationService;
|
11
|
+
private readonly isLoading;
|
12
|
+
private readonly error;
|
13
|
+
private readonly notifications;
|
14
|
+
private readonly totalCount;
|
15
|
+
readonly loading: import("@angular/core").Signal<boolean>;
|
16
|
+
readonly errorMessage: import("@angular/core").Signal<string | null>;
|
17
|
+
readonly notificationList: import("@angular/core").Signal<AXMNotificationItem[]>;
|
18
|
+
readonly total: import("@angular/core").Signal<number>;
|
19
|
+
readonly unreadCount: import("@angular/core").Signal<number>;
|
20
|
+
constructor();
|
21
|
+
/**
|
22
|
+
* Get list of notifications
|
23
|
+
*/
|
24
|
+
getList(): Promise<AXMNotificationResponse>;
|
25
|
+
/**
|
26
|
+
* Mark notifications as read or toggle read status
|
27
|
+
* If no specific IDs are provided, mark all as read
|
28
|
+
* If specific IDs are provided, toggle their read status (mark as read if unread, mark as unread if read)
|
29
|
+
*/
|
30
|
+
markAsRead(payload?: AXMNotificationMarkAsReadRequest): Promise<void>;
|
31
|
+
/**
|
32
|
+
* Create a new notification
|
33
|
+
*/
|
34
|
+
create(payload?: AXMNotificationItem): Promise<void>;
|
35
|
+
/**
|
36
|
+
* Insert one notification
|
37
|
+
*/
|
38
|
+
insertOne(request: Omit<AXMNotificationManagementNotificationEntityModel, 'id'>): Promise<string>;
|
39
|
+
/**
|
40
|
+
* Get one notification by id
|
41
|
+
*/
|
42
|
+
getOne(id: string): Promise<AXMNotificationManagementNotificationEntityModel>;
|
43
|
+
/**
|
44
|
+
* Delete one notification
|
45
|
+
*/
|
46
|
+
deleteOne(id: string): Promise<void>;
|
47
|
+
/**
|
48
|
+
* Update one notification
|
49
|
+
*/
|
50
|
+
updateOne(id: string, values: Partial<AXMNotificationManagementNotificationEntityModel>): Promise<AXMNotificationManagementNotificationEntityModel>;
|
51
|
+
/**
|
52
|
+
* Query notifications
|
53
|
+
*/
|
54
|
+
query(request?: AXPQueryRequest): Promise<AXPPagedListResult<AXMNotificationManagementNotificationEntityModel>>;
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationConnectorService, never>;
|
56
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMNotificationConnectorService>;
|
57
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "@acorex/platform/common";
|
3
|
+
import * as i2 from "@acorex/platform/layout/builder";
|
3
4
|
export declare class AXMNotificationManagementModule {
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMNotificationManagementModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMNotificationManagementModule, never, [typeof i1.AXPComponentSlotModule], never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMNotificationManagementModule, never, [typeof i1.AXPComponentSlotModule, typeof i2.AXPLayoutBuilderModule], never>;
|
6
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMNotificationManagementModule>;
|
7
8
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/modules",
|
3
|
-
"version": "19.3.
|
3
|
+
"version": "19.3.2",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=19.0.0",
|
6
6
|
"@angular/core": ">=19.0.0",
|
@@ -83,6 +83,10 @@
|
|
83
83
|
"./text-template-management": {
|
84
84
|
"types": "./text-template-management/index.d.ts",
|
85
85
|
"default": "./fesm2022/acorex-modules-text-template-management.mjs"
|
86
|
+
},
|
87
|
+
"./training-management": {
|
88
|
+
"types": "./training-management/index.d.ts",
|
89
|
+
"default": "./fesm2022/acorex-modules-training-management.mjs"
|
86
90
|
}
|
87
91
|
}
|
88
92
|
}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
export * from './
|
1
|
+
export * from './device-sessions';
|
2
2
|
export * from './roles/roles.service';
|
3
3
|
export * from './roles/roles.types';
|
4
4
|
export * from './users/users.service';
|
5
|
-
export * from './device-sessions';
|
6
5
|
export * from './users/users.types';
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
2
|
import { AXMSecurityManagementUsersEntityModel } from './users.types';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare abstract class
|
4
|
+
export declare abstract class AXMUsersEntityService extends AXMEntityCrudServiceImpl<string, AXMSecurityManagementUsersEntityModel> {
|
5
5
|
}
|
6
|
-
export declare class AXMUsersEntityServiceImpl extends
|
6
|
+
export declare class AXMUsersEntityServiceImpl extends AXMUsersEntityService {
|
7
7
|
constructor();
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMUsersEntityServiceImpl, never>;
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXMUsersEntityServiceImpl>;
|
@@ -2,8 +2,8 @@ import { AXPEntityModel } from '@acorex/platform/layout/entity';
|
|
2
2
|
export interface AXMSecurityManagementUsersEntityModel extends AXPEntityModel<string> {
|
3
3
|
id: string;
|
4
4
|
username: string;
|
5
|
-
|
6
|
-
|
5
|
+
firstName: string;
|
6
|
+
lastName: string;
|
7
7
|
nationalCode: string;
|
8
8
|
password: string;
|
9
9
|
mobile: string;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export * from './lib/training-management.module';
|
2
|
+
export * from './lib/const';
|
3
|
+
export * from './lib/entity.provider';
|
4
|
+
export * from './lib/menu.provider';
|
5
|
+
export * from './lib/search-command.provider';
|
6
|
+
export * from './lib/setting.provider';
|
7
|
+
export * from './lib/entities';
|
@@ -0,0 +1,85 @@
|
|
1
|
+
export declare const RootConfig: {
|
2
|
+
config: {
|
3
|
+
i18n: string;
|
4
|
+
};
|
5
|
+
module: {
|
6
|
+
module: string;
|
7
|
+
name: string;
|
8
|
+
title: string;
|
9
|
+
icon: string;
|
10
|
+
};
|
11
|
+
entities: {
|
12
|
+
location: {
|
13
|
+
name: string;
|
14
|
+
title: string;
|
15
|
+
titlePlural: string;
|
16
|
+
icon: string;
|
17
|
+
};
|
18
|
+
courseLocation: {
|
19
|
+
name: string;
|
20
|
+
title: string;
|
21
|
+
titlePlural: string;
|
22
|
+
icon: string;
|
23
|
+
};
|
24
|
+
coursePeriod: {
|
25
|
+
name: string;
|
26
|
+
title: string;
|
27
|
+
titlePlural: string;
|
28
|
+
icon: string;
|
29
|
+
};
|
30
|
+
period: {
|
31
|
+
name: string;
|
32
|
+
title: string;
|
33
|
+
titlePlural: string;
|
34
|
+
icon: string;
|
35
|
+
};
|
36
|
+
trainingParticipant: {
|
37
|
+
name: string;
|
38
|
+
title: string;
|
39
|
+
titlePlural: string;
|
40
|
+
icon: string;
|
41
|
+
};
|
42
|
+
facilitatorType: {
|
43
|
+
name: string;
|
44
|
+
title: string;
|
45
|
+
titlePlural: string;
|
46
|
+
icon: string;
|
47
|
+
};
|
48
|
+
trainingFacilitator: {
|
49
|
+
name: string;
|
50
|
+
title: string;
|
51
|
+
titlePlural: string;
|
52
|
+
icon: string;
|
53
|
+
};
|
54
|
+
trainingType: {
|
55
|
+
name: string;
|
56
|
+
title: string;
|
57
|
+
titlePlural: string;
|
58
|
+
icon: string;
|
59
|
+
};
|
60
|
+
certificate: {
|
61
|
+
name: string;
|
62
|
+
title: string;
|
63
|
+
titlePlural: string;
|
64
|
+
icon: string;
|
65
|
+
};
|
66
|
+
training: {
|
67
|
+
name: string;
|
68
|
+
title: string;
|
69
|
+
titlePlural: string;
|
70
|
+
icon: string;
|
71
|
+
};
|
72
|
+
courseType: {
|
73
|
+
name: string;
|
74
|
+
title: string;
|
75
|
+
titlePlural: string;
|
76
|
+
icon: string;
|
77
|
+
};
|
78
|
+
course: {
|
79
|
+
name: string;
|
80
|
+
title: string;
|
81
|
+
titlePlural: string;
|
82
|
+
icon: string;
|
83
|
+
};
|
84
|
+
};
|
85
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementCertificateEntityModel } from './certificate.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMCertificateService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementCertificateEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMCertificateServiceImpl extends AXMCertificateService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCertificateServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCertificateServiceImpl>;
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { AXPEntityModel } from '@acorex/platform/layout/entity';
|
2
|
+
export interface AXMTrainingManagementCertificateEntityModel extends AXPEntityModel<string> {
|
3
|
+
title: string;
|
4
|
+
description: string;
|
5
|
+
issueDate: Date;
|
6
|
+
expireDate: Date;
|
7
|
+
certificateNumber: string;
|
8
|
+
grade: string;
|
9
|
+
score: number;
|
10
|
+
status: string;
|
11
|
+
trainingTypeId: any;
|
12
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementCourseEntityModel } from './course.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMCourseService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementCourseEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMCourseServiceImpl extends AXMCourseService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCourseServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCourseServiceImpl>;
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementCourseLocationEntityModel } from './course-location.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMCourseLocationService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementCourseLocationEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMCourseLocationServiceImpl extends AXMCourseLocationService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCourseLocationServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCourseLocationServiceImpl>;
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementCoursePeriodEntityModel } from './course-period.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMCoursePeriodService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementCoursePeriodEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMCoursePeriodServiceImpl extends AXMCoursePeriodService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCoursePeriodServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCoursePeriodServiceImpl>;
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementCourseTypeEntityModel } from './course-type.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMCourseTypeService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementCourseTypeEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMCourseTypeServiceImpl extends AXMCourseTypeService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCourseTypeServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCourseTypeServiceImpl>;
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementFacilitatorTypeEntityModel } from './facilitator-type.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMFacilitatorTypeService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementFacilitatorTypeEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMFacilitatorTypeServiceImpl extends AXMFacilitatorTypeService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMFacilitatorTypeServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMFacilitatorTypeServiceImpl>;
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export * from './course';
|
2
|
+
export * from './course-type';
|
3
|
+
export * from './training';
|
4
|
+
export * from './certificate';
|
5
|
+
export * from './training-type';
|
6
|
+
export * from './training-facilitator';
|
7
|
+
export * from './facilitator-type';
|
8
|
+
export * from './training-participant';
|
9
|
+
export * from './period';
|
10
|
+
export * from './course-period';
|
11
|
+
export * from './course-location';
|
12
|
+
export * from './location';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
|
2
|
+
import { AXMTrainingManagementLocationEntityModel } from './location.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class AXMLocationService extends AXMEntityCrudServiceImpl<string, AXMTrainingManagementLocationEntityModel> {
|
5
|
+
}
|
6
|
+
export declare class AXMLocationServiceImpl extends AXMLocationService {
|
7
|
+
constructor();
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMLocationServiceImpl, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMLocationServiceImpl>;
|
10
|
+
}
|