customer - upgrade angular 10 to 11

This commit is contained in:
Roland Schneider 2021-09-07 14:03:42 +02:00
parent 78b400c5e5
commit 12d31fce21
19 changed files with 3659 additions and 5623 deletions

View File

@ -45,7 +45,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,

File diff suppressed because it is too large Load Diff

View File

@ -11,14 +11,14 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "~10.2.5", "@angular/animations": "~11.2.14",
"@angular/common": "~10.2.5", "@angular/common": "~11.2.14",
"@angular/compiler": "~10.2.5", "@angular/compiler": "~11.2.14",
"@angular/core": "~10.2.5", "@angular/core": "~11.2.14",
"@angular/forms": "~10.2.5", "@angular/forms": "~11.2.14",
"@angular/platform-browser": "~10.2.5", "@angular/platform-browser": "~11.2.14",
"@angular/platform-browser-dynamic": "~10.2.5", "@angular/platform-browser-dynamic": "~11.2.14",
"@angular/router": "~10.2.5", "@angular/router": "~11.2.14",
"@fortawesome/angular-fontawesome": "^0.9.0", "@fortawesome/angular-fontawesome": "^0.9.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4", "@fortawesome/free-solid-svg-icons": "^5.15.4",
@ -30,17 +30,17 @@
"zone.js": "~0.10.2" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1002.3", "@angular-devkit/build-angular": "~0.1102.14",
"@angular/cli": "~10.2.3", "@angular/cli": "~11.2.14",
"@angular/compiler-cli": "~10.2.5", "@angular/compiler-cli": "~11.2.14",
"@angular/language-service": "~10.2.5", "@angular/language-service": "~11.2.14",
"@types/node": "^12.11.1", "@types/node": "^12.11.1",
"@types/jasmine": "~3.3.8", "@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"codelyzer": "^5.1.2", "codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0", "jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0", "jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0", "karma": "~6.3.4",
"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.2",
"karma-jasmine": "~4.0.0", "karma-jasmine": "~4.0.0",

View File

@ -22,7 +22,7 @@ const routes: Routes = [
]; ];
@NgModule({ @NgModule({
imports: [RouterModule.forRoot(routes)], imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule] exports: [RouterModule]
}) })
export class AppRoutingModule { } export class AppRoutingModule { }

View File

