import{e as s}from"./utils-lib.js?v=1761009159";import{c as e,X as a,Y as o,q as i,v as t,x as l,e as r,B as n,C as u,A as c,z as f,K as v,D as d,I as m,J as p,M as w,b1 as h}from"./base-lib.js?v=1761009159";const g={key:0},C={class:"mt-[2rem]"},b=e({__name:"index",props:a({isShowDivider:{type:Boolean,default:!0}},{showConfig:{type:Boolean,required:!1},showConfigModifiers:{}}),emits:["update:showConfig"],setup(e){const a=e,b=o(e,"showConfig");return i(()=>{a.isShowDivider||(b.value=!0)}),(e,a)=>{const o=h,i=s;return t(),l("div",null,[e.isShowDivider?(t(),l("div",g,[r(o,{class:"!mb-[1rem]"}),r(i,{class:"w-full text-center cursor-pointer flex items-center justify-center",onClick:a[0]||(a[0]=s=>b.value=!b.value)},{default:n(()=>[u("点击"+c(b.value?"收起":"查看")+"，更多配置 ",1),f("i",{class:v("svgtofont-el-arrow-".concat(b.value?"up":"down"))},null,2)]),_:1})])):d("",!0),m(f("div",C,[w(e.$slots,"config")],512),[[p,b.value]])])}}});export{b as _};
