mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
[DURACOM-191] fix tests
This commit is contained in:
@@ -4,6 +4,7 @@ import { InputSuggestionsComponent } from '../../../../../../shared/input-sugges
|
|||||||
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
||||||
import { DebounceDirective } from '../../../../../../shared/utils/debounce.directive';
|
import { DebounceDirective } from '../../../../../../shared/utils/debounce.directive';
|
||||||
import { ClickOutsideDirective } from '../../../../../../shared/utils/click-outside.directive';
|
import { ClickOutsideDirective } from '../../../../../../shared/utils/click-outside.directive';
|
||||||
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-org-unit-input-suggestions',
|
selector: 'ds-org-unit-input-suggestions',
|
||||||
@@ -19,7 +20,7 @@ import { ClickOutsideDirective } from '../../../../../../shared/utils/click-outs
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe]
|
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe, TranslateModule]
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -16,6 +16,7 @@ import {
|
|||||||
ProfilePageSecurityFormComponent
|
ProfilePageSecurityFormComponent
|
||||||
} from '../../profile-page/profile-page-security-form/profile-page-security-form.component';
|
} from '../../profile-page/profile-page-security-form/profile-page-security-form.component';
|
||||||
import { AsyncPipe, NgIf } from '@angular/common';
|
import { AsyncPipe, NgIf } from '@angular/common';
|
||||||
|
import { BrowserOnlyPipe } from '../../shared/utils/browser-only.pipe';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-forgot-password-form',
|
selector: 'ds-forgot-password-form',
|
||||||
@@ -23,6 +24,7 @@ import { AsyncPipe, NgIf } from '@angular/common';
|
|||||||
templateUrl: './forgot-password-form.component.html',
|
templateUrl: './forgot-password-form.component.html',
|
||||||
imports: [
|
imports: [
|
||||||
TranslateModule,
|
TranslateModule,
|
||||||
|
BrowserOnlyPipe,
|
||||||
ProfilePageSecurityFormComponent,
|
ProfilePageSecurityFormComponent,
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
NgIf
|
NgIf
|
||||||
|
@@ -10,6 +10,7 @@ import { ListableObjectComponentLoaderComponent } from '../../object-collection/
|
|||||||
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
||||||
import { DebounceDirective } from '../../utils/debounce.directive';
|
import { DebounceDirective } from '../../utils/debounce.directive';
|
||||||
import { ClickOutsideDirective } from '../../utils/click-outside.directive';
|
import { ClickOutsideDirective } from '../../utils/click-outside.directive';
|
||||||
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-dso-input-suggestions',
|
selector: 'ds-dso-input-suggestions',
|
||||||
@@ -25,7 +26,7 @@ import { ClickOutsideDirective } from '../../utils/click-outside.directive';
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, ListableObjectComponentLoaderComponent, AsyncPipe]
|
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, ListableObjectComponentLoaderComponent, AsyncPipe, TranslateModule]
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -16,12 +16,13 @@ import { ControlValueAccessor, FormsModule } from '@angular/forms';
|
|||||||
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
||||||
import { DebounceDirective } from '../utils/debounce.directive';
|
import { DebounceDirective } from '../utils/debounce.directive';
|
||||||
import { ClickOutsideDirective } from '../utils/click-outside.directive';
|
import { ClickOutsideDirective } from '../utils/click-outside.directive';
|
||||||
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-input-suggestions',
|
selector: 'ds-input-suggestions',
|
||||||
templateUrl: './input-suggestions.component.html',
|
templateUrl: './input-suggestions.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe]
|
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe, TranslateModule]
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -8,6 +8,7 @@ import { InputSuggestion } from '../input-suggestions.model';
|
|||||||
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
|
||||||
import { DebounceDirective } from '../../utils/debounce.directive';
|
import { DebounceDirective } from '../../utils/debounce.directive';
|
||||||
import { ClickOutsideDirective } from '../../utils/click-outside.directive';
|
import { ClickOutsideDirective } from '../../utils/click-outside.directive';
|
||||||
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-validation-suggestions',
|
selector: 'ds-validation-suggestions',
|
||||||
@@ -23,7 +24,7 @@ import { ClickOutsideDirective } from '../../utils/click-outside.directive';
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [FormsModule, ReactiveFormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe]
|
imports: [FormsModule, ReactiveFormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe, TranslateModule]
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user