You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.4 KiB
61 lines
2.4 KiB
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
import { MainComponent } from './components/main/main.component';
|
|
import {MatSidenavModule} from "@angular/material/sidenav";
|
|
import {MatInputModule} from "@angular/material/input";
|
|
import {MatSelectModule} from "@angular/material/select";
|
|
import {ApiService} from "./services/ApiService";
|
|
import {HttpClient, HttpClientModule, HttpHandler} from "@angular/common/http";
|
|
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
|
|
import {MatFormField, MatFormFieldModule} from "@angular/material/form-field";
|
|
import {MatSlideToggleModule} from "@angular/material/slide-toggle";
|
|
import {MatDatepickerModule} from "@angular/material/datepicker";
|
|
import {MatRadioModule} from "@angular/material/radio";
|
|
import {MatButtonModule} from "@angular/material/button";
|
|
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
|
import {MatCheckboxModule} from "@angular/material/checkbox";
|
|
import {MatToolbarModule} from "@angular/material/toolbar";
|
|
import {MatListModule} from "@angular/material/list";
|
|
import { HistoryComponent } from './components/history/history.component';
|
|
import {MatTableModule} from "@angular/material/table";
|
|
import {ReactiveFormsModule} from "@angular/forms";
|
|
import {MatNativeDateModule} from "@angular/material/core";
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
MainComponent,
|
|
HistoryComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
AppRoutingModule,
|
|
MatSidenavModule,
|
|
MatFormFieldModule,
|
|
MatInputModule,
|
|
MatSelectModule,
|
|
HttpClientModule,
|
|
BrowserAnimationsModule,
|
|
MatDatepickerModule,
|
|
MatButtonModule,
|
|
MatFormFieldModule,
|
|
MatNativeDateModule,
|
|
MatAutocompleteModule, MatCheckboxModule, MatButtonModule, MatFormFieldModule, MatDatepickerModule, MatRadioModule, MatInputModule, MatSelectModule, MatSlideToggleModule, MatSlideToggleModule, MatToolbarModule, MatListModule, MatTableModule, ReactiveFormsModule
|
|
],
|
|
exports: [
|
|
BrowserModule,
|
|
AppRoutingModule,
|
|
MatSidenavModule,
|
|
MatInputModule,
|
|
MatSelectModule,
|
|
HttpClientModule,
|
|
BrowserAnimationsModule,
|
|
MatFormFieldModule
|
|
],
|
|
providers: [ApiService, MatNativeDateModule],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|
|
|