import{T as g}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as b}from"./settingsStore-8bwiLMEn.js";import{u as v}from"./translationsStore-D6vLzgNA.js";import{_ as S}from"./index-D2j7l29-.js";import{d as h,e as p,f as o,i as r,t as k,x as e,F as T,r as w,k as x,m as B,j as C}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as i}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as l,a as N}from"./vendor-vue-shared-DrzsEcag.js";import"./vendor-pinia-BSPefQhS.js";import"./convert-case-to-camel-case.utils-CK5dBN7n.js";import"./appearanceStore-Cp-euDX2.js";import"./appStore-CFAkQG2b.js";import"./fieldsStore-CNpVuoPu.js";import"./vendor-moment-Cv92BTSA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-php-date-formatter-DSpPwBF8.js";import"./callbackStore-BhxBUA6V.js";import"./Wrapper.vue_vue_type_script_setup_true_lang-D49ddy6w.js";import"./widget-RmM7xAIR.js";import"./pageBreakerStore-Bkj6mcUr.js";import"./vendor-vueform-slider-CCH9_7pb.js";import"./vendor-vue3-html2pdf-KR020wX8.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-html2canvas-BfYXEYrK.js";import"./Button.vue_vue_type_style_index_0_lang-CxqKrtR4.js";import"./ProBadge.vue_vue_type_style_index_0_lang-DqDXUf8-.js";import"./Popup.vue_vue_type_style_index_0_lang-uNTBWSeR.js";import"./ThankYouPage-CQHohb6N.js";const F={class:"ccb-summary-list"},V={key:0,class:"ccb-summary-list__body"},L={class:"ccb-summary-list__titles"},at=h({__name:"SummaryList",props:{summaries:{}},setup(c){const u=c,a=b(),m=v(),d=p(()=>u.summaries||[]),_=t=>({repeater:"repeater",group:"group",total:"total"})[t.fieldName]||"summary",f=p(()=>{var t;return!((t=a.general)!=null&&t.showOptionUnit)});return(t,y)=>{var n;return r(),o("div",F,[(n=i(a).general)!=null&&n.descriptions?(r(),o("div",V,[e("div",L,[e("div",null,l(i(m).getTranslations.name),1),e("div",null,l(i(m).getTranslations.total),1)]),e("div",{class:N(["ccb-summary-list__wrapper",{"ccb-summary-list__wrapper--disable-option-unit":f.value}])},[(r(!0),o(T,null,w(d.value,s=>(r(),x(g,{key:s.alias,name:"fade"},{default:B(()=>[C(S,{"item-type":_(s),summary:s},null,8,["item-type","summary"])]),_:2},1024))),128))],2)])):k("",!0)])}}});export{at as default};
//# sourceMappingURL=SummaryList-BL3WefkG.js.map
