/* eslint-disable @typescript-eslint/no-namespace */ import * as React from "react"; import Moveable from "@/react-moveable"; const CustomElement = ` class CustomElement extends HTMLElement { styleText = ${"`"} .card { width: 100%; height: 100%; } .card-header { width:100%; height: 80px; background-color: #3794FF; } .card-content { width: 100%; height: calc(100% - 80px); background-color: #EDF0F3; position: relative; } .card-inner { position: relative; top: 50px; left: 50px; } ${"`"}; constructor() { super(); this.shadow = this.attachShadow({ mode: 'open' }); const style = document.createElement('style'); const div = document.createElement('div'); div.classList.add('card'); div.innerHTML = ${"`"}
{agent}