openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
30 lines (29 loc) • 1.73 kB
JavaScript
import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{wr as t}from"./control-ui-foundation-Cydpkyqa.js";import{Sc as n,xc as r}from"./control-ui-core-Rwzhj6nO.js";import{$ as i,K as a,X as o,dt as s,st as c}from"./lit-runtime-CV_MH99K.js";import{Yt as l,en as u}from"./control-ui-core-vvcQQV2m.js";var d;function f(){return(f=e((()=>{a(),i(),l(),n(),d=class extends r{constructor(...e){super(...e),this.activeTabId=``}static{this.styles=s`
:host {
display: grid;
min-width: 0;
min-height: 0;
height: 100%;
place-items: center;
color: var(--muted);
background:
linear-gradient(color-mix(in srgb, var(--border) 22%, transparent) 1px, transparent 1px),
linear-gradient(
90deg,
color-mix(in srgb, var(--border) 22%, transparent) 1px,
transparent 1px
);
background-size: 24px 24px;
}
div {
padding: 12px 16px;
border: 1px dashed var(--border);
border-radius: var(--radius-md);
background: color-mix(in srgb, var(--panel) 88%, transparent);
font-size: 12px;
letter-spacing: 0.01em;
}
`}render(){let e=this.snapshot?.widgets??[];return o`<div data-board-view-placeholder>
${u(`chat.board.mockPlaceholder`,{tabs:String(this.snapshot?.tabs.length??0),widgets:String(e.length)})}
</div>`}},t([c({attribute:!1})],d.prototype,`snapshot`,void 0),t([c({attribute:!1})],d.prototype,`activeTabId`,void 0),t([c({attribute:!1})],d.prototype,`widgetFrameUrl`,void 0),t([c({attribute:!1})],d.prototype,`callbacks`,void 0),customElements.get(`openclaw-board-view`)||customElements.define(`openclaw-board-view`,d)})))()}f();
//# sourceMappingURL=board-view-placeholder-C9eVGWGg.js.map