import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { ModalModule } from 'ngx-bootstrap/modal';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { ActionLabels, URLVerbs } from '../../shared/constants/app.constants';
import { FeatureTogglesGuardService } from '../../shared/services/feature-toggles-guard.service';
FormsModule,
ReactiveFormsModule,
NgbNavModule,
- ProgressbarModule.forRoot(),
BsDropdownModule.forRoot(),
BsDatepickerModule.forRoot(),
NgbTooltipModule,
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
import { SharedModule } from '../../../../shared/shared.module';
BrowserAnimationsModule,
SharedModule,
BsDropdownModule.forRoot(),
- ProgressbarModule.forRoot(),
HttpClientTestingModule
],
providers: i18nProviders
<ng-template #progressTmpl
let-value="value">
- <progressbar type="info"
- [value]="value">
- </progressbar>
+ <ngb-progressbar type="info"
+ [value]="value"
+ [showValue]="true"></ngb-progressbar>
</ng-template>
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
-import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
+import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
import { SharedModule } from '../../../../shared/shared.module';
SharedModule,
BsDropdownModule.forRoot(),
NgbNavModule,
- ProgressbarModule.forRoot(),
+ NgbProgressbarModule,
HttpClientTestingModule
],
providers: i18nProviders
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
-import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
+import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
import { NgBootstrapFormValidationModule } from 'ng-bootstrap-form-validation';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { ModalModule } from 'ngx-bootstrap/modal';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { SharedModule } from '../../../shared/shared.module';
RouterModule,
FormsModule,
ReactiveFormsModule,
- ProgressbarModule.forRoot(),
+ NgbProgressbarModule,
BsDropdownModule.forRoot(),
ModalModule.forRoot(),
NgBootstrapFormValidationModule
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterTestingModule } from '@angular/router/testing';
-import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
+import { NgbNavModule, NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { ToastrModule } from 'ngx-toastr';
import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
SharedModule,
BsDropdownModule.forRoot(),
NgbNavModule,
- ProgressbarModule.forRoot(),
+ NgbProgressbarModule,
HttpClientTestingModule,
RouterTestingModule,
ToastrModule.forRoot()
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { ToastrModule } from 'ngx-toastr';
import { configureTestBed, i18nProviders } from '../../../../../testing/unit-test-helper';
BrowserAnimationsModule,
SharedModule,
BsDropdownModule.forRoot(),
- ProgressbarModule.forRoot(),
HttpClientTestingModule,
RouterTestingModule,
ToastrModule.forRoot()
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
import { TreeModule } from 'angular-tree-component';
import { ChartsModule } from 'ng2-charts';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { AppRoutingModule } from '../../app-routing.module';
import { SharedModule } from '../../shared/shared.module';
AppRoutingModule,
ChartsModule,
TreeModule.forRoot(),
- ProgressbarModule.forRoot(),
NgbNavModule
],
declarations: [
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
-import { NgbAlertModule, NgbPopoverModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
+import {
+ NgbAlertModule,
+ NgbPopoverModule,
+ NgbProgressbarModule,
+ NgbTooltipModule
+} from '@ng-bootstrap/ng-bootstrap';
import { NgBootstrapFormValidationModule } from 'ng-bootstrap-form-validation';
import { ClickOutsideModule } from 'ng-click-outside';
import { ChartsModule } from 'ng2-charts';
import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
import { ModalModule } from 'ngx-bootstrap/modal';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { SimplebarAngularModule } from 'simplebar-angular';
import { DirectivesModule } from '../directives/directives.module';
ReactiveFormsModule,
NgbAlertModule,
NgbPopoverModule,
- ProgressbarModule.forRoot(),
+ NgbProgressbarModule,
NgbTooltipModule,
ChartsModule,
ReactiveFormsModule,
<div class="card-body p-0">
<h6 class="card-title bold">{{ executingTask.description }}</h6>
- <div class="progress mb-1">
- <progressbar class="progress-striped active"
- max="100"
- [value]="executingTask.progress"
- [striped]="true"
- [animate]="true"></progressbar>
+ <div class="mb-1">
+ <ngb-progressbar type="info"
+ [value]="executingTask?.progress"
+ [striped]="true"
+ [animated]="true"></ngb-progressbar>
</div>
<p class="card-text text-muted">
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
+import { NgbProgressbarModule } from '@ng-bootstrap/ng-bootstrap';
import { ClickOutsideModule } from 'ng-click-outside';
-import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
import { ToastrModule } from 'ngx-toastr';
import { SimplebarAngularModule } from 'simplebar-angular';
imports: [
HttpClientTestingModule,
PipesModule,
- ProgressbarModule.forRoot(),
+ NgbProgressbarModule,
RouterTestingModule,
ToastrModule.forRoot(),
NoopAnimationsModule,