Ajout de nouveaux modules
This commit is contained in:
@@ -8,6 +8,7 @@ import { MatIconModule } from "@angular/material/icon";
|
|||||||
import { MatListModule } from "@angular/material/list";
|
import { MatListModule } from "@angular/material/list";
|
||||||
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
|
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
|
||||||
import { MatRadioModule } from "@angular/material/radio";
|
import { MatRadioModule } from "@angular/material/radio";
|
||||||
|
import { MatProgressBarModule } from "@angular/material/progress-bar";
|
||||||
|
|
||||||
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";
|
||||||
@@ -31,6 +32,7 @@ import { TunnelFlight, TunnelFlightByMonth } from "../../models/tunnel-flight";
|
|||||||
MatProgressSpinnerModule,
|
MatProgressSpinnerModule,
|
||||||
RouterLink,
|
RouterLink,
|
||||||
MatRadioModule,
|
MatRadioModule,
|
||||||
|
MatProgressBarModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class ListOfTunnelFlightsComponent implements OnInit {
|
export class ListOfTunnelFlightsComponent implements OnInit {
|
||||||
|
|||||||
@@ -3,12 +3,21 @@ import { TranslateModule, TranslateService } from "@ngx-translate/core";
|
|||||||
import { CommonModule } from "@angular/common";
|
import { CommonModule } from "@angular/common";
|
||||||
import { MatSelectModule } from "@angular/material/select";
|
import { MatSelectModule } from "@angular/material/select";
|
||||||
import { MatOptionModule } from "@angular/material/core";
|
import { MatOptionModule } from "@angular/material/core";
|
||||||
|
import { MatCardModule } from "@angular/material/card";
|
||||||
|
import { MatTabsModule } from "@angular/material/tabs";
|
||||||
|
|
||||||
@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, CommonModule, MatSelectModule, MatOptionModule],
|
imports: [
|
||||||
|
TranslateModule,
|
||||||
|
CommonModule,
|
||||||
|
MatSelectModule,
|
||||||
|
MatOptionModule,
|
||||||
|
MatCardModule,
|
||||||
|
MatTabsModule,
|
||||||
|
],
|
||||||
})
|
})
|
||||||
export class LoginComponent implements OnInit {
|
export class LoginComponent implements OnInit {
|
||||||
public selectedLanguageFlag: string;
|
public selectedLanguageFlag: string;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import { Component, OnInit } from "@angular/core";
|
|||||||
import { FormControl, FormGroup, Validators } from "@angular/forms";
|
import { FormControl, FormGroup, Validators } from "@angular/forms";
|
||||||
import { TranslateModule } from "@ngx-translate/core";
|
import { TranslateModule } from "@ngx-translate/core";
|
||||||
import { MatFormFieldModule } from "@angular/material/form-field";
|
import { MatFormFieldModule } from "@angular/material/form-field";
|
||||||
|
import { MatCheckboxModule } from "@angular/material/checkbox";
|
||||||
|
|
||||||
import { AddAction } from "../../models/add-action.enum";
|
import { AddAction } from "../../models/add-action.enum";
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ import { DropzoneService } from "../../services/dropzone.service";
|
|||||||
selector: "app-new-drop-zone",
|
selector: "app-new-drop-zone",
|
||||||
templateUrl: "./new-drop-zone.component.html",
|
templateUrl: "./new-drop-zone.component.html",
|
||||||
styleUrls: ["./new-drop-zone.component.css"],
|
styleUrls: ["./new-drop-zone.component.css"],
|
||||||
imports: [TranslateModule, MatFormFieldModule],
|
imports: [TranslateModule, MatFormFieldModule, MatCheckboxModule],
|
||||||
})
|
})
|
||||||
export class NewDropZoneComponent implements OnInit {
|
export class NewDropZoneComponent implements OnInit {
|
||||||
public addForm: FormGroup;
|
public addForm: FormGroup;
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ import { CommonModule } from "@angular/common";
|
|||||||
import { MatIconModule } from "@angular/material/icon";
|
import { MatIconModule } from "@angular/material/icon";
|
||||||
import { MatOptionModule } from "@angular/material/core";
|
import { MatOptionModule } from "@angular/material/core";
|
||||||
import { MatFormFieldModule } from "@angular/material/form-field";
|
import { MatFormFieldModule } from "@angular/material/form-field";
|
||||||
|
import { MatCheckboxModule } from "@angular/material/checkbox";
|
||||||
|
import { MatAutocompleteModule } from "@angular/material/autocomplete";
|
||||||
|
import { MatDatepickerModule } from "@angular/material/datepicker";
|
||||||
|
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
|
||||||
|
|
||||||
import { JumpTypeResp } from "../../models/jumpType";
|
import { JumpTypeResp } from "../../models/jumpType";
|
||||||
import { AircraftResp } from "../../models/aircraft";
|
import { AircraftResp } from "../../models/aircraft";
|
||||||
@@ -56,6 +60,10 @@ class PickDateAdapter extends NativeDateAdapter {
|
|||||||
MatOptionModule,
|
MatOptionModule,
|
||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
RouterLink,
|
RouterLink,
|
||||||
|
MatCheckboxModule,
|
||||||
|
MatAutocompleteModule,
|
||||||
|
MatDatepickerModule,
|
||||||
|
MatProgressSpinnerModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class NewJumpComponent implements OnInit {
|
export class NewJumpComponent implements OnInit {
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ import { MatIconModule } from "@angular/material/icon";
|
|||||||
import { MatOptionModule } from "@angular/material/core";
|
import { MatOptionModule } from "@angular/material/core";
|
||||||
import { MatAutocompleteModule } from "@angular/material/autocomplete";
|
import { MatAutocompleteModule } from "@angular/material/autocomplete";
|
||||||
import { MatFormFieldModule } from "@angular/material/form-field";
|
import { MatFormFieldModule } from "@angular/material/form-field";
|
||||||
|
import { MatDatepickerModule } from "@angular/material/datepicker";
|
||||||
|
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
|
||||||
|
|
||||||
import { TunnelResp } from "../../models/tunnel";
|
import { TunnelResp } from "../../models/tunnel";
|
||||||
|
|
||||||
@@ -53,6 +55,8 @@ class PickDateAdapter extends NativeDateAdapter {
|
|||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
MatOptionModule,
|
MatOptionModule,
|
||||||
RouterLink,
|
RouterLink,
|
||||||
|
MatDatepickerModule,
|
||||||
|
MatProgressSpinnerModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class NewTunnelFlightComponent implements OnInit {
|
export class NewTunnelFlightComponent implements OnInit {
|
||||||
|
|||||||
Reference in New Issue
Block a user