mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Add generic modal
This commit is contained in:
@@ -7,17 +7,17 @@ import { IonicModule } from '@ionic/angular';
|
||||
import { AgendaPageRoutingModule } from './agenda-routing.module';
|
||||
|
||||
import { AgendaPage } from './agenda.page';
|
||||
|
||||
|
||||
import { NgCalendarModule } from 'ionic2-calendar';
|
||||
import { CalModalPageModule } from '../cal-modal/cal-modal.module';
|
||||
|
||||
import { registerLocaleData } from '@angular/common';
|
||||
import localeDe from '@angular/common/locales/pt';
|
||||
import { CalendarComponent } from 'src/app/components/calendar/calendar.component';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
registerLocaleData(localeDe);
|
||||
import { NewEventPage } from "src/app/shared/agenda/new-event/new-event.component"
|
||||
import { EditEventComponent } from 'src/app/shared/agenda/edit-event/edit-event.component';
|
||||
import { ViewEventPage } from 'src/app/shared/agenda/view-event/view-event.page';
|
||||
|
||||
registerLocaleData(localeDe);
|
||||
|
||||
import { CalendarModule, DateAdapter } from 'angular-calendar';
|
||||
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
|
||||
@@ -36,7 +36,12 @@ import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
|
||||
NgCalendarModule,
|
||||
CalModalPageModule,
|
||||
],
|
||||
declarations: [AgendaPage, CalendarComponent],
|
||||
declarations: [
|
||||
AgendaPage,
|
||||
NewEventPage,
|
||||
EditEventComponent,
|
||||
ViewEventPage
|
||||
],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
providers: [
|
||||
{ provide: LOCALE_ID, useValue: 'pt-PT'}
|
||||
|
||||
Reference in New Issue
Block a user