Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
BsDropdownModule.forRoot(),
AngularMarkdownEditorModule.forRoot({iconlibrary: "fa"}),
NgSelectModule,
HttpClientModule,
MarkdownModule.forRoot({
markedOptions: {
provide: MarkedOptions,
useValue: {
breaks: true,
gfm: true,
// renderer: new Renderer(), Here we can add custom markdown tags
sanitize: true
}
}
}),
NotifierModule.withConfig({
position: {
horizontal: {
position: 'right',
distance: 12
},
vertical: {
position: 'bottom',
distance: 12,
gap: 10
}
},
theme: 'material',
behaviour: {
autoHide: 5000,
onClick: 'hide',
onMouseover: 'pauseAutoHide',
}
};
/**
* App module
*/
@NgModule( {
bootstrap: [
AppComponent
],
declarations: [
AppComponent
],
imports: [
BrowserModule,
NotifierModule.withConfig( customNotifierOptions )
]
} )
export class AppModule {}
VisualizationComponent,
SettingsComponent,
GeneralRiskComponent,
BuildingInfrastructureComponent,
DistributionsComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
FormsModule,
CommonModule,
KatexModule,
PerfectScrollbarModule,
NgSelectModule,
NotifierModule.withConfig({
position: { horizontal: { position: 'right', } },
behaviour: { autoHide: 5000, },
})
],
providers: [
MainService,
HttpManagerService,
WebsocketService,
ProjectService,
RiskScenarioService,
IdGeneratorService,
UiStateService,
CategoryService,
CadService,
JsonRiskService,
{