@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.
Files changed (159) hide show
  1. package/common/lib/common.module.d.ts +2 -1
  2. package/dashboard-management/lib/entities/dashboard/dashboard.types.d.ts +2 -2
  3. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +7 -7
  4. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +6 -6
  5. package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +3 -3
  6. package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts +3 -3
  7. package/dashboard-management/lib/features/home-dashboard/dashboard-popups/configuration-popup.d.ts +3 -3
  8. package/dashboard-management/lib/features/home-dashboard/dashboard-popups/dashboard-popup.service.d.ts +5 -5
  9. package/dashboard-management/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +4 -3
  10. package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts +9 -64
  11. package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar-widget.component.d.ts +0 -1
  12. package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart-widget.component.d.ts +9 -50
  13. package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart-widget.component.d.ts +8 -67
  14. package/dashboard-management/lib/features/shared/widgets/gauge-chart/index.d.ts +0 -1
  15. package/dashboard-management/lib/features/shared/widgets/index.d.ts +0 -2
  16. package/dashboard-management/lib/features/shared/widgets/line-chart/index.d.ts +0 -1
  17. package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts +9 -68
  18. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs → acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs} +23 -83
  19. package/fesm2022/acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs.map +1 -0
  20. package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs +65 -0
  21. package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs.map +1 -0
  22. package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs → acorex-modules-auth-login.module-D-XgzifC.mjs} +4 -4
  23. package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs.map → acorex-modules-auth-login.module-D-XgzifC.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs → acorex-modules-auth-master.layout-ZaCb3CED.mjs} +2 -2
  25. package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs.map → acorex-modules-auth-master.layout-ZaCb3CED.mjs.map} +1 -1
  26. package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs → acorex-modules-auth-password.component-C-xRIhrM.mjs} +2 -2
  27. package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs.map → acorex-modules-auth-password.component-C-xRIhrM.mjs.map} +1 -1
  28. package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs → acorex-modules-auth-password.component-CLTZoufP.mjs} +2 -2
  29. package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs.map → acorex-modules-auth-password.component-CLTZoufP.mjs.map} +1 -1
  30. package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs → acorex-modules-auth-routes-4T5jq7su.mjs} +2 -2
  31. package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs.map → acorex-modules-auth-routes-4T5jq7su.mjs.map} +1 -1
  32. package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs +98 -0
  33. package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs.map +1 -0
  34. package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs → acorex-modules-auth-two-factor.module-D72KIpvA.mjs} +2 -2
  35. package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs.map → acorex-modules-auth-two-factor.module-D72KIpvA.mjs.map} +1 -1
  36. package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs} +2 -2
  37. package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs.map → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs.map} +1 -1
  38. package/fesm2022/acorex-modules-auth.mjs +1 -1
  39. package/fesm2022/acorex-modules-common.mjs +3 -5
  40. package/fesm2022/acorex-modules-common.mjs.map +1 -1
  41. package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-CReOsVhq.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs} +846 -2174
  42. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs.map +1 -0
  43. package/fesm2022/{acorex-modules-dashboard-management-home-dashboard-CHXDeuSF.mjs → acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs} +49 -48
  44. package/fesm2022/acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs.map +1 -0
  45. package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
  46. package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Q47ZZSSE.mjs → acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs} +42 -42
  47. 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
  48. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-Dns1Wrkd.mjs → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs} +2 -2
  49. package/fesm2022/{acorex-modules-issue-management-capture-screen.component-Dns1Wrkd.mjs.map → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs.map} +1 -1
  50. package/fesm2022/acorex-modules-issue-management.mjs +1 -1
  51. package/fesm2022/acorex-modules-notification-management.mjs +621 -52
  52. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  53. package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DIsYLKbA.mjs → acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs} +6 -6
  54. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs.map +1 -0
  55. package/fesm2022/{acorex-modules-platform-management-list-version.component-D83yTFAm.mjs → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs} +2 -2
  56. package/fesm2022/{acorex-modules-platform-management-list-version.component-D83yTFAm.mjs.map → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs.map} +1 -1
  57. package/fesm2022/{acorex-modules-platform-management-settings.provider-DKkXCwrd.mjs → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs} +2 -2
  58. package/fesm2022/{acorex-modules-platform-management-settings.provider-DKkXCwrd.mjs.map → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs.map} +1 -1
  59. package/fesm2022/acorex-modules-platform-management.mjs +1 -1
  60. package/fesm2022/acorex-modules-project-management.mjs +218 -155
  61. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  62. package/fesm2022/acorex-modules-security-management.mjs +472 -787
  63. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  64. package/fesm2022/acorex-modules-training-management.mjs +5574 -0
  65. package/fesm2022/acorex-modules-training-management.mjs.map +1 -0
  66. package/notification-management/index.d.ts +1 -0
  67. package/notification-management/lib/entities/notification/notification.service.d.ts +6 -6
  68. package/notification-management/lib/features/components/admin-notification-panel/admin-notification-panel.component.d.ts +13 -7
  69. package/{dashboard-management/lib/features/shared/widgets/notification → notification-management/lib/features/dashboard/widgets/my-notification}/index.d.ts +0 -1
  70. package/{dashboard-management/lib/features/shared/widgets/notification → notification-management/lib/features/dashboard/widgets/my-notification}/notification-widget.component.d.ts +37 -9
  71. package/notification-management/lib/features/dashboard/widgets/my-notification/notification-widget.config.d.ts +5 -0
  72. package/notification-management/lib/features/shared/notification-connector.service.d.ts +57 -0
  73. package/notification-management/lib/notification-management.module.d.ts +2 -1
  74. package/notification-management/lib/notification-management.type.d.ts +3 -0
  75. package/package.json +5 -1
  76. package/security-management/lib/entities/index.d.ts +1 -2
  77. package/security-management/lib/entities/profile/index.d.ts +0 -1
  78. package/security-management/lib/entities/users/users.service.d.ts +2 -2
  79. package/security-management/lib/entities/users/users.types.d.ts +2 -2
  80. package/security-management/lib/user-avatar.provider.d.ts +5 -0
  81. package/training-management/README.md +3 -0
  82. package/training-management/index.d.ts +7 -0
  83. package/training-management/lib/const.d.ts +85 -0
  84. package/training-management/lib/entities/certificate/certificate.entity.d.ts +3 -0
  85. package/training-management/lib/entities/certificate/certificate.service.d.ts +10 -0
  86. package/training-management/lib/entities/certificate/certificate.types.d.ts +12 -0
  87. package/training-management/lib/entities/certificate/index.d.ts +3 -0
  88. package/training-management/lib/entities/course/course.entity.d.ts +3 -0
  89. package/training-management/lib/entities/course/course.service.d.ts +10 -0
  90. package/training-management/lib/entities/course/course.types.d.ts +8 -0
  91. package/training-management/lib/entities/course/index.d.ts +3 -0
  92. package/training-management/lib/entities/course-location/course-location.entity.d.ts +3 -0
  93. package/training-management/lib/entities/course-location/course-location.service.d.ts +10 -0
  94. package/training-management/lib/entities/course-location/course-location.types.d.ts +6 -0
  95. package/training-management/lib/entities/course-location/index.d.ts +3 -0
  96. package/training-management/lib/entities/course-period/course-period.entity.d.ts +3 -0
  97. package/training-management/lib/entities/course-period/course-period.service.d.ts +10 -0
  98. package/training-management/lib/entities/course-period/course-period.types.d.ts +6 -0
  99. package/training-management/lib/entities/course-period/index.d.ts +3 -0
  100. package/training-management/lib/entities/course-type/course-type.entity.d.ts +3 -0
  101. package/training-management/lib/entities/course-type/course-type.service.d.ts +10 -0
  102. package/training-management/lib/entities/course-type/course-type.types.d.ts +5 -0
  103. package/training-management/lib/entities/course-type/index.d.ts +3 -0
  104. package/training-management/lib/entities/facilitator-type/facilitator-type.entity.d.ts +3 -0
  105. package/training-management/lib/entities/facilitator-type/facilitator-type.service.d.ts +10 -0
  106. package/training-management/lib/entities/facilitator-type/facilitator-type.types.d.ts +6 -0
  107. package/training-management/lib/entities/facilitator-type/index.d.ts +3 -0
  108. package/training-management/lib/entities/index.d.ts +12 -0
  109. package/training-management/lib/entities/location/index.d.ts +3 -0
  110. package/training-management/lib/entities/location/location.entity.d.ts +3 -0
  111. package/training-management/lib/entities/location/location.service.d.ts +10 -0
  112. package/training-management/lib/entities/location/location.types.d.ts +7 -0
  113. package/training-management/lib/entities/period/index.d.ts +3 -0
  114. package/training-management/lib/entities/period/period.entity.d.ts +3 -0
  115. package/training-management/lib/entities/period/period.service.d.ts +10 -0
  116. package/training-management/lib/entities/period/period.types.d.ts +6 -0
  117. package/training-management/lib/entities/training/index.d.ts +3 -0
  118. package/training-management/lib/entities/training/training.entity.d.ts +3 -0
  119. package/training-management/lib/entities/training/training.service.d.ts +10 -0
  120. package/training-management/lib/entities/training/training.types.d.ts +13 -0
  121. package/training-management/lib/entities/training-facilitator/index.d.ts +3 -0
  122. package/training-management/lib/entities/training-facilitator/training-facilitator.entity.d.ts +3 -0
  123. package/training-management/lib/entities/training-facilitator/training-facilitator.service.d.ts +10 -0
  124. package/training-management/lib/entities/training-facilitator/training-facilitator.types.d.ts +7 -0
  125. package/training-management/lib/entities/training-participant/index.d.ts +3 -0
  126. package/training-management/lib/entities/training-participant/training-participant.entity.d.ts +3 -0
  127. package/training-management/lib/entities/training-participant/training-participant.service.d.ts +10 -0
  128. package/training-management/lib/entities/training-participant/training-participant.types.d.ts +7 -0
  129. package/training-management/lib/entities/training-type/index.d.ts +3 -0
  130. package/training-management/lib/entities/training-type/training-type.entity.d.ts +3 -0
  131. package/training-management/lib/entities/training-type/training-type.service.d.ts +10 -0
  132. package/training-management/lib/entities/training-type/training-type.types.d.ts +7 -0
  133. package/training-management/lib/entity.provider.d.ts +10 -0
  134. package/training-management/lib/menu.provider.d.ts +5 -0
  135. package/training-management/lib/permission-definition.provider.d.ts +4 -0
  136. package/training-management/lib/search-command.provider.d.ts +4 -0
  137. package/training-management/lib/setting.provider.d.ts +4 -0
  138. package/training-management/lib/training-management.module.d.ts +6 -0
  139. package/auth/lib/pages/account/avatar/avatar.component.d.ts +0 -20
  140. package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart.type.d.ts +0 -34
  141. package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart.type.d.ts +0 -67
  142. package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart.type.d.ts +0 -29
  143. package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart.type.d.ts +0 -41
  144. package/dashboard-management/lib/features/shared/widgets/notification/notification-widget.config.d.ts +0 -10
  145. package/dashboard-management/lib/features/shared/widgets/notification/notification.type.d.ts +0 -47
  146. package/dashboard-management/lib/features/shared/widgets/shared/chart-base.component.d.ts +0 -44
  147. package/dashboard-management/lib/features/shared/widgets/shared/chart-base.type.d.ts +0 -37
  148. package/dashboard-management/lib/features/shared/widgets/shared/components/chart-tooltip/chart-tooltip.component.d.ts +0 -28
  149. package/dashboard-management/lib/features/shared/widgets/shared/components/chart-tooltip/index.d.ts +0 -1
  150. package/dashboard-management/lib/features/shared/widgets/shared/index.d.ts +0 -3
  151. package/fesm2022/acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs.map +0 -1
  152. package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs +0 -64
  153. package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs.map +0 -1
  154. package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs +0 -97
  155. package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs.map +0 -1
  156. package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-CReOsVhq.mjs.map +0 -1
  157. package/fesm2022/acorex-modules-dashboard-management-home-dashboard-CHXDeuSF.mjs.map +0 -1
  158. package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DIsYLKbA.mjs.map +0 -1
  159. 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 notificationService;
