update npm version

This commit is contained in:
2022-02-13 22:16:50 +01:00
parent a5adbc2fb1
commit d4f8ce1cdd
10 changed files with 57715 additions and 25837 deletions

View File

@@ -1,11 +1,11 @@
<div *ngIf="songs$ | async as songs" class="view">
<swiper>
<div *ngFor="let song of songs" class="song">
<app-song-text
[showSwitch]="false"
[text]="song"
chordMode="hide"
></app-song-text>
</div>
</swiper>
<!-- <swiper>-->
<!-- <div *ngFor="let song of songs" class="song">-->
<!-- <app-song-text-->
<!-- [showSwitch]="false"-->
<!-- [text]="song"-->
<!-- chordMode="hide"-->
<!-- ></app-song-text>-->
<!-- </div>-->
<!-- </swiper>-->
</div>

View File

@@ -2,27 +2,10 @@ import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {GuestComponent} from './guest.component';
import {RouterModule} from '@angular/router';
import {SWIPER_CONFIG, SwiperConfigInterface, SwiperModule} from 'ngx-swiper-wrapper';
import {SongTextModule} from '../../widget-modules/components/song-text/song-text.module';
const DEFAULT_SWIPER_CONFIG: SwiperConfigInterface = {
direction: 'horizontal',
slidesPerView: 1,
keyboard: true,
mousewheel: true,
scrollbar: false,
navigation: true,
pagination: false,
};
@NgModule({
declarations: [GuestComponent],
imports: [CommonModule, RouterModule.forChild([{path: '', component: GuestComponent}]), SwiperModule, SongTextModule],
providers: [
{
provide: SWIPER_CONFIG,
useValue: DEFAULT_SWIPER_CONFIG,
},
],
imports: [CommonModule, RouterModule.forChild([{path: '', component: GuestComponent}]), SongTextModule],
})
export class GuestModule {}