import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { APP_BASE_HREF } from '@angular/common'; import { HttpModule } from '@angular/http'; import { Ng2Bs3ModalModule } from 'ng2-bs3-modal/ng2-bs3-modal'; import { CsvService } from "angular2-json2csv"; //import { ModalModule } from 'ngx-bootstrap/modal'; import { UpdateUserProfile } from './components/UserEntity/updateuserprofile.component'; import { ChangeUserPassword } from './components/UserEntity/changeuserpassword.component'; import { ChangeUserID } from './components/UserEntity/changeuserid.component'; import { UsersList } from './components/UserEntity/users.component'; import { AddUser } from './components/UserEntity/adduser.component'; import { UnblockUser } from './components/UserEntity/unblockuser.component'; import { ManageDiscountCode } from './components/ManageDiscountCode/managediscountcode.component'; import { SubscriptionPrice } from './components/SubscriptionPrice/subscriptionprice.component'; import { SearchLicense } from './components/LicenseEntity/searchlicense.component'; import { AddLicense } from './components/LicenseEntity/addlicense.component'; import { UsageReport } from './components/Reports/usagereport.component'; import { CustomerSummaryReport } from './components/Reports/customersummaryreport.component'; import { ExpiringSubscriptionReport } from './components/Reports/expiringsubscriptionreport.component'; import { SubscriptionReport } from './components/Reports/subscriptionreport.component'; import { SubscriptionCancellationReport } from './components/Reports/subscriptioncancellationreport.component'; import { NetAdSubscriptionReport } from './components/Reports/netadsubscriptionreport.component'; import { SiteLicenseUsageReport } from './components/Reports/sitelicenseusagereport.component'; import { DiscountCodeReport } from './components/Reports/discountcodereport.component'; import { ImageExportReport } from './components/Reports/imageexportreport.component'; import { EditLicenseBasicSettings } from './components/LicenseEntity/editlicensebasicsettings.component'; import { LicenseModestySettings } from './components/LicenseEntity/licensemodestysettings.component'; import { LicenseModuleSettings } from './components/LicenseEntity/licensemodulesettings.component'; import { SiteLicenseAccount } from './components/LicenseEntity/sitelicenseaccount.component'; import { UserGroup } from './components/UserEntity/usergroup.component'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app.routing.module'; //import { AuthGuard } from '../app/authguard.service'; //import { AuthService } from '../app/auth.service'; //import { MyInterceptor } from '../app/token.interceptor'; import { GlobalService } from './Shared/global'; import { ConfirmService } from './Shared/Confirm/confirm.service'; import { ConfirmComponent } from "./Shared/Confirm/confirm.component" import { BsDatepickerModule, ModalModule } from 'ngx-bootstrap'; import { BsModalService } from 'ngx-bootstrap/modal'; import { ContenteditableModelDirective } from './shared/contenteditabledirective'; import { LoadingService } from './shared/loading.service'; import { PagerComponent } from './shared/Pager/pager.component'; import { NumberOnlyDirective } from './shared/numberonlydirective'; //import { MyAuthService } from './shared/my-auth.service'; //import { AngularFireAuth } from 'angularfire2/auth'; //import { FirebaseApp, AngularFireModule } from 'angularfire2'; //import 'firebase/storage' //import * as firebase from 'firebase/app'; //export const firebaseConfig = { // apiKey: 'xxxxxxxxxxxxxxxxxxxxx', // authDomain: 'xxxxxxxxxxxxxxxxxxxxx', // databaseURL: 'xxxxxxxxxxxxxxxxxxxxx', // storageBucket: 'xxxxxxxxxxxxxxxxxxxxx' //}; @NgModule({ declarations: [ ChangeUserPassword, ChangeUserID, UpdateUserProfile, UsersList, ManageDiscountCode, AddUser, UnblockUser, AppComponent, ConfirmComponent, SubscriptionPrice, ManageDiscountCode, ContenteditableModelDirective, AddLicense, SearchLicense, UsageReport, CustomerSummaryReport, ExpiringSubscriptionReport, SubscriptionReport, SubscriptionCancellationReport, NetAdSubscriptionReport, SiteLicenseUsageReport, DiscountCodeReport, ImageExportReport, EditLicenseBasicSettings, LicenseModestySettings, LicenseModuleSettings, SiteLicenseAccount, UserGroup, PagerComponent, NumberOnlyDirective ], imports: [ BrowserModule, AppRoutingModule, HttpClientModule, FormsModule, ReactiveFormsModule, HttpModule, Ng2Bs3ModalModule, BsDatepickerModule.forRoot(), ModalModule.forRoot()//ModalModule.forRoot() // , AngularFireModule.initializeApp(firebaseConfig), ], providers: [GlobalService, ConfirmService, BsModalService, LoadingService, CsvService, // MyAuthService, AngularFireAuth, FirebaseApp, AngularFireModule, //AuthService, //AuthGuard, //{ // provide: HTTP_INTERCEPTORS, // useClass: MyInterceptor, // multi: true //} //{ provide: APP_BASE_HREF, useValue: '/Admin-UI' } { provide: APP_BASE_HREF, useValue: '/' } ], bootstrap: [AppComponent] }) export class AppModule { }