import { InternalPolicyComponent } from './internal-policy/internal-policy.component';
import { InternalContactUsComponent } from './internal-contact-us/internal-contact-us.component';
import { EventsDateComponent } from './events/events-date.component';
import { NewsPagesComponent } from './news-pages/news-pages.component';
import { NewsPageComponent } from './news-page/news-page.component';
import { InternalPageService } from './../shared/internal-page.service';
import { InternalPageRoutingModule } from './internal-routing-module';
import { InternalPageComponent } from './internal-page/internal-page.component';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import { FlatpickrModule } from 'angularx-flatpickr';
import { CalendarModule, DateAdapter } from 'angular-calendar';
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
import { FormsModule } from '@angular/forms';
import {NgxPaginationModule} from 'ngx-pagination';
import { JwSocialButtonsModule } from 'jw-angular-social-buttons';
import { CarouselModule } from 'ngx-owl-carousel-o';

import { InternalPageHeaderComponent } from './internal-page-header/internal-page-header.component';
import { InternalPageContentComponent } from './internal-page-content/internal-page-content.component';
import { HospitalContentComponent } from './hospital-content/hospital-content.component';
import { CollapsibleModule } from 'angular2-collapsible'; // <-- import the module
import { CircularsPageComponent } from './circulars-page/circulars-page.component';

import { NgxSpinnerModule } from 'ngx-spinner';
import { SharedModule } from '../shared/shared.module';
import { ExternalServiceDetailsComponent } from './external-service-details/external-service-details.component';

//import { CeiboShare } from 'ng2-social-share';

@NgModule({
    declarations: [
        InternalPageComponent,
        InternalPageHeaderComponent,
        InternalPageContentComponent,
        HospitalContentComponent,
        NewsPageComponent,
        CircularsPageComponent,
        EventsDateComponent,
        NewsPagesComponent,
        ExternalServiceDetailsComponent,
        InternalContactUsComponent,
        InternalPolicyComponent,
        //CeiboShare,
    ],
    imports: [
        CommonModule,
        InternalPageRoutingModule,
        CollapsibleModule,
        NgxPaginationModule,
        JwSocialButtonsModule,
        CarouselModule,
        NgxSpinnerModule,
        SharedModule,
        NgbModule.forRoot(),
        FlatpickrModule.forRoot(),
        CalendarModule.forRoot({
          provide: DateAdapter,
          useFactory: adapterFactory
        }),
        FormsModule,
    ],
    providers: [
        InternalPageService,
    ],
})

export class InternalPageModule {

}
