import{_ as l,d as e,e as a,h as t,f as o,k as d,n as i,q as s,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 f,a as c}from"./slider.74f6c46e.js";import{E as V}from"./col.5ff06cbd.js";import{E as _}from"./color-picker.cdffbfcf.js";import"./form-item.9355e6dc.js";/* empty css                    *//* empty css              */import{E as b,a as v}from"./index.569c0449.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 j=l=>(m("data-v-1ed3577d"),l=l(),u(),l),x=j((()=>t("div",{class:"widget-title"},[t("div",null,"辅助线")],-1))),h={class:"content"},g={class:"content-wrap"},z=j((()=>t("div",{class:"attribute-item"},[t("div",{class:"attr-title flex"},"风格设置")],-1))),w=j((()=>t("div",{class:"line"},null,-1))),U={class:"content-wrap"},y=j((()=>t("div",{class:"attribute-item"},[t("div",{class:"attr-title flex"},"颜色设置")],-1))),E={class:"content-wrap"},k=j((()=>t("div",{class:"attribute-item"},[t("div",{class:"attr-title flex"},"边距设置")],-1))),C=l({__name:"panel",props:{modelValue:{type:[Object,Array],default:{}}},emits:["update:modelValue"],setup(l,{emit:m}){const u=l;return(l,m)=>{const j=b,C=v,O=n,q=_,A=V,I=p,B=s,D=f,F=c,G=r;return e(),a("div",null,[x,t("div",h,[o(G,{"label-position":"left"},{default:d((()=>[t("div",g,[z,o(O,{label:"选择风格","label-width":"100px"},{default:d((()=>[o(C,{modelValue:u.modelValue.style,"onUpdate:modelValue":m[0]||(m[0]=l=>u.modelValue.style=l),size:"small"},{default:d((()=>[o(j,{value:"solid"},{default:d((()=>[i("样式一")])),_:1}),o(j,{value:"dashed"},{default:d((()=>[i("样式二")])),_:1}),o(j,{value:"dotted"},{default:d((()=>[i("样式三")])),_:1})])),_:1},8,["modelValue"])])),_:1})]),w,t("div",U,[y,o(O,{label:"线条颜色","label-width":"100px"},{default:d((()=>[o(A,{span:4},{default:d((()=>[o(q,{modelValue:u.modelValue.fill_color,"onUpdate:modelValue":m[1]||(m[1]=l=>u.modelValue.fill_color=l),tabindex:"1111111111"},null,8,["modelValue"])])),_:1}),o(A,{span:15},{default:d((()=>[o(I,{modelValue:u.modelValue.fill_color,"onUpdate:modelValue":m[2]||(m[2]=l=>u.modelValue.fill_color=l),placeholder:"请输入颜色"},null,8,["modelValue"])])),_:1}),o(A,{span:1}),o(A,{span:4},{default:d((()=>[o(B,{type:"primary",onClick:m[3]||(m[3]=l=>u.modelValue.fill_color="#bebebe"),link:""},{default:d((()=>[i("重置")])),_:1})])),_:1})])),_:1})]),t("div",E,[k,o(O,{label:"上下边距","label-width":"100px"},{default:d((()=>[o(A,{span:16},{default:d((()=>[o(D,{modelValue:u.modelValue.margin_vertical,"onUpdate:modelValue":m[4]||(m[4]=l=>u.modelValue.margin_vertical=l),min:0,max:50,size:"small"},null,8,["modelValue"])])),_:1}),o(A,{span:1}),o(A,{span:4},{default:d((()=>[o(F,{modelValue:u.modelValue.margin_vertical,"onUpdate:modelValue":m[5]||(m[5]=l=>u.modelValue.margin_vertical=l),size:"default",min:0,max:50,"controls-position":"right"},null,8,["modelValue"])])),_:1})])),_:1}),o(O,{label:"左右边距","label-width":"100px"},{default:d((()=>[o(A,{span:16},{default:d((()=>[o(D,{modelValue:u.modelValue.margin_horizontal,"onUpdate:modelValue":m[6]||(m[6]=l=>u.modelValue.margin_horizontal=l),min:0,max:50,size:"small"},null,8,["modelValue"])])),_:1}),o(A,{span:1}),o(A,{span:4},{default:d((()=>[o(F,{modelValue:u.modelValue.margin_horizontal,"onUpdate:modelValue":m[7]||(m[7]=l=>u.modelValue.margin_horizontal=l),size:"default",min:0,max:50,"controls-position":"right"},null,8,["modelValue"])])),_:1})])),_:1})])])),_:1})])])}}},[["__scopeId","data-v-1ed3577d"]]);export{C as default};
