@acorex/modules 20.2.0-next.1 → 20.2.0-next.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 (61) hide show
  1. package/auth/index.d.ts +58 -4
  2. package/conversation/README.md +1 -1
  3. package/conversation/index.d.ts +117 -71
  4. package/fesm2022/{acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs → acorex-modules-auth-acorex-modules-auth-BxqN76H7.mjs} +232 -84
  5. package/fesm2022/acorex-modules-auth-acorex-modules-auth-BxqN76H7.mjs.map +1 -0
  6. package/fesm2022/{acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs → acorex-modules-auth-app-chooser.component-5FbgqbVo.mjs} +6 -4
  7. package/fesm2022/acorex-modules-auth-app-chooser.component-5FbgqbVo.mjs.map +1 -0
  8. package/fesm2022/{acorex-modules-auth-login.module-ZEX4NMuJ.mjs → acorex-modules-auth-login.module-CmMM4TpQ.mjs} +4 -4
  9. package/fesm2022/{acorex-modules-auth-login.module-ZEX4NMuJ.mjs.map → acorex-modules-auth-login.module-CmMM4TpQ.mjs.map} +1 -1
  10. package/fesm2022/{acorex-modules-auth-master.layout-D-lIn4Pl.mjs → acorex-modules-auth-master.layout-eX5-7AeO.mjs} +2 -2
  11. package/fesm2022/{acorex-modules-auth-master.layout-D-lIn4Pl.mjs.map → acorex-modules-auth-master.layout-eX5-7AeO.mjs.map} +1 -1
  12. package/fesm2022/acorex-modules-auth-oauth-callback.component-C9s-5c7F.mjs +97 -0
  13. package/fesm2022/acorex-modules-auth-oauth-callback.component-C9s-5c7F.mjs.map +1 -0
  14. package/fesm2022/{acorex-modules-auth-password.component-CafZfqKe.mjs → acorex-modules-auth-password.component-CDrYHh1x.mjs} +7 -7
  15. package/fesm2022/{acorex-modules-auth-password.component-CafZfqKe.mjs.map → acorex-modules-auth-password.component-CDrYHh1x.mjs.map} +1 -1
  16. package/fesm2022/acorex-modules-auth-password.component-r_Lh8oGN.mjs +226 -0
  17. package/fesm2022/acorex-modules-auth-password.component-r_Lh8oGN.mjs.map +1 -0
  18. package/fesm2022/{acorex-modules-auth-routes-D9-qfC3V.mjs → acorex-modules-auth-routes-CMdsDZud.mjs} +2 -2
  19. package/fesm2022/{acorex-modules-auth-routes-D9-qfC3V.mjs.map → acorex-modules-auth-routes-CMdsDZud.mjs.map} +1 -1
  20. package/fesm2022/{acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs → acorex-modules-auth-tenant-chooser.component-BdK5T-8X.mjs} +19 -10
  21. package/fesm2022/acorex-modules-auth-tenant-chooser.component-BdK5T-8X.mjs.map +1 -0
  22. package/fesm2022/{acorex-modules-auth-two-factor-code.component-BglerlU-.mjs → acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs} +6 -6
  23. package/fesm2022/{acorex-modules-auth-two-factor-code.component-BglerlU-.mjs.map → acorex-modules-auth-two-factor-code.component-DSWd06bn.mjs.map} +1 -1
  24. package/fesm2022/{acorex-modules-auth-two-factor.module-D3N2XyOH.mjs → acorex-modules-auth-two-factor.module-YV9pDOnB.mjs} +3 -3
  25. package/fesm2022/{acorex-modules-auth-two-factor.module-D3N2XyOH.mjs.map → acorex-modules-auth-two-factor.module-YV9pDOnB.mjs.map} +1 -1
  26. package/fesm2022/acorex-modules-auth-user-sessions.component-KI9dYs78.mjs +135 -0
  27. package/fesm2022/acorex-modules-auth-user-sessions.component-KI9dYs78.mjs.map +1 -0
  28. package/fesm2022/acorex-modules-auth.mjs +1 -1
  29. package/fesm2022/acorex-modules-conversation.mjs +282 -204
  30. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  31. package/fesm2022/acorex-modules-notification-management.mjs +109 -28
  32. package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
  33. package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +1 -1
  34. package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +1 -1
  35. package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +1 -1
  36. package/fesm2022/acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs.map +1 -1
  37. package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +1 -1
  38. package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +1 -1
  39. package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +1 -1
  40. package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +1 -1
  41. package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +1 -1
  42. package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +1 -1
  43. package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +1 -1
  44. package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +1 -1
  45. package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +1 -1
  46. package/fesm2022/acorex-modules-security-management.mjs +753 -217
  47. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  48. package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-DnSdOSmj.mjs} +6 -6
  49. package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-enYapFRb.mjs.map → acorex-modules-workflow-management-acorex-modules-workflow-management-DnSdOSmj.mjs.map} +1 -1
  50. package/fesm2022/{acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs → acorex-modules-workflow-management-task-board.page-Bzu4j4VW.mjs} +2 -2
  51. package/fesm2022/{acorex-modules-workflow-management-task-board.page-CPL7HwN4.mjs.map → acorex-modules-workflow-management-task-board.page-Bzu4j4VW.mjs.map} +1 -1
  52. package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
  53. package/notification-management/index.d.ts +69 -59
  54. package/package.json +13 -13
  55. package/security-management/index.d.ts +13 -4
  56. package/workflow-management/index.d.ts +2 -2
  57. package/fesm2022/acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs.map +0 -1
  58. package/fesm2022/acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs.map +0 -1
  59. package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs +0 -134
  60. package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs.map +0 -1
  61. package/fesm2022/acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs.map +0 -1
