import { DeesElement, property, html, customElement, type TemplateResult, css, cssManager, domtools, } from '@design.estate/dees-element'; import * as plugins from '../plugins.js'; declare global { interface HTMLElementTagNameMap { 'sdig-contracteditor': ContractEditor; } } @customElement('sdig-contracteditor') export class ContractEditor extends DeesElement { public static demo = () => html` `; // INSTANCE public localStateInstance = new domtools.plugins.smartstate.Smartstate(); public contractState = this.localStateInstance.getStatePart('contract'); @property({ type: Object }) public contract: plugins.sdInterfaces.IPortableContract; public async firstUpdated(_changedProperties: Map) { super.firstUpdated(_changedProperties); } public render(): TemplateResult { return html`
`; } }