Files
openclaw-config/cache/control-ui-assets/d08fd045b9cb86d13f0b4aa403c8a06ddcd32e533058ae463245169e5cff5e85/assets/board-view-placeholder-g-63KOYw.js
T

30 lines
1.7 KiB
JavaScript

import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{er as t}from"./control-ui-foundation-CeFMP1Ly.js";import{ml as n,pl as r}from"./control-ui-core-pH6nakZ-.js";import{J as i,W as a,Z as o,at as s,lt as c}from"./lit-runtime-BEtFSUCp.js";import{Ht as l,qt as u}from"./control-ui-core-Br5DB0Zj.js";var d;function f(){return(f=e((()=>{a(),o(),l(),n(),d=class extends r{constructor(...e){super(...e),this.activeTabId=``}static{this.styles=c`
: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 i`<div data-board-view-placeholder>
${u(`chat.board.mockPlaceholder`,{tabs:String(this.snapshot?.tabs.length??0),widgets:String(e.length)})}
</div>`}},t([s({attribute:!1})],d.prototype,`snapshot`,void 0),t([s({attribute:!1})],d.prototype,`activeTabId`,void 0),t([s({attribute:!1})],d.prototype,`widgetFrameUrl`,void 0),t([s({attribute:!1})],d.prototype,`callbacks`,void 0),customElements.get(`openclaw-board-view`)||customElements.define(`openclaw-board-view`,d)})))()}f();
//# sourceMappingURL=board-view-placeholder-g-63KOYw.js.map