How to use the ngx-bootstrap.PopoverModule.forRoot function in ngx-bootstrap

To help you get started, we’ve selected a few ngx-bootstrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / shared / shared.module.ts View on Github external
*
 * @author Gunnar Hillert
 * @author Ilayaperumal Gopinathan
 * @author Damien Vitrac
 */
@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    HttpClientModule,
    ReactiveFormsModule,
    FloModule,
    ModalModule.forRoot(),
    TooltipModule.forRoot(),
    BsDropdownModule.forRoot(),
    PopoverModule.forRoot(),
    TimepickerModule.forRoot(),
    NgxPaginationModule,
    ToastContainerModule,
    ProgressbarModule.forRoot(),
    GrafanaModule,
    ToastrModule.forRoot({
      timeOut: 3000,
      positionClass: 'toast-top-right',
      preventDuplicates: true,
      maxOpened: 6,
      enableHtml: true
    }),
    LocalStorageModule.withConfig({
      prefix: 'dataflow-',
      storageType: 'localStorage'
    })
github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / tasks / task-launch / task-launch.component.spec.ts View on Github external
DataflowDateTimePipe,
        LoaderComponent,
        DATAFLOW_PAGE,
        DATAFLOW_LIST,
        KvRichTextComponent,
        PagerComponent,
        TippyDirective
      ],
      imports: [
        FormsModule,
        ReactiveFormsModule,
        NgxPaginationModule,
        ClipboardModule,
        BsDropdownModule.forRoot(),
        TooltipModule.forRoot(),
        PopoverModule.forRoot(),
        RouterTestingModule.withRoutes([])
      ],
      providers: [
        { provide: TasksService, useValue: tasksService },
        { provide: ActivatedRoute, useValue: activeRoute },
        { provide: RoutingStateService, useValue: routingStateService },
        { provide: NotificationService, useValue: notificationService },
        ClipboardService,
        BlockerService
      ]
    })
      .compileComponents();
  }));
github assimbly / gateway / src / main / webapp / app / entities / flow / flow.module.ts View on Github external
...flowRoute,
    ...flowPopupRoute,
];

@NgModule({
    imports: [
        GatewaySharedModule,
        GatewayFromEndpointModule,
        GatewayToEndpointModule,
        GatewayErrorEndpointModule,
        RouterModule.forChild(ENTITY_STATES),
        NgbModule,
        NgSelectModule,
        FormsModule,
        ReactiveFormsModule,
        PopoverModule.forRoot(),
        AceEditorModule
    ],
    exports: [
        FlowComponent
    ],
    declarations: [
        FlowComponent,
        FlowConfigurationComponent,
        FlowDetailComponent,
        FlowEditAllComponent,
        FlowDialogComponent,
        FlowDeleteDialogComponent,
        FlowPopupComponent,
        FlowDeletePopupComponent,
        FlowRowComponent,
        FlowLiveModeComponent
github syndesisio / syndesis / ui / src / app / integrations / edit-page / flow-view / flow-view.component.spec.ts View on Github external
async(() => {
      TestBed.configureTestingModule({
        imports: [
          CommonModule,
          FormsModule,
          RouterTestingModule.withRoutes([]),
          RestangularModule.forRoot(),
          ConnectionsModule,
          ModalModule,
          TabsModule.forRoot(),
          PopoverModule.forRoot(),
          CollapseModule.forRoot(),
          SyndesisCommonModule.forRoot(),
          CollapseModule
        ],
        declarations: [FlowViewComponent, FlowViewStepComponent],
        providers: [
          MockBackend,
          {
            provide: RequestOptions,
            useClass: BaseRequestOptions
          },
          {
            provide: Http,
            useFactory: (backend, options) => {
              return new Http(backend, options);
            },
github syndesisio / syndesis / app / ui / src / app / integration / edit-page / edit-page.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [
        CollapseModule,
        CommonModule,
        FormsModule,
        SyndesisCommonModule,
        ModalModule,
        RouterTestingModule.withRoutes([]),
        PopoverModule.forRoot(),
        CollapseModule.forRoot(),
        SyndesisStoreModule,
        ToolbarModule
      ],
      declarations: [
        IntegrationEditPage,
        ConnectionsListComponent,
        FlowViewComponent,
        FlowViewStepComponent
      ],
      providers: [CurrentFlowService, NavigationService]
    }).compileComponents();
  }));
github ceph / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / navigation / navigation / navigation.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [
        SharedModule,
        RouterTestingModule,
        HttpClientTestingModule,
        CollapseModule.forRoot(),
        PopoverModule.forRoot()
      ],
      declarations: [
        NavigationComponent,
        NotificationsComponent,
        LogoutComponent,
        TaskManagerComponent
      ],
      providers: [{ provide: NotificationService, useValue: fakeService }]
    }).compileComponents();
  }));
