Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { BadgesComponent } from './badges.component';
// Modal Component
import { ModalModule } from 'ngx-bootstrap/modal';
import { ModalsComponent } from './modals.component';
// Notifications Routing
import { NotificationsRoutingModule } from './notifications-routing.module';
@NgModule({
imports: [
CommonModule,
NotificationsRoutingModule,
AlertModule.forRoot(),
ModalModule.forRoot()
],
declarations: [
AlertsComponent,
BadgesComponent,
ModalsComponent
]
})
export class NotificationsModule { }
async(() => {
TestBed.configureTestingModule({
imports: [
CommonModule,
SyndesisCommonModule.forRoot(),
RouterTestingModule.withRoutes([]),
ModalModule.forRoot(),
BsDropdownModule.forRoot(),
StoreModule,
NotificationModule
],
declarations: [ConnectionsListComponent]
}).compileComponents();
})
);
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
NgxCarouselModule,
UiModule,
TranslateModule.forRoot(),
ModalModule.forRoot()
],
declarations: [ FeatureOverviewComponent ],
providers: [ BsModalService, BsModalRef,
{ provide: TranslatePipe, useClass: TranslatePipeMock }
]
})
.compileComponents();
}));
import { NgArrayPipesModule } from 'angular-pipes';
import { ModalModule } from 'ngx-bootstrap/modal';
import { Fabric8WitModule } from 'ngx-fabric8-wit';
import { InfiniteScrollModule, WidgetsModule } from 'ngx-widgets';
import { LoadingWidgetModule } from '../../../dashboard-widgets/loading-widget/loading-widget.module';
import { SpacesComponent } from './overview-spaces.component';
@NgModule({
imports: [
RouterModule,
CommonModule,
Fabric8WitModule,
FormsModule,
InfiniteScrollModule,
LoadingWidgetModule,
ModalModule.forRoot(),
WidgetsModule,
NgArrayPipesModule
],
declarations: [SpacesComponent],
exports: [SpacesComponent]
})
export class SpacesModule { }
@NgModule({
declarations: [
MyWorkflowsComponent,
RegisterWorkflowModalComponent,
RefreshWorkflowOrganizationComponent,
MyWorkflowComponent,
SidebarAccordionComponent
],
imports: [
CommonModule,
WorkflowModule,
FormsModule,
HeaderModule,
myworkflowRouting,
ModalModule.forRoot(),
AccordionModule.forRoot(),
TabsModule.forRoot(),
TooltipModule.forRoot(),
CustomMaterialModule,
PipeModule
],
entryComponents: [RegisterWorkflowModalComponent],
providers: [
{provide: TooltipConfig, useFactory: getTooltipConfig},
]
})
export class MyWorkflowsModule { }
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ControlMessageComponent } from './control-messages/control-message.component';
import { ModalModule } from 'ngx-bootstrap/modal';
import { NgSelectModule } from '@ng-select/ng-select';
@NgModule({
imports: [
CommonModule,
FormsModule,
ModalModule.forRoot(),
NgSelectModule,
],
exports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
ModalModule,
NgSelectModule,
ControlMessageComponent,
],
declarations: [
ControlMessageComponent,
]
})
export class SharedModule { }
import { ModuleWithProviders, NgModule } from '@angular/core';
import { SharedModule } from '@rucken/core';
import { ModalModule } from 'ngx-bootstrap/modal';
import { FooterButtonsModule } from './../../../controls/footer-buttons/footer-buttons.module';
import { UsersGridModule } from './../users-grid.module';
import { UsersListModalComponent } from './users-list-modal.component';
@NgModule({
imports: [
ModalModule.forRoot(), SharedModule.forRoot(),
FooterButtonsModule.forRoot(), UsersGridModule.forRoot()
],
declarations: [
UsersListModalComponent
],
exports: [UsersListModalComponent],
entryComponents: [UsersListModalComponent]
})
export class UsersListModalModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: UsersListModalModule,
providers: []
};
}
}
import { FeatureFlagModule } from 'ngx-feature-flag';
import { PipelineModule } from '../../../../a-runtime-console/index';
import { PipelinesRoutingModule } from './pipelines-routing.module';
import { PipelinesComponent } from './pipelines.component';
@NgModule({
imports: [
BsDropdownModule.forRoot(),
CommonModule,
PipelinesRoutingModule,
PipelineModule,
ToolbarModule,
FeatureFlagModule,
ModalModule.forRoot(),
TooltipModule.forRoot()
],
declarations: [PipelinesComponent],
providers: [
BsDropdownConfig,
TooltipConfig
]
})
export class PipelinesModule {
constructor() { }
}
import { ModalModule } from 'ngx-bootstrap/modal';
import { QuitModalComponent } from './quit-modal.component';
import { DateExPipe } from './date-ex.pipe';
import { ChinachuService } from './chinachu.service';
import { GaraponService } from './garapon.service';
import { GaraponSiteService } from './garapon-site.service';
import { ImageLoader } from './image-loader.service';
import { StorageService } from './storage.service';
import { WindowService } from './window.service';
@NgModule({
imports: [
HttpClientModule,
ReactiveFormsModule,
ModalModule.forRoot(),
],
exports: [QuitModalComponent, DateExPipe],
declarations: [QuitModalComponent, DateExPipe],
providers: [
ChinachuService,
GaraponService,
GaraponSiteService,
ImageLoader,
StorageService,
WindowService,
],
entryComponents: [QuitModalComponent],
})
export class SharedModule { }
OsdReweightModalComponent,
SilenceMatcherModalComponent,
OsdDevicesSelectionModalComponent,
OsdCreationPreviewModalComponent
],
imports: [
CommonModule,
PerformanceCounterModule,
TabsModule.forRoot(),
SharedModule,
RouterModule,
FormsModule,
ReactiveFormsModule,
BsDropdownModule.forRoot(),
BsDatepickerModule.forRoot(),
ModalModule.forRoot(),
AlertModule.forRoot(),
TooltipModule.forRoot(),
TreeModule,
MgrModulesModule,
TypeaheadModule.forRoot(),
TimepickerModule.forRoot(),
BsDatepickerModule.forRoot(),
NgBootstrapFormValidationModule,
CephSharedModule
],
declarations: [
HostsComponent,
MonitorComponent,
ConfigurationComponent,
OsdListComponent,
OsdDetailsComponent,