import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { ScheduleRoutingModule } from './schedule-routing.module';
import { ScheduleComponent } from './schedule.component';
import { NgxSpinnerModule } from 'ngx-spinner';
import { NgxFullCalendarModule } from 'ngx-fullcalendar';
import { FormsModule } from '@angular/forms';

import { NoconnectionModule } from 'src/app/noconnection/noconnection.module';
import { NoconnectionComponent } from 'src/app/noconnection/noconnection.component';
import { MatIconModule } from '@angular/material/icon';
import { MatNativeDateModule } from '@angular/material/core';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatSortModule } from '@angular/material/sort';
import { MatInputModule } from '@angular/material/input';
import { VideolessonModule } from '../videolesson/videolesson.module';
import { MindmapsModule } from '../mindmaps/mindmaps.module';
import { VgCoreModule } from '@videogular/ngx-videogular/core';
import { VgControlsModule } from '@videogular/ngx-videogular/controls';
import { MatTableModule } from '@angular/material/table';
import { StylePaginatorDirective } from 'src/app/directive/style-paginator.directive';

@NgModule({
  declarations: [ScheduleComponent, StylePaginatorDirective],
  imports: [
    CommonModule,
    ScheduleRoutingModule,
    NgxSpinnerModule,
    NgxFullCalendarModule,
    FormsModule,
    NoconnectionModule,
    MatIconModule,
    MatNativeDateModule,
    MatDatepickerModule,
    MatFormFieldModule,
    MatInputModule,
    NgxFullCalendarModule,
    VideolessonModule,
    MindmapsModule,
    VgCoreModule,
    VgControlsModule,
    MatPaginatorModule,
    MatSortModule,
    MatTableModule,
  ],
  exports: [NoconnectionComponent],
})
export class ScheduleModule { }
