(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[236],{"KHd+":function(t,e,i){"use strict";function n(t,e,i,n,s,o,a,r){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=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(a)},c._ssrRegister=l):s&&(l=r?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}i.d(e,"a",(function(){return n}))},Qw5O: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?i("div"):i("div",{staticClass:"tb-w-notification-wrapper flex",class:t.fullWidth?"w-full max-w-4xl mb-6 mx-auto":"justify-end"},[i("div",{staticClass:"tb-w-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-w-icon",{staticClass:"mr-3 tb-w-notification__icon",class:t.colorClass,attrs:{icon:t.icon,size:"1.75"}}),t._v(" "),i("div",{staticClass:"tb-w-notification__text flex-grow overflow-hidden text-sm"},[t.$slots.title?i("p",{staticClass:"tb-w-notification__title text-gray-900 uppercase font-bold"},[t._t("title")],2):t._e(),t._v(" "),i("div",{staticClass:"tb-w-notification__description text-gray-800 pr-3 line-clamp-3"},[t._t("default")],2)]),t._v(" "),t.dismissible?i("tb-w-icon-button",{staticClass:"tb-w-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:"TbWNotification",props:{severity:{type:String,default:"info"},dismissible:{type:Boolean,default:!0},fullWidth:{type:Boolean,default:!1}},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||this.fullWidth?"w-full":"max-w-xs"}},eq:{breakpoints:{small:{maxWidth:420},large:{minWidth:768}}}},o=i("KHd+"),a=Object(o.a)(s,n,[],!1,null,null,null);a.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-notification.vue";e.default=a.exports}}]);