import { q as r, r as a } from "./index-a857af7d.mjs";
import "vue";
const o = {
  key: "_img",
  name: "Image",
  description: "",
  icon: "mdiImageArea",
  transform: function({ config: t }) {
    const i = {
      "~": "img"
    };
    for (const e of Object.keys(t) || [])
      i[e] = t[e];
    return i;
  },
  editor: {
    basic: {
      init: {
        alt: "No picture"
      },
      ui: [
        r("src", "Image URL"),
        r("alt", "Alternative text"),
        a("width", "Width"),
        a("height", "Height")
      ]
    },
    display: {
      init: {
        style: {
          "min-height": "10px",
          "min-width": "10px"
        }
      }
    }
  }
  // dataConfig:{
  //   //readonly:true,
  //   type:'String',
  // },
};
export {
  o as default
};
