import { Component } from "@angular/core" ; import { tap , map , switchMap } from "rxjs/operators" ; import { DataService , LayersService , Icons , NavigationService , Routes , ProductState , } from "@app/core" ; import { Select } from "@ngxs/store" ; @ Component ( { moduleId : module . id , selector : "ns-search-bottomsheet" , templateUrl : "search-bottomsheet.component.html" , } ) export class SearchBottomsheetComponent { icons = Icons ; constructor ( private dataService , private layersService , private navigationService ) { } openFilterBottomsheet ( ) { this . layersService . openFilterBottomsheet ( ) ; } close ( ) { this . layersService . closeSearchBottomsheet ( ) ; } navigateToMovieDetails ( movieId ) { this . navigationService . navigate ( Routes . details , { id : movieId } ) ; this . close ( ) ; } }