parent
9773444d7f
commit
60faf81187
@ -1,4 +1,5 @@
|
|||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
<div *ngIf="this.busy" class="busy-indicator-overlay" [class.blur]="this.blurBackground" [class.darken]="this.darkenBackground">
|
<div *ngIf="this.busy" [class.blur]="this.blurBackground" [class.darken]="this.darkenBackground"
|
||||||
<mat-progress-spinner color="primary" [mode]="mode" [value]="value"></mat-progress-spinner>
|
class="busy-indicator-overlay">
|
||||||
|
<mat-progress-spinner [mode]="mode" [value]="value" color="primary"></mat-progress-spinner>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div #imageContainer (window:resize)="this.adjustSize(image, imageContainer)" class="image-container">
|
<div #imageContainer (window:resize)="this.adjustSize(image, imageContainer)" class="image-container">
|
||||||
<img #image (load)="this.adjustSize(image, imageContainer)" [class.scale-height]="(!scaleWidth) && maximizeHeight"
|
<img #image (load)="this.adjustSize(image, imageContainer)" [class.scale-height]="(!scaleWidth) && maximizeHeight"
|
||||||
[class.scale-width]="scaleWidth && maximizeWidth" [style]="{borderRadius: this.borderRadius}"
|
[class.scale-width]="scaleWidth && maximizeWidth" [src]="this.imageSrc"
|
||||||
[src]="this.imageSrc" alt="">
|
[style]="{borderRadius: this.borderRadius}" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="menu-anchor" [matMenuTriggerFor]="contextMenu" [style.left]="x" [style.top]="y"></div>
|
<div [matMenuTriggerFor]="contextMenu" [style.left]="x" [style.top]="y" class="menu-anchor"></div>
|
||||||
<mat-menu #contextMenu="matMenu">
|
<mat-menu #contextMenu="matMenu">
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
</mat-menu>
|
</mat-menu>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<app-context-menu #contextMenu>
|
<app-context-menu #contextMenu>
|
||||||
<button mat-menu-item (click)="this.copyFileHash()">Copy Hash</button>
|
<button (click)="this.copyFileHash()" mat-menu-item>Copy Hash</button>
|
||||||
<button mat-menu-item (click)="this.exportFile()">Save As...</button>
|
<button (click)="this.exportFile()" mat-menu-item>Save As...</button>
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
</app-context-menu>
|
</app-context-menu>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div class="audio-container">
|
<div class="audio-container">
|
||||||
<audio controls [src]="this.blobUrl">
|
<audio [src]="this.blobUrl" controls>
|
||||||
</audio>
|
</audio>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<video controls [src]="this.blobUrl">
|
<video [src]="this.blobUrl" controls>
|
||||||
Unsupported video type
|
Unsupported video type
|
||||||
</video>
|
</video>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<app-file-grid *ngIf="this.mode === 'grid'" [files]="this.files" [preselectedFile]="this.preselectedFile"
|
<app-file-grid (fileOpenEvent)="this.onFileOpen($event)" (fileSelectEvent)="this.onFileSelect($event)" *ngIf="this.mode === 'grid'"
|
||||||
(fileSelectEvent)="this.onFileSelect($event)" (fileOpenEvent)="this.onFileOpen($event)"></app-file-grid>
|
[files]="this.files" [preselectedFile]="this.preselectedFile"></app-file-grid>
|
||||||
<app-file-gallery *ngIf="this.mode === 'gallery'" [files]="this.files" [preselectedFile]="this.preselectedFile"
|
<app-file-gallery (closeEvent)="this.mode = 'grid'" (fileSelectEvent)="this.onSinglefileSelect($event)" *ngIf="this.mode === 'gallery'"
|
||||||
(fileSelectEvent)="this.onSinglefileSelect($event)" (closeEvent)="this.mode = 'grid'"></app-file-gallery>
|
[files]="this.files"
|
||||||
|
[preselectedFile]="this.preselectedFile"></app-file-gallery>
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
<h1 mat-dialog-title>Filters</h1>
|
<h1 mat-dialog-title>Filters</h1>
|
||||||
<div mat-dialog-content class="filter-dialog-content">
|
<div class="filter-dialog-content" mat-dialog-content>
|
||||||
<div class="filter-dialog-list">
|
<div class="filter-dialog-list">
|
||||||
<mat-list class="mat-filter-dialog-list">
|
<mat-list class="mat-filter-dialog-list">
|
||||||
<mat-list-item class="filter-list-item" *ngFor="let expression of filters" [class.selected]="expression.selected">
|
<mat-list-item *ngFor="let expression of filters" [class.selected]="expression.selected" class="filter-list-item">
|
||||||
<app-tag-filter-list-item (querySelect)="this.addToSelection($event)"
|
<app-tag-filter-list-item (contextmenu)="contextMenu.onContextMenu($event)"
|
||||||
|
(querySelect)="this.addToSelection($event)"
|
||||||
(queryUnselect)="this.removeFromSelection($event)"
|
(queryUnselect)="this.removeFromSelection($event)"
|
||||||
(removeClicked)="this.removeFilter($event)"
|
(removeClicked)="this.removeFilter($event)"
|
||||||
(contextmenu)="contextMenu.onContextMenu($event)"
|
|
||||||
[expression]="expression"></app-tag-filter-list-item>
|
[expression]="expression"></app-tag-filter-list-item>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
</mat-list>
|
</mat-list>
|
||||||
</div>
|
</div>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<app-tag-input class="tag-input" [allowNegation]="true" [availableTags]="this.availableTags"
|
<app-tag-input (tagAdded)="this.addFilter($event)" [allowNegation]="true" [availableTags]="this.availableTags"
|
||||||
(tagAdded)="this.addFilter($event)"></app-tag-input>
|
class="tag-input"></app-tag-input>
|
||||||
</div>
|
</div>
|
||||||
<div class="dialog-actions" mat-dialog-actions>
|
<div class="dialog-actions" mat-dialog-actions>
|
||||||
<button mat-flat-button color="primary" (click)="confirmFilter()">Filter</button>
|
<button (click)="confirmFilter()" color="primary" mat-flat-button>Filter</button>
|
||||||
<button mat-stroked-button color="accent" (click)="cancelFilter()">Cancel</button>
|
<button (click)="cancelFilter()" color="accent" mat-stroked-button>Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
<app-context-menu #contextMenu>
|
<app-context-menu #contextMenu>
|
||||||
<button mat-menu-item (click)="this.convertSelectionToOrExpression()">Copy to OR-Expression</button>
|
<button (click)="this.convertSelectionToOrExpression()" mat-menu-item>Copy to OR-Expression</button>
|
||||||
<button mat-menu-item (click)="this.convertSelectionToAndExpression()">Copy to AND-Expression</button>
|
<button (click)="this.convertSelectionToAndExpression()" mat-menu-item>Copy to AND-Expression</button>
|
||||||
<button mat-menu-item (click)="this.invertSelection()">Invert</button>
|
<button (click)="this.invertSelection()" mat-menu-item>Invert</button>
|
||||||
</app-context-menu>
|
</app-context-menu>
|
||||||
|
Loading…
Reference in New Issue