import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule, NgControl } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { NewEventPageRoutingModule } from './new-event-routing.module'; import { NewEventPage } from './new-event.page'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { MatDatepickerModule } from '@angular/material/datepicker'; import { MatInputModule } from '@angular/material/input'; import { MatNativeDateModule } from '@angular/material/core'; import { NgxMatDatetimePickerModule, NgxMatNativeDateModule, NgxMatTimepickerModule } 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_MOMENT_DATE_FORMATS, MomentDateAdapter, MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular/material-moment-adapter'; import {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core'; @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, NewEventPageRoutingModule, NgbModule, MatDatepickerModule, MatInputModule, MatNativeDateModule, // NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule, // NgxMatMomentModule, // BrowserAnimationsModule, // MatRadioModule, MatSelectModule, //MatRadioModule, //MatCheckboxModule, MatButtonModule, ReactiveFormsModule ], declarations: [NewEventPage], providers: [ { provide: MAT_DATE_LOCALE, useValue: 'pt' }, ], exports: [NewEventPage] }) export class NewEventPageModule {}