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