Changeset e29cc2e for trip-planner-front/src/app/app.module.ts
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/app.module.ts
r59329aa re29cc2e 3 3 import { BrowserModule } from '@angular/platform-browser'; 4 4 import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 5 import { FormsModule, ReactiveFormsModule} from '@angular/forms';6 import { HttpClient, HttpClientModule} from '@angular/common/http';5 import { FormsModule, ReactiveFormsModule } from '@angular/forms'; 6 import { HttpClient, HttpClientModule } from '@angular/common/http'; 7 7 import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; 8 8 import { CategoryService } from './_services/cateogry.service'; … … 11 11 import { MatIconModule } from '@angular/material/icon'; 12 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';13 import { MatInputModule } from '@angular/material/input'; 14 import { MatChipsModule } from '@angular/material/chips'; 15 import { MatTabsModule } from '@angular/material/tabs'; 16 import { MatDialogModule, MatDialogRef } 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 20 import { PlannerService } from './_services/planner.service'; 21 21 import { MatButtonModule } from '@angular/material/button'; 22 import { MatGridListModule} from '@angular/material/grid-list';22 import { MatGridListModule } from '@angular/material/grid-list'; 23 23 import { CreateInitialPlannerComponent } from './create-initial-planner/create-initial-planner.component'; 24 24 import { LocationsFormComponent } from './locations-form/locations-form.component'; 25 25 import { MatFormFieldModule } from '@angular/material/form-field'; 26 import { MatAutocompleteModule} from '@angular/material/autocomplete';26 import { MatAutocompleteModule } from '@angular/material/autocomplete'; 27 27 import { EditPlannerComponent } from './planner/edit-planner/edit-planner.component'; 28 28 import { DetailPlannerComponent } from './planner/detail-planner/detail-planner.component'; 29 29 import { AddLocationToPlannerPanelComponent } from './location/add-location-to-planner-panel/add-location-to-planner-panel.component'; 30 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'; 31 import { AccordionModule } from 'primeng/accordion'; //accordion and accordion tab 32 import { CarouselModule } from 'primeng/carousel'; 33 import { ButtonModule } from 'primeng/button'; 34 import { ToastModule } from 'primeng/toast'; 35 import { TabViewModule } from 'primeng/tabview'; 37 36 import { LocationDetailsComponent } from './location/location-details/location-details.component'; 38 import {GalleriaModule} from 'primeng/galleria'; 37 import { GalleriaModule } from 'primeng/galleria'; 38 import { DialogService, DynamicDialogModule } from 'primeng/dynamicdialog'; 39 import { MessageService, SharedModule, ConfirmationService } from 'primeng/api'; 40 import { TableModule } from 'primeng/table'; 41 import { MessagesModule } from 'primeng/messages'; 42 import { MessageModule } from 'primeng/message'; 43 import { InputTextModule } from 'primeng/inputtext'; 44 import { RippleModule } from 'primeng/ripple'; 45 import {PaginatorModule} from 'primeng/paginator'; 46 import {CardModule} from 'primeng/card'; 39 47 40 48 @NgModule({ … … 50 58 HomepageComponent, 51 59 LocationDetailsComponent 52 60 ], 53 61 imports: [ 54 62 BrowserModule, … … 77 85 ToastModule, 78 86 TabViewModule, 79 GalleriaModule 87 GalleriaModule, 88 DynamicDialogModule, 89 MatIconModule, 90 SharedModule, 91 MatDialogModule, 92 TableModule, 93 MessagesModule, 94 MessageModule, 95 InputTextModule, 96 RippleModule, 97 FormsModule, 98 PaginatorModule, 99 CardModule 80 100 ], 101 102 81 103 providers: [ 82 104 CategoryService, 83 PlannerService 84 105 PlannerService, 106 { 107 provide: MatDialogRef, 108 useValue: {} 109 }, 110 DialogService, 111 MessageService, 112 ConfirmationService 113 114 ], 115 116 entryComponents: [ 117 AddLocationToPlannerPanelComponent 85 118 ], 86 119 bootstrap: [AppComponent], 87 schemas: [NO_ERRORS_SCHEMA] 88 120 schemas: [NO_ERRORS_SCHEMA], 121 89 122 }) 90 123 export class AppModule { }
Note:
See TracChangeset
for help on using the changeset viewer.