(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[100],{A5KT:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.hidden?t._e():i("div",{staticClass:"tb-notification-wrapper flex justify-end"},[i("div",{staticClass:"tb-notification bg-white border-2 rounded p-4 flex items-center shadow-md cursor-pointer",class:[t.borderClass,t.widthClass],on:{click:function(e){return t.$emit("click")}}},[i("tb-icon",{staticClass:"mr-3 tb-notification__icon",class:t.colorClass,attrs:{icon:t.icon,size:"1.75"}}),t._v(" "),i("div",{staticClass:"tb-notification__text flex-grow overflow-hidden text-sm"},[t.$slots.title?i("p",{staticClass:"tb-notification__title text-gray-900 uppercase font-bold"},[t._t("title")],2):t._e(),t._v(" "),i("p",{staticClass:"tb-notification__description text-gray-800 pr-3 line-clamp-3"},[t._t("default")],2)]),t._v(" "),t.dismissible?i("tb-icon-button",{staticClass:"tb-notification__dismiss-icon",attrs:{icon:"cross",color:"gray-500",size:"0.625"},nativeOn:{click:function(e){e.stopPropagation(),e.preventDefault(),t.hidden=!0}}}):t._e()],1)])};n._withStripped=!0;var s={name:"TbNotification",props:{severity:{type:String,default:"info"},dismissible:{type:Boolean,default:!0}},data:()=>({hidden:!1}),computed:{icon(){switch(this.severity){case"alert":return"alarm-clock";case"info":default:return"lightbulb-on"}},colorClass(){switch(this.severity){case"alert":return"text-warning-500";case"info":default:return"text-gray-800"}},borderClass(){switch(this.severity){case"alert":return"border-warning-500";case"info":default:return"border-transparent"}},widthClass(){return this.$eq.small?"w-full":"max-w-xs"}},eq:{breakpoints:{small:{maxWidth:420},large:{minWidth:768}}}},o=i("KHd+"),r=Object(o.a)(s,n,[],!1,null,null,null);r.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-notification.vue";e.default=r.exports},"KHd+":function(t,e,i){"use strict";function n(t,e,i,n,s,o,r,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),r?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=c):s&&(c=a?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(t,e){return c.call(e),d(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}i.d(e,"a",(function(){return n}))}}]);