funky-framadate-front/src/app/shared/shared.module.ts

56 lines
1.3 KiB
TypeScript
Raw Normal View History

import { CommonModule } from '@angular/common';
2020-04-22 12:56:18 +02:00
import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { ChartsModule } from 'ng2-charts';
2020-05-01 19:10:17 +02:00
import {
ConfirmDialogModule,
DialogModule,
InputSwitchModule,
InputTextareaModule,
MessageModule,
ProgressSpinnerModule,
SidebarModule,
StepsModule,
ToastModule,
} from 'primeng';
import { ConfirmationService, MessageService } from 'primeng/api';
import { PageNotFoundComponent } from './components/page-not-found/page-not-found.component';
import { PollPageComponent } from './components/poll-page/poll-page.component';
import { FeedbackComponent } from './components/feedback/feedback.component';
@NgModule({
declarations: [PageNotFoundComponent, PollPageComponent, FeedbackComponent],
2020-05-01 19:10:17 +02:00
imports: [
CommonModule,
ChartsModule,
2020-05-01 19:10:17 +02:00
ConfirmDialogModule,
DialogModule,
InputSwitchModule,
InputTextareaModule,
MessageModule,
ProgressSpinnerModule,
SidebarModule,
StepsModule,
ToastModule,
],
exports: [
TranslateModule,
ChartsModule,
2020-05-01 19:10:17 +02:00
ConfirmDialogModule,
DialogModule,
FeedbackComponent,
2020-05-01 19:10:17 +02:00
InputSwitchModule,
InputTextareaModule,
MessageModule,
ProgressSpinnerModule,
SidebarModule,
StepsModule,
ToastModule,
PageNotFoundComponent,
PollPageComponent,
],
providers: [ConfirmationService, MessageService],
})
export class SharedModule {}