import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router';
-import { TreeModule } from 'angular-tree-component';
-import { NgBootstrapFormValidationModule } from 'ng-bootstrap-form-validation';
-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 { TabsModule } from 'ngx-bootstrap/tabs';
-import { TooltipModule } from 'ngx-bootstrap/tooltip';
+import { TreeModule } from '@circlon/angular-tree-component';
+import { NgbNavModule, NgbPopoverModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
+import { NgxPipeFunctionModule } from 'ngx-pipe-function';
-import { ActionLabels, URLVerbs } from '../../shared/constants/app.constants';
-import { FeatureTogglesGuardService } from '../../shared/services/feature-toggles-guard.service';
-import { SharedModule } from '../../shared/shared.module';
+import { ActionLabels, URLVerbs } from '~/app/shared/constants/app.constants';
+import { FeatureTogglesGuardService } from '~/app/shared/services/feature-toggles-guard.service';
+import { SharedModule } from '~/app/shared/shared.module';
import { IscsiSettingComponent } from './iscsi-setting/iscsi-setting.component';
import { IscsiTabsComponent } from './iscsi-tabs/iscsi-tabs.component';
import { IscsiTargetDetailsComponent } from './iscsi-target-details/iscsi-target-details.component';
import { RbdTrashRestoreModalComponent } from './rbd-trash-restore-modal/rbd-trash-restore-modal.component';
@NgModule({
- entryComponents: [
- RbdDetailsComponent,
- RbdNamespaceFormModalComponent,
- RbdSnapshotFormModalComponent,
- RbdTrashMoveModalComponent,
- RbdTrashRestoreModalComponent,
- RbdTrashPurgeModalComponent,
- IscsiTargetDetailsComponent,
- IscsiTargetImageSettingsModalComponent,
- IscsiTargetIqnSettingsModalComponent,
- IscsiTargetDiscoveryModalComponent
- ],
imports: [
CommonModule,
MirroringModule,
FormsModule,
ReactiveFormsModule,
- TabsModule.forRoot(),
- ProgressbarModule.forRoot(),
- BsDropdownModule.forRoot(),
- BsDatepickerModule.forRoot(),
- TooltipModule.forRoot(),
- ModalModule.forRoot(),
+ NgbNavModule,
+ NgbPopoverModule,
+ NgbTooltipModule,
+ NgxPipeFunctionModule,
SharedModule,
RouterModule,
- NgBootstrapFormValidationModule,
- TreeModule.forRoot()
+ TreeModule
],
declarations: [
RbdListComponent,