import{u as r}from"./chunk-43DYGKIM.js";import{s as a,t as v}from"./chunk-SBDFU3ZH.js";v();var o=class{static produceVatCodeField(p,u){return{id:"vatCode",searchable:!0,lazyLoad:!0,component:r,feature:u,apiRequest:e=>p.get(a.general.vatCodeLookup(e)),valueMapper:e=>e.vatCode,labelMapper:e=>`${e.vatCode} - ${e.vat}%`,modelToOptionMapper:(e,t)=>({vatCode:t.vatCode,vat:t.vat}),modelValueSetter:(e,t)=>(t.vat=e?.vat??0,e?.vatCode)}}};export{o as a};
