angular update 14.1.2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {Component, Input} from '@angular/core';
|
||||
import {FormControl} from '@angular/forms';
|
||||
import {UntypedFormControl} from '@angular/forms';
|
||||
import {filterSong} from '../../../services/filter.helper';
|
||||
import {MatSelectChange} from '@angular/material/select';
|
||||
import {Song} from '../../../modules/songs/services/song';
|
||||
@@ -18,7 +18,7 @@ export class AddSongComponent {
|
||||
@Input() public showSongs: ShowSong[] | null = null;
|
||||
@Input() public show: Show | null = null;
|
||||
@Input() public addedLive = false;
|
||||
public filteredSongsControl = new FormControl();
|
||||
public filteredSongsControl = new UntypedFormControl();
|
||||
|
||||
public constructor(private showSongService: ShowSongService, private showService: ShowService) {}
|
||||
|
||||
@@ -45,7 +45,7 @@ export class AddSongComponent {
|
||||
|
||||
public async onAddSongSelectionChanged(event: MatSelectChange): Promise<void> {
|
||||
if (!this.show) return;
|
||||
const newId = await this.showSongService.new$(this.show?.id, event.value, this.addedLive);
|
||||
const newId = await this.showSongService.new$(this.show?.id, event.value as string, this.addedLive);
|
||||
await this.showService.update$(this.show?.id, {order: [...this.show.order, newId ?? '']});
|
||||
event.source.value = null;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Component, Input} from '@angular/core';
|
||||
import {IconProp} from '@fortawesome/fontawesome-svg-core';
|
||||
import {faCross} from '@fortawesome/free-solid-svg-icons/faCross';
|
||||
import {faCross} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
@Component({
|
||||
selector: 'app-link',
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {faMusic, faPersonBooth, faUserCog} from '@fortawesome/free-solid-svg-icons';
|
||||
import {faChalkboard, faMusic, faPersonBooth, faUserCog} from '@fortawesome/free-solid-svg-icons';
|
||||
import {fromEvent, Observable} from 'rxjs';
|
||||
import {distinctUntilChanged, map, shareReplay, startWith} from 'rxjs/operators';
|
||||
import {faChalkboard} from '@fortawesome/free-solid-svg-icons/faChalkboard';
|
||||
|
||||
@Component({
|
||||
selector: 'app-navigation',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Component, Input} from '@angular/core';
|
||||
import {IconProp} from '@fortawesome/fontawesome-svg-core';
|
||||
import {faCross} from '@fortawesome/free-solid-svg-icons/faCross';
|
||||
import {faCross} from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
@Component({
|
||||
selector: 'app-button',
|
||||
|
||||
@@ -56,7 +56,8 @@
|
||||
}
|
||||
|
||||
.chord {
|
||||
color: #009;
|
||||
color: #00b;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.offset {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {Component, ElementRef, EventEmitter, Input, OnInit, Output, QueryList, ViewChildren} from '@angular/core';
|
||||
import {TextRenderingService} from '../../../modules/songs/services/text-rendering.service';
|
||||
import {faGripLines} from '@fortawesome/free-solid-svg-icons/faGripLines';
|
||||
import {faGripLines} from '@fortawesome/free-solid-svg-icons';
|
||||
import {songSwitch} from './animation';
|
||||
import {TransposeMode} from '../../../modules/songs/services/transpose-mode';
|
||||
import {SectionType} from '../../../modules/songs/services/section-type';
|
||||
|
||||
Reference in New Issue
Block a user