import{h as e,i as n,p as i}from"./chunk-J2K6XPCC.js";import{c as o,d as a}from"./chunk-GYIOPDJL.js";n();a();var c=class{static produceNewIdentFields(t={}){return[e.number({id:t.quantity||"quantity",label:"Quantity",required:!0,component:i}),e.number({id:t.price||"price",label:"Price",required:!0,component:i},void 0,"thousands"),e.number({id:t.discount||"rabate1",label:"DiscountPerc",required:!0,component:i})]}static afterIdentUpdate(t,r){r.taxPriceSale=r.taxPrice,o.isSet(t.totalPriceWithVAT)&&(r.totalPriceWithVAT=r.totalPrice),o.isSet(t.totalPriceWithVat)&&(r.totalPriceWithVat=r.totalPrice)}};export{c as a};
