1 | import { AppRoutingModule } from './app-routing.module';
|
---|
2 | import { AppComponent } from './app.component';
|
---|
3 | import { BrowserModule } from '@angular/platform-browser';
|
---|
4 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
---|
5 | import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
---|
6 | import {HttpClient, HttpClientModule} from '@angular/common/http';
|
---|
7 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
---|
8 | import { CategoryService } from './_services/cateogry.service';
|
---|
9 | import { PlannerComponent } from './planner/planner.component';
|
---|
10 | import { LocationComponent } from './location/location.component';
|
---|
11 | import { MatIconModule } from '@angular/material/icon';
|
---|
12 | import { MatSelectModule } from '@angular/material/select';
|
---|
13 | import {MatInputModule} from '@angular/material/input';
|
---|
14 | import {MatChipsModule} from '@angular/material/chips';
|
---|
15 | import {MatTabsModule} from '@angular/material/tabs';
|
---|
16 | import {MatDialogModule} from '@angular/material/dialog';
|
---|
17 | import {MatBadgeModule} from '@angular/material/badge';
|
---|
18 | import {MatDividerModule} from '@angular/material/divider';
|
---|
19 | import {MatCardModule} from '@angular/material/card';
|
---|
20 | import { PlannerService } from './_services/planner.service';
|
---|
21 | import { MatButtonModule } from '@angular/material/button';
|
---|
22 | import {MatGridListModule} from '@angular/material/grid-list';
|
---|
23 | import { CreateInitialPlannerComponent } from './create-initial-planner/create-initial-planner.component';
|
---|
24 | import { LocationsFormComponent } from './locations-form/locations-form.component';
|
---|
25 | import { MatFormFieldModule } from '@angular/material/form-field';
|
---|
26 | import {MatAutocompleteModule} from '@angular/material/autocomplete';
|
---|
27 | import { EditPlannerComponent } from './planner/edit-planner/edit-planner.component';
|
---|
28 | import { DetailPlannerComponent } from './planner/detail-planner/detail-planner.component';
|
---|
29 | import { AddLocationToPlannerPanelComponent } from './location/add-location-to-planner-panel/add-location-to-planner-panel.component';
|
---|
30 | import { HomepageComponent } from './homepage/homepage.component';
|
---|
31 | import {AccordionModule} from 'primeng/accordion'; //accordion and accordion tab
|
---|
32 | import {MenuItem} from 'primeng/api';
|
---|
33 | import {CarouselModule} from 'primeng/carousel';
|
---|
34 | import {ButtonModule} from 'primeng/button';
|
---|
35 | import {ToastModule} from 'primeng/toast';
|
---|
36 | import {TabViewModule} from 'primeng/tabview';
|
---|
37 | import { LocationDetailsComponent } from './location/location-details/location-details.component';
|
---|
38 | import {GalleriaModule} from 'primeng/galleria';
|
---|
39 |
|
---|
40 | @NgModule({
|
---|
41 | declarations: [
|
---|
42 | AppComponent,
|
---|
43 | PlannerComponent,
|
---|
44 | LocationComponent,
|
---|
45 | CreateInitialPlannerComponent,
|
---|
46 | LocationsFormComponent,
|
---|
47 | EditPlannerComponent,
|
---|
48 | DetailPlannerComponent,
|
---|
49 | AddLocationToPlannerPanelComponent,
|
---|
50 | HomepageComponent,
|
---|
51 | LocationDetailsComponent
|
---|
52 | ],
|
---|
53 | imports: [
|
---|
54 | BrowserModule,
|
---|
55 | AppRoutingModule,
|
---|
56 | FormsModule,
|
---|
57 | HttpClientModule,
|
---|
58 | BrowserAnimationsModule,
|
---|
59 | MatBadgeModule,
|
---|
60 | MatIconModule,
|
---|
61 | MatInputModule,
|
---|
62 | MatChipsModule,
|
---|
63 | MatTabsModule,
|
---|
64 | MatDialogModule,
|
---|
65 | MatDividerModule,
|
---|
66 | MatCardModule,
|
---|
67 | MatButtonModule,
|
---|
68 | MatGridListModule,
|
---|
69 | MatFormFieldModule,
|
---|
70 | MatAutocompleteModule,
|
---|
71 | HttpClientModule,
|
---|
72 | ReactiveFormsModule,
|
---|
73 | MatSelectModule,
|
---|
74 | AccordionModule,
|
---|
75 | CarouselModule,
|
---|
76 | ButtonModule,
|
---|
77 | ToastModule,
|
---|
78 | TabViewModule,
|
---|
79 | GalleriaModule
|
---|
80 | ],
|
---|
81 | providers: [
|
---|
82 | CategoryService,
|
---|
83 | PlannerService
|
---|
84 |
|
---|
85 | ],
|
---|
86 | bootstrap: [AppComponent],
|
---|
87 | schemas: [NO_ERRORS_SCHEMA]
|
---|
88 |
|
---|
89 | })
|
---|
90 | export class AppModule { }
|
---|