fix standalone

This commit is contained in:
2025-01-05 09:55:54 +01:00
parent e3fa1678c2
commit 597e89ffb3
10 changed files with 37 additions and 74 deletions

View File

@@ -7,6 +7,9 @@ import {SectionType} from '../../../modules/songs/services/section-type';
import {LineType} from '../../../modules/songs/services/line-type';
import {Section} from '../../../modules/songs/services/section';
import {Line} from '../../../modules/songs/services/line';
import {NgForOf, NgIf} from '@angular/common';
import {MatIconButton} from '@angular/material/button';
import {FaIconComponent} from '@fortawesome/angular-fontawesome';
export type ChordMode = 'show' | 'hide' | 'onlyFirst';
@@ -15,6 +18,7 @@ export type ChordMode = 'show' | 'hide' | 'onlyFirst';
templateUrl: './song-text.component.html',
styleUrls: ['./song-text.component.less'],
animations: [songSwitch],
imports: [NgIf, MatIconButton, FaIconComponent, NgForOf],
})
export class SongTextComponent implements OnInit {
public sections: Section[] = [];

View File

@@ -1,13 +0,0 @@
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {SongTextComponent} from './song-text.component';
import {FontAwesomeModule} from '@fortawesome/angular-fontawesome';
import {MatButtonModule} from '@angular/material/button';
@NgModule({
declarations: [SongTextComponent],
exports: [SongTextComponent],
imports: [CommonModule, FontAwesomeModule, MatButtonModule],
})
export class SongTextModule {
}