first commit
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
import { InputMaskModule } from 'primeng/inputmask';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { MatTabsModule } from '@angular/material/tabs';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { NgSelectModule } from '@ng-select/ng-select';
|
||||
import { ButtonModule } from 'primeng/button';
|
||||
import { CalendarModule } from 'primeng/calendar';
|
||||
import { DialogModule } from 'primeng/dialog';
|
||||
import { TableModule } from "primeng/table";
|
||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
import { InputTextModule } from "primeng/inputtext";
|
||||
import { RippleModule } from 'primeng/ripple';
|
||||
import { ToastModule } from 'primeng/toast';
|
||||
import { ToolbarModule } from "primeng/toolbar";
|
||||
import { ConfirmationService, MessageService } from 'primeng/api';
|
||||
import { HotelBookingSearchComponent } from './hotel-booking-search/hotel-booking-search.component';
|
||||
import { HotelBookingComponent } from './hotel-booking.component';
|
||||
import { InputNumberModule } from 'primeng/inputnumber';
|
||||
import { TreeModule } from 'primeng/tree';
|
||||
import { RatingModule } from 'primeng/rating';
|
||||
import { HotelBookingViewComponent } from './hotel-booking-view/hotel-booking-view.component';
|
||||
import { TabViewModule } from 'primeng/tabview';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { HotelBookingManagementService } from 'src/app/core/services/HotelServices/hotel_booking_management.service';
|
||||
//
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: 'Search',
|
||||
component: HotelBookingSearchComponent,
|
||||
},
|
||||
{
|
||||
path: 'View',
|
||||
component: HotelBookingViewComponent,
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
pathMatch: 'full',
|
||||
redirectTo: 'Search',
|
||||
},
|
||||
];
|
||||
@NgModule({
|
||||
declarations: [HotelBookingComponent, HotelBookingSearchComponent,HotelBookingViewComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
NgSelectModule,
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
CalendarModule,
|
||||
InputTextModule,
|
||||
InputNumberModule,
|
||||
TreeModule,
|
||||
RatingModule,
|
||||
ButtonModule,
|
||||
ToolbarModule,
|
||||
InputMaskModule,
|
||||
MatCheckboxModule,
|
||||
TableModule,
|
||||
// angular material
|
||||
DialogModule,
|
||||
RippleModule,
|
||||
ToastModule,
|
||||
TabViewModule,
|
||||
MatMenuModule,
|
||||
MatTabsModule,
|
||||
MatButtonModule,
|
||||
RouterModule.forChild(routes),
|
||||
],
|
||||
providers: [ MessageService, ConfirmationService, HotelBookingManagementService],
|
||||
})
|
||||
export class HotelBookingModule {}
|
||||
Reference in New Issue
Block a user