const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./widget-DZZgQDKu.css","./MultiSelectDropDown-BXfPE_zk.css"])))=>i.map(i=>d[i]);
import{a as k,C,k as h,b as l,e as n,_ as c,m as d,g as o,p as u,f as m,q as _,u as t,L as y,D,r as R,I as T}from"./convert-case-to-camel-case.utils-DDUpNI96.js";import{w as V}from"./widget-BUAABBRb.js";import{u as x}from"./translationsStore-DBJu9sBR.js";import{_ as B}from"./RequiredHint.vue_vue_type_style_index_0_lang-R4Bqx90z.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./_commonjs-dynamic-modules-TDtrdbi3.js";const E={class:"ccb-order-field__title"},F={class:"ccb-order-field__label"},O={key:0,class:"ccb-order-required-mark"},S=k({__name:"OrderDropdown",props:{field:{}},setup(p){const f=p,{field:e}=C(f),{checkFieldRequired:v}=V(),b=x(),a=h(!1),q=r=>{a.value=r},g=l(()=>{var r,s;return(s=(r=e.value)==null?void 0:r.attributes)!=null&&s.multiselect?n(()=>c(()=>import("./MultiSelectDropDown-B6Q_6VE_.js"),__vite__mapDeps([0,1]),import.meta.url)):n(()=>c(()=>import("./Default-OejiO6UL.js"),__vite__mapDeps([0]),import.meta.url))}),i=l(()=>e.value.required?v(e.value):!1);return(r,s)=>(o(),d("div",{class:T(["ccb-order-field ccb-order-dropdown",{active:a.value,[`ccb-col-${t(e).fieldWidth}`]:!0,"ccb-order-field--required":i.value}])},[u("div",E,[i.value?(o(),m(B,{key:0,text:t(b).getTranslations.requiredField},null,8,["text"])):_("",!0),u("label",F,[y(D(t(e).label)+" ",1),t(e).required?(o(),d("span",O,"*")):_("",!0)])]),(o(),m(R(g.value),{field:t(e),onToggle:q},null,40,["field"]))],2))}});export{S as default};
//# sourceMappingURL=index-13i-W3Cy.js.map
