references dialog close button
This commit is contained in:
parent
e8e8687ee9
commit
13a71bf06a
@ -1,4 +1,6 @@
|
||||
<section class="dialog references-dialog">
|
||||
<div class="dialog-header heading-l">X REFERENCES</div>
|
||||
<iqser-circle-button class="dialog-close" icon="iqser:close" mat-dialog-close></iqser-circle-button>
|
||||
</section>
|
||||
<div class="content-container">
|
||||
<div class="dialog references-dialog">
|
||||
<div class="dialog-header">X REFERENCES</div>
|
||||
<iqser-circle-button (action)="closeDialog.emit(false)" class="dialog-close" icon="iqser:close"></iqser-circle-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
.references-dialog {
|
||||
position: fixed;
|
||||
left: -100px;
|
||||
right: 350px;
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnDestroy, OnInit } from '@angular/core';
|
||||
import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';
|
||||
import { AnnotationWrapper } from '@models/file/annotation.wrapper';
|
||||
|
||||
@Component({
|
||||
@ -9,6 +9,7 @@ import { AnnotationWrapper } from '@models/file/annotation.wrapper';
|
||||
export class AnnotationReferencesDialogComponent implements OnInit {
|
||||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
||||
@Input() annotation: AnnotationWrapper;
|
||||
@Output() readonly closeDialog = new EventEmitter<boolean>();
|
||||
constructor() {}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
@ -124,12 +124,12 @@
|
||||
[file]="file"
|
||||
[viewer]="activeViewer"
|
||||
></redaction-annotation-actions>
|
||||
</ng-template>
|
||||
|
||||
<redaction-annotation-references-dialog
|
||||
*ngIf="seeReferences"
|
||||
[annotation]="annotation"
|
||||
(closeDialog)="seeReferences = $event"
|
||||
></redaction-annotation-references-dialog>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #annotationFilterTemplate let-filter="filter">
|
||||
<redaction-type-filter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user