feat: rehauled console (#3525)

* new console

* move npm ci to angular build

* rel path for assets

* local grpc copy

* login policy, rm clear views, features rel path

* lock

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Max Peintner
2022-04-28 10:35:02 +00:00
committed by GitHub
co-authored by Livio Amstutz
parent 00f7dbe875
commit 08ae39ae19
668 changed files with 47746 additions and 19117 deletions
@@ -19,8 +19,9 @@ export class PaginatorComponent {
@Input() public pageSize: number = 10;
@Input() public pageIndex: number = 0;
@Input() public pageSizeOptions: Array<number> = [10, 25, 50];
@Input() public hidePagination: boolean = false;
@Output() public page: EventEmitter<PageEvent> = new EventEmitter();
constructor() { }
constructor() {}
public previous(): void {
if (this.previousPossible) {
@@ -38,12 +39,12 @@ export class PaginatorComponent {
get previousPossible(): boolean {
const temp = this.pageIndex - 1;
return (temp >= 0);
return temp >= 0;
}
get nextPossible(): boolean {
const temp = this.pageIndex + 1;
return (temp <= (this.length / this.pageSize));
return temp <= this.length / this.pageSize;
}
public emitChange(): void {