Update to Angular v19 and fixing #3
4799
Front/skydivelogs-app/error.txt
Normal file
4799
Front/skydivelogs-app/error.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,7 @@
|
|||||||
import { Component, OnInit } from "@angular/core";
|
import { Component, OnInit } from "@angular/core";
|
||||||
import { Router } from "@angular/router";
|
import { Router } from "@angular/router";
|
||||||
import { TranslateService } from "@ngx-translate/core";
|
import { TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { User } from "../models/user";
|
import { User } from "../models/user";
|
||||||
import { CacheApiKey } from "../models/cache-api-key.enum";
|
import { CacheApiKey } from "../models/cache-api-key.enum";
|
||||||
@@ -14,7 +15,7 @@ import { ServiceCacheApi } from "../services/service-cache-api.service";
|
|||||||
selector: "app-root",
|
selector: "app-root",
|
||||||
templateUrl: "./app.component.html",
|
templateUrl: "./app.component.html",
|
||||||
styleUrls: ["./app.component.css"],
|
styleUrls: ["./app.component.css"],
|
||||||
imports: [],
|
imports: [CommonModule],
|
||||||
})
|
})
|
||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
public title = "app";
|
public title = "app";
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { Component, OnInit } from "@angular/core";
|
|||||||
import { Router, ActivatedRoute } from "@angular/router";
|
import { Router, ActivatedRoute } from "@angular/router";
|
||||||
import { FormBuilder, FormGroup, Validators } from "@angular/forms";
|
import { FormBuilder, FormGroup, Validators } from "@angular/forms";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { first } from "rxjs/operators";
|
import { first } from "rxjs/operators";
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ import { User } from "../../models/user";
|
|||||||
selector: "app-create-user",
|
selector: "app-create-user",
|
||||||
templateUrl: "./create-user.component.html",
|
templateUrl: "./create-user.component.html",
|
||||||
styleUrls: ["./create-user.component.css"],
|
styleUrls: ["./create-user.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class CreateUserComponent implements OnInit {
|
export class CreateUserComponent implements OnInit {
|
||||||
createForm: FormGroup;
|
createForm: FormGroup;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { Component, Inject, OnInit } from "@angular/core";
|
import { Component, Inject, OnInit } from "@angular/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
import { MAT_DIALOG_DATA } from "@angular/material/dialog";
|
||||||
|
|
||||||
import { AddAction } from "../../models/add-action.enum";
|
import { AddAction } from "../../models/add-action.enum";
|
||||||
@@ -11,7 +12,7 @@ import { TranslateModule } from "@ngx-translate/core";
|
|||||||
selector: "app-jump-infos",
|
selector: "app-jump-infos",
|
||||||
templateUrl: "./jump-infos.component.html",
|
templateUrl: "./jump-infos.component.html",
|
||||||
styleUrls: ["./jump-infos.component.css"],
|
styleUrls: ["./jump-infos.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class JumpInfosComponent implements OnInit {
|
export class JumpInfosComponent implements OnInit {
|
||||||
public editMode: boolean;
|
public editMode: boolean;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { MatPaginator } from "@angular/material/paginator";
|
|||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
import { MatDialog } from "@angular/material/dialog";
|
import { MatDialog } from "@angular/material/dialog";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { AircraftService } from "../../services/aircraft.service";
|
import { AircraftService } from "../../services/aircraft.service";
|
||||||
import { ServiceComm } from "../../services/service-comm.service";
|
import { ServiceComm } from "../../services/service-comm.service";
|
||||||
@@ -15,7 +16,7 @@ import { AircraftResp } from "../../models/aircraft";
|
|||||||
selector: "app-list-of-aircrafts",
|
selector: "app-list-of-aircrafts",
|
||||||
templateUrl: "./list-of-aircrafts.component.html",
|
templateUrl: "./list-of-aircrafts.component.html",
|
||||||
styleUrls: ["./list-of-aircrafts.component.css"],
|
styleUrls: ["./list-of-aircrafts.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfAircraftsComponent implements OnInit {
|
export class ListOfAircraftsComponent implements OnInit {
|
||||||
public displayedColumns: Array<string> = ["name", "imageData"];
|
public displayedColumns: Array<string> = ["name", "imageData"];
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { MatPaginator } from "@angular/material/paginator";
|
|||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
import { MatDialog } from "@angular/material/dialog";
|
import { MatDialog } from "@angular/material/dialog";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { AddAction } from "../../models/add-action.enum";
|
import { AddAction } from "../../models/add-action.enum";
|
||||||
import { DropZoneResp } from "../../models/dropzone";
|
import { DropZoneResp } from "../../models/dropzone";
|
||||||
@@ -15,7 +16,7 @@ import { NewDropZoneComponent } from "../new-drop-zone/new-drop-zone.component";
|
|||||||
selector: "app-list-of-dzs",
|
selector: "app-list-of-dzs",
|
||||||
templateUrl: "./list-of-dzs.component.html",
|
templateUrl: "./list-of-dzs.component.html",
|
||||||
styleUrls: ["./list-of-dzs.component.css"],
|
styleUrls: ["./list-of-dzs.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfDzsComponent implements OnInit {
|
export class ListOfDzsComponent implements OnInit {
|
||||||
public displayedColumns: Array<string> = [
|
public displayedColumns: Array<string> = [
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { MatPaginator } from "@angular/material/paginator";
|
|||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
import { MatDialog } from "@angular/material/dialog";
|
import { MatDialog } from "@angular/material/dialog";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { GearService } from "../../services/gear.service";
|
import { GearService } from "../../services/gear.service";
|
||||||
import { ServiceComm } from "../../services/service-comm.service";
|
import { ServiceComm } from "../../services/service-comm.service";
|
||||||
@@ -14,7 +15,7 @@ import { NewGearComponent } from "../new-gear/new-gear.component";
|
|||||||
selector: "app-list-of-gears",
|
selector: "app-list-of-gears",
|
||||||
templateUrl: "./list-of-gears.component.html",
|
templateUrl: "./list-of-gears.component.html",
|
||||||
styleUrls: ["./list-of-gears.component.css"],
|
styleUrls: ["./list-of-gears.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfGearsComponent implements OnInit {
|
export class ListOfGearsComponent implements OnInit {
|
||||||
public displayedColumns: Array<string> = [
|
public displayedColumns: Array<string> = [
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { FormGroup, FormControl, Validators } from "@angular/forms";
|
|||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
import { MatPaginator } from "@angular/material/paginator";
|
import { MatPaginator } from "@angular/material/paginator";
|
||||||
import { trigger, state, style } from "@angular/animations";
|
import { trigger, state, style } from "@angular/animations";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { ImageService } from "../../services/image.service";
|
import { ImageService } from "../../services/image.service";
|
||||||
import { ServiceComm } from "../../services/service-comm.service";
|
import { ServiceComm } from "../../services/service-comm.service";
|
||||||
@@ -22,7 +23,7 @@ import { TranslateModule } from "@ngx-translate/core";
|
|||||||
state("rot270", style({ transform: "rotate(-270deg)" })),
|
state("rot270", style({ transform: "rotate(-270deg)" })),
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfImagesComponent implements OnInit {
|
export class ListOfImagesComponent implements OnInit {
|
||||||
public displayedColumns: Array<string> = ["comment", "data"];
|
public displayedColumns: Array<string> = ["comment", "data"];
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { MatPaginator } from "@angular/material/paginator";
|
|||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
import { MatDialog } from "@angular/material/dialog";
|
import { MatDialog } from "@angular/material/dialog";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { AddAction } from "../../models/add-action.enum";
|
import { AddAction } from "../../models/add-action.enum";
|
||||||
import { JumpTypeResp } from "../../models/jumpType";
|
import { JumpTypeResp } from "../../models/jumpType";
|
||||||
@@ -15,7 +16,7 @@ import { NewJumpTypeComponent } from "../new-jump-type/new-jump-type.component";
|
|||||||
selector: "app-list-of-jump-types",
|
selector: "app-list-of-jump-types",
|
||||||
templateUrl: "./list-of-jump-types.component.html",
|
templateUrl: "./list-of-jump-types.component.html",
|
||||||
styleUrls: ["./list-of-jump-types.component.css"],
|
styleUrls: ["./list-of-jump-types.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfJumpTypesComponent implements OnInit {
|
export class ListOfJumpTypesComponent implements OnInit {
|
||||||
public displayedColumns: Array<string> = ["name"];
|
public displayedColumns: Array<string> = ["name"];
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { MatPaginator, PageEvent } from "@angular/material/paginator";
|
|||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
import { MatDialog } from "@angular/material/dialog";
|
import { MatDialog } from "@angular/material/dialog";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { AddAction } from "../../models/add-action.enum";
|
import { AddAction } from "../../models/add-action.enum";
|
||||||
import { Jump } from "../../models/jump";
|
import { Jump } from "../../models/jump";
|
||||||
@@ -15,7 +16,7 @@ import { StatsService } from "../../services/stats.service";
|
|||||||
selector: "app-list-of-jumps",
|
selector: "app-list-of-jumps",
|
||||||
templateUrl: "./list-of-jumps.component.html",
|
templateUrl: "./list-of-jumps.component.html",
|
||||||
styleUrls: ["./list-of-jumps.component.css"],
|
styleUrls: ["./list-of-jumps.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfJumpsComponent implements OnInit {
|
export class ListOfJumpsComponent implements OnInit {
|
||||||
public displayedColumns: Array<string> = [
|
public displayedColumns: Array<string> = [
|
||||||
|
|||||||
@@ -2,8 +2,11 @@ import { Component, OnInit } from "@angular/core";
|
|||||||
import { formatDate } from "@angular/common";
|
import { formatDate } from "@angular/common";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
import { MatTableDataSource } from "@angular/material/table";
|
import { MatTableDataSource } from "@angular/material/table";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { ChartConfiguration, ChartData, ChartType } from "chart.js";
|
import { ChartConfiguration, ChartData, ChartType } from "chart.js";
|
||||||
import { from, groupBy, mergeMap, reduce, map } from "rxjs";
|
import { from, groupBy, mergeMap, reduce, map } from "rxjs";
|
||||||
|
import { BaseChartDirective } from "ng2-charts";
|
||||||
|
|
||||||
import { ServiceComm } from "../../services/service-comm.service";
|
import { ServiceComm } from "../../services/service-comm.service";
|
||||||
import { TunnelFlightService } from "../../services/tunnel-flight.service";
|
import { TunnelFlightService } from "../../services/tunnel-flight.service";
|
||||||
@@ -14,7 +17,7 @@ import { TunnelFlight, TunnelFlightByMonth } from "../../models/tunnel-flight";
|
|||||||
selector: "app-list-of-tunnel-flights",
|
selector: "app-list-of-tunnel-flights",
|
||||||
templateUrl: "./list-of-tunnel-flights.component.html",
|
templateUrl: "./list-of-tunnel-flights.component.html",
|
||||||
styleUrls: ["./list-of-tunnel-flights.component.css"],
|
styleUrls: ["./list-of-tunnel-flights.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, BaseChartDirective, CommonModule],
|
||||||
})
|
})
|
||||||
export class ListOfTunnelFlightsComponent implements OnInit {
|
export class ListOfTunnelFlightsComponent implements OnInit {
|
||||||
public barChartLegend = true;
|
public barChartLegend = true;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { Component, OnInit, ViewChild, AfterViewInit } from "@angular/core";
|
|||||||
import { Router, ActivatedRoute } from "@angular/router";
|
import { Router, ActivatedRoute } from "@angular/router";
|
||||||
import { FormBuilder, FormGroup, Validators } from "@angular/forms";
|
import { FormBuilder, FormGroup, Validators } from "@angular/forms";
|
||||||
import { MatInput } from "@angular/material/input";
|
import { MatInput } from "@angular/material/input";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { first } from "rxjs/operators";
|
import { first } from "rxjs/operators";
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ import { TranslateModule } from "@ngx-translate/core";
|
|||||||
selector: "app-login-user",
|
selector: "app-login-user",
|
||||||
templateUrl: "./login-user.component.html",
|
templateUrl: "./login-user.component.html",
|
||||||
styleUrls: ["./login-user.component.css"],
|
styleUrls: ["./login-user.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class LoginUserComponent implements OnInit, AfterViewInit {
|
export class LoginUserComponent implements OnInit, AfterViewInit {
|
||||||
loginForm: FormGroup;
|
loginForm: FormGroup;
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
import { Component, OnInit } from "@angular/core";
|
import { Component, OnInit } from "@angular/core";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-login",
|
selector: "app-login",
|
||||||
templateUrl: "./login.component.html",
|
templateUrl: "./login.component.html",
|
||||||
styleUrls: ["./login.component.css"],
|
styleUrls: ["./login.component.css"],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class LoginComponent implements OnInit {
|
export class LoginComponent implements OnInit {
|
||||||
public selectedLanguageFlag: string;
|
public selectedLanguageFlag: string;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import {
|
|||||||
NativeDateAdapter,
|
NativeDateAdapter,
|
||||||
} from "@angular/material/core";
|
} from "@angular/material/core";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { JumpTypeResp } from "../../models/jumpType";
|
import { JumpTypeResp } from "../../models/jumpType";
|
||||||
import { AircraftResp } from "../../models/aircraft";
|
import { AircraftResp } from "../../models/aircraft";
|
||||||
@@ -44,7 +45,7 @@ class PickDateAdapter extends NativeDateAdapter {
|
|||||||
{ provide: DateAdapter, useClass: PickDateAdapter },
|
{ provide: DateAdapter, useClass: PickDateAdapter },
|
||||||
{ provide: MAT_DATE_FORMATS, useValue: PICK_FORMATS },
|
{ provide: MAT_DATE_FORMATS, useValue: PICK_FORMATS },
|
||||||
],
|
],
|
||||||
imports: [TranslateModule],
|
imports: [TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class NewJumpComponent implements OnInit {
|
export class NewJumpComponent implements OnInit {
|
||||||
public beginDate: Date;
|
public beginDate: Date;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import {
|
|||||||
NativeDateAdapter,
|
NativeDateAdapter,
|
||||||
} from "@angular/material/core";
|
} from "@angular/material/core";
|
||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
|
import { CommonModule } from "@angular/common";
|
||||||
|
|
||||||
import { TunnelResp } from "../../models/tunnel";
|
import { TunnelResp } from "../../models/tunnel";
|
||||||
|
|
||||||
@@ -40,7 +41,7 @@ class PickDateAdapter extends NativeDateAdapter {
|
|||||||
{ provide: DateAdapter, useClass: PickDateAdapter },
|
{ provide: DateAdapter, useClass: PickDateAdapter },
|
||||||
{ provide: MAT_DATE_FORMATS, useValue: PICK_FORMATS },
|
{ provide: MAT_DATE_FORMATS, useValue: PICK_FORMATS },
|
||||||
],
|
],
|
||||||
imports: [MatAutocompleteModule, TranslateModule],
|
imports: [MatAutocompleteModule, TranslateModule, CommonModule],
|
||||||
})
|
})
|
||||||
export class NewTunnelFlightComponent implements OnInit {
|
export class NewTunnelFlightComponent implements OnInit {
|
||||||
public flightDate: Date;
|
public flightDate: Date;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { MatTabChangeEvent, MatTabGroup } from "@angular/material/tabs";
|
|||||||
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
||||||
import { DatePipe } from "@angular/common";
|
import { DatePipe } from "@angular/common";
|
||||||
import { ChartConfiguration, ChartData, ChartType } from "chart.js";
|
import { ChartConfiguration, ChartData, ChartType } from "chart.js";
|
||||||
|
import { BaseChartDirective } from "ng2-charts";
|
||||||
import { MatTabsModule } from "@angular/material/tabs";
|
import { MatTabsModule } from "@angular/material/tabs";
|
||||||
|
|
||||||
import { ServiceComm } from "../../services/service-comm.service";
|
import { ServiceComm } from "../../services/service-comm.service";
|
||||||
@@ -20,7 +21,7 @@ import {
|
|||||||
selector: "app-summary",
|
selector: "app-summary",
|
||||||
templateUrl: "./summary.component.html",
|
templateUrl: "./summary.component.html",
|
||||||
styleUrls: ["./summary.component.css"],
|
styleUrls: ["./summary.component.css"],
|
||||||
imports: [MatTabsModule, TranslateModule],
|
imports: [MatTabsModule, TranslateModule, BaseChartDirective],
|
||||||
})
|
})
|
||||||
export class SummaryComponent implements OnInit {
|
export class SummaryComponent implements OnInit {
|
||||||
public dsNbJumpByDz: MatTableDataSource<StatsByDzResp>;
|
public dsNbJumpByDz: MatTableDataSource<StatsByDzResp>;
|
||||||
|
|||||||
Reference in New Issue
Block a user