Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
GameSelectorComponent,
AboutComponent,
LefleatMapComponent,
InfoPanelComponent,
GameComponent,
SidebarComponent,
HeaderComponent,
],
entryComponents: [],
imports: [
BrowserModule,
IonicModule.forRoot(),
AppRoutingModule,
HttpClientModule,
NgxHalClientModule.forRoot(),
LeafletModule.forRoot(),
AngularFireModule.initializeApp(environment.firebase),
AngularFireAuthModule,
FirebaseUIModule.forRoot(firebaseUiAuthConfig),
// AgmCoreModule.forRoot({
// apiKey: environment.googleMapsApiKey
// }),
// AgmSnazzyInfoWindowModule
],
providers: [
StatusBar,
SplashScreen,
GameDataService,
AuthGuardService,
ObjectService,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
'aprsSituation': fromAprsSituation.reducer,
'hostConfig': fromHostConfig.reducer
},
{
runtimeChecks: {
strictStateImmutability: true,
strictActionImmutability: true
}
}
),
EffectsModule.forFeature([AprsSituationEffects, HostConfigEffects]),
StoreModule.forFeature(fromAprsSituation.aprsSituationFeatureKey, fromAprsSituation.reducer),
StoreModule.forFeature(fromHostConfig.hostConfigFeatureKey, fromHostConfig.reducer),
EffectsModule.forRoot([AppEffects]),
StoreDevtoolsModule.instrument({ maxAge: 25, logOnly: environment.production }),
LeafletModule.forRoot()
],
providers: [
AprsSituationService,
HostService,
[Location, {provide: LocationStrategy, useClass: HashLocationStrategy}]
],
bootstrap: [AppComponent]
})
export class AppModule {
constructor(private store: Store) {
console.log("Constructor for AppModule was called.");
console.log("Dispatching enableHostConnection")
this.store.dispatch(AprsSituationActions.enableHostConnection());
}
import { AgmCoreModule } from '@agm/core';
import { LeafletModule } from '@asymmetrik/ngx-leaflet';
import { NgxEchartsModule } from 'ngx-echarts';
import { NbCardModule } from '@nebular/theme';
import { ThemeModule } from '../../@theme/theme.module';
import { MapsRoutingModule, routedComponents } from './maps-routing.module';
@NgModule({
imports: [
ThemeModule,
AgmCoreModule.forRoot({
apiKey: 'AIzaSyCpVhQiwAllg1RAFaxMWSpQruuGARy0Y1k',
libraries: ['places'],
}),
LeafletModule.forRoot(),
MapsRoutingModule,
NgxEchartsModule,
NbCardModule,
],
exports: [],
declarations: [
...routedComponents,
],
})
export class MapsModule { }
ConfigWizardComponent
];
const metadata = {
imports: [
BrowserModule,
CommonModule,
DvModule,
ReactiveFormsModule,
BrowserAnimationsModule,
MatButtonModule,
MatIconModule,
MatInputModule,
MatFormFieldModule,
FormsModule,
LeafletModule.forRoot(),
AgmCoreModule.forRoot({
apiKey: GOOGLE_MAPS_API_KEY
})
],
declarations: allComponents,
exports: allComponents,
entryComponents: allComponents
};
export { metadata };
AppComponent,
HeaderComponent,
FooterComponent,
RegisterComponent,
LoginComponent,
DashboardComponent,
PagenotfoundComponent
],
imports: [
BrowserModule,
AppRoutingModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AlertModule.forRoot(),
LeafletModule.forRoot()
],
providers: [RegisterService, MapService, AuthService, AuthGuard],
bootstrap: [AppComponent]
})
export class AppModule { }
import {CommonModule} from '@angular/common';
import {HttpClientModule} from '@angular/common/http';
import {LeafletModule} from '@asymmetrik/ngx-leaflet';
const routes: Routes = [
{path: '', redirectTo: 'home', pathMatch: 'full'},
{path: 'home', component: HomePage},
];
@NgModule({
declarations: [AppComponent, HomePage],
entryComponents: [],
imports: [BrowserModule,
CommonModule,
HttpClientModule,
LeafletModule.forRoot(),
IonicModule.forRoot(),
RouterModule.forRoot(routes, {useHash: true})],
providers: [
{provide: RouteReuseStrategy, useClass: IonicRouteStrategy}
],
bootstrap: [AppComponent]
})
export class AppModule {
}
useFactory: HttpLoaderFactory,
deps: [HttpClient]
},*/
compiler: {
provide: TranslateCompiler,
useClass: TranslateMessageFormatCompiler
}
}),
MomentModule,
NgPipesModule,
FileUploadModule,
ChartsModule,
RecaptchaModule.forRoot(),
RecaptchaFormsModule,
BrowserAnimationsModule,
LeafletModule.forRoot()
],
providers: [
APIService,
APIACL,
AuthService,
AuthGuard,
ACLService,
PictureService,
ItemService,
InboxService,
ReCaptchaService,
DonateService,
ItemParentService,
ArticleService,
ItemLinkService,
ItemLanguageService,