Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 5x 5x 5x 5x 5x 5x 5x 5x | import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { TranslateModule } from '@ngx-translate/core'; import { ReplaySubject } from 'rxjs'; import { Keyword } from 'ish-core/models/keyword/keyword.model'; import { PipesModule } from 'ish-core/pipes.module'; @Component({ selector: 'ish-suggest-keywords', templateUrl: './suggest-keywords.component.html', standalone: true, imports: [CommonModule, PipesModule, TranslateModule], changeDetection: ChangeDetectionStrategy.OnPush, }) export class SuggestKeywordsComponent { @Input() keywords: Keyword[]; @Input() maxAutoSuggests: number; @Input() inputTerms$ = new ReplaySubject<string>(1); @Output() submitSearch = new EventEmitter<string>(); submit(term: string) { this.submitSearch.emit(term); } } |