"use strict";(self.webpackChunknexopos_4x=self.webpackChunknexopos_4x||[]).push([[110],{9110:(t,s,e)=>{e.r(s),e.d(s,{default:()=>i});const n={data:function(){return{title:"",message:""}},computed:{size:function(){return this.$popupParams.size||"h-full w-full"}},mounted:function(){var t=this;this.title=this.$popupParams.title,this.message=this.$popupParams.message,this.$popup.event.subscribe((function(s){"click-overlay"===s.event&&(void 0!==t.$popupParams.onAction&&t.$popupParams.onAction(!1),t.$popup.close())}))},methods:{__:e(7389).__,emitAction:function(t){void 0!==this.$popupParams.onAction&&this.$popupParams.onAction(t),this.$popup.close()}}};const i=(0,e(1900).Z)(n,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"w-6/7-screen md:w-4/7-screen lg:w-3/7-screen flex flex-col shadow-lg",class:t.size,attrs:{id:"alert-popup"}},[e("div",{staticClass:"flex items-center justify-center flex-col flex-auto p-4"},[t.title?e("h2",{staticClass:"text-3xl font-body"},[t._v(t._s(t.title))]):t._e(),t._v(" "),e("p",{staticClass:"py-4  text-center"},[t._v(t._s(t.message))])]),t._v(" "),e("div",{staticClass:"action-buttons flex border-t justify-end items-center p-2"},[e("ns-button",{attrs:{type:"info"},on:{click:function(s){return t.emitAction(!0)}}},[t._v(t._s(t.__("Ok")))])],1)])}),[],!1,null,null,null).exports}}]);