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 27 | 4x 4x 4x 4x 4x 4x 10x | import { SearchPanelMode } from "../searchPanel.component"
import { Component, Input } from "@angular/core"
import { Observable } from "rxjs"
import { hideBlacklistItemsIndicatorSelector } from "./hideBlacklistItemsIndicator.selector"
import { Store } from "@ngrx/store"
import { CcState } from "../../../../codeCharta.model"
import { MatButtonToggle } from "@angular/material/button-toggle"
import { AsyncPipe } from "@angular/common"
@Component({
selector: "cc-search-panel-mode-selector",
templateUrl: "./searchPanelModeSelector.component.html",
styleUrls: ["./searchPanelModeSelector.component.scss"],
standalone: true,
imports: [MatButtonToggle, AsyncPipe]
})
export class SearchPanelModeSelectorComponent {
@Input() searchPanelMode: SearchPanelMode
@Input() updateSearchPanelMode: (SearchPanelMode: SearchPanelMode) => void
hideBlacklistItemsIndicator$: Observable<boolean>
constructor(store: Store<CcState>) {
this.hideBlacklistItemsIndicator$ = store.select(hideBlacklistItemsIndicatorSelector)
}
}
|