import{_ as e,d as l,e as a,h as t,f as o,k as d,n as s,q as i,t as m,v as u}from"./index.286e9b79.js";import{E as n,a as r}from"./form.ad10dcd5.js";import{E as p}from"./input.31de1b37.js";import{E as c,a as f}from"./slider.74f6c46e.js";import"./form-item.9355e6dc.js";import{E as b}from"./col.5ff06cbd.js";import{E as V}from"./color-picker.cdffbfcf.js";import"./_initCloneObject.fb8fbaea.js";import"./event.776e7e11.js";import"./index.ed3ed02e.js";import"./index.e74be4b6.js";import"./debounce.caafe00b.js";import"./position.1bd00850.js";const _=e=>(m("data-v-20b540be"),e=e(),u(),e),j=_((()=>t("div",{class:"widget-title"},[t("div",null,"辅助空白")],-1))),v={class:"content"},h={class:"content-wrap"},g=_((()=>t("div",{class:"attribute-item"},[t("div",{class:"attr-title flex"},"颜色设置")],-1))),x={class:"content-wrap"},k=_((()=>t("div",{class:"attribute-item"},[t("div",{class:"attr-title flex"},"高度设置")],-1))),F=e({__name:"panel",props:{modelValue:{type:[Object,Array],default:{}}},emits:["update:modelValue"],setup(e,{emit:m}){const u=e;return(e,m)=>{const _=V,F=b,w=p,E=i,y=n,U=c,z=f,C=r;return l(),a("div",null,[j,t("div",v,[o(C,{"label-position":"left"},{default:d((()=>[t("div",h,[g,o(y,{label:"填充颜色","label-width":"100px"},{default:d((()=>[o(F,{span:4},{default:d((()=>[o(_,{modelValue:u.modelValue.background_color,"onUpdate:modelValue":m[0]||(m[0]=e=>u.modelValue.background_color=e),tabindex:"1111111111"},null,8,["modelValue"])])),_:1}),o(F,{span:15},{default:d((()=>[o(w,{modelValue:u.modelValue.background_color,"onUpdate:modelValue":m[1]||(m[1]=e=>u.modelValue.background_color=e),placeholder:"请输入颜色"},null,8,["modelValue"])])),_:1}),o(F,{span:1}),o(F,{span:4},{default:d((()=>[o(E,{type:"primary",onClick:m[2]||(m[2]=e=>u.modelValue.background_color="#FFFFFF"),link:""},{default:d((()=>[s("重置")])),_:1})])),_:1})])),_:1})]),t("div",x,[k,o(y,{label:"空白高度","label-width":"100px"},{default:d((()=>[o(F,{span:16},{default:d((()=>[o(U,{modelValue:u.modelValue.height,"onUpdate:modelValue":m[3]||(m[3]=e=>u.modelValue.height=e),min:5,max:50,size:"small"},null,8,["modelValue"])])),_:1}),o(F,{span:1}),o(F,{span:4},{default:d((()=>[o(z,{modelValue:u.modelValue.height,"onUpdate:modelValue":m[4]||(m[4]=e=>u.modelValue.height=e),size:"default",min:5,max:50,"controls-position":"right"},null,8,["modelValue"])])),_:1})])),_:1})])])),_:1})])])}}},[["__scopeId","data-v-20b540be"]]);export{F as default};