github ceph / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / helper / helper.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      imports: [ PopoverModule.forRoot() ],
      declarations: [ HelperComponent ]
    })
    .compileComponents();
  }));
github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / audit / audit-record-details / audit-record-details.component.spec.ts View on Github external
declarations: [
        AuditRecordDetailsComponent,
        SortComponent,
        OrderByPipe,
        RolesDirective,
        DATAFLOW_PAGE,
        DATAFLOW_LIST,
        PagerComponent,
        AuditRecordActionComponent,
        AuditRecordOperationComponent,
        DataflowDateTimePipe,
        TippyDirective
      ],
      imports: [
        ModalModule.forRoot(),
        PopoverModule.forRoot(),
        TooltipModule.forRoot(),
        BsDropdownModule.forRoot(),
        NgxPaginationModule,
        ReactiveFormsModule,
        FormsModule,
        RouterTestingModule.withRoutes([])
      ],
      providers: [
        { provide: AuditRecordService, useValue: auditRecordService },
        { provide: AuthService, useValue: authService },
        { provide: ActivatedRoute, useValue: {
          params: of({ auditRecordId: 12347 })
        } },
        BsModalService,
        { provide: RoutingStateService, useValue: routingStateService },
        { provide: NotificationService, useValue: notificationService },
github dockstore / dockstore-ui2 / src / app / search / search.component.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [SearchComponent, MapFriendlyValuesPipe, HeaderComponent, BasicSearchComponent, SearchResultsComponent],
      imports: [CustomMaterialModule, ClipboardModule, PopoverModule.forRoot(), FontAwesomeModule, RouterTestingModule],
      providers: [
        { provide: SearchService, useClass: SearchStubService },
        { provide: QueryBuilderService, useClass: QueryBuilderStubService },
        { provide: ProviderService, useClass: ProviderStubService },
        { provide: SearchQuery, useValue: jasmine.createSpyObj('SearchQuery', ['select', 'getValue', 'searchText']) }
      ]
    }).compileComponents();
  }));
github spring-cloud / spring-cloud-dataflow-ui / ui / src / app / apps / app-details / app-details.component.spec.ts View on Github external
declarations: [
        AppDetailsComponent,
        AppTypeComponent,
        AppVersionLabelComponent,
        SortComponent,
        OrderByPipe,
        RolesDirective,
        DATAFLOW_PAGE,
        DATAFLOW_LIST,
        LoaderComponent,
        PagerComponent,
        TippyDirective
      ],
      imports: [
        ModalModule.forRoot(),
        PopoverModule.forRoot(),
        TooltipModule.forRoot(),
        BsDropdownModule.forRoot(),
        NgxPaginationModule,
        ReactiveFormsModule,
        FormsModule,
        RouterTestingModule.withRoutes([])
      ],
      providers: [
        { provide: AppsService, useValue: appsService },
        { provide: AuthService, useValue: authService },
        { provide: ActivatedRoute, useValue: activeRoute },
        BsModalService,
        { provide: ConfirmService, useValue: confirmService },
        { provide: RoutingStateService, useValue: routingStateService },
        { provide: SharedAboutService, useValue: sharedAboutService },
        { provide: NotificationService, useValue: notificationService },