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 11x 11x | import { Component, Input } from "@angular/core" import { Store } from "@ngrx/store" import { Observable } from "rxjs" import { CcState, CodeMapNode, FileCount } from "../../../../codeCharta.model" import { isDeltaStateSelector } from "../../../../state/selectors/isDeltaState.selector" import { fileCountSelector } from "./fileCountSelector" import { AsyncPipe } from "@angular/common" @Component({ selector: "cc-node-path", templateUrl: "./nodePath.component.html", styleUrls: ["./nodePath.component.scss"], standalone: true, imports: [AsyncPipe] }) export class NodePathComponent { @Input() node?: Pick<CodeMapNode, "path" | "children"> fileCount$: Observable<FileCount | undefined> isDeltaMode$: Observable<boolean> constructor(store: Store<CcState>) { this.fileCount$ = store.select(fileCountSelector) this.isDeltaMode$ = store.select(isDeltaStateSelector) } } |