const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vendor-vueform-slider-BwB83iY9.css","./vendor-vue3-toastify-DHXAGmwn.css","./Default-BcqL3n74.css","./Small-Bb6m7Bhm.css","./Flat-WtlWA6A2.css","./Modern-Bqm1vhOz.css","./Input-C9xFr52C.css","./MultiPoint-BGzGjcAE.css"])))=>i.map(i=>d[i]);
import{_ as o}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{u as A}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as C}from"./useAppearanceStore-IzenP-G4.js";import"./vendor-vueform-slider-CCH9_7pb.js";import{d as R,e as c,$ as l,f as d,i as n,x as r,t as _,z as D,k as P,v as g}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as T,u as i}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as u,a as x}from"./vendor-vue-shared-DrzsEcag.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";const I={class:"ccb-field__label"},L={class:"ccb-field__title"},O={class:"ccb-field__title--title-box"},q={key:0,class:"ccb-field-required-mark"},S={key:0,class:"ccb-field__hidden"},B={class:"ccb-field-input__wrapper"},N={class:"ccb-field__descriptions ccb-after"},z={key:0,class:"ccb-field__description"},U=R({__name:"Range",props:{field:{}},setup(f){A(t=>({"35dbf2fd":b.value}));const v=C(),b=c(()=>{var t,s,a,m,p;return((p=(m=(a=(s=(t=v.getActivePreset)==null?void 0:t.desktop)==null?void 0:s.colors)==null?void 0:a.data)==null?void 0:m.accent_color)==null?void 0:p.value)||{}}),y=f,{field:e}=T(y),E=c(()=>e.value.sign||""),V=c(()=>{var s;const t=((s=e.value.styles)==null?void 0:s.style)||"small";return t==="default"?l(()=>o(()=>import("./Default-D3wdt2iG.js"),__vite__mapDeps([0,1,2]),import.meta.url)):t==="small"?l(()=>o(()=>import("./Small-E_F8sE9d.js"),__vite__mapDeps([0,1,3]),import.meta.url)):t==="flat-minimal"?l(()=>o(()=>import("./Flat-DcF9MbA2.js"),__vite__mapDeps([0,4]),import.meta.url)):t==="modern"?l(()=>o(()=>import("./Modern-CEhirXbz.js"),__vite__mapDeps([0,1,5]),import.meta.url)):t==="input"?l(()=>o(()=>import("./Input-BOSHL1Qy.js"),__vite__mapDeps([0,1,6]),import.meta.url)):t==="multi-point"?l(()=>o(()=>import("./MultiPoint-_z0eP2vh.js"),__vite__mapDeps([0,1,7]),import.meta.url)):""}),h=c(()=>e.value.required||!1),k=c(()=>e.value.additionalStyles||"");return(t,s)=>{var a;return n(),d("div",{class:x(["ccb-field ccb-range-field",{required:h.value,"ccb-field-disabled":i(e).disabled,[k.value]:!0,[(a=i(e).styles)==null?void 0:a.style]:!0}])},[r("div",I,[r("div",L,[r("span",O,[r("span",null,[D(u(i(e).label),1),i(e).required?(n(),d("span",q,"*")):_("",!0)]),r("span",null,u(E.value),1)])]),i(e).hidden?(n(),d("div",S,s[0]||(s[0]=[r("i",{class:"ccb-icon-ic_eye_crossed"},null,-1)]))):_("",!0)]),r("div",B,[(n(),P(g(V.value),{field:i(e)},null,8,["field"]))]),r("div",N,[i(e).description?(n(),d("div",z,u(i(e).description),1)):_("",!0)])],2)}}});export{U as default};
//# sourceMappingURL=Range-BC3WJubS.js.map
