"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const layout = {
  mounted(el, binding, vnode, prevVnode) {
    if (el.parentElement.className.indexOf("h-main") != -1) {
      document.querySelector(".h-main").setAttribute(
        "style",
        "background-color:transparent;padding:0px;border:0px;margin: 0;"
      );
    }
    if (el.parentElement.className.indexOf("root-main") != -1) {
      document.querySelector(".root-main").setAttribute(
        "style",
        "background-color:transparent;padding:0px;border:0px;margin: 0;"
      );
    }
    if (el.parentElement.parentElement.className.indexOf("el-dialog__body") != -1) {
      el.parentElement.parentElement.setAttribute(
        "style",
        "background-color:#F7F7F7;"
      );
    }
  }
};
layout.install = function(Vue) {
  Vue.directive("fec-layout", layout);
};
exports.default = layout;
