const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Popup-D_SeLUeJ.css","./ProBadge-Bh7l2BmQ.css","./Button-nVDREZcB.css","./vendor-vue3-html2pdf-DBfPfU4j.css","./UserLocation-UVz5AIoR.css","./TwoPoints-jRcUKLU9.css","./MultiplyLocation-CTcPP9ub.css"])))=>i.map(i=>d[i]);
import{_ as n}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{u as S}from"./appearanceStore-Cp-euDX2.js";import{_ as x}from"./ProBadge.vue_vue_type_style_index_0_lang-DqDXUf8-.js";import{_ as T}from"./RequiredHint.vue_vue_type_style_index_0_lang-DGTCbwUk.js";import{u as q}from"./fieldsStore-CNpVuoPu.js";import{u as A}from"./settingsStore-8bwiLMEn.js";import{d as C,e as a,$ as l,f as r,i,x as d,t as s,k as f,z as D,j as E,v as L}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as P,u as o}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as p,a as V}from"./vendor-vue-shared-DrzsEcag.js";import"./vendor-pinia-BSPefQhS.js";import"./appStore-CFAkQG2b.js";import"./translationsStore-D6vLzgNA.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";const R={class:"ccb-field__label"},B={class:"ccb-field__title"},N={key:0,class:"ccb-field-required-mark"},I={key:0,class:"ccb-field__descriptions ccb-before"},O={key:0,class:"ccb-field__description"},$={class:"ccb-field__input-wrapper"},w={key:1,class:"ccb-field__descriptions ccb-after"},z={key:0,class:"ccb-field__description"},re=C({__name:"Geolocation",props:{field:{}},setup(v){const b=q(),y=v,{field:e}=P(y),_=S(),g=a(()=>{var c;return((c=A().getWarningTexts)==null?void 0:c.requiredMsg)||""}),k=a(()=>{var t;return(t=e.value)==null?void 0:t.geoType}),u=a(()=>b.checkFieldRequired(e.value)),h=a(()=>{const t=k;return t.value==="userLocation"?l(()=>n(()=>import("./UserLocation-DOhwhqDQ.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)):t.value==="twoPointLocation"?l(()=>n(()=>import("./TwoPoints-DoAGcwWI.js"),__vite__mapDeps([0,1,2,3,5]),import.meta.url)):t.value==="multiplyLocation"?l(()=>n(()=>import("./MultiplyLocation-jdchBTn7.js"),__vite__mapDeps([0,1,2,3,6]),import.meta.url)):""}),m=a(()=>{var t;return((t=e.value)==null?void 0:t.additionalStyles)||""});return(t,c)=>(i(),r("div",{class:V(["ccb-field ccb-field-geolocation",{required:u.value,"ccb-field-disabled":o(e).disabled,[m.value]:m.value}])},[d("div",R,[u.value?(i(),f(T,{key:0,text:g.value},null,8,["text"])):s("",!0),d("div",B,[D(p(o(e).label),1),o(e).required?(i(),r("span",N,"*")):s("",!0),E(x)])]),o(_).getAppearanceDescriptionPosition==="before"?(i(),r("div",I,[o(e).description?(i(),r("div",O,p(o(e).description),1)):s("",!0)])):s("",!0),d("div",$,[(i(),f(L(h.value),{alias:o(e).alias,field:o(e)},null,8,["alias","field"]))]),o(_).getAppearanceDescriptionPosition==="after"?(i(),r("div",w,[o(e).description?(i(),r("div",z,p(o(e).description),1)):s("",!0)])):s("",!0)],2))}});export{re as default};
//# sourceMappingURL=index-DhG7a1_j.js.map
