niucloud-admin/niucloud/public/admin/assets/edit-horz-line-47b3f79f.js
全栈小学生 560569ecf2 up
2024-09-28 09:39:20 +08:00

2 lines
2.2 KiB
JavaScript

import{d as S,h as g,c as V,J as m,a9 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,aa as z,ab as v,G as B,b2 as E,b6 as L,H as k}from"./index-49a7c6d3.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{u as D}from"./diy-1c0bfd2e.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 p=z,f=v,i=B,h=E,y=L,C=k;return g(),V(x,null,[m(d("div",F,[d("div",R,[d("h3",T,s(e(a)("horzLineStyle")),1),t(C,{"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(p,{label:"solid"},{default:l(()=>[u(s(e(a)("horzLineStyleSolid")),1)]),_:1}),t(p,{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(y,{modelValue:e(o).editComponent.borderWidth,"onUpdate:modelValue":r[2]||(r[2]=n=>e(o).editComponent.borderWidth=n),"show-input":"",size:"small",class:"ml-[10px] horz-blank-slider",min:1,max:10},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[_,e(o).editTab=="content"]]),m(d("div",U,[w(b.$slots,"style")],512),[[_,e(o).editTab=="style"]])],64)}}});const Q=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));export{Q as _};