Broker System for Supercredit
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

218 Zeilen
9.3KB

  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, FloatingActionButtonModule} 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. import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
  88. import { PagerModule } from '@progress/kendo-angular-pager';
  89. import { ListIncomeComponent } from './list-income/list-income.component';
  90. import { UploadCardsComponent } from './upload-cards/upload-cards.component';
  91. import {UploadInterceptor} from './lender-uploads/upload-status.interceptor';
  92. import { UploadDetailComponent } from './upload-detail/upload-detail.component';
  93. import {SafeUrlPipe} from './pipe/safe.url.pipe';
  94. import { ImagePopupDialogComponent } from './image-popup-dialog/image-popup-dialog.component';
  95. @NgModule({
  96. declarations: [
  97. AppComponent,
  98. DashboardComponent,
  99. AuthComponent,
  100. LoanEditComponent,
  101. BkpDividerComponent,
  102. BkpDividerShadowBottomComponent,
  103. BkpDividerTextComponent,
  104. TransactionComponent,
  105. TransactionListComponent,
  106. RatingComponent,
  107. TransDetailsComponent,
  108. TransTailsComponent,
  109. ChartTypeOfLoansComponent,
  110. ChartAmountOfLoansComponent,
  111. ChartPastYearMonthlyPerformanceComponent,
  112. ChartRecentTenLoansComponent,
  113. ChartTopBrokersComponent,
  114. ListAllLoansComponent,
  115. TopBarComponent,
  116. LoanAddNewComponent,
  117. BasicinfoComponent,
  118. PeopleRewardComponent,
  119. TrailIncomeComponent,
  120. PeopleSelectComponent,
  121. LoanDetailComponent,
  122. RatingInputComponent,
  123. LoanEditPeopleComponent,
  124. PeopleCardComponent,
  125. LenderUploadsComponent,
  126. BrokerLoanListComponent,
  127. BrokerRewardComponent,
  128. BrokerProfileComponent,
  129. ClientLoanListComponent,
  130. ClientProfileComponent,
  131. E403Component,
  132. ListAllRewardsComponent,
  133. AdminRewardByBrokerComponent,
  134. RewardOverviewComponent,
  135. RewardUnpaidComponent,
  136. RewardPaidComponent,
  137. PayInComponent,
  138. PeopleAddComponent,
  139. ListAllPeopleComponent,
  140. SettingsComponent,
  141. ProfileComponent,
  142. PeopleProfileComponent,
  143. MessageBoxComponent,
  144. UserProfileComponent,
  145. AdminProfileComponent,
  146. ChangePasswordComponent,
  147. ListIncomeComponent,
  148. UploadCardsComponent,
  149. UploadDetailComponent,
  150. SafeUrlPipe,
  151. ImagePopupDialogComponent
  152. ],
  153. imports: [
  154. BrowserModule,
  155. BrowserAnimationsModule,
  156. FormsModule,
  157. CommonModule,
  158. HttpClientModule,
  159. ReactiveFormsModule,
  160. AppRoutingModule,
  161. MenuModule,
  162. ContextMenuModule,
  163. BrowserAnimationsModule,
  164. DialogsModule,
  165. ButtonsModule,
  166. FloatingActionButtonModule,
  167. GridModule,
  168. PDFModule,
  169. ExcelModule,
  170. InputsModule,
  171. IconsModule,
  172. FontAwesomeModule,
  173. NavigationModule,
  174. LayoutModule,
  175. IndicatorsModule,
  176. LabelModule,
  177. NotificationModule,
  178. ChartsModule,
  179. DateInputsModule,
  180. DropDownsModule,
  181. ExcelExportModule,
  182. EditorModule,
  183. UploadModule,
  184. FileSelectModule,
  185. ProgressBarModule,
  186. PagerModule
  187. ],
  188. providers: [
  189. MenuService,
  190. AuthGuard,
  191. AuthService,
  192. WebSocketService,
  193. LoanSummaryService,
  194. LoanSingleService,
  195. {
  196. provide: HTTP_INTERCEPTORS,
  197. useClass: AuthHttpInterceptor,
  198. multi: true
  199. },
  200. {
  201. provide: HTTP_INTERCEPTORS,
  202. useClass: UploadInterceptor,
  203. multi: true
  204. }
  205. ],
  206. bootstrap: [AppComponent]
  207. })
  208. export class AppModule { }