import{u as v,w as _}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u}from"./useAppearanceTypography-BBl5RU11.js";import{d as b,e as h,f as C,i as B,x as a}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t,b as y,a as P}from"./vendor-vue-shared-DrzsEcag.js";import{u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{_ as k}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-progress-bar__right"},S={class:"ccb-page-nav-progress-bar__count"},A={class:"ccb-page-nav-progress-bar__track"},x=b({__name:"ProgressWithBar",props:{pages:{},activePage:{},pageLabels:{},hideTitle:{type:Boolean},isActive:{type:Boolean}},emits:["change-page","select"],setup(i){v(s=>({"1f71587d":e(p),"2cc11974":e(g),"65f1235c":e(d),"1c6f4184":e(f),"38036c6c":e(m),"8ff6a9ea":e(l),"5a69c97e":e(n)}));const r=i,c=h(()=>(r.activePage+1)/r.pages.length*100),{containerColor:p,accentColor:n,formFieldsColor:l,textDefaultColor:m,containerShadow:g,containerBorder:d,containerBorderRadius:f}=u();return(s,o)=>(B(),C("div",{class:P(["ccb-page-nav-progress-bar",{active:s.isActive}]),onClick:o[0]||(o[0]=_(z=>s.$emit("select"),["stop"]))},[o[1]||(o[1]=a("div",{class:"ccb-page-nav-progress-bar__title"},"Calculator title",-1)),a("div",w,[a("span",S," Step "+t(s.activePage+1)+"/"+t(s.pages.length),1),a("div",A,[a("div",{class:"ccb-page-nav-progress-bar__fill",style:y({width:c.value+"%"})},null,4)])])],2))}}),G=k(x,[["__scopeId","data-v-09f22f95"]]);export{G as default};
//# sourceMappingURL=ProgressWithBar-ouezO_dy.js.map
