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