"use strict";(self.webpackChunkNexoPOS_4x=self.webpackChunkNexoPOS_4x||[]).push([[2796],{2796:(t,e,o)=>{o.r(e),o.d(e,{default:()=>c});const s={name:"ns-pos-product-price-product",components:{nsNumpad:o(9499).Z},computed:{},data:function(){return{product:{}}},mounted:function(){this.popupCloser(),this.product=this.$popupParams.product},methods:{popupResolver,popupCloser,__,updateProductPrice:function(t){this.product.unit_price=t},resolveProductPrice:function(t){this.popupResolver(this.product.unit_price)}}};const c=(0,o(1900).Z)(s,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"bg-white shadow-lg w-95vw md:w-3/5-screen lg:w-2/5-screen"},[o("div",{staticClass:"popup-heading"},[o("h3",[t._v(t._s(t.__("Product Price")))]),t._v(" "),o("div",[o("ns-close-button",{on:{click:function(e){return t.popupResolver(!1)}}})],1)]),t._v(" "),o("div",{staticClass:"flex flex-col"},[o("div",{staticClass:"h-16 flex items-center justify-center bg-gray-800 text-white font-bold"},[o("h2",{staticClass:"text-2xl"},[t._v(t._s(t._f("currency")(t.product.unit_price)))])]),t._v(" "),o("div",{staticClass:"p-2"},[o("ns-numpad",{attrs:{floating:!0,value:t.product.unit_price},on:{changed:function(e){return t.updateProductPrice(e)},next:function(e){return t.resolveProductPrice(e)}}})],1)])])}),[],!1,null,null,null).exports}}]);