Files
kontor/kontor-spring/application/frontend/generated/jar-resources/copilot/base-panel-vYmwbGFU.js
T
Thomas Peetz de2f2f34b2
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
setup multi-module project
2026-08-12 15:13:06 +02:00

25 lines
607 B
JavaScript

import { M as t, b as n } from "./copilot-ppBO0zjz.js";
class o extends t {
constructor() {
super(...arguments), this.eventBusRemovers = [], this.messageHandlers = {};
}
createRenderRoot() {
return this;
}
onEventBus(e, s) {
this.eventBusRemovers.push(n.on(e, s));
}
disconnectedCallback() {
super.disconnectedCallback(), this.eventBusRemovers.forEach((e) => e());
}
onCommand(e, s) {
this.messageHandlers[e] = s;
}
handleMessage(e) {
return this.messageHandlers[e.command] ? (this.messageHandlers[e.command].call(this, e), !0) : !1;
}
}
export {
o as B
};