6
+ private notificationConnector;
7
7
  private toastService;
8
8
  private router;
9
9
  private sessionService;
10
- notifications: import("@angular/core").WritableSignal<AXMNotificationItem[] | undefined>;
11
- totalNotifications: import("@angular/core").WritableSignal<number | undefined>;
12
- tabItems: import("@angular/core").Signal<AXTabData[]>;
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[] | undefined;
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
- private toggleRead;
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,3 +1,2 @@
1
1
  export * from './notification-widget.component';
2
2
  export * from './notification-widget.config';
3
- export * from './notification.type';
@@ -1,34 +1,62 @@
1
1
  import { AXTabStripChangedEvent } from '@acorex/components/tabs';
2
2
  import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
3
- import { AXPNotificationData, AXPNotificationValue } from './notification.type';
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<AXPNotificationValue> {
10
- notificationClick: import("@angular/core").OutputEmitterRef<AXPNotificationData>;
11
- markAsRead: import("@angular/core").OutputEmitterRef<AXPNotificationData>;
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
- protected activeTab: import("@angular/core").WritableSignal<"new" | "all">;
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 notificationItems: import("@angular/core").Signal<AXPNotificationData[]>;
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 index The index of the tab that was activated
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: AXPNotificationData): void;
67
+ protected onNotificationClick(notification: AXMNotificationItem): void;
40
68
  /**
41
69
  * Format the timestamp in a user-friendly way
42
70
  */
