diff --git a/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts b/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts index 6bdffeb2548a..913fd08c2223 100644 --- a/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts +++ b/src/main/webapp/app/shared/metis/message/message-reply-inline-input/message-reply-inline-input.component.ts @@ -7,12 +7,17 @@ import { PostContentValidationPattern } from 'app/shared/metis/metis.util'; import { PostingCreateEditDirective } from 'app/shared/metis/posting-create-edit.directive'; import { LocalStorageService } from 'ngx-webstorage'; import { ConversationDTO } from 'app/entities/metis/conversation/conversation.model'; +import { PostingButtonComponent } from 'app/shared/metis/posting-button/posting-button.component'; +import { ArtemisSharedModule } from 'app/shared/shared.module'; +import { PostingMarkdownEditorComponent } from 'app/shared/metis/posting-markdown-editor/posting-markdown-editor.component'; @Component({ selector: 'jhi-message-reply-inline-input', templateUrl: './message-reply-inline-input.component.html', styleUrls: ['./message-reply-inline-input.component.scss'], encapsulation: ViewEncapsulation.None, + standalone: true, + imports: [PostingButtonComponent, ArtemisSharedModule, PostingMarkdownEditorComponent], }) export class MessageReplyInlineInputComponent extends PostingCreateEditDirective implements OnInit, OnChanges { warningDismissed = false; diff --git a/src/main/webapp/app/shared/metis/metis.module.ts b/src/main/webapp/app/shared/metis/metis.module.ts index 6b7ef05aa195..e1c1d40f5bf3 100644 --- a/src/main/webapp/app/shared/metis/metis.module.ts +++ b/src/main/webapp/app/shared/metis/metis.module.ts @@ -85,8 +85,10 @@ import { ProfilePictureComponent } from 'app/shared/profile-picture/profile-pict AnswerPostHeaderComponent, PostingButtonComponent, HtmlForPostingMarkdownPipe, + PostingThreadComponent, + EnlargeSlideImageComponent, + MessageReplyInlineInputComponent, ], - declarations: [PostingThreadComponent, EnlargeSlideImageComponent, MessageReplyInlineInputComponent], exports: [ PostingThreadComponent, PostHeaderComponent, diff --git a/src/main/webapp/app/shared/metis/posting-content/enlarge-slide-image/enlarge-slide-image.component.ts b/src/main/webapp/app/shared/metis/posting-content/enlarge-slide-image/enlarge-slide-image.component.ts index 11eab0922af2..8decae042f16 100644 --- a/src/main/webapp/app/shared/metis/posting-content/enlarge-slide-image/enlarge-slide-image.component.ts +++ b/src/main/webapp/app/shared/metis/posting-content/enlarge-slide-image/enlarge-slide-image.component.ts @@ -7,6 +7,7 @@ export interface DialogData { @Component({ templateUrl: './enlarge-slide-image.component.html', + standalone: true, }) export class EnlargeSlideImageComponent { constructor(@Inject(MAT_DIALOG_DATA) public data: DialogData) {} diff --git a/src/main/webapp/app/shared/metis/posting-thread/posting-thread.component.ts b/src/main/webapp/app/shared/metis/posting-thread/posting-thread.component.ts index 8cb7db55b963..c88f5ac9d0fb 100644 --- a/src/main/webapp/app/shared/metis/posting-thread/posting-thread.component.ts +++ b/src/main/webapp/app/shared/metis/posting-thread/posting-thread.component.ts @@ -1,12 +1,15 @@ import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, inject } from '@angular/core'; import { Post } from 'app/entities/metis/post.model'; import dayjs from 'dayjs/esm'; +import { PostComponent } from 'app/shared/metis/post/post.component'; @Component({ selector: 'jhi-posting-thread', templateUrl: './posting-thread.component.html', styleUrls: ['../metis.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, + standalone: true, + imports: [PostComponent], }) export class PostingThreadComponent { @Input() lastReadDate?: dayjs.Dayjs;