import{u as f}from"./translationsStore-D6vLzgNA.js";import{d as v,e as c,f as l,i as p,x as s}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as b,u as t}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as e}from"./vendor-vue-shared-DrzsEcag.js";import{_ as w}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./vendor-pinia-BSPefQhS.js";import"./convert-case-to-camel-case.utils-CK5dBN7n.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";import"./vendor-vue-runtime-dom-B2rky8vu.js";const x={class:"ccb-progress-with-circle"},k={class:"ccb-progress-with-circle__title"},y={class:"ccb-progress-with-circle__right"},B={class:"ccb-progress-with-circle__ring"},T={viewBox:"0 0 20 20"},C=["stroke-dashoffset"],N={class:"ccb-progress-with-circle__count"},P=8,S=v({__name:"ProgressWithCircle",props:{pages:{},step:{},hideTitle:{type:Boolean},calcTitle:{}},setup(_){const d=_,m=f(),{pages:u,step:i,calcTitle:r}=b(d),a=c(()=>u.value.length),g=c(()=>Number(i.value)/Number(a.value)*100),o=2*Math.PI*P,h=c(()=>o-g.value/100*o);return(I,n)=>(p(),l("div",x,[s("div",k,e(t(r).length>25?t(r).slice(0,22)+"...":t(r)),1),s("div",y,[s("div",B,[(p(),l("svg",T,[n[0]||(n[0]=s("circle",{class:"ccb-progress-with-circle__ring-bg",cx:"10",cy:"10",r:"8"},null,-1)),s("circle",{class:"ccb-progress-with-circle__ring-progress",cx:"10",cy:"10",r:"8","stroke-dasharray":o,"stroke-dashoffset":h.value},null,8,C)]))]),s("div",N,e(t(m).getTranslations.step)+" "+e(t(i))+"/"+e(a.value),1)])]))}}),H=w(S,[["__scopeId","data-v-d6886c7c"]]);export{H as default};
//# sourceMappingURL=ProgressWithCircle-Bfi1qogs.js.map
