import{d as _,f as i,i as t,x as a,t as l,z as p}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as m}from"./vendor-vue-shared-DrzsEcag.js";import"./vendor-vue-reactivity-CheHbvBM.js";const f={class:"ccb-field-preview"},u={class:"ccb-field-preview__header"},b={class:"ccb-field-preview__label"},v={key:0,class:"ccb-field-preview__required"},h={key:0,class:"ccb-field-preview__badge"},y=["placeholder"],w={key:0,type:"email",class:"ccb-field-preview__input",placeholder:"Confirm email",disabled:""},E=_({__name:"FieldPreviewEmail",props:{field:{}},setup(k){return(e,s)=>{var r,d,o,c,n;return t(),i("div",f,[a("div",u,[a("label",b,[p(m(((r=e.field.attributes)==null?void 0:r.label)||"Email")+" ",1),((d=e.field.attributes)==null?void 0:d.required)==="1"?(t(),i("span",v,"*")):l("",!0)]),((o=e.field.attributes)==null?void 0:o.primary)==="1"?(t(),i("div",h,s[0]||(s[0]=[a("span",{class:"ccb-field-preview__badge-dot"},null,-1),p(" Primary mean of communication ")]))):l("",!0)]),a("input",{type:"email",class:"ccb-field-preview__input",placeholder:String(((c=e.field.attributes)==null?void 0:c.placeholder)||"Type your email"),disabled:""},null,8,y),((n=e.field.attributes)==null?void 0:n.confirmation)==="1"?(t(),i("input",w)):l("",!0)])}}});export{E as default};
//# sourceMappingURL=FieldPreviewEmail-B6bMxver.js.map
