import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// import { HotelZoneServicesAddComponent } from './hotel-services-add/hotel-services-add.component';
// import { HotelZoneServicesSearchComponent } from './hotel-services-search/hotel-services-search.component';
import { RouterModule, Routes } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { MatButtonModule } from '@angular/material/button';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatDialogModule } from '@angular/material/dialog';
import { MatMenuModule } from '@angular/material/menu';
import { NgSelectModule } from '@ng-select/ng-select';
import { CalendarModule } from 'angular-calendar';
import { ButtonModule } from 'primeng/button';
import { CheckboxModule } from 'primeng/checkbox';
import { InputNumberModule } from 'primeng/inputnumber';
import { InputTextModule } from 'primeng/inputtext';
import { TableModule } from 'primeng/table';
import { ToolbarModule } from 'primeng/toolbar';
import { TreeModule } from 'primeng/tree';
import { ProductService } from 'src/app/core/services/product.service';
import { HotelZoneServicesAddComponent } from './hotel-zone-services-add/hotel-zone-services-add.component';
import { HotelZoneServicesSearchComponent } from './hotel-zone-services-search/hotel-zone-services-search.component';
const routes: Routes = [
  {
    path: 'Search',
    component: HotelZoneServicesSearchComponent,
  },

  {
    path: 'Add',
    component: HotelZoneServicesAddComponent,
  },
  {
    path: '',
    pathMatch: 'full',
    redirectTo: 'Search',
  },
];

@NgModule({
  declarations: [HotelZoneServicesAddComponent, HotelZoneServicesSearchComponent],
  imports: [
    CommonModule,
    ButtonModule,
    NgSelectModule,
    TreeModule,
    ToolbarModule,
    TableModule,
    MatMenuModule,
    MatButtonModule,
    CheckboxModule,
    InputTextModule,
    InputNumberModule,
    CalendarModule,
    FormsModule,
    MatDialogModule,
    MatButtonModule,
    MatCheckboxModule,
    RouterModule.forChild(routes),
  ],
  providers: [ProductService],
})
export class HotelZoneServicesModule {}
