auth-services.module.ts 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import { NgModule } from '@angular/core';
  2. import { AuthServicesRoutingModule } from './auth-services-routing.module';
  3. import { AuthServicesComponent } from './auth-services.component';
  4. import { LoginComponent } from './login/login.component';
  5. import { RegesterComponent } from './regester/regester.component';
  6. import { BrowserModule } from '@angular/platform-browser';
  7. import { FormsModule, ReactiveFormsModule, FormGroup } from '@angular/forms';
  8. import { AlifeFileToBase64Module } from 'alife-file-to-base64';
  9. import { FlatpickrModule } from 'angularx-flatpickr';
  10. import { CalendarModule, DateAdapter } from 'angular-calendar';
  11. // import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
  12. // import { MomentModule } from 'ngx-moment';
  13. import { NgxPaginationModule } from 'ngx-pagination';
  14. import { NgxSpinnerModule } from 'ngx-spinner';
  15. import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  16. import { CollapsibleModule } from 'angular2-collapsible';
  17. import { BootstrapModalModule } from 'ngx-modialog/plugins/bootstrap/public_api';
  18. import { Ng2CarouselamosModule } from 'ng2-carouselamos';
  19. import { ToastrModule } from 'ngx-toastr';
  20. import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
  21. import { CommonModule } from '@angular/common';
  22. import { JwSocialButtonsModule } from 'jw-angular-social-buttons';
  23. import { CarouselModule } from 'ngx-owl-carousel-o';
  24. import { SharedModule } from '../shared/shared.module';
  25. import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
  26. import { ForgetPasswordComponent } from './forget-password/forget-password.component';
  27. @NgModule({
  28. imports: [
  29. CommonModule,
  30. AuthServicesRoutingModule,
  31. CollapsibleModule,
  32. NgxPaginationModule,
  33. JwSocialButtonsModule,
  34. CarouselModule,
  35. NgxSpinnerModule,
  36. SharedModule,
  37. NgbModule.forRoot(),
  38. FlatpickrModule.forRoot(),
  39. CalendarModule.forRoot({
  40. provide: DateAdapter,
  41. useFactory: adapterFactory
  42. }),
  43. FormsModule,
  44. ReactiveFormsModule,
  45. AlifeFileToBase64Module,
  46. ],
  47. declarations: [
  48. AuthServicesComponent,
  49. LoginComponent,
  50. RegesterComponent,
  51. ForgetPasswordComponent,
  52. ],
  53. providers: [],
  54. })
  55. export class AuthServicesModule { }