import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {
  BadgeModule,
  BreadcrumbModule,
  ButtonsModule,
  CardsFreeModule,
  CarouselModule,
  ChartsModule,
  CollapseModule,
  DropdownModule,
  IconsModule,
  InputsModule,
  ModalModule,
  // NavbarModule,
  PopoverModule,
  TooltipModule,
  WavesModule
} from 'angular-bootstrap-md';
import { FormMessagePanelComponent } from './components/form-message-panel/form-message-panel.component';
import { SpinnerComponent } from './components/spinner/spinner.component';
import { FeedbackComponent } from './components/feedback/feedback.component';
import { LocalStorageService, LeadService, HttpService, CustomerService } from './services';
import { STSDateTimePipe } from './pipes/datetime-pipe';

@NgModule({
  imports: [
    CommonModule,
    BadgeModule,
    BreadcrumbModule,
    ButtonsModule,
    CardsFreeModule,
    CarouselModule.forRoot(),
    ChartsModule,
    CollapseModule.forRoot(),
    DropdownModule.forRoot(),
    IconsModule,
    InputsModule.forRoot(),
    ModalModule.forRoot(),
    // NavbarModule,
    PopoverModule.forRoot(),
    TooltipModule.forRoot(),
    WavesModule.forRoot(),
  
  ],
  declarations: [
    SpinnerComponent,
    FeedbackComponent,
    FormMessagePanelComponent,
    STSDateTimePipe
  ],
  exports: [
    SpinnerComponent,
    FeedbackComponent,
    FormMessagePanelComponent,
    STSDateTimePipe,
    BadgeModule,
    BreadcrumbModule,
    ButtonsModule,
    CardsFreeModule,
    CarouselModule,
    ChartsModule,
    CollapseModule,
    DropdownModule,
    IconsModule,
    InputsModule,
    ModalModule,
    // NavbarModule,
    PopoverModule,
    TooltipModule,
    WavesModule,
  ],
  entryComponents: [],
  providers: [LocalStorageService, LeadService, HttpService, CustomerService],
  bootstrap:[]
})
export class StsWebSharedModule { }
