Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
RouterModule.forRoot([{ path: '**', redirectTo: '', pathMatch: 'full' }]),
BrowserAnimationsModule,
NgReduxModule,
BsDropdownModule.forRoot(),
ToastrModule.forRoot({
timeOut: 3000,
preventDuplicates: true,
easing: 'ease-in-out',
enableHtml: true,
progressBar: true,
extendedTimeOut: 3000,
easeTime: 450
}),
AccordionModule.forRoot(),
TopologyRendererModule.forRoot(),
HotkeyModule.forRoot({ cheatSheetHotkey: 'mod+space' }),
WineryModalModule,
TypeaheadModule.forRoot(),
PopoverModule.forRoot(),
PropertiesModule,
WineryFeatureToggleModule
],
providers: [
// { provide: ToastOptions, useClass: WineryCustomOption },
JsPlumbService,
WineryActions,
TopologyRendererActions,
LoadedService,
AppReadyEventService,
BackendService,
ExistsService,
EntitiesModalService,
RComponent,
TComponent,
InteractionComponent,
BoxOptionsComponent,
TreeNodeComponent,
SelectTypeComponent,
ScreenComponent,
],
imports: [
BrowserModule,
HttpClientModule,
FormsModule,
DragDropModule,
AngularResizedEventModule,
ContextMenuModule.forRoot(),
HotkeyModule.forRoot({cheatSheetHotkey: "ctrl+h"}),
CustomFormsModule,
ReactiveFormsModule,
AutocompleteLibModule,
BrowserAnimationsModule, // required animations module
ToastrModule.forRoot()
],
providers: [
{provide: 'GlobalRefDesigner', useClass: environment.globalTypeDesigner},
{provide: 'subSystem', useValue: 'designer'}
],
bootstrap: [DesignerComponent]
})
export class DesignerModule { }
declarations: [AppComponent, TestComponent],
imports: [
BrowserModule,
UtilityModule,
RouterModule.forRoot(routes, {
preloadingStrategy: PreloadAllModules,
useHash: true
}),
StoreRootModule,
SkyhookDndModule.forRoot({ backendFactory: customMultiBackend }),
// SkyhookDndModule.forRoot({ backend: TouchBackend }),
// SkyhookDndModule.forRoot({ backend: MouseBackend }),
StoreModule.forRoot(reducers, { metaReducers }),
// !environment.production ? StoreDevtoolsModule.instrument() : [],
EffectsModule.forRoot([AppEffects]),
HotkeyModule.forRoot()
],
bootstrap: [AppComponent]
})
export class AppModule {}
GistoCodeEditorComponent
],
imports: [
RouterModule.forRoot(
appRoutes,
{ enableTracing: false } // <-- debugging purposes only
),
BrowserModule,
FormsModule,
ReactiveFormsModule,
MobxAngularModule,
// CovalentCodeEditorModule,
AceEditorModule,
MarkdownModule.forRoot(),
HotkeyModule.forRoot(),
NgxElectronModule
],
providers: [
SettingsStore,
NotificationsStore,
GithubAuthorizationService,
AuthGuard
],
bootstrap: [AppComponent],
schemas: [ NO_ERRORS_SCHEMA ]
})
export class AppModule { }
bootstrap: [AppComponent],
declarations: [AppComponent, ...COMPONENTS],
imports: [
...CUSTOM_MODULES,
...NGFACES_MODULES,
BrowserAnimationsModule,
BrowserModule,
FormsModule,
HttpModule,
JsonpModule,
ReactiveFormsModule,
SharedModule.forRoot(),
AppRoutingModule,
MdInputTextModule,
DotDirectivesModule,
HotkeyModule.forRoot()
],
providers: [ENV_PROVIDERS]
})
export class AppModule {}
}
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
RootRoutingModule,
HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: (createTranslateLoader),
deps: [HttpClient]
}
}),
HotkeyModule.forRoot(),
SharedModule,
ServiceWorkerModule.register('ngsw-worker.js', {enabled: environment.production})
],
declarations: [
RootComponent
],
bootstrap: [RootComponent]
})
export class RootModule {
}
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [ AccordionModule.forRoot(), HotkeyModule.forRoot(), ReactiveFormsModule, HttpModule],
declarations: [ TodoDetailComponent, EntryListComponent, EntryFormComponent, DisplayComponent ],
providers: [LocdbService, CredentialsService, HotkeysService, LoggingService]
})
.compileComponents();
}));
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
TranslateModule.forRoot({
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps: [HttpClient]
}
}),
HotkeyModule.forRoot(),
LoginModule,
PostybirbModule,
UtilsModule,
TemplatesModule,
DatabaseModule,
MiscellaneousModule,
WebsitesModule,
MatButtonModule,
MatDialogModule,
MatIconModule,
MatInputModule,
MatSelectModule,
MatSidenavModule,
MatToolbarModule,
MatTooltipModule,
SnotifyModule
useFactory: HttpLoaderFactory,
deps: [HttpClient],
},
}),
TypeaheadModule.forRoot(),
RouterModule.forRoot(ROUTES),
StoreModule,
ToastrModule.forRoot({
timeOut: 2000,
positionClass: 'toast-bottom-right',
maxOpened: 1,
}),
SortableModule.forRoot(),
TabsModule.forRoot(),
ReactiveFormsModule,
HotkeyModule.forRoot(),
],
providers: [
...conditional_providers,
AuthService,
ConfService,
DbService,
EditService,
ErrorHighlightService,
GeocodeService,
MapService,
OverpassService,
ProcessService,
StorageService,
WarnService,
RouteWizardService,
garaponDevId,
garaponSiteUrl,
playerOptions,
} from './app.constants';
import { CoreModule } from './core/core.module';
import { SharedModule } from './shared/shared.module';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
defineLocale('ja', jaLocale);
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
HotkeyModule.forRoot({
cheatSheetDescription: 'ショートカット一覧を表示/非表示',
}),
LoadingBarRouterModule,
AppRoutingModule,
CoreModule,
SharedModule,
],
declarations: [AppComponent],
bootstrap: [AppComponent],
providers: [
{ provide: 'categoryTable', useValue: categoryTable },
{ provide: 'commentTokenUrl', useValue: commentTokenUrl },
{ provide: 'commentUrl', useValue: commentUrl },
{ provide: 'garaponAuthUrl', useValue: garaponAuthUrl },
{ provide: 'garaponAuthUrlV4', useValue: garaponAuthUrlV4 },
{ provide: 'garaponDevId', useValue: garaponDevId },