Files
doneit-web/src/app/shared/agenda/new-event/new-event.module.ts
T

67 lines
1.8 KiB
TypeScript
Raw Normal View History

2021-06-03 11:44:32 +01:00
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
2021-06-17 13:58:56 +01:00
import { FormsModule, NgControl } from '@angular/forms';
2021-06-03 11:44:32 +01:00
import { IonicModule } from '@ionic/angular';
import { NewEventPageRoutingModule } from './new-event-routing.module';
import { NewEventPage } from './new-event.page';
2021-06-16 15:58:44 +01:00
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
2021-06-18 12:02:14 +01:00
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatInputModule } from '@angular/material/input';
2021-06-17 13:58:56 +01:00
import { MatNativeDateModule } from '@angular/material/core';
2021-06-18 12:02:14 +01:00
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';
2021-06-17 13:58:56 +01:00
2021-06-21 14:29:49 +01:00
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';
2021-06-23 15:39:45 +01:00
2021-06-03 11:44:32 +01:00
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
2021-06-16 15:58:44 +01:00
NewEventPageRoutingModule,
2021-06-17 13:58:56 +01:00
NgbModule,
MatDatepickerModule,
MatInputModule,
MatNativeDateModule,
2021-06-18 12:02:14 +01:00
//
NgxMatDatetimePickerModule,
NgxMatTimepickerModule,
NgxMatNativeDateModule,
//
NgxMatMomentModule,
// BrowserAnimationsModule,
2021-06-24 11:08:17 +01:00
// MatRadioModule,
2021-06-18 12:02:14 +01:00
MatSelectModule,
//MatRadioModule,
//MatCheckboxModule,
MatButtonModule,
ReactiveFormsModule
2021-06-03 11:44:32 +01:00
],
2021-06-03 14:18:30 +01:00
declarations: [NewEventPage],
2021-06-21 14:29:49 +01:00
providers: [
2021-06-23 15:39:45 +01:00
{ provide: MAT_DATE_LOCALE, useValue: 'pt' },
2021-06-21 14:29:49 +01:00
],
2021-06-03 14:18:30 +01:00
exports: [NewEventPage]
2021-06-03 11:44:32 +01:00
})
export class NewEventPageModule {}