mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
76 lines
2.2 KiB
TypeScript
76 lines
2.2 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { IonicModule } from '@ionic/angular';
|
|
|
|
import { BookMeetingModalPageRoutingModule } from './book-meeting-modal-routing.module';
|
|
|
|
import { BookMeetingModalPage } from './book-meeting-modal.page';
|
|
import { EmptyContainerPageModule } from 'src/app/shared/empty-container/empty-container.module';
|
|
import { BtnModalDismissPageModule } from 'src/app/shared/btn-modal-dismiss/btn-modal-dismiss.module';
|
|
import { AttendeeModalPageModule } from 'src/app/shared/event/attendee-modal/attendee-modal.module';
|
|
|
|
|
|
import { MatNativeDateModule } from '@angular/material/core';
|
|
import {
|
|
NgxMatDateFormats,
|
|
NgxMatDatetimePickerModule,
|
|
NgxMatNativeDateModule,
|
|
NgxMatTimepickerModule,
|
|
NGX_MAT_DATE_FORMATS
|
|
} from '@angular-material-components/datetime-picker';
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import { MatSelectModule } from '@angular/material/select';
|
|
import { NgxMatMomentModule } from '@angular-material-components/moment-adapter';
|
|
import { MAT_DATE_LOCALE } from '@angular/material/core';
|
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
import { MatInputModule } from '@angular/material/input';
|
|
|
|
|
|
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
|
|
parse: {
|
|
dateInput: "YYYY-MMMM-DD HH:mm"
|
|
},
|
|
display: {
|
|
dateInput: "DD MMM YYYY H:mm",
|
|
monthYearLabel: "MMM YYYY",
|
|
dateA11yLabel: "LL",
|
|
monthYearA11yLabel: "MMMM YYYY"
|
|
}
|
|
}
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
IonicModule,
|
|
BookMeetingModalPageRoutingModule,
|
|
|
|
EmptyContainerPageModule,
|
|
|
|
AttendeeModalPageModule,
|
|
EmptyContainerPageModule,
|
|
BtnModalDismissPageModule,
|
|
// Angular material
|
|
MatDatepickerModule,
|
|
MatInputModule,
|
|
MatNativeDateModule,
|
|
NgxMatDatetimePickerModule,
|
|
NgxMatTimepickerModule,
|
|
NgxMatNativeDateModule,
|
|
NgxMatMomentModule,
|
|
MatSelectModule,
|
|
MatButtonModule,
|
|
ReactiveFormsModule
|
|
],
|
|
declarations: [
|
|
BookMeetingModalPage
|
|
],
|
|
providers: [
|
|
{ provide: MAT_DATE_LOCALE, useValue: 'pt' },
|
|
],
|
|
})
|
|
export class BookMeetingModalPageModule {}
|