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

195 lines
8.4KB

  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 { PeopleSelectComponent } from './people-select/people-select.component';
  59. import { LoanDetailComponent } from './loan-detail/loan-detail.component';
  60. import {LoanSingleService} from './service/loan.single.service';
  61. import { RatingInputComponent } from './rating-input/rating-input.component';
  62. import { LoanEditPeopleComponent } from './loan-edit-people/loan-edit-people.component';
  63. import { PeopleCardComponent } from './people-card/people-card.component';
  64. import { LenderUploadsComponent } from './lender-uploads/lender-uploads.component';
  65. import { BrokerLoanListComponent } from './broker-loan-list/broker-loan-list.component';
  66. import { BrokerRewardComponent } from './broker-reward/broker-reward.component';
  67. import { BrokerProfileComponent } from './profile/broker-profile/broker-profile.component';
  68. import { ClientLoanListComponent } from './client-loan-list/client-loan-list.component';
  69. import { ClientProfileComponent } from './client-profile/client-profile.component';
  70. import { E403Component } from './e403/e403.component';
  71. import {FileSelectModule, UploadModule} from '@progress/kendo-angular-upload';
  72. import { ListAllRewardsComponent } from './list-all-rewards/list-all-rewards.component';
  73. import { AdminRewardByBrokerComponent } from './admin-reward-by-broker/admin-reward-by-broker.component';
  74. import { RewardOverviewComponent } from './reward-overview/reward-overview.component';
  75. import { RewardUnpaidComponent } from './reward-unpaid/reward-unpaid.component';
  76. import { RewardPaidComponent } from './reward-paid/reward-paid.component';
  77. import { PayInComponent } from './pay-in/pay-in.component';
  78. import { PeopleAddComponent } from './people-add/people-add.component';
  79. import { ListAllPeopleComponent } from './list-all-people/list-all-people.component';
  80. import { SettingsComponent } from './settings/settings.component';
  81. import { ProfileComponent } from './profile/profile.component';
  82. import { PeopleProfileComponent } from './profile/people-profile/people-profile.component';
  83. import { MessageBoxComponent } from './message-box/message-box.component';
  84. import { UserProfileComponent } from './profile/user-profile/user-profile.component';
  85. import { AdminProfileComponent } from './profile/admin-profile/admin-profile.component';
  86. import { ChangePasswordComponent } from './profile/change-password/change-password.component';
  87. @NgModule({
  88. declarations: [
  89. AppComponent,
  90. DashboardComponent,
  91. AuthComponent,
  92. LoanEditComponent,
  93. BkpDividerComponent,
  94. BkpDividerShadowBottomComponent,
  95. BkpDividerTextComponent,
  96. TransactionComponent,
  97. TransactionListComponent,
  98. RatingComponent,
  99. TransDetailsComponent,
  100. TransTailsComponent,
  101. ChartTypeOfLoansComponent,
  102. ChartAmountOfLoansComponent,
  103. ChartPastYearMonthlyPerformanceComponent,
  104. ChartRecentTenLoansComponent,
  105. ChartTopBrokersComponent,
  106. ListAllLoansComponent,
  107. TopBarComponent,
  108. LoanAddNewComponent,
  109. BasicinfoComponent,
  110. PeopleRewardComponent,
  111. TrailIncomeComponent,
  112. PeopleSelectComponent,
  113. LoanDetailComponent,
  114. RatingInputComponent,
  115. LoanEditPeopleComponent,
  116. PeopleCardComponent,
  117. LenderUploadsComponent,
  118. BrokerLoanListComponent,
  119. BrokerRewardComponent,
  120. BrokerProfileComponent,
  121. ClientLoanListComponent,
  122. ClientProfileComponent,
  123. E403Component,
  124. ListAllRewardsComponent,
  125. AdminRewardByBrokerComponent,
  126. RewardOverviewComponent,
  127. RewardUnpaidComponent,
  128. RewardPaidComponent,
  129. PayInComponent,
  130. PeopleAddComponent,
  131. ListAllPeopleComponent,
  132. SettingsComponent,
  133. ProfileComponent,
  134. PeopleProfileComponent,
  135. MessageBoxComponent,
  136. UserProfileComponent,
  137. AdminProfileComponent,
  138. ChangePasswordComponent
  139. ],
  140. imports: [
  141. BrowserModule,
  142. BrowserAnimationsModule,
  143. FormsModule,
  144. CommonModule,
  145. HttpClientModule,
  146. ReactiveFormsModule,
  147. AppRoutingModule,
  148. MenuModule,
  149. ContextMenuModule,
  150. BrowserAnimationsModule,
  151. DialogsModule,
  152. ButtonsModule,
  153. GridModule,
  154. PDFModule,
  155. ExcelModule,
  156. InputsModule,
  157. IconsModule,
  158. FontAwesomeModule,
  159. NavigationModule,
  160. LayoutModule,
  161. IndicatorsModule,
  162. LabelModule,
  163. NotificationModule,
  164. ChartsModule,
  165. DateInputsModule,
  166. DropDownsModule,
  167. ExcelExportModule,
  168. EditorModule,
  169. UploadModule,
  170. FileSelectModule
  171. ],
  172. providers: [
  173. MenuService,
  174. AuthGuard,
  175. AuthService,
  176. WebSocketService,
  177. LoanSummaryService,
  178. LoanSingleService,
  179. {
  180. provide: HTTP_INTERCEPTORS,
  181. useClass: AuthHttpInterceptor,
  182. multi: true
  183. }
  184. ],
  185. bootstrap: [AppComponent]
  186. })
  187. export class AppModule { }