2020-05-01 19:10:17 +02:00
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { TranslateModule } from '@ngx-translate/core';
|
2020-06-16 18:40:48 +02:00
|
|
|
import { ConfirmationService, DialogModule, MessageService } from 'primeng';
|
2020-05-01 19:10:17 +02:00
|
|
|
|
2021-04-29 10:41:47 +02:00
|
|
|
import { SharedModule } from '../../src/app/shared/shared.module';
|
2020-05-01 19:10:17 +02:00
|
|
|
import { DateValueAccessorModule } from './custom-lib/date-value-accessor';
|
|
|
|
import { OldStuffRoutingModule } from './old-stuff-routing.module';
|
|
|
|
import { AdminComponent } from './pages/admin/admin.component';
|
|
|
|
import { AnswersComponent } from './pages/answers/answers.component';
|
|
|
|
import { CreateOrRetrieveComponent } from './pages/create-or-retrieve/create-or-retrieve.component';
|
|
|
|
import { DatesComponent } from './pages/dates/dates.component';
|
|
|
|
import { EndConfirmationComponent } from './pages/end-confirmation/end-confirmation.component';
|
|
|
|
import { BaseComponent } from './pages/example/base-page/base.component';
|
|
|
|
import { KindComponent } from './pages/example/kind/kind.component';
|
|
|
|
import { PicturesComponent } from './pages/example/pictures/pictures.component';
|
|
|
|
import { HomeComponent } from './pages/home/home.component';
|
|
|
|
import { PasswordComponent } from './pages/password/password.component';
|
|
|
|
import { PollDisplayComponent } from './pages/poll/poll-display/poll-display.component';
|
|
|
|
import { PollGraphicComponent } from './pages/poll/poll-graphic/poll-graphic.component';
|
|
|
|
import { ResumeComponent } from './pages/resume/resume.component';
|
|
|
|
import { VisibilityComponent } from './pages/visibility/visibility.component';
|
|
|
|
import { ChoicesListComponent } from './pages/voting/choices-list/choices-list.component';
|
|
|
|
import { CommentsListComponent } from './pages/voting/comments-list/comments-list.component';
|
|
|
|
import { VotingChoiceComponent } from './pages/voting/voting-choice/voting-choice.component';
|
|
|
|
import { VotingCommentComponent } from './pages/voting/voting-comment/voting-comment.component';
|
|
|
|
import { VotingGraphComponent } from './pages/voting/voting-graph/voting-graph.component';
|
|
|
|
import { VotingNavigationComponent } from './pages/voting/voting-navigation/voting-navigation.component';
|
|
|
|
import { VotingSummaryComponent } from './pages/voting/voting-summary/voting-summary.component';
|
|
|
|
import { VotingComponent } from './pages/voting/voting.component';
|
|
|
|
import { ConfigService } from './services/config.service';
|
|
|
|
import { CopyTextComponent } from './ui/copy-text/copy-text.component';
|
|
|
|
import { ResettableInputDirective } from './ui/directives/resettable-input.directive';
|
|
|
|
import { ErasableInputComponent } from './ui/erasable-input/erasable-input.component';
|
|
|
|
import { TwoLinksComponent } from './ui/two-links/two-links.component';
|
|
|
|
|
2020-06-16 18:40:48 +02:00
|
|
|
const PRIMENG_MODULES = [DialogModule];
|
|
|
|
|
2020-05-01 19:10:17 +02:00
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AdminComponent,
|
|
|
|
AnswersComponent,
|
|
|
|
BaseComponent,
|
|
|
|
ChoicesListComponent,
|
|
|
|
CommentsListComponent,
|
|
|
|
CopyTextComponent,
|
|
|
|
CreateOrRetrieveComponent,
|
|
|
|
DatesComponent,
|
|
|
|
EndConfirmationComponent,
|
|
|
|
ErasableInputComponent,
|
|
|
|
HomeComponent,
|
|
|
|
KindComponent,
|
|
|
|
PasswordComponent,
|
|
|
|
PicturesComponent,
|
|
|
|
PollDisplayComponent,
|
|
|
|
PollGraphicComponent,
|
|
|
|
ResettableInputDirective,
|
|
|
|
ResumeComponent,
|
|
|
|
TwoLinksComponent,
|
|
|
|
VisibilityComponent,
|
|
|
|
VotingChoiceComponent,
|
|
|
|
VotingGraphComponent,
|
|
|
|
VotingComponent,
|
|
|
|
VotingCommentComponent,
|
|
|
|
VotingSummaryComponent,
|
|
|
|
VotingNavigationComponent,
|
|
|
|
],
|
|
|
|
imports: [
|
2020-06-16 18:40:48 +02:00
|
|
|
...PRIMENG_MODULES,
|
2020-05-01 19:10:17 +02:00
|
|
|
CommonModule,
|
|
|
|
OldStuffRoutingModule,
|
|
|
|
SharedModule,
|
|
|
|
TranslateModule.forChild({ extend: true }),
|
|
|
|
DateValueAccessorModule,
|
|
|
|
],
|
2020-06-16 18:40:48 +02:00
|
|
|
providers: [ConfigService, ConfirmationService, MessageService],
|
2020-05-01 19:10:17 +02:00
|
|
|
})
|
|
|
|
export class OldStuffModule {}
|