
# Added - New: Cards when processing a download shows a spinner for the progress of the download # Changed - Changed: Downloads now always take the backend filename and are streamed in a more optimal manner, reducing the javascript processing that was needed previously. ================================== * Started refactor of downloader to be more UX friendly and much faster. * Completed refactor of Volume download to use a new mechanism. Downloads are streamed over and filename used exclusively from header. Backend has additional DB calls to get the Series Name information to make filenames nice. * download service has been updated so all download functions use new event based observable. Duplicates code for downloading, but much cleaner and faster. * Small code cleanup
18 lines
461 B
TypeScript
18 lines
461 B
TypeScript
import { Component, ElementRef, Input, OnChanges, OnInit, Renderer2, ViewChild } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-circular-loader',
|
|
templateUrl: './circular-loader.component.html',
|
|
styleUrls: ['./circular-loader.component.scss']
|
|
})
|
|
export class CircularLoaderComponent implements OnInit {
|
|
|
|
@Input() currentValue: number = 0;
|
|
@Input() maxValue: number = 0;
|
|
|
|
constructor(private renderer: Renderer2) { }
|
|
|
|
ngOnInit(): void {
|
|
}
|
|
|
|
}
|