import * as plugins from '../wcctools.plugins'; import { LitElement, property, html, customElement, TemplateResult } from 'lit-element'; import { WccDashboard } from './wcc-dashboard'; export type TElementType = 'element' | 'page'; @customElement('wcc-sidebar') export class WccSidebar extends LitElement { @property({type: Array}) public websites: string[] = []; @property({ attribute: false }) public selectedItem: LitElement | TemplateResult; @property({ attribute: false }) public selectedType: TElementType; @property() public dashboardRef: WccDashboard; public render(): TemplateResult { return html`