import { Component } from '@angular/core' ; import { HsLayerEditorService } from '../editor/layer-editor.service' ; import { HsLayerEditorWidgetBaseComponent } from './layer-editor-widget-base.component' ; import { HsLayerSelectorService } from '../editor/layer-selector.service' ; @ Component ( { selector : 'hs-legend-widget' , templateUrl : './legend-widget.component.html' , } ) export class HsLegendWidgetComponent extends HsLayerEditorWidgetBaseComponent { name = 'legend-widget' ; constructor ( hsLayerSelectorService , public HsLayerEditorService ) { super ( hsLayerSelectorService ) ; } }