import{u as n,w as d,v as u}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as m}from"./useAppearanceTypography-BBl5RU11.js";import{d as _,f,i as b,x as o,B as g,p as C}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as t,t as v}from"./vendor-vue-reactivity-CheHbvBM.js";import{a as h,t as B}from"./vendor-vue-shared-DrzsEcag.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";const w={class:"ccb-field ccb-group"},k={class:"ccb-group__header"},y={class:"ccb-group__actions"},S={class:"ccb-group__title"},$={class:"ccb-group__body"},R=_({__name:"Group",props:{field:{},isCollapsed:{type:Boolean}},emits:["toggle-collapse"],setup(l){n(e=>({"222ce168":t(r),"5002f00c":t(i),"7f942aed":t(a)}));const{containerColor:r,textColor:i,borderColor:a}=m(),c=l,{field:p}=v(c);return(e,s)=>(b(),f("div",w,[o("div",k,[o("div",y,[o("button",{class:h(["ccb-group__collapse",{"is-collapsed":e.isCollapsed}]),onClick:s[0]||(s[0]=d(D=>e.$emit("toggle-collapse"),["stop"]))},s[1]||(s[1]=[o("i",{class:"ccb-icon-Path-3514"},null,-1)]),2)]),o("span",S,B(t(p).label),1)]),g(o("div",$,[C(e.$slots,"default")],512),[[u,!e.isCollapsed]]),s[2]||(s[2]=o("div",{class:"ccb-group__divider"},null,-1))]))}});export{R as default};
//# sourceMappingURL=Group-BpF4SYhi.js.map
