import{u as h,w as i}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as k}from"./useAppearanceTypography-BBl5RU11.js";import{d as y,f as s,i as o,x as n,F as B,r as P,t as T}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{a as p,t as l}from"./vendor-vue-shared-DrzsEcag.js";import{u as a}from"./vendor-vue-reactivity-CheHbvBM.js";import{_ as $}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const w={class:"ccb-page-nav-rect-tabs__steps"},A=["data-page-index","onClick"],D={class:"ccb-page-nav-rect-tabs__rect"},F={key:0,class:"ccb-icon-radius-check"},L={key:1},R={key:0,class:"ccb-page-nav-rect-tabs__label"},V=y({__name:"RectangleTabs",props:{pages:{},activePage:{},pageLabels:{},hideTitle:{type:Boolean},isActive:{type:Boolean}},emits:["change-page","select"],setup(N){h(e=>({"48ac1e84":a(m),"308523c2":a(u),"69b52daa":a(f),"045c14c6":a(C),"93bab438":a(_),acc0abde:a(b),e43dce52:a(d),"787c8458":a(g),"6d25ab2f":a(v)}));const{containerColor:m,accentColor:d,textColor:g,formFieldsColor:_,textDefaultColor:b,circleDoneColor:v,containerShadow:u,containerBorder:f,containerBorderRadius:C}=k();return(e,c)=>(o(),s("div",{class:p(["ccb-page-nav-rect-tabs",{active:e.isActive}]),onClick:c[0]||(c[0]=i(r=>e.$emit("select"),["stop"]))},[n("div",w,[(o(!0),s(B,null,P(e.pages,(r,t)=>(o(),s("div",{key:r,class:p(["ccb-page-nav-rect-tabs__step",{"is-active":t===e.activePage,"is-done":t<e.activePage}]),"data-page-index":t,onClick:i(S=>e.$emit("change-page",t),["stop"])},[n("span",D,[t<e.activePage?(o(),s("i",F)):(o(),s("span",L,l(t+1),1))]),e.hideTitle?T("",!0):(o(),s("span",R,l(e.pageLabels[t]),1))],10,A))),128))])],2))}}),X=$(V,[["__scopeId","data-v-e4d563c2"]]);export{X as default};
//# sourceMappingURL=RectangleTabs-BYmrpBJ8.js.map
