import{A as o}from"./ActionBar.1725b1a3.js";/* empty css                                                     */import{n as a}from"./vueComponentNormalizer.9ef17bb1.js";var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.visible?e("div",{staticClass:"dialog_layout"},[e("div",{staticClass:"_ctx",style:{width:t.width}},[e("h2",{staticClass:"_title"},[t._v(t._s(t.title)),e("i",{staticClass:"_close el-icon-close",on:{click:t.onCancel}})]),e("div",{staticClass:"_body",style:{height:t.bodyHeight}},[t._t("default")],2),e("ActionBar",t._g(t._b({class:{shadow_bar:t.shadowBar},attrs:{center:""}},"ActionBar",t.actionBarOption,!1),t.$listeners))],1)]):t._e()},l=[];const r={components:{ActionBar:o},props:{visible:{type:Boolean},shadowBar:{type:Boolean,default:!0},title:{type:String},width:{type:String},bodyHeight:{type:String},actionBarOption:{type:Object}},watch:{visible:{immediate:!0,handler(t){!t||this.$nextTick(()=>document.body.appendChild(this.$el))}}},beforeDestroy(){var t;this.$emit("update:visible",!1),(t=this.$el.parentNode)==null||t.removeChild(this.$el)},methods:{onCancel(){this.$emit("onCancel")}}},s={};var c=a(r,n,l,!1,_,null,null,null);function _(t){for(let i in s)this[i]=s[i]}const u=function(){return c.exports}();export{u as D};
