import{u as C,w as B}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as k}from"./useAppearanceTypography-BBl5RU11.js";import{d as y,e as c,f as i,i as n,x as r}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as p,a as P}from"./vendor-vue-shared-DrzsEcag.js";import{u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{_ as x}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-circle__right"},A={class:"ccb-page-nav-progress-circle__ring"},S={viewBox:"0 0 20 20"},D=["stroke-dashoffset"],I={class:"ccb-page-nav-progress-circle__count"},M=8,V=y({__name:"ProgressWithCircle",props:{pages:{},activePage:{},pageLabels:{},hideTitle:{type:Boolean},isActive:{type:Boolean}},emits:["change-page","select"],setup(l){C(o=>({"233bbf20":e(m),"5f21e103":e(v),"4289dc0f":e(h),"04b4a4fe":e(b),"1ec993ad":e(u),"2d8718c8":e(_),"0dcac48a":e(f)}));const a=l,t=2*Math.PI*M,g=c(()=>(a.activePage+1)/a.pages.length*100),d=c(()=>t-g.value/100*t),{containerColor:m,accentColor:f,formFieldsColor:_,textDefaultColor:u,containerShadow:v,containerBorder:h,containerBorderRadius:b}=k();return(o,s)=>(n(),i("div",{class:P(["ccb-page-nav-progress-circle",{active:o.isActive}]),onClick:s[0]||(s[0]=B(W=>o.$emit("select"),["stop"]))},[s[2]||(s[2]=r("div",{class:"ccb-page-nav-progress-circle__title"},"Calculator title",-1)),r("div",w,[r("div",A,[(n(),i("svg",S,[s[1]||(s[1]=r("circle",{class:"ccb-page-nav-progress-circle__ring-bg",cx:"10",cy:"10",r:"8"},null,-1)),r("circle",{class:"ccb-page-nav-progress-circle__ring-progress",cx:"10",cy:"10",r:"8","stroke-dasharray":t,"stroke-dashoffset":d.value},null,8,D)]))]),r("span",I," Step "+p(o.activePage+1)+"/"+p(o.pages.length),1)])],2))}}),O=x(V,[["__scopeId","data-v-54f28dc4"]]);export{O as default};
//# sourceMappingURL=ProgressWithCircle-Bh0GbjBT.js.map
