import { computed as o, unref as a } from "vue";
import { u as s, o as r, i as l, h as d, j as i } from "./index-16cc6938.mjs";
const f = {
  key: "_card",
  name: "Card",
  description: "Basic card",
  icon: "mdiCardBulletedOutline",
  sequence: 21,
  transform: s("el-card", {}, function(e, t) {
    e["body-style"] = "height:100%;", t._headerUseSlot ? e["#header"] = r(t, "header") : delete e["#header"], t._footerUseSlot ? e["#footer"] = r(t, "footer") : delete e["#footer"];
  }),
  editor: {
    basic: {
      ui: function(e) {
        return [
          l("shadow", ["always", "never", "hover"]),
          d("header", void 0, {
            "~show": o(() => !a(e)._headerUseSlot)
          }),
          i("_headerUseSlot", "Set header with drag and drop"),
          d("footer", void 0, {
            "~show": o(() => !a(e)._footerUseSlot)
          }),
          i("_footerUseSlot", "Set footer with drag and drop")
        ];
      },
      init: {
        header: "Card default title",
        shadow: "always"
      }
    },
    display: {
      init: {
        style: {
          margin: "4px 0 4px 0"
        }
      }
    }
  }
};
export {
  f as default
};
