Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
libraries: ['places'],
language: 'en',
// region: 'DE'
};
@NgModule({
declarations: [
AppComponent,
ConfigComponent
],
imports: [
BrowserModule.withServerTransition({appId: 'serverApp'}),
BrowserAnimationsModule,
RouterModule.forRoot([]),
Angulartics2Module.forRoot(),
MarkdownModule.forRoot(),
AgmCoreModule.forRoot(googleMapsParams),
MatGoogleMapsAutocompleteModule,
FlexLayoutModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
MatButtonToggleModule,
MatCardModule,
MatInputModule,
MatExpansionModule,
MatTabsModule,
MatRadioModule
],
providers: [],
bootstrap: [AppComponent]
})
import {HttpClient, HttpClientModule} from '@angular/common/http';
import {ServiceWorkerModule} from '@angular/service-worker';
import {environment} from '../environments/environment';
import {MarkdownModule} from 'ngx-markdown';
@NgModule({
declarations: [
AppComponent
],
imports: [
// Add .withServerTransition() to support Universal rendering.
// The application ID can be any identifier which is unique on
// the page.
BrowserModule.withServerTransition({appId: '@angular-material-extensions/contacts-demo-id'}),
ServiceWorkerModule.register('/ngsw-worker.js', {enabled: environment.production}),
MarkdownModule.forRoot({loader: HttpClient}),
BrowserAnimationsModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
AppRoutingModule,
AppSharedModule,
HomeModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
import { MarkdownModule } from 'ngx-markdown';
import { MzButtonModule, MzIconMdiModule, MzSidenavModule } from 'ngx-materialize';
import { AppComponent } from './app.component';
import { ROUTES } from './app.routing';
@NgModule({
imports: [
// external modules
BrowserAnimationsModule,
CommonModule,
MalihuScrollbarModule.forRoot(),
MzButtonModule,
MzIconMdiModule,
MzSidenavModule,
MarkdownModule.forRoot(),
RouterModule.forRoot(ROUTES),
],
declarations: [AppComponent],
bootstrap: [AppComponent],
})
export class AppModule { }
LayoutRoutingModule,
NgxWebstorageModule.forRoot({prefix: 'jhi', separator: '-'}),
XmSharedModule,
HttpClientModule,
BrowserAnimationsModule,
GateHomeModule,
GateAccountModule,
ApplicationModule,
SidebarModule,
XmBalanceModule,
XmEntityModule,
XmDashboardModule,
XmTimelineModule,
XmNotificationsModule,
XmConfigModule,
MarkdownModule.forRoot()
],
declarations: [
XmMainComponent,
NavbarComponent,
ErrorComponent,
PageRibbonComponent,
FooterComponent
],
providers: [
XmApplicationConfigService,
{
provide: APP_INITIALIZER,
useFactory: appInitializerFn,
multi: true,
deps: [XmApplicationConfigService]
},
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ClarityModule } from '@clr/angular';
import { CookieModule } from 'ngx-cookie';
import { MarkdownModule } from 'ngx-markdown';
@NgModule({
imports: [
BrowserModule,
FormsModule,
HttpModule,
ClarityModule.forRoot(),
CookieModule.forRoot(),
MarkdownModule.forRoot(),
BrowserAnimationsModule
],
exports: [
BrowserModule,
FormsModule,
HttpModule,
ClarityModule,
BrowserAnimationsModule,
MarkdownModule
]
})
export class CoreModule {
}
ChangelogModalComponent,
EnvironmentLogsComponent,
HeadersListComponent,
BannerComponent,
RouteResponseRulesComponent,
TruncatePipe
],
imports: [
AceEditorModule,
BrowserAnimationsModule,
BrowserModule,
DragulaModule.forRoot(),
FormsModule,
HttpClientModule,
NgbModule,
MarkdownModule.forRoot({
markedOptions: {
provide: MarkedOptions,
useFactory: MarkedOptionsFactory
}
}),
AngularFireModule.initializeApp(Config.firebaseConfig),
AngularFireAuthModule,
AngularFirestoreModule,
ReactiveFormsModule
],
providers: [{ provide: FirestoreSettingsToken, useValue: {} }],
bootstrap: [AppComponent]
})
export class AppModule {}
GridTypesComponent,
ItemsComponent,
PushComponent,
ResizeComponent,
SwapComponent,
MiscComponent,
],
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
RouterModule.forRoot(appRoutes),
MatIconModule, MatButtonModule, MatSelectModule, MatInputModule, MatCheckboxModule, MatSidenavModule, MatListModule,
GridsterModule,
MarkdownModule.forRoot({loader: HttpClient, markedOptions: {provide: MarkedOptions, useValue: {smartypants: true, breaks: true}}}),
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
import { EnclosureModule } from './viewenclosure/enclosure.module';
import { EulaComponent } from './support/eula/eula.component';
import { TnSysInfoComponent } from './support/tn-sys-info/tn-sys-info.component';
import { SysImageComponent } from './support/sys-image/sys-image.component';
import { ProductionStatusComponent } from './support/production-status/production-status.component';
import { ProactiveComponent } from './support/proactive/proactive.component';
import { TnSupportComponent } from './support/tn-support/tn-support.component';
import { FnSupportComponent } from './support/fn-support/fn-support.component';
import { FnSysInfoComponent } from './support/fn-sys-info/fn-sys-info.component'
@NgModule({
imports: [
EntityModule, CommonModule, FormsModule,
ReactiveFormsModule, NgUploaderModule, routing,
MaterialModule, MarkdownModule.forRoot(), TranslateModule, FlexLayoutModule,
EnclosureModule
],
declarations: [
GeneralComponent,
AdvancedComponent,
DatasetComponent,
BootEnvironmentListComponent,
BootEnvironmentCloneComponent,
BootEnvironmentRenameComponent,
BootEnvironmentCreateComponent,
BootStatusListComponent,
BootEnvAttachFormComponent,
BootEnvReplaceFormComponent,
TunableListComponent,
TunableFormComponent,
UpdateComponent,
AppComponent,
HeaderComponent,
UserConfirmationComponent,
SessionFixConfirmationComponent
],
imports: [
BrowserModule,
PhaseTesterResponseModule,
BrowserAnimationsModule,
AuthModule,
PhaseBugReportingModule,
PhaseTeamResponseModule,
PhaseModerationModule,
SharedModule,
HttpClientModule,
MarkdownModule.forRoot({
markedOptions: {
provide: MarkedOptions,
useValue: {
gfm: true,
tables: true,
breaks: true,
pedantic: false,
sanitize: false,
smartLists: true,
smartypants: true,
},
},
}),
AppRoutingModule,
],
providers: [],
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [FinancialChartComponent],
imports: [
HttpClientModule,
ChartsModule,
MarkdownModule.forRoot({ loader: HttpClient }),
HighlightModule.forRoot({
languages: hljsLanguages,
}),
],
})
.compileComponents();
}));