@ -1,9 +1,9 @@
import { TestBed, async } from '@angular/core/testing'; import { TestBed, waitForAsync } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing'; import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
describe('AppComponent', () => { describe('AppComponent', () => {
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
imports: [ imports: [
RouterTestingModule RouterTestingModule

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FitEventTypesComponent } from './fit-event-types.component'; import { FitEventTypesComponent } from './fit-event-types.component';
@ -6,7 +6,7 @@ describe('FitEventTypesComponent', () => {
let component: FitEventTypesComponent; let component: FitEventTypesComponent;
let fixture: ComponentFixture<FitEventTypesComponent>; let fixture: ComponentFixture<FitEventTypesComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ FitEventTypesComponent ] declarations: [ FitEventTypesComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FitNavigationComponent } from './fit-navigation.component'; import { FitNavigationComponent } from './fit-navigation.component';
@ -6,7 +6,7 @@ describe('FitNavigationComponent', () => {
let component: FitNavigationComponent; let component: FitNavigationComponent;
let fixture: ComponentFixture<FitNavigationComponent>; let fixture: ComponentFixture<FitNavigationComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ FitNavigationComponent ] declarations: [ FitNavigationComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FitSlidesComponent } from './fit-slides.component'; import { FitSlidesComponent } from './fit-slides.component';
@ -6,7 +6,7 @@ describe('FitSlidesComponent', () => {
let component: FitSlidesComponent; let component: FitSlidesComponent;
let fixture: ComponentFixture<FitSlidesComponent>; let fixture: ComponentFixture<FitSlidesComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ FitSlidesComponent ] declarations: [ FitSlidesComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { FitWeekdaySelectorComponent } from './fit-weekday-selector.component'; import { FitWeekdaySelectorComponent } from './fit-weekday-selector.component';
@ -6,7 +6,7 @@ describe('FitWeekdaySelectorComponent', () => {
let component: FitWeekdaySelectorComponent; let component: FitWeekdaySelectorComponent;
let fixture: ComponentFixture<FitWeekdaySelectorComponent>; let fixture: ComponentFixture<FitWeekdaySelectorComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ FitWeekdaySelectorComponent ] declarations: [ FitWeekdaySelectorComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { MonthCalendarDayComponent } from './month-calendar-day.component'; import { MonthCalendarDayComponent } from './month-calendar-day.component';
@ -6,7 +6,7 @@ describe('MonthCalendarDayComponent', () => {
let component: MonthCalendarDayComponent; let component: MonthCalendarDayComponent;
let fixture: ComponentFixture<MonthCalendarDayComponent>; let fixture: ComponentFixture<MonthCalendarDayComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ MonthCalendarDayComponent ] declarations: [ MonthCalendarDayComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { MonthCalendarEventComponent } from './month-calendar-event.component'; import { MonthCalendarEventComponent } from './month-calendar-event.component';
@ -6,7 +6,7 @@ describe('MonthCalendarEventComponent', () => {
let component: MonthCalendarEventComponent; let component: MonthCalendarEventComponent;
let fixture: ComponentFixture<MonthCalendarEventComponent>; let fixture: ComponentFixture<MonthCalendarEventComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ MonthCalendarEventComponent ] declarations: [ MonthCalendarEventComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { MonthCalendarComponent } from './month-calendar.component'; import { MonthCalendarComponent } from './month-calendar.component';
@ -6,7 +6,7 @@ describe('MonthCalendarComponent', () => {
let component: MonthCalendarComponent; let component: MonthCalendarComponent;
let fixture: ComponentFixture<MonthCalendarComponent>; let fixture: ComponentFixture<MonthCalendarComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ MonthCalendarComponent ] declarations: [ MonthCalendarComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { EventDetailsComponent } from './event-details.component'; import { EventDetailsComponent } from './event-details.component';
@ -6,7 +6,7 @@ describe('EventDetailsComponent', () => {
let component: EventDetailsComponent; let component: EventDetailsComponent;
let fixture: ComponentFixture<EventDetailsComponent>; let fixture: ComponentFixture<EventDetailsComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ EventDetailsComponent ] declarations: [ EventDetailsComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { EventsComponent } from './events.component'; import { EventsComponent } from './events.component';
@ -6,7 +6,7 @@ describe('EventsComponent', () => {
let component: EventsComponent; let component: EventsComponent;
let fixture: ComponentFixture<EventsComponent>; let fixture: ComponentFixture<EventsComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ EventsComponent ] declarations: [ EventsComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { HomeComponent } from './home.component'; import { HomeComponent } from './home.component';
@ -6,7 +6,7 @@ describe('HomeComponent', () => {
let component: HomeComponent; let component: HomeComponent;
let fixture: ComponentFixture<HomeComponent>; let fixture: ComponentFixture<HomeComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ HomeComponent ] declarations: [ HomeComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { LoginComponent } from './login.component'; import { LoginComponent } from './login.component';
@ -6,7 +6,7 @@ describe('LoginComponent', () => {
let component: LoginComponent; let component: LoginComponent;
let fixture: ComponentFixture<LoginComponent>; let fixture: ComponentFixture<LoginComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ LoginComponent ] declarations: [ LoginComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { ProfileComponent } from './profile.component'; import { ProfileComponent } from './profile.component';
@ -6,7 +6,7 @@ describe('ProfileComponent', () => {
let component: ProfileComponent; let component: ProfileComponent;
let fixture: ComponentFixture<ProfileComponent>; let fixture: ComponentFixture<ProfileComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ ProfileComponent ] declarations: [ ProfileComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RegistrationComponent } from './registration.component'; import { RegistrationComponent } from './registration.component';
@ -6,7 +6,7 @@ describe('RegistrationComponent', () => {
let component: RegistrationComponent; let component: RegistrationComponent;
let fixture: ComponentFixture<RegistrationComponent>; let fixture: ComponentFixture<RegistrationComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ RegistrationComponent ] declarations: [ RegistrationComponent ]
}) })

View File

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { RegistrationsComponent } from './registrations.component'; import { RegistrationsComponent } from './registrations.component';
@ -6,7 +6,7 @@ describe('RegistrationsComponent', () => {
let component: RegistrationsComponent; let component: RegistrationsComponent;
let fixture: ComponentFixture<RegistrationsComponent>; let fixture: ComponentFixture<RegistrationsComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ RegistrationsComponent ] declarations: [ RegistrationsComponent ]
}) })