import { o as i, y as s, z as a } from "./index-597e6e44.mjs";
import "vue";
const r = {
  key: "_img",
  name: i("_.builtIn.basic.img.name"),
  description: i("_.builtIn.basic.img.description"),
  icon: "mdiImageArea",
  sequence: 2,
  transform: function({ config: t }) {
    const e = {
      "~": "img"
    };
    for (const n of Object.keys(t) || [])
      e[n] = t[n];
    return e;
  },
  editor: {
    basic: {
      init: {
        alt: "No picture"
      },
      ui: [
        s("src", i("_.builtIn.basic.img.src")),
        s("alt", i("_.builtIn.basic.img.alt")),
        a("width", i("_.builtIn.basic.img.width"), { min: 0 }),
        a("height", i("_.builtIn.basic.img.height"), { min: 0 })
      ]
    },
    display: {
      init: {
        style: {
          "min-height": "10px",
          "min-width": "10px"
        }
      }
    }
  }
  // dataConfig:{
  //   //readonly:true,
  //   type:'String',
  // },
};
export {
  r as default
};
