import{u as w}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as b}from"./useAppearanceTypography-BBl5RU11.js";import{d as v,e as h,f as d,i as c,x as r,z as C,t as p}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as t}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as l}from"./vendor-vue-shared-DrzsEcag.js";import{_ as x}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./useAppearanceStore-IzenP-G4.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const y={class:"ccb-field-preview"},D={class:"ccb-field-preview__label"},V={key:0,class:"ccb-field-preview__required"},k={class:"ccb-field-preview__dropdown"},A={class:"ccb-field-preview__select"},B={class:"ccb-field-preview__select-placeholder"},F=v({__name:"FieldPreviewDropdown",props:{field:{}},setup(n){w(e=>({"569d01ee":t(_),"6321da5a":t(f),"6fc0d28e":t(m)}));const{formFieldsColor:_,textColor:m,borderColor:f}=b(),u=n;return h(()=>{var o;const e=(o=u.field.attributes)==null?void 0:o.options;return Array.isArray(e)?e:[]}),(e,o)=>{var s,i,a;return c(),d("div",y,[r("label",D,[C(l(((s=e.field.attributes)==null?void 0:s.label)||"Dropdown")+" ",1),((i=e.field.attributes)==null?void 0:i.required)==="1"?(c(),d("span",V,"*")):p("",!0)]),r("div",k,[r("div",A,[r("span",B,l(String(((a=e.field.attributes)==null?void 0:a.placeholder)||"Select option")),1),o[0]||(o[0]=r("i",{class:"ccb-icon-ic_arrow_down ccb-field-preview__dropdown-arrow"},null,-1))]),p("",!0)])])}}}),L=x(F,[["__scopeId","data-v-629d1ad4"]]);export{L as default};
//# sourceMappingURL=FieldPreviewDropdown-CFK0OAqW.js.map
