import{N as m,E as f}from"./element-plus.55d71530.js";import{e as p}from"./index.20d8f36f.js";import{d as g,o as a,c as u,V as n,M as r,a as y,T as b,L as c,aR as x,Q as _,u as w}from"./@vue.96c135a1.js";const h={class:"pages-setting"},v={class:"title flex items-center before:w-[3px] before:h-[14px] before:block before:bg-primary before:mr-2 text-xl font-medium"},S=g({__name:"attr-setting",props:{widget:{type:Object,default:()=>({})},type:{type:String,default:"mobile"}},setup(e){return(k,B)=>{const i=m,d=f;return a(),u("div",h,[n(i,{shadow:"never",class:"!border-none flex"},{default:r(()=>{var t;return[y("div",v,b((t=e.widget)==null?void 0:t.title),1)]}),_:1}),n(d,{class:"w-full",style:{height:"calc(100% - 60px)"}},{default:r(()=>{var t,s,o,l;return[(a(),c(x,null,[(a(),c(_((s=w(p)[(t=e.widget)==null?void 0:t.name])==null?void 0:s.attr),{content:(o=e.widget)==null?void 0:o.content,styles:(l=e.widget)==null?void 0:l.styles,type:e.type},null,8,["content","styles","type"]))],1024))]}),_:1})])}}});export{S as _};
