mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-06 21:18:10 +00:00
2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
import{d as S,h as V,c as g,J as p,aa as _,u as e,a as d,t as s,k as a,e as t,w as l,i as u,b as w,F as x,ab as v,ac as z,G as B,b2 as E,b3 as L,H as k}from"./index-e4c6b343.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css *//* empty css */import{u as D}from"./diy-23351948.js";const F={class:"content-wrap"},R={class:"edit-attr-item-wrap"},T={class:"mb-[10px]"},U={class:"style-wrap"},N=S({__name:"edit-horz-line",setup(W,{expose:c}){const o=D();return o.editComponent.ignore=["pageBgColor","componentBgColor","componentBgUrl","topRounded","bottomRounded"],c({}),(b,r)=>{const m=v,f=z,i=B,h=E,C=L,y=k;return V(),g(x,null,[p(d("div",F,[d("div",R,[d("h3",T,s(e(a)("horzLineStyle")),1),t(y,{"label-width":"80px",class:"px-[10px]"},{default:l(()=>[t(i,{label:e(a)("styleLabel")},{default:l(()=>[t(f,{modelValue:e(o).editComponent.borderStyle,"onUpdate:modelValue":r[0]||(r[0]=n=>e(o).editComponent.borderStyle=n)},{default:l(()=>[t(m,{label:"solid"},{default:l(()=>[u(s(e(a)("horzLineStyleSolid")),1)]),_:1}),t(m,{label:"dashed"},{default:l(()=>[u(s(e(a)("horzLineStyleDashed")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),t(i,{label:e(a)("horzLineBorderColor")},{default:l(()=>[t(h,{modelValue:e(o).editComponent.borderColor,"onUpdate:modelValue":r[1]||(r[1]=n=>e(o).editComponent.borderColor=n),"show-alpha":"",predefine:e(o).predefineColors},null,8,["modelValue","predefine"])]),_:1},8,["label"]),t(i,{label:e(a)("horzLineBorderWidth")},{default:l(()=>[t(C,{modelValue:e(o).editComponent.borderWidth,"onUpdate:modelValue":r[2]||(r[2]=n=>e(o).editComponent.borderWidth=n),"show-input":"",size:"small",class:"ml-[10px] diy-nav-slider",min:1,max:10},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[_,e(o).editTab=="content"]]),p(d("div",U,[w(b.$slots,"style")],512),[[_,e(o).editTab=="style"]])],64)}}}),X=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));export{X as _};
|