update npm version
This commit is contained in:
83414
package-lock.json
generated
83414
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
84
package.json
84
package.json
@@ -11,67 +11,63 @@
|
|||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^13.0.0",
|
"@angular/animations": "^13.2.2",
|
||||||
"@angular/cdk": "^13.2.2",
|
"@angular/cdk": "^13.2.2",
|
||||||
"@angular/common": "^13.0.0",
|
"@angular/common": "^13.2.2",
|
||||||
"@angular/compiler": "^13.0.0",
|
"@angular/compiler": "^13.2.2",
|
||||||
"@angular/core": "^13.0.0",
|
"@angular/core": "^13.2.2",
|
||||||
"@angular/fire": "^7.2.1",
|
"@angular/fire": "^7.2.1",
|
||||||
"@angular/forms": "^13.0.0",
|
"@angular/forms": "^13.2.2",
|
||||||
"@angular/material": "^13.2.2",
|
"@angular/material": "^13.2.2",
|
||||||
"@angular/platform-browser": "^13.0.0",
|
"@angular/platform-browser": "^13.2.2",
|
||||||
"@angular/platform-browser-dynamic": "^13.0.0",
|
"@angular/platform-browser-dynamic": "^13.2.2",
|
||||||
"@angular/router": "^13.0.0",
|
"@angular/router": "^13.2.2",
|
||||||
"@angular/service-worker": "^13.0.0",
|
"@angular/service-worker": "^13.2.2",
|
||||||
"@fortawesome/angular-fontawesome": "^0.6.1",
|
"@fortawesome/angular-fontawesome": "^0.10.1",
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.28",
|
"@fortawesome/fontawesome-svg-core": "^1.3.0",
|
||||||
"@fortawesome/free-solid-svg-icons": "^5.13.0",
|
"@fortawesome/free-solid-svg-icons": "^6.0.0",
|
||||||
"docx": "^6.0.3",
|
"docx": "^7.3.0",
|
||||||
"firebase": "^9.4.0",
|
"firebase": "^9.6.6",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"ngx-mat-select-search": "^3.3.0",
|
"ngx-mat-select-search": "^4.0.2",
|
||||||
"ngx-perfect-scrollbar": "^10.1.1",
|
"ngx-perfect-scrollbar": "^10.1.1",
|
||||||
"ngx-swiper-wrapper": "^10.0.0",
|
|
||||||
"rxjs": "~7.5.4",
|
"rxjs": "~7.5.4",
|
||||||
"tslib": "^2.0.0",
|
"tslib": "^2.3.1",
|
||||||
"zone.js": "~0.11.4",
|
"zone.js": "~0.11.4",
|
||||||
"rxfire": "^6.0.0"
|
"rxfire": "^6.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/architect": "0.1302.3",
|
"@angular-devkit/architect": "0.1302.3",
|
||||||
"@angular-devkit/build-angular": "~13.2.3",
|
"@angular-devkit/build-angular": "~13.2.3",
|
||||||
"@angular-eslint/builder": "12.0.0",
|
"@angular-eslint/builder": "13.1.0",
|
||||||
"@angular-eslint/eslint-plugin": "12.0.0",
|
"@angular-eslint/eslint-plugin": "13.1.0",
|
||||||
"@angular-eslint/eslint-plugin-template": "12.0.0",
|
"@angular-eslint/eslint-plugin-template": "13.1.0",
|
||||||
"@angular-eslint/schematics": "12.0.0",
|
"@angular-eslint/schematics": "13.1.0",
|
||||||
"@angular-eslint/template-parser": "12.0.0",
|
"@angular-eslint/template-parser": "13.1.0",
|
||||||
"@angular/cli": "~13.2.3",
|
"@angular/cli": "~13.2.3",
|
||||||
"@angular/compiler-cli": "^13.0.0",
|
"@angular/compiler-cli": "^13.2.2",
|
||||||
"@angular/language-service": "^13.0.0",
|
"@angular/language-service": "^13.2.2",
|
||||||
"@types/jasmine": "~3.6.0",
|
"@types/jasmine": "~3.10.3",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.10",
|
||||||
"@types/lodash": "^4.14.171",
|
"@types/lodash": "^4.14.178",
|
||||||
"@types/node": "^12.12.36",
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.29.1",
|
"@typescript-eslint/parser": "^5.11.0",
|
||||||
"@typescript-eslint/parser": "^4.29.1",
|
"eslint": "^8.9.0",
|
||||||
"eslint": "^7.26.0",
|
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^8.3.0",
|
||||||
"eslint-plugin-prettier": "^3.4.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"firebase-tools": "^9.23.3",
|
"firebase-tools": "^10.2.0",
|
||||||
"fuzzy": "^0.1.3",
|
"fuzzy": "^0.1.3",
|
||||||
"inquirer": "^6.2.2",
|
"inquirer": "^8.2.0",
|
||||||
"inquirer-autocomplete-prompt": "^1.0.1",
|
"inquirer-autocomplete-prompt": "^1.4.0",
|
||||||
"jasmine-core": "~3.6.0",
|
"jasmine-core": "~4.0.0",
|
||||||
"jasmine-spec-reporter": "~5.0.0",
|
"jasmine-spec-reporter": "~7.0.0",
|
||||||
"karma": "~6.3.16",
|
"karma": "~6.3.16",
|
||||||
"karma-chrome-launcher": "~3.1.0",
|
"karma-chrome-launcher": "~3.1.0",
|
||||||
"karma-coverage-istanbul-reporter": "~3.0.2",
|
"karma-coverage-istanbul-reporter": "~3.0.3",
|
||||||
"karma-jasmine": "~4.0.0",
|
"karma-jasmine": "~4.0.1",
|
||||||
"karma-jasmine-html-reporter": "^1.5.0",
|
"karma-jasmine-html-reporter": "^1.7.0",
|
||||||
"prettier": "^2.3.0",
|
"prettier": "^2.5.1",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
"swiper": "^6.6.2",
|
|
||||||
"ts-node": "~7.0.0",
|
|
||||||
"typescript": "~4.5.5"
|
"typescript": "~4.5.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<div *ngIf="songs$ | async as songs" class="view">
|
<div *ngIf="songs$ | async as songs" class="view">
|
||||||
<swiper>
|
<!-- <swiper>-->
|
||||||
<div *ngFor="let song of songs" class="song">
|
<!-- <div *ngFor="let song of songs" class="song">-->
|
||||||
<app-song-text
|
<!-- <app-song-text-->
|
||||||
[showSwitch]="false"
|
<!-- [showSwitch]="false"-->
|
||||||
[text]="song"
|
<!-- [text]="song"-->
|
||||||
chordMode="hide"
|
<!-- chordMode="hide"-->
|
||||||
></app-song-text>
|
<!-- ></app-song-text>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</swiper>
|
<!-- </swiper>-->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,27 +2,10 @@ import {NgModule} from '@angular/core';
|
|||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {GuestComponent} from './guest.component';
|
import {GuestComponent} from './guest.component';
|
||||||
import {RouterModule} from '@angular/router';
|
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';
|
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({
|
@NgModule({
|
||||||
declarations: [GuestComponent],
|
declarations: [GuestComponent],
|
||||||
imports: [CommonModule, RouterModule.forChild([{path: '', component: GuestComponent}]), SwiperModule, SongTextModule],
|
imports: [CommonModule, RouterModule.forChild([{path: '', component: GuestComponent}]), SongTextModule],
|
||||||
providers: [
|
|
||||||
{
|
|
||||||
provide: SWIPER_CONFIG,
|
|
||||||
useValue: DEFAULT_SWIPER_CONFIG,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class GuestModule {}
|
export class GuestModule {}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<ng-container *ngIf="shows$ | async as shows">
|
<ng-container *ngIf="shows$ | async as shows">
|
||||||
<app-card
|
<app-card
|
||||||
*ngIf="getPrivateSongs(shows).length > 0"
|
*ngIf="getPrivateSongs(shows).length > 0"
|
||||||
[@fade]
|
@fade
|
||||||
[padding]="false"
|
[padding]="false"
|
||||||
heading="meine Veranstaltungen"
|
heading="meine Veranstaltungen"
|
||||||
>
|
>
|
||||||
@@ -21,12 +21,12 @@
|
|||||||
<ng-container *ngIf="shows$ | async as shows">
|
<ng-container *ngIf="shows$ | async as shows">
|
||||||
<app-card
|
<app-card
|
||||||
*ngIf="getPublicShows(shows).length > 0"
|
*ngIf="getPublicShows(shows).length > 0"
|
||||||
[@fade]
|
@fade
|
||||||
[padding]="false"
|
[padding]="false"
|
||||||
heading="veröffentlichte Veranstaltungen"
|
heading="veröffentlichte Veranstaltungen"
|
||||||
>
|
>
|
||||||
<app-list-item
|
<app-list-item
|
||||||
*ngFor="let show of getPublicShows(shows) | sortBy: 'desc':'date'"
|
*ngFor="let show of getPublicShows(shows) | sortBy: 'desc':'date'; trackBy: trackBy"
|
||||||
[routerLink]="show.id"
|
[routerLink]="show.id"
|
||||||
[show]="show"
|
[show]="show"
|
||||||
></app-list-item>
|
></app-list-item>
|
||||||
|
|||||||
@@ -24,4 +24,6 @@ export class ListComponent {
|
|||||||
public getPrivateSongs(songs: Show[]): Show[] {
|
public getPrivateSongs(songs: Show[]): Show[] {
|
||||||
return songs.filter(_ => !_.published);
|
return songs.filter(_ => !_.published);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public trackBy = (index: number, show: unknown) => (show as Show).id;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<div *ngIf="showSongs" class="song-list" cdkDropList [cdkDropListDisabled]="show.published"
|
<div *ngIf="showSongs" class="song-list" cdkDropList [cdkDropListDisabled]="show.published"
|
||||||
(cdkDropListDropped)="drop($event, show)">
|
(cdkDropListDropped)="drop($event, show)">
|
||||||
<div *ngFor="let song of orderedShowSongs(show); let i = index" class="song-row" cdkDrag>
|
<div *ngFor="let song of orderedShowSongs(show); let i = index; trackBy: trackBy" class="song-row" cdkDrag>
|
||||||
<app-song
|
<app-song
|
||||||
[showSong]="song"
|
[showSong]="song"
|
||||||
[showId]="showId"
|
[showId]="showId"
|
||||||
|
|||||||
@@ -115,4 +115,6 @@ export class ShowComponent implements OnInit {
|
|||||||
if (!list) return [];
|
if (!list) return [];
|
||||||
return show.order.map(_ => list.filter(f => f.id === _)[0]);
|
return show.order.map(_ => list.filter(f => f.id === _)[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public trackBy = (index: number, show: ShowSong) => show.id;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<div *ngIf="songs$ | async as songs" [@fade]>
|
<div *ngIf="songs$ | async as songs" @fade>
|
||||||
<app-list-header [anyFilterActive]="anyFilterActive">
|
<app-list-header [anyFilterActive]="anyFilterActive">
|
||||||
<app-filter [songs]="songs" route="songs"></app-filter>
|
<app-filter [songs]="songs" route="songs"></app-filter>
|
||||||
</app-list-header>
|
</app-list-header>
|
||||||
|
|
||||||
<app-card [padding]="false">
|
<app-card [padding]="false">
|
||||||
<app-list-item
|
<app-list-item
|
||||||
*ngFor="let song of songs"
|
*ngFor="let song of songs; trackBy: trackBy"
|
||||||
[routerLink]="song.id"
|
[routerLink]="song.id"
|
||||||
[song]="song"
|
[song]="song"
|
||||||
></app-list-item>
|
></app-list-item>
|
||||||
|
|||||||
@@ -73,4 +73,5 @@ export class SongListComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
return flagStrings.indexOf(flag) !== -1;
|
return flagStrings.indexOf(flag) !== -1;
|
||||||
}
|
}
|
||||||
|
public trackBy = (index: number, show: Song) => show.id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user