import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { MDBBootstrapModule } from 'angular-bootstrap-md';

import { CarDetailsComponent } from './components/car-details/car-details.component';

import { ListPanelComponent } from './components/list-panel/list-panel.component';
import { DataListComponent } from './components/data-list/data-list.component';
import { VehicleDataListComponent } from './components/vehicle-data-list/vehicle-data-list.component';
import { DescriptiveCardComponent } from './components/descriptive-card/descriptive-card.component';
import { DescriptiveCardDirective } from './components/descriptive-card/descriptive-card.directive';
import { DescriptiveCardService } from './components/descriptive-card/descriptive-card.service';
import { CarPackagesComponent } from './components/car-packages/car-packages.component';
import { FeaturesDetailComponent } from './components/features-detail/features-detail.component';
import { ModalPopoverComponent } from './components/modal-popover/modal-popover.component';

@NgModule({
  imports: [
    BrowserModule,
    CommonModule,
    MDBBootstrapModule.forRoot()
  ],
  declarations: [
    ListPanelComponent,
    CarDetailsComponent,
    DataListComponent,
    VehicleDataListComponent,
    CarPackagesComponent,
    FeaturesDetailComponent,
    ModalPopoverComponent,
    DescriptiveCardComponent,
    DescriptiveCardDirective,
  ],
  exports: [
    ListPanelComponent,
    CarDetailsComponent,
    DataListComponent,
    VehicleDataListComponent,
    CarPackagesComponent,
    FeaturesDetailComponent,
    ModalPopoverComponent,
    DescriptiveCardComponent,
    DescriptiveCardDirective,
  ],
  entryComponents: [DescriptiveCardComponent],
  providers: [DescriptiveCardService]
})
export class StsWebVehicleModule { }
