Files
aiot-platform-ui/apps/web-antd/dist/js/property-blCPouCh.js
lzh c700ab38f4
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 9s
chore: build and deploy web-antd
2026-03-24 09:48:00 +08:00

2 lines
2.6 KiB
JavaScript

import{c6 as d,c0 as s,c8 as m,ax as i,ca as r,an as p,bV as V}from"./bootstrap-BKs0Sk6Z.js";import{m as T,ab as C,b2 as u,bJ as a,j as t,ad as f,ac as h,u as e,ce as k,I as c,bb as B}from"../jse/index-index-DTH1zC_5.js";import U from"./index-Dnz2rPmj.js";import"./vuedraggable.umd-CCTUFgmp.js";import"./index-BfPhNdHN.js";/* empty css *//* empty css *//* empty css */import"./index-CW76Qehr.js";const j=T({name:"DividerProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(b,{emit:v}){const y=b,x=v,_=[{icon:"vaadin:line-h",text:"实线",type:"solid"},{icon:"tabler:line-dashed",text:"虚线",type:"dashed"},{icon:"tabler:line-dotted",text:"点线",type:"dotted"},{icon:"entypo:progress-empty",text:"无",type:"none"}],o=k(y,"modelValue",x);return(z,n)=>(u(),C(e(V),{model:e(o)},{default:a(()=>[t(e(d),{label:"高度",name:"height"},{default:a(()=>[t(e(s),{value:e(o).height,"onUpdate:value":n[0]||(n[0]=l=>e(o).height=l),min:1,max:100},null,8,["value"])]),_:1}),t(e(d),{label:"选择样式",name:"borderType"},{default:a(()=>[t(e(m),{value:e(o).borderType,"onUpdate:value":n[1]||(n[1]=l=>e(o).borderType=l)},{default:a(()=>[(u(),f(c,null,B(_,(l,g)=>t(e(i),{placement:"top",key:g,title:l.text},{default:a(()=>[t(e(r),{value:l.type},{default:a(()=>[t(e(p),{icon:l.icon,class:"inset-0 size-6 items-center"},null,8,["icon"])]),_:2},1032,["value"])]),_:2},1032,["title"])),64))]),_:1},8,["value"])]),_:1}),e(o).borderType!=="none"?(u(),f(c,{key:0},[t(e(d),{label:"线宽",name:"lineWidth"},{default:a(()=>[t(e(s),{value:e(o).lineWidth,"onUpdate:value":n[2]||(n[2]=l=>e(o).lineWidth=l),min:1,max:30},null,8,["value"])]),_:1}),t(e(d),{label:"左右边距",name:"paddingType"},{default:a(()=>[t(e(m),{value:e(o).paddingType,"onUpdate:value":n[3]||(n[3]=l=>e(o).paddingType=l)},{default:a(()=>[t(e(i),{title:"无边距",placement:"top"},{default:a(()=>[t(e(r),{value:"none"},{default:a(()=>[t(e(p),{icon:"tabler:box-padding",class:"inset-0 size-6 items-center"})]),_:1})]),_:1}),t(e(i),{title:"左右留边",placement:"top"},{default:a(()=>[t(e(r),{value:"horizontal"},{default:a(()=>[t(e(p),{icon:"vaadin:padding",class:"inset-0 size-6 items-center"})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),t(e(d),{label:"颜色"},{default:a(()=>[t(e(U),{modelValue:e(o).lineColor,"onUpdate:modelValue":n[4]||(n[4]=l=>e(o).lineColor=l)},null,8,["modelValue"])]),_:1})],64)):h("",!0)]),_:1},8,["model"]))}});export{j as default};