Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
TrainingEMetricsComponent,
// FadingCircleComponent,
AnalyticsMainComponent,
ProfileListComponent,
ProfileShowComponent,
Autofocus
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
// Ng2BootstrapModule,
ChartsModule,
RouterModule.forRoot(ROUTES, { useHash: true }),
TabsModule.forRoot(),
AccordionModule.forRoot(),
SimpleNotificationsModule.forRoot(),
Ng2Webstorage,
// NG2D3Module,
BrowserAnimationsModule,
// SpinnerModule,
CookieModule.forRoot(),
],
providers: [
Title,
AppService,
AuthService,
AuthGuard,
DlaasService,
EmitterService,
CookieService,
describe('RoleListComponent', () => {
let component: RoleListComponent;
let fixture: ComponentFixture;
configureTestBed({
declarations: [RoleListComponent, RoleDetailsComponent, UserTabsComponent],
imports: [
SharedModule,
ToastModule.forRoot(),
TabsModule.forRoot(),
RouterTestingModule,
HttpClientTestingModule
]
});
beforeEach(() => {
fixture = TestBed.createComponent(RoleListComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {BrowserModule} from '@angular/platform-browser';
import {TabsModule} from 'ngx-bootstrap';
import {SelectModule} from 'ng2-select';
import {WineryLoaderModule} from '../../../wineryLoader/wineryLoader.module';
import {WineryNamespaceSelectorModule} from '../../../wineryNamespaceSelector/wineryNamespaceSelector.module';
import {WineryDuplicateValidatorModule} from '../../../wineryValidators/wineryDuplicateValidator.module';
import {WineryModalModule} from '../../../wineryModalModule/winery.modal.module';
import {WineryTableModule} from '../../../wineryTableModule/wineryTable.module';
import {PropertiesDefinitionComponent} from './propertiesDefinition.component';
@NgModule({
imports: [
TabsModule.forRoot(),
SelectModule,
BrowserModule,
FormsModule,
WineryLoaderModule,
CommonModule,
WineryNamespaceSelectorModule,
WineryModalModule,
WineryTableModule,
WineryDuplicateValidatorModule,
],
exports: [],
declarations: [
PropertiesDefinitionComponent,
],
providers: [],
})
MemberEditComponent,
PhotoEditorComponent,
TimeAgoPipe,
MemberMessagesComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
HttpClientModule,
FormsModule,
ReactiveFormsModule,
BsDropdownModule.forRoot(),
BsDatepickerModule.forRoot(),
ButtonsModule.forRoot(),
PaginationModule.forRoot(),
TabsModule.forRoot(),
RouterModule.forRoot(appRoutes),
NgxGalleryModule,
FileUploadModule,
JwtModule.forRoot({
config: {
tokenGetter,
whitelistedDomains: ['localhost:5000'],
blacklistedRoutes: ['localhost:5000/api/auth']
}
})
],
providers: [
ErrorInterceptorProvider,
MemberDetailResolver,
MemberListResolver,
MemberEditResolver,
{
path: 'book-upload',
component: BookUploadComponent
}
]);
@NgModule({
imports: [
CommonModule,
SharedModule,
booksRouting,
ModalModule.forRoot(),
BsDatepickerModule.forRoot(),
TabsModule.forRoot(),
AccordionModule.forRoot(),
AlertModule.forRoot(),
ButtonsModule.forRoot(),
CarouselModule.forRoot(),
CollapseModule.forRoot(),
BsDropdownModule.forRoot(),
PopoverModule.forRoot(),
ProgressbarModule.forRoot(),
BrowserAnimationsModule,
PaginationModule.forRoot(),
ReactiveFormsModule
],
declarations: [BookSearchComponent, BookDetailsComponent, AddBookComponent, BookUploadComponent, BookListComponent]
})
export class BookModule { }
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { TabsModule } from 'ngx-bootstrap';
import { WineryLoaderModule } from '../../../wineryLoader/wineryLoader.module';
import { WineryModalModule } from '../../../wineryModalModule/winery.modal.module';
import { VisualAppearanceComponent } from './visualAppearance.component';
import { WineryUploaderModule } from '../../../wineryUploader/wineryUploader.module';
/**
* An angular module for displaying the visualApperances for both the nodeTypes and the relationshipTypes
* therefore an instance of {@link NodeTypesVisualsApiData} or {@link RelationshipTypesVisualsApiData} is loaded from the backend
*/
@NgModule({
imports: [
TabsModule.forRoot(),
BrowserModule,
FormsModule,
WineryLoaderModule,
CommonModule,
WineryModalModule,
WineryUploaderModule
],
exports: [],
declarations: [
VisualAppearanceComponent,
]
})
export class VisualAppearanceModule {
}
import { SortDemoComponent } from './sort-demo-section/sort-demo/sort-demo.component';
import { AlignDemoComponent } from './align-demo-section/align-demo/align-demo.component';
import { AlignDemoSectionComponent } from './align-demo-section/align-demo-section.component';
import { FormattingDemoSectionComponent } from './formatting-demo-section/formatting-demo-section.component';
import { FormattingDemoComponent } from './formatting-demo-section/formatting-demo/formatting-demo.component';
import { SimpleButtonDemoSectionComponent } from './simple-button-demo-section/simple-button-demo-section.component';
import { SimpleButtonDemoComponent } from './simple-button-demo-section/simple-button-demo/simple-button-demo.component';
import { ButtonGroupDemoSectionComponent } from './button-group-demo-section/button-group-demo-section.component';
import { ButtonGroupDemoComponent } from './button-group-demo-section/button-group-demo/button-group-demo.component';
import { DropdownDemoSectionComponent } from './dropdown-demo-section/dropdown-demo-section.component';
import { DropdownDemoComponent } from './dropdown-demo-section/dropdown-demo/dropdown-demo.component';
@NgModule({
imports: [
CommonModule,
TabsModule.forRoot(),
NgxMagicTableModule
],
providers: [
],
declarations: [
DemoSectionComponent,
DemoSectionSourceComponent,
MainDemoComponent,
MainDemoSectionComponent,
SimpleDemoSectionComponent,
SimpleDemoComponent,
SortDemoSectionComponent,
SortDemoComponent,
AlignDemoComponent,
AlignDemoSectionComponent,
@NgModule({
declarations: [
DemoComponent,
HandsontableSectionComponent,
BasicDemoComponent,
SheetDemoComponent,
PersonalDemoComponent,
FinanceDemoComponent,
ScienceDemoComponent,
SportDemoComponent,
AdvancedDemoComponent
],
imports: [
BrowserModule,
HotTableModule,
TabsModule.forRoot()
],
providers: [],
bootstrap: [ DemoComponent ]
})
export class DemoModule {
}
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
ToolFileEditorComponent,
CodeEditorListComponent,
CodeEditorComponent,
PublicFileDownloadPipe,
PrivateFileDownloadPipe,
PrivateFilePathPipe
],
imports: [
TabsModule.forRoot(),
MatButtonModule,
MatTabsModule,
MatToolbarModule,
MatIconModule,
MatSnackBarModule,
MatInputModule,
MatFormFieldModule,
MatSelectModule,
MatTooltipModule,
MatCardModule,
BrowserAnimationsModule,
ClipboardModule
],
providers: [
{ provide: HostedService, useClass: HostedStubService },
{ provide: ContainerService, useClass: ContainerStubService },
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
WorkflowFileEditorComponent,
CodeEditorListComponent,
CodeEditorComponent,
PublicFileDownloadPipe,
PrivateFileDownloadPipe,
PrivateFilePathPipe
],
imports: [
TabsModule.forRoot(),
MatButtonModule,
MatTabsModule,
MatToolbarModule,
MatIconModule,
MatInputModule,
MatFormFieldModule,
MatTooltipModule,
ClipboardModule,
MatSnackBarModule,
MatCardModule
],
providers: [
{ provide: HostedService, useClass: HostedStubService },
{ provide: WorkflowService, useClass: WorkflowStubService },
{ provide: WorkflowsService, useClass: WorkflowsStubService },
{ provide: RefreshService, useClass: RefreshStubService },