package/auth/index.d.ts CHANGED
@@ -6,7 +6,9 @@ import { AuthConfig } from 'angular-oauth2-oidc';
6
6
  import * as i1$1 from '@angular/common';
7
7
  import * as i1 from '@angular/router';
8
8
  import * as i2 from '@acorex/platform/layout/components';
9
+ import { AXPEntityModel, AXMEntityCrudServiceImpl } from '@acorex/platform/layout/entity';
9
10
  import { Observable } from 'rxjs';
11
+ import { HttpClient } from '@angular/common/http';
10
12
 
11
13
  declare class AXMAuthErrorHandler implements AXPErrorHandler {
12
14
  private router;
@@ -25,6 +27,9 @@ declare enum AXMAuthenticationTypes {
25
27
  MobileCode = 5
26
28
  }
27
29
  declare const AXM_AUTH_CONFIG_TOKEN: InjectionToken<AXMAuthConfigs>;
30
+ interface AXMExternalProviderConfig {
31
+ providerName: string;
32
+ }
28
33
  interface AXMAuthConfigs {
29
34
  type: AXMAuthenticationTypes;
30
35
  authConfig?: AuthConfig;
@@ -33,12 +38,14 @@ interface AXMAuthConfigs {
33
38
  enable: boolean;
34
39
  url?: string;
35
40
  };
36
- signin_google?: boolean;
37
- signin_apple?: boolean;
41
+ externalProviders?: {
42
+ [provider: string]: AXMExternalProviderConfig;
43
+ };
38
44
  signinPage?: {
39
45
  description: string;
40
46
  slogan: string;
41
47
  };
48
+ defaultStrategyName?: string;
42
49
  idleTimeout?: number;
43
50
  }
44
51
  declare const AXMDefaultAuthConfigs: AXMAuthConfigs;
@@ -56,6 +63,40 @@ declare class AXMAuthModule {
56
63
  static ɵinj: i0.ɵɵInjectorDeclaration<AXMAuthModule>;
57
64
  }
58
65
 
66
+ declare enum AXMSessionStatusTypes {
67
+ revoked = "revoked",
68
+ expired = "expired",
69
+ active = "active"
70
+ }
71
+ interface AXMSecurityManagementDeviceSessionsEntityModel extends AXPEntityModel<string> {
72
+ clientName: string;
73
+ ipAddress: string;
74
+ userAgent: string;
75
+ authorizationId: string;
76
+ status: string;
77
+ userId: string;
78
+ user: {
79
+ id: string;
80
+ name: string;
81
+ };
82
+ applicationId: string;
83
+ application: {
84
+ id: string;
85
+ name: string;
86
+ };
87
+ tenantId: string;
88
+ tenant: {
89
+ id: string;
90
+ name: string;
91
+ };
92
+ isActiveSession: boolean;
93
+ deviceName: string;
94
+ operatingSystem: string;
95
+ browser: string;
96
+ location: string;
97
+ lastLoginDate: Date;
98
+ }
99
+
59
100
  declare class AXPIdleService {
60
101
  private configs;
61
102
  private idle$;
@@ -72,5 +113,18 @@ declare class AXPIdleService {
72
113
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPIdleService>;
73
114
  }
74
115
 
75
- export { AXMAuthErrorHandler, AXMAuthModule, AXMAuthenticationTypes, AXMDefaultAuthConfigs, AXM_AUTH_CONFIG_TOKEN, AXPIdleService, configAuthModule };
76
- export type { AXMAuthConfigs };
116
+ declare abstract class AXMDeviceSessionsService extends AXMEntityCrudServiceImpl<string, AXMSecurityManagementDeviceSessionsEntityModel> {
117
+ abstract terminate(id: string): Promise<boolean>;
118
+ abstract terminateAllCurrentUserSessions(): Promise<boolean>;
119
+ }
120
+ declare class AXMDeviceSessionsServiceImpl extends AXMDeviceSessionsService {
121
+ private http;
122
+ constructor(http: HttpClient);
123
+ terminate(id: string): Promise<boolean>;
124
+ terminateAllCurrentUserSessions(): Promise<boolean>;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMDeviceSessionsServiceImpl, never>;
126
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMDeviceSessionsServiceImpl>;
127
+ }
128
+
129
+ export { AXMAuthErrorHandler, AXMAuthModule, AXMAuthenticationTypes, AXMDefaultAuthConfigs, AXMDeviceSessionsService, AXMDeviceSessionsServiceImpl, AXMSessionStatusTypes, AXM_AUTH_CONFIG_TOKEN, AXPIdleService, configAuthModule };
130
+ export type { AXMAuthConfigs, AXMExternalProviderConfig, AXMSecurityManagementDeviceSessionsEntityModel };
@@ -71,7 +71,7 @@ The module depends on the following services:
71
71
 
72
72
  ```typescript
73
73
  // Get comment service
74
- private commentService = inject(AXMCommentService);
74
+ private commentService = inject(AXMCommentManagementService);
75
75
 
76
76
  // Get comments
77
77
  const response = await this.commentService.query({
@@ -447,6 +447,118 @@ interface AXMCommentThread extends AXMConversationRoom {
447
447
  */
448
448
  comments: AXMComment[];
449
449
  }
450
+ type AXMCommentEventType = 'add' | 'remove' | 'update';
451
+ type AXMThreadEventType = 'add' | 'remove' | 'update';
452
+ interface AXMCommentEvent {
453
+ type: AXMCommentEventType;
454
+ /**
455
+ * - For 'add' and 'update', payload is AXMComment.
456
+ * - For 'remove', payload is the comment ID (string).
457
+ */
458
+ payload: AXMComment | string;
459
+ }
460
+ interface AXMThreadEvent {
461
+ type: AXMThreadEventType;
462
+ /**
463
+ * - For 'add' and 'update', payload is AXMCommentThread.
464
+ * - For 'remove', payload is the thread ID (string).
465
+ */
466
+ payload: AXMCommentThread | string;
467
+ }
468
+
469
+ declare abstract class AXMCommentService {
470
+ abstract createThread(entityRef: AXPEntityReference, topic: string, title?: string): Promise<AXMCommentThread>;
471
+ abstract getThread(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread | null>;
472
+ abstract listThreads(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread[]>;
473
+ abstract updateThread(entityRef: AXPEntityReference, topic: string, data: Partial<{
474
+ title: string;
475
+ }>): Promise<AXMCommentThread>;
476
+ abstract deleteThread(entityRef: AXPEntityReference, topic: string): Promise<boolean>;
477
+ abstract addComment(threadId: string, content: string, parentCommentId?: string, contentType?: AXPContentType, userId?: string): Promise<AXMComment>;
478
+ abstract getComments(threadId: string, nested: boolean): Promise<AXMComment[]>;
479
+ abstract getComment(commentId: string): Promise<AXMComment>;
480
+ abstract editComment(commentId: string, content: string, contentType?: AXPContentType): Promise<AXMComment>;
481
+ abstract deleteComment(commentId: string): Promise<boolean>;
482
+ abstract addReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
483
+ abstract removeReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
484
+ abstract getReactions(commentId: string): Promise<AXMConversationReaction[]>;
485
+ abstract likeComment(commentId: string): Promise<AXMComment>;
486
+ abstract unlikeComment(commentId: string): Promise<AXMComment>;
487
+ abstract pinComment(commentId: string): Promise<AXMComment>;
488
+ abstract unpinComment(commentId: string): Promise<AXMComment>;
489
+ }
490
+ declare class AXMCommentServiceImpl {
491
+ private readonly roomService;
492
+ private readonly messageService;
493
+ private readonly filterService;
494
+ createThread(creatorUser: AXPUserReference, entityRef: AXPEntityReference, topic: string, title?: string): Promise<AXMConversationRoom>;
495
+ getThread(entityRef: AXPEntityReference, topic: string): Promise<AXMConversationRoom | null>;
496
+ listThreads(entityRef: AXPEntityReference, topic: string): Promise<AXMConversationRoom[]>;
497
+ updateThread(threadId: string, data: Partial<{
498
+ title: string;
499
+ }>): Promise<AXMConversationRoom>;
500
+ deleteThread(threadId: string): Promise<boolean>;
501
+ addComment(threadId: string, content: string, author: AXPUserReference, parentCommentId?: string, contentType?: AXPContentType): Promise<AXMConversationMessage>;
502
+ getComments(threadId: string): Promise<AXMConversationMessage[]>;
503
+ getComment(commentId: string): Promise<AXMConversationMessage>;
504
+ editComment(commentId: string, content: string, editor: AXPUserReference, contentType?: AXPContentType): Promise<AXMConversationMessage>;
505
+ deleteComment(commentId: string): Promise<boolean>;
506
+ updateReactions(commentId: string, reactions: AXMConversationReaction[]): Promise<AXMConversationMessage>;
507
+ getReactions(commentId: string): Promise<AXMConversationReaction[]>;
508
+ pinComment(commentId: string, isPinned: boolean): Promise<AXMConversationMessage>;
509
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMCommentServiceImpl, never>;
510
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMCommentServiceImpl>;
511
+ }
512
+
513
+ declare class AXMCommentManagementService implements AXMCommentService {
514
+ private readonly commentImplService;
515
+ private readonly sessionService;
516
+ private readonly usersService;
517
+ private readonly realtimeService;
518
+ private getCurrentUser;
519
+ private getUserInfo;
520
+ private formatComment;
521
+ private buildCommentTree;
522
+ private formatThread;
523
+ createThread(entityRef: AXPEntityReference, topic: string, title?: string): Promise<AXMCommentThread>;
524
+ getThread(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread | null>;
525
+ listThreads(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread[]>;
526
+ updateThread(entityRef: AXPEntityReference, topic: string, data: Partial<{
527
+ title: string;
528
+ }>): Promise<AXMCommentThread>;
529
+ deleteThread(entityRef: AXPEntityReference, topic: string): Promise<boolean>;
530
+ addComment(threadId: string, content: string, parentCommentId?: string, contentType?: AXPContentType, userId?: string): Promise<AXMComment>;
531
+ getComments(threadId: string, nested: boolean): Promise<AXMComment[]>;
532
+ getComment(commentId: string): Promise<AXMComment>;
533
+ editComment(commentId: string, content: string, contentType?: AXPContentType): Promise<AXMComment>;
534
+ deleteComment(commentId: string): Promise<boolean>;
535
+ addReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
536
+ removeReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
537
+ getReactions(commentId: string): Promise<AXMConversationReaction[]>;
538
+ likeComment(commentId: string): Promise<AXMComment>;
539
+ unlikeComment(commentId: string): Promise<AXMComment>;
540
+ pinComment(commentId: string): Promise<AXMComment>;
541
+ unpinComment(commentId: string): Promise<AXMComment>;
542
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMCommentManagementService, never>;
543
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMCommentManagementService>;
544
+ }
545
+
546
+ declare abstract class AXMCommentRealtimeService {
547
+ abstract readonly comment$: Observable<AXMCommentEvent>;
548
+ abstract readonly thread$: Observable<AXMThreadEvent>;
549
+ abstract notifyComment(event: AXMCommentEvent): void;
550
+ abstract notifyThread(event: AXMThreadEvent): void;
551
+ }
552
+ declare class AXMCommentRealtimeServiceImpl extends AXMCommentRealtimeService {
553
+ private readonly _comment$;
554
+ readonly comment$: Observable<AXMCommentEvent>;
555
+ private readonly _thread$;
556
+ readonly thread$: Observable<AXMThreadEvent>;
557
+ notifyComment(event: AXMCommentEvent): void;
558
+ notifyThread(event: AXMThreadEvent): void;
559
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMCommentRealtimeServiceImpl, never>;
560
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMCommentRealtimeServiceImpl>;
561
+ }
450
562
 
451
563
  declare class AXMCommentComponent implements OnInit {
452
564
  refrenceType: _angular_core.InputSignal<string>;
@@ -468,6 +580,7 @@ declare class AXMCommentComponent implements OnInit {
468
580
  protected highlightedCommentId: _angular_core.WritableSignal<string | null>;
469
581
  protected wysiwygEditor: _angular_core.Signal<AXWysiwygContainerComponent>;
470
582
  private commentService;
583
+ private realtimeService;
471
584
  private sessionService;
472
585
  private toastService;
473
586
  private dialogService;
@@ -476,6 +589,8 @@ declare class AXMCommentComponent implements OnInit {
476
589
  protected comments: _angular_core.WritableSignal<AXMComment[]>;
477
590
  protected thread: _angular_core.WritableSignal<AXMCommentThread | undefined>;
478
591
  ngOnInit(): void;
592
+ private handleAddComment;
593
+ private handleUpdateComment;
479
594
  protected wysiwygOptions: _angular_core.WritableSignal<{
480
595
  look: AXStyleLookType;
481
596
  }>;
@@ -510,75 +625,6 @@ declare class AXMCommentComponent implements OnInit {
510
625
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMCommentComponent, "axm-comment", never, { "refrenceType": { "alias": "refrenceType"; "required": true; "isSignal": true; }; "refrenceId": { "alias": "refrenceId"; "required": true; "isSignal": true; }; "subject": { "alias": "subject"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
511
626
  }
512
627
 
513
- declare abstract class AXMCommentService {
514
- abstract readonly commentAdded$: Observable<AXMComment>;
515
- abstract readonly commentRemoved$: Observable<string>;
516
- abstract readonly commentUpdated$: Observable<AXMComment>;
517
- abstract readonly threadAdded$: Observable<AXMCommentThread>;
518
- abstract readonly threadRemoved$: Observable<string>;
519
- abstract createThread(entityRef: AXPEntityReference, topic: string, title?: string): Promise<AXMCommentThread>;
520
- abstract getThread(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread | null>;
521
- abstract listThreads(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread[]>;
522
- abstract updateThread(entityRef: AXPEntityReference, topic: string, data: Partial<{
523
- title: string;
524
- }>): Promise<AXMCommentThread>;
525
- abstract deleteThread(entityRef: AXPEntityReference, topic: string): Promise<boolean>;
526
- abstract addComment(threadId: string, content: string, parentCommentId?: string, contentType?: AXPContentType, userId?: string): Promise<AXMComment>;
527
- abstract getComments(threadId: string, nested: boolean): Promise<AXMComment[]>;
528
- abstract getComment(commentId: string): Promise<AXMComment>;
529
- abstract editComment(commentId: string, content: string, contentType?: AXPContentType): Promise<AXMComment>;
530
- abstract deleteComment(commentId: string): Promise<boolean>;
531
- abstract addReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
532
- abstract removeReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
533
- abstract getReactions(commentId: string): Promise<AXMConversationReaction[]>;
534
- abstract likeComment(commentId: string): Promise<AXMComment>;
535
- abstract unlikeComment(commentId: string): Promise<AXMComment>;
536
- abstract pinComment(commentId: string): Promise<AXMComment>;
537
- abstract unpinComment(commentId: string): Promise<AXMComment>;
538
- }
539
- declare class AXMCommentServiceImpl implements AXMCommentService {
540
- private readonly roomService;
541
- private readonly messageService;
542
- private readonly sessionService;
543
- private readonly usersService;
544
- private readonly filterService;
545
- private readonly _commentAdded$;
546
- readonly commentAdded$: Observable<AXMComment>;
547
- private readonly _commentRemoved$;
548
- readonly commentRemoved$: Observable<string>;
549
- private readonly _commentUpdated$;
550
- readonly commentUpdated$: Observable<AXMComment>;
551
- private readonly _threadAdded$;
552
- readonly threadAdded$: Observable<AXMCommentThread>;
553
- private readonly _threadRemoved$;
554
- readonly threadRemoved$: Observable<string>;
555
- private getCurrentUser;
556
- private getUserInfo;
557
- private formatComment;
558
- private buildCommentTree;
559
- createThread(entityRef: AXPEntityReference, topic: string, title?: string): Promise<AXMCommentThread>;
560
- getThread(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread | null>;
561
- listThreads(entityRef: AXPEntityReference, topic: string): Promise<AXMCommentThread[]>;
562
- updateThread(entityRef: AXPEntityReference, topic: string, data: Partial<{
563
- title: string;
564
- }>): Promise<AXMCommentThread>;
565
- deleteThread(entityRef: AXPEntityReference, topic: string): Promise<boolean>;
566
- addComment(threadId: string, content: string, parentCommentId?: string, contentType?: AXPContentType, userId?: string): Promise<AXMComment>;
567
- getComments(threadId: string, nested?: boolean): Promise<AXMComment[]>;
568
- getComment(commentId: string): Promise<AXMComment>;
569
- editComment(commentId: string, content: string, contentType?: AXPContentType): Promise<AXMComment>;
570
- deleteComment(commentId: string): Promise<boolean>;
571
- addReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
572
- removeReaction(commentId: string, type: AXMReactionType): Promise<AXMComment>;
573
- getReactions(commentId: string): Promise<AXMConversationReaction[]>;
574
- likeComment(commentId: string): Promise<AXMComment>;
575
- unlikeComment(commentId: string): Promise<AXMComment>;
576
- pinComment(commentId: string): Promise<AXMComment>;
577
- unpinComment(commentId: string): Promise<AXMComment>;
578
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMCommentServiceImpl, never>;
579
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXMCommentServiceImpl>;
580
- }
581
-
582
628
  declare class AXMCommentPopupComponent extends AXBasePageComponent {
583
629
  refrenceType: _angular_core.InputSignal<string>;
584
630
  refrenceId: _angular_core.InputSignal<string>;
@@ -617,5 +663,5 @@ declare class AXMCommentPopupStartAction extends AXPWorkflowAction {
617
663
  }
618
664
  declare const AXMCommentPopupWorkflow: AXPWorkflow;
619
665
 
620
- export { AXMChatComponent, AXMChatItemComponent, AXMChatPreviewComponent, AXMChatService, AXMChatServiceImpl, AXMCommentComponent, AXMCommentPopupComponent, AXMCommentPopupStartAction, AXMCommentPopupWorkflow, AXMCommentService, AXMCommentServiceImpl, AXMCommentWidgetViewComponent, AXMConversationModule, AXMConversationTabService, AXMConversationTabServiceImpl, AXMMessageService, AXMMessageServiceImpl, AXMRoomService, AXMRoomServiceImpl, AXMUserLookupPopup, AXPCommentWidget, RootConfig, messageFactory, roomFactory, tabFactory };
621
- export type { AXMChatMessage, AXMChatRoom, AXMComment, AXMCommentThread, AXMConversationMessage, AXMConversationReaction, AXMConversationRoom, AXMConversationSeen, AXMConversationTab, AXMReactionType, AXMSeenType };
666
+ export { AXMChatComponent, AXMChatItemComponent, AXMChatPreviewComponent, AXMChatService, AXMChatServiceImpl, AXMCommentComponent, AXMCommentManagementService, AXMCommentPopupComponent, AXMCommentPopupStartAction, AXMCommentPopupWorkflow, AXMCommentRealtimeService, AXMCommentRealtimeServiceImpl, AXMCommentService, AXMCommentServiceImpl, AXMCommentWidgetViewComponent, AXMConversationModule, AXMConversationTabService, AXMConversationTabServiceImpl, AXMMessageService, AXMMessageServiceImpl, AXMRoomService, AXMRoomServiceImpl, AXMUserLookupPopup, AXPCommentWidget, RootConfig, messageFactory, roomFactory, tabFactory };
667
+ export type { AXMChatMessage, AXMChatRoom, AXMComment, AXMCommentEvent, AXMCommentEventType, AXMCommentThread, AXMConversationMessage, AXMConversationReaction, AXMConversationRoom, AXMConversationSeen, AXMConversationTab, AXMReactionType, AXMSeenType, AXMThreadEvent, AXMThreadEventType };