@@ -0,0 +1,5 @@
1
+ import { AXPWidgetConfig } from '@acorex/platform/layout/builder';
2
+ /**
3
+ * Configuration for the Notification Widget
4
+ */
5
+ export declare const AXPMyNotificationDashboardWidget: AXPWidgetConfig;
@@ -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
  }
@@ -22,6 +22,9 @@ export interface AXMNotificationItem {
22
22
  id: string;
23
23
  name: string;
24
24
  image: string;
25
+ username: string;
26
+ firstName: string;
27
+ lastName: string;
25
28
  };
26
29
  template: {
27
30
  category: AXMNotificationCategory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/modules",
3
- "version": "19.3.1",
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 './profile/profile.service';
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,4 +1,3 @@
1
1
  export * from './profile.entity';
2
2
  export * from './profile.module';
3
- export * from './profile.service';
4
3
  export * from './profile.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 AXMtUsersEntityService extends AXMEntityCrudServiceImpl<string, AXMSecurityManagementUsersEntityModel> {
4
+ export declare abstract class AXMUsersEntityService extends AXMEntityCrudServiceImpl<string, AXMSecurityManagementUsersEntityModel> {
5
5
  }
6
- export declare class AXMUsersEntityServiceImpl extends AXMtUsersEntityService {
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
- firstname: string;
6
- lastname: string;
5
+ firstName: string;
6
+ lastName: string;
7
7
  nationalCode: string;
8
8
  password: string;
9
9
  mobile: string;
@@ -0,0 +1,5 @@
1
+ import { AXPUserAvatarData, AXPUserAvatarProvider } from '@acorex/platform/layout/components';
2
+ export declare class AXMUserAvatarProvider implements AXPUserAvatarProvider {
3
+ private userService;
4
+ provide(userId: string): Promise<AXPUserAvatarData>;
5
+ }
@@ -0,0 +1,3 @@
1
+ # @acorex/modules/training-management
2
+
3
+ Secondary entry point of `@acorex/modules`. It can be used by importing from `@acorex/modules/training-management`.
@@ -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,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function certificateFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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,3 @@
1
+ export * from './certificate.entity';
2
+ export * from './certificate.service';
3
+ export * from './certificate.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function courseFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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,8 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ export interface AXMTrainingManagementCourseEntityModel extends AXPEntityModel<string> {
3
+ title: string;
4
+ summary: string;
5
+ units: number;
6
+ courseTypeId: any;
7
+ parentId: any;
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from './course.entity';
2
+ export * from './course.service';
3
+ export * from './course.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function courseLocationFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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,6 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ export interface AXMTrainingManagementCourseLocationEntityModel extends AXPEntityModel<string> {
3
+ title: string;
4
+ courseId: any;
5
+ locationId: any;
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './course-location.entity';
2
+ export * from './course-location.service';
3
+ export * from './course-location.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function coursePeriodFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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,6 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ export interface AXMTrainingManagementCoursePeriodEntityModel extends AXPEntityModel<string> {
3
+ title: string;
4
+ courseId: any;
5
+ periodId: any;
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './course-period.entity';
2
+ export * from './course-period.service';
3
+ export * from './course-period.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function courseTypeFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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,5 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ export interface AXMTrainingManagementCourseTypeEntityModel extends AXPEntityModel<string> {
3
+ title: string;
4
+ parentId: any;
5
+ }
@@ -0,0 +1,3 @@
1
+ export * from './course-type.entity';
2
+ export * from './course-type.service';
3
+ export * from './course-type.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function facilitatorTypeFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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,6 @@
1
+ import { AXPEntityModel } from '@acorex/platform/layout/entity';
2
+ export interface AXMTrainingManagementFacilitatorTypeEntityModel extends AXPEntityModel<string> {
3
+ title: string;
4
+ parentId: any;
5
+ priority: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './facilitator-type.entity';
2
+ export * from './facilitator-type.service';
3
+ export * from './facilitator-type.types';
@@ -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,3 @@
1
+ export * from './location.entity';
2
+ export * from './location.service';
3
+ export * from './location.types';
@@ -0,0 +1,3 @@
1
+ import { AXPEntity } from '@acorex/platform/common';
2
+ import { Injector } from '@angular/core';
3
+ export declare function locationFactory(injector: Injector): Promise<AXPEntity | null>;
@@ -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
+ }