All files / app/codeCharta/ui/filePanel filePanel.component.ts

100% Statements 11/11
100% Branches 0/0
100% Functions 1/1
100% Lines 10/10

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 224x 4x   4x 4x 4x 4x 4x                 4x 3x   3x    
import { Component } from "@angular/core"
import { Store } from "@ngrx/store"
import { CcState } from "../../codeCharta.model"
import { isDeltaStateSelector } from "../../state/selectors/isDeltaState.selector"
import { FilePanelStateButtonsComponent } from "./filePanelStateButtons/filePanelStateButtons.component"
import { FilePanelFileSelectorComponent } from "./filePanelFileSelector/filePanelFileSelector.component"
import { FilePanelDeltaSelectorComponent } from "./filePanelDeltaSelector/filePanelDeltaSelector.component"
import { AsyncPipe } from "@angular/common"
 
@Component({
    selector: "cc-file-panel",
    templateUrl: "./filePanel.component.html",
    styleUrls: ["./filePanel.component.scss"],
    standalone: true,
    imports: [FilePanelStateButtonsComponent, FilePanelFileSelectorComponent, FilePanelDeltaSelectorComponent, AsyncPipe]
})
export class FilePanelComponent {
    isDeltaState$ = this.store.select(isDeltaStateSelector)
 
    constructor(private store: Store<CcState>) {}
}