import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { MatMenuModule } from '@angular/material/menu';
import { Routes, RouterModule } from '@angular/router';
import { TabViewModule } from 'primeng/tabview';
import { HotelRoomModule } from '../../hotel/hotel-manage/hotel-room/hotel-room.module';
import { ActivityManageComponent } from './activity-manage.component';
import { ActivityOverviewComponent } from './activity-overview/activity-overview.component';
import { CalendarModule } from 'primeng/calendar';
import { ActivityOverviewModule } from './activity-overview/activity-overview.module';

const routes: Routes = [

  {
    path: '',
    component: ActivityManageComponent,
  },
  {
    path: 'ActivityDetails',
    loadChildren: () =>
      import('./activity-details/activity-details.module').then(
        (m) => m.ActivityDetailsModule
      ),
  },
  {
    path: 'TravelDetails',
    loadChildren: () =>
      import('./travel-details/travel-details.module').then(
        (m) => m.TravelDetailsModule
      ),
  },
  {
    path: 'Itinerary',
    loadChildren: () =>
      import('./itinerary/itinerary.module').then(
        (m) => m.ItineraryModule
      ),
  },
  {
    path: 'Media',
    loadChildren: () =>
      import('./media/media.module').then(
        (m) => m.MediaModule
      ),
  },
  {
    path: 'RequiredInfo',
    loadChildren: () =>
      import('./required-info/required-info.module').then(
        (m) => m.RequiredInfoModule
      ),
  },
  {
    path: 'Season',
    loadChildren: () =>
      import('./season/season.module').then(
        (m) => m.SeasonModule
      ),
  },
  {
    path: 'Slots',
    loadChildren: () => import('./slots/slots.module').then(
      (m) => m.SlotsModule
    )
  },
  {
    path: 'Allocation',
    loadChildren: () => import('./allocation/allocation.module').then(
      (m) => m.AllocationModule
    )
  },

  {
    path: 'ActivityOption',
    loadChildren: () => import('./activity-option/activity-option.module').then(
      (m) => m.ActivityOptionModule
    )
  },
  {
    path: 'Overview',
    loadChildren: () => import('./activity-overview/activity-overview.module').then(
      (m) => m.ActivityOverviewModule
    )
  },

]


@NgModule({
  declarations: [
    ActivityManageComponent,

  ],
  imports: [
    CalendarModule,
    CommonModule,
    FormsModule,
    MatMenuModule,
    HotelRoomModule,
    TabViewModule,
    RouterModule.forChild(routes),

  ]
})
export class ActivityManageModule { }
