[6a3a178] | 1 | import { AppRoutingModule } from './app-routing.module';
|
---|
| 2 | import { AppComponent } from './app.component';
|
---|
| 3 | import { BrowserModule } from '@angular/platform-browser';
|
---|
[fa375fe] | 4 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
---|
| 5 | import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
---|
[6a3a178] | 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';
|
---|
[fa375fe] | 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';
|
---|
[6a80231] | 27 | import { EditPlannerComponent } from './planner/edit-planner/edit-planner.component';
|
---|
| 28 | import { DetailPlannerComponent } from './planner/detail-planner/detail-planner.component';
|
---|
[ceaed42] | 29 | import { AddLocationToPlannerPanelComponent } from './location/add-location-to-planner-panel/add-location-to-planner-panel.component';
|
---|
[59329aa] | 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';
|
---|
[6a3a178] | 39 |
|
---|
| 40 | @NgModule({
|
---|
| 41 | declarations: [
|
---|
| 42 | AppComponent,
|
---|
| 43 | PlannerComponent,
|
---|
[fa375fe] | 44 | LocationComponent,
|
---|
| 45 | CreateInitialPlannerComponent,
|
---|
[6a80231] | 46 | LocationsFormComponent,
|
---|
| 47 | EditPlannerComponent,
|
---|
[ceaed42] | 48 | DetailPlannerComponent,
|
---|
[59329aa] | 49 | AddLocationToPlannerPanelComponent,
|
---|
| 50 | HomepageComponent,
|
---|
| 51 | LocationDetailsComponent
|
---|
[6a80231] | 52 | ],
|
---|
[6a3a178] | 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,
|
---|
[fa375fe] | 68 | MatGridListModule,
|
---|
| 69 | MatFormFieldModule,
|
---|
| 70 | MatAutocompleteModule,
|
---|
| 71 | HttpClientModule,
|
---|
| 72 | ReactiveFormsModule,
|
---|
[59329aa] | 73 | MatSelectModule,
|
---|
| 74 | AccordionModule,
|
---|
| 75 | CarouselModule,
|
---|
| 76 | ButtonModule,
|
---|
| 77 | ToastModule,
|
---|
| 78 | TabViewModule,
|
---|
| 79 | GalleriaModule
|
---|
[6a3a178] | 80 | ],
|
---|
| 81 | providers: [
|
---|
| 82 | CategoryService,
|
---|
| 83 | PlannerService
|
---|
[fa375fe] | 84 |
|
---|
[6a3a178] | 85 | ],
|
---|
[fa375fe] | 86 | bootstrap: [AppComponent],
|
---|
| 87 | schemas: [NO_ERRORS_SCHEMA]
|
---|
[6a3a178] | 88 |
|
---|
| 89 | })
|
---|
| 90 | export class AppModule { }
|
---|