import { Component , Input } from '@angular/core' ; import { HsAddDataCatalogueMapService } from '../../components/add-data/catalogue/catalogue-map.service' ; @ Component ( { selector : 'hs-widgets-recursive-dd' , templateUrl : './recursive-dd.html' , } ) export class HsUiExtensionsRecursiveDdComponent { @ Input ( ) value : any ; entries ; constructor ( public hsDSMapService ) { } isIterable ( ) { if ( this . value && typeof this . value === 'object' ) { this . entries = Object . entries ( this . value ) ; return true ; } return false ; } }