Broker System for Supercredit
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

163 lines
6.8KB

  1. //Angular
  2. import { NgModule } from '@angular/core';
  3. import { CommonModule } from '@angular/common';
  4. import { BrowserModule } from '@angular/platform-browser';
  5. import { FormsModule, ReactiveFormsModule } from '@angular/forms';
  6. import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  7. import {HTTP_INTERCEPTORS, HttpClientModule} from '@angular/common/http';
  8. //Kendo
  9. import { MenuModule, ContextMenuModule } from '@progress/kendo-angular-menu';
  10. import { IconsModule } from '@progress/kendo-angular-icons';
  11. import { DialogsModule } from '@progress/kendo-angular-dialog';
  12. import { ButtonsModule } from '@progress/kendo-angular-buttons';
  13. import { GridModule, PDFModule, ExcelModule } from '@progress/kendo-angular-grid';
  14. import { InputsModule } from '@progress/kendo-angular-inputs';
  15. //App
  16. import { AppComponent } from './app.component';
  17. import { AppRoutingModule } from './app-routing.module';
  18. import { DashboardComponent } from './dashboard/dashboard.component';
  19. import { AuthComponent } from './auth/auth.component';
  20. import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
  21. import { MenuService } from './service/menu.service';
  22. import { LoanEditComponent } from './loan-edit/loan-edit.component';
  23. import { NavigationModule } from '@progress/kendo-angular-navigation';
  24. import { LayoutModule } from '@progress/kendo-angular-layout';
  25. import { IndicatorsModule } from '@progress/kendo-angular-indicators';
  26. import { LabelModule } from '@progress/kendo-angular-label';
  27. import { AuthService } from './service/auth.service';
  28. import { AuthGuard } from './service/auth-guard.service';
  29. import { NotificationModule } from '@progress/kendo-angular-notification';
  30. import { ChartsModule } from '@progress/kendo-angular-charts';
  31. import 'hammerjs';
  32. import { BkpDividerComponent } from './bkp-divider/bkp-divider.component';
  33. import { BkpDividerShadowBottomComponent } from './bkp-divider-shadow-bottom/bkp-divider-shadow-bottom.component';
  34. import { BkpDividerTextComponent } from './bkp-divider-text/bkp-divider-text.component';
  35. import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
  36. import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
  37. import { TransactionComponent } from './transaction/transaction.component';
  38. import { TransactionListComponent } from './transaction-list/transaction-list.component';
  39. import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
  40. import { RatingComponent } from './rating-input/rating.component';
  41. import { TransDetailsComponent } from './trans-details/trans-details.component';
  42. import { TransTailsComponent } from './trans-details/trans-tails/trans-tails.component';
  43. import {AuthHttpInterceptor} from './auth/auth-http-interceptor.service';
  44. import {WebSocketService} from './websocket';
  45. import { ChartTypeOfLoansComponent } from './chart-type-of-loans/chart-type-of-loans.component';
  46. import { ChartAmountOfLoansComponent } from './chart-amount-of-loans/chart-amount-of-loans.component';
  47. import { ChartPastYearMonthlyPerformanceComponent } from './chart-past-year-monthly-performance/chart-past-year-monthly-performance.component';
  48. import { ChartRecentTenLoansComponent } from './chart-recent-ten-loans/chart-recent-ten-loans.component';
  49. import { ChartTopBrokersComponent } from './chart-top-brokers/chart-top-brokers.component';
  50. import { ListAllLoansComponent } from './list-all-loans/list-all-loans.component';
  51. import { TopBarComponent } from './top-bar/top-bar.component';
  52. import {LoanSummaryService} from './service/loan_summary.service';
  53. import { LoanAddNewComponent } from './loan-add-new/loan-add-new.component';
  54. import { EditorModule } from '@progress/kendo-angular-editor';
  55. import { BasicinfoComponent } from './loan-edit/basicinfo/basicinfo.component';
  56. import { PeopleRewardComponent } from './loan-edit/people-reward/people-reward.component';
  57. import { TrailIncomeComponent } from './loan-edit/trail-income/trail-income.component';
  58. import { HintCardComponent } from './loan-edit/hint-card/hint-card.component';
  59. import { PeopleSelectComponent } from './people-select/people-select.component';
  60. import { LoanDetailComponent } from './loan-detail/loan-detail.component';
  61. import {LoanSingleService} from './service/loan.single.service';
  62. import { RatingInputComponent } from './rating-input/rating-input.component';
  63. import { LoanEditPeopleComponent } from './loan-edit-people/loan-edit-people.component';
  64. import { PeopleCardComponent } from './people-card/people-card.component';
  65. import { LenderUploadsComponent } from './lender-uploads/lender-uploads.component';
  66. import { BrokerLoanListComponent } from './broker-loan-list/broker-loan-list.component';
  67. import { BrokerRewardComponent } from './broker-reward/broker-reward.component';
  68. import { BrokerProfileComponent } from './broker-profile/broker-profile.component';
  69. import { ClientLoanListComponent } from './client-loan-list/client-loan-list.component';
  70. import { ClientProfileComponent } from './client-profile/client-profile.component';
  71. import { E403Component } from './e403/e403.component';
  72. @NgModule({
  73. declarations: [
  74. AppComponent,
  75. DashboardComponent,
  76. AuthComponent,
  77. LoanEditComponent,
  78. BkpDividerComponent,
  79. BkpDividerShadowBottomComponent,
  80. BkpDividerTextComponent,
  81. TransactionComponent,
  82. TransactionListComponent,
  83. RatingComponent,
  84. TransDetailsComponent,
  85. TransTailsComponent,
  86. ChartTypeOfLoansComponent,
  87. ChartAmountOfLoansComponent,
  88. ChartPastYearMonthlyPerformanceComponent,
  89. ChartRecentTenLoansComponent,
  90. ChartTopBrokersComponent,
  91. ListAllLoansComponent,
  92. TopBarComponent,
  93. LoanAddNewComponent,
  94. BasicinfoComponent,
  95. PeopleRewardComponent,
  96. TrailIncomeComponent,
  97. HintCardComponent,
  98. PeopleSelectComponent,
  99. LoanDetailComponent,
  100. RatingInputComponent,
  101. LoanEditPeopleComponent,
  102. PeopleCardComponent,
  103. LenderUploadsComponent,
  104. BrokerLoanListComponent,
  105. BrokerRewardComponent,
  106. BrokerProfileComponent,
  107. ClientLoanListComponent,
  108. ClientProfileComponent,
  109. E403Component
  110. ],
  111. imports: [
  112. BrowserModule,
  113. BrowserAnimationsModule,
  114. FormsModule,
  115. CommonModule,
  116. HttpClientModule,
  117. ReactiveFormsModule,
  118. AppRoutingModule,
  119. MenuModule,
  120. ContextMenuModule,
  121. BrowserAnimationsModule,
  122. DialogsModule,
  123. ButtonsModule,
  124. GridModule,
  125. PDFModule,
  126. ExcelModule,
  127. InputsModule,
  128. IconsModule,
  129. FontAwesomeModule,
  130. NavigationModule,
  131. LayoutModule,
  132. IndicatorsModule,
  133. LabelModule,
  134. NotificationModule,
  135. ChartsModule,
  136. DateInputsModule,
  137. DropDownsModule,
  138. ExcelExportModule,
  139. EditorModule
  140. ],
  141. providers: [
  142. MenuService,
  143. AuthGuard,
  144. AuthService,
  145. WebSocketService,
  146. LoanSummaryService,
  147. LoanSingleService,
  148. {
  149. provide: HTTP_INTERCEPTORS,
  150. useClass: AuthHttpInterceptor,
  151. multi: true
  152. }
  153. ],
  154. bootstrap: [AppComponent]
  155. })
  156. export class AppModule { }