import { NgModule } from "@angular/core" ; import { GlobalSettingsComponent } from "../global-settings/global-settings.component" ; import { ZonesSettingsComponent } from "../zones-settings/zones-settings.component" ; import { ZoneComponent } from "../zones-settings/zone/zone.component" ; import { ZonesImportExportDialogComponent } from "../zones-settings/zones-import-export-dialog/zones-import-export-dialog.component" ; import { ZoneToolBarComponent } from "../zones-settings/zone-tool-bar/zone-tool-bar.component" ; import { GotItDialogComponent } from "./dialogs/got-it-dialog/got-it-dialog.component" ; import { ConfirmDialogComponent } from "./dialogs/confirm-dialog/confirm-dialog.component" ; import { OptionHelperDialogComponent } from "../global-settings/option-helper-dialog/option-helper-dialog.component" ; import { UserSettingsService } from "./services/user-settings/user-settings.service" ; import { GlobalSettingsService } from "../global-settings/services/global-settings.service" ; import { ActivityService } from "./services/activity/activity.service" ; import { UserSettingsDao } from "./dao/user-settings/user-settings.dao" ; import { OptionHelperReaderService } from "../global-settings/services/option-helper-reader.service" ; import { ZonesService } from "../zones-settings/shared/zones.service" ; import { AppRoutingModule } from "./modules/app-routing.module" ; import { DonateComponent } from "../donate/donate.component" ; import { AboutDialogComponent } from "../about-dialog/about-dialog.component" ; import { WindowService } from "./services/window/window.service" ; import { SideNavService } from "./services/side-nav/side-nav.service" ; import { LastSyncDateTimeDao } from "./dao/sync/last-sync-date-time.dao" ; import { SyncService } from "./services/sync/sync.service" ; import { ImportBackupDialogComponent } from "./dialogs/import-backup-dialog/import-backup-dialog.component" ; import { ShareComponent } from "../share/share.component" ; import { ReportComponent } from "../report/report.component" ; import { CoreModule } from "../core/core.module" ; import { BrowserAnimationsModule } from "@angular/platform-browser/animations" ; import { BrowserModule } from "@angular/platform-browser" ; import { AdvancedMenuComponent } from "../advanced-menu/advanced-menu.component" ; import { ChromeEventsService } from "./services/external-updates/impl/chrome-events.service" ; import { AthleteSnapshotResolverService } from "./services/athlete-snapshot-resolver/athlete-snapshot-resolver.service" ; import { AthleteService } from "./services/athlete/athlete.service" ; import { AthleteDao } from "./dao/athlete/athlete-dao.service" ; import { DataStore } from "./data-store/data-store" ; import { ChromeDataStore } from "./data-store/impl/chrome-data-store.service" ; import { ActivityDao } from "./dao/activity/activity.dao" ; import { FaqComponent } from "../faq/faq.component" ; import { ActivitiesComponent } from "../activities/activities.component" ; import { AppEventsService } from "./services/external-updates/app-events-service" ; import { ConsoleLoggerService } from "./services/logging/console-logger.service" ; import { LoggerService } from "./services/logging/logger.service" ; import { PromoteDesktopComponent } from "../promote-desktop/promote-desktop.component" ; const ChromeDataStoreProvider = { provide : DataStore , useClass : ChromeDataStore } ; const AppEventsServiceProvider = { provide : AppEventsService , useClass : ChromeEventsService } ; const LoggerServiceProvider = { provide : LoggerService , useClass : ConsoleLoggerService } ; @ NgModule ( { imports : [ CoreModule , BrowserModule , BrowserAnimationsModule , AppRoutingModule ] , exports : [ CoreModule , BrowserModule , BrowserAnimationsModule , AppRoutingModule ] , declarations : [ PromoteDesktopComponent , ActivitiesComponent , GlobalSettingsComponent , ZonesSettingsComponent , ZoneComponent , DonateComponent , ShareComponent , ReportComponent , AdvancedMenuComponent , FaqComponent , ZoneToolBarComponent , GotItDialogComponent , ConfirmDialogComponent , OptionHelperDialogComponent , ZonesImportExportDialogComponent , AboutDialogComponent , ImportBackupDialogComponent ] , entryComponents : [ GotItDialogComponent , ConfirmDialogComponent , OptionHelperDialogComponent , ZonesImportExportDialogComponent , AboutDialogComponent , ImportBackupDialogComponent ] , providers : [ ChromeDataStoreProvider , SyncService , LastSyncDateTimeDao , UserSettingsService , UserSettingsDao , AthleteService , AthleteDao , AthleteSnapshotResolverService , ActivityService , ActivityDao , GlobalSettingsService , OptionHelperReaderService , ZonesService , SideNavService , WindowService , AppEventsServiceProvider , LoggerServiceProvider ] } ) export class SharedModule { }