2021-08-02 16:52:31 +02:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { NavigationComponent } from './navigation/navigation.component';
|
|
|
|
import { LayoutModule } from '@angular/cdk/layout';
|
|
|
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
import { MatListModule } from '@angular/material/list';
|
|
|
|
import { MessagesComponent } from './messages/messages.component';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { TestOutputComponent } from './test-output/test-output.component';
|
|
|
|
import { MatCardModule } from '@angular/material/card';
|
|
|
|
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
|
|
import { ErrorHandlerInterceptor } from './error-handler.interceptor';
|
|
|
|
import { AuthHandlerInterceptor } from './auth-handler.interceptor';
|
|
|
|
import { LogoutComponent } from './logout/logout.component';
|
|
|
|
import { LoginComponent } from './login/login.component';
|
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { MatInputModule } from '@angular/material/input';
|
2021-08-30 19:00:27 +02:00
|
|
|
import { MatFormFieldModule } from '@angular/material/form-field'
|
2021-08-29 12:50:59 +02:00
|
|
|
import { MyTenantsComponent } from './my-tenants/my-tenants.component';
|
2021-08-30 15:55:08 +02:00
|
|
|
import { MatTableModule } from '@angular/material/table';
|
|
|
|
import { MyPremisesComponent } from './my-premises/my-premises.component';
|
|
|
|
import { MyFlatsComponent } from './my-flats/my-flats.component';
|
|
|
|
import { MyParkingsComponent } from './my-parkings/my-parkings.component';
|
|
|
|
import { MyCommercialUnitsComponent } from './my-commercial-units/my-commercial-units.component';
|
2021-08-30 19:00:27 +02:00
|
|
|
import { TenantDetailsComponent } from './tenant-details/tenant-details.component';
|
2021-09-01 17:58:49 +02:00
|
|
|
import { PremiseDetailsComponent } from './premise-details/premise-details.component';
|
|
|
|
import { FlatDetailsComponent } from './flat-details/flat-details.component';
|
2021-09-02 15:50:29 +02:00
|
|
|
import { MatSelectModule } from '@angular/material/select';
|
|
|
|
import { ParkingDetailsComponent } from './parking-details/parking-details.component';
|
2021-09-02 18:26:55 +02:00
|
|
|
import { CommercialUnitDetailsComponent } from './commercial-unit-details/commercial-unit-details.component';
|
|
|
|
import { OverheadAdvanceListComponent } from './overhead-advance-list/overhead-advance-list.component';
|
|
|
|
import { OverheadAdvanceDetailsComponent } from './overhead-advance-details/overhead-advance-details.component'
|
|
|
|
import { MatDatepickerModule } from '@angular/material/datepicker'
|
|
|
|
import { MatNativeDateModule } from '@angular/material/core';
|
2021-09-07 17:52:02 +02:00
|
|
|
import { FeeListComponent } from './fee-list/fee-list.component';
|
|
|
|
import { FeeDetailsComponent } from './fee-details/fee-details.component';
|
2021-09-09 15:49:49 +02:00
|
|
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
|
|
import { AccountComponent } from './account/account.component'
|
2021-09-02 18:26:55 +02:00
|
|
|
|
2021-08-02 16:52:31 +02:00
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
NavigationComponent,
|
|
|
|
MessagesComponent,
|
|
|
|
TestOutputComponent,
|
|
|
|
LogoutComponent,
|
2021-08-29 12:50:59 +02:00
|
|
|
LoginComponent,
|
2021-08-30 15:55:08 +02:00
|
|
|
MyTenantsComponent,
|
|
|
|
MyPremisesComponent,
|
|
|
|
MyFlatsComponent,
|
|
|
|
MyParkingsComponent,
|
2021-08-30 19:00:27 +02:00
|
|
|
MyCommercialUnitsComponent,
|
2021-09-01 17:58:49 +02:00
|
|
|
TenantDetailsComponent,
|
|
|
|
PremiseDetailsComponent,
|
2021-09-02 15:50:29 +02:00
|
|
|
FlatDetailsComponent,
|
|
|
|
ParkingDetailsComponent,
|
2021-09-02 18:26:55 +02:00
|
|
|
CommercialUnitDetailsComponent,
|
|
|
|
OverheadAdvanceListComponent,
|
2021-09-07 17:52:02 +02:00
|
|
|
OverheadAdvanceDetailsComponent,
|
|
|
|
FeeListComponent,
|
2021-09-09 15:49:49 +02:00
|
|
|
FeeDetailsComponent,
|
|
|
|
AccountComponent
|
2021-08-02 16:52:31 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
LayoutModule,
|
|
|
|
HttpClientModule,
|
|
|
|
MatToolbarModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatSidenavModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatListModule,
|
|
|
|
MatCardModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
FormsModule,
|
|
|
|
ReactiveFormsModule,
|
2021-08-30 15:55:08 +02:00
|
|
|
MatTableModule,
|
2021-08-30 19:00:27 +02:00
|
|
|
MatInputModule,
|
2021-09-01 17:58:49 +02:00
|
|
|
MatFormFieldModule,
|
2021-09-02 18:26:55 +02:00
|
|
|
MatSelectModule,
|
|
|
|
MatDatepickerModule,
|
2021-09-08 18:13:59 +02:00
|
|
|
MatNativeDateModule,
|
2021-09-08 18:47:05 +02:00
|
|
|
MatExpansionModule
|
2021-08-02 16:52:31 +02:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
{ provide: HTTP_INTERCEPTORS, useClass: ErrorHandlerInterceptor, multi: true },
|
2021-09-02 18:26:55 +02:00
|
|
|
{ provide: HTTP_INTERCEPTORS, useClass: AuthHandlerInterceptor, multi: true },
|
|
|
|
MatNativeDateModule
|
2021-08-02 16:52:31 +02:00
|
|
|
],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|