(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[366],{"+5ig":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticClass:"w-full overflow-x-auto border-collapse"},[n("thead",{staticClass:"text-xs tracking-wide text-gray-800 uppercase"},[n("tr",{staticClass:"border-0"},t._l(t.columns,(function(e,r){return n("th",{staticClass:"py-2 text-left align-top",class:[0===r?"pl-0":"",r===t.columns.length-1?"pr-0":"",0!==r&&r!==t.columns.length-1?"px-4":""],on:{click:function(n){return t.$emit("header-click",e)}}},[n("div",{staticClass:"flex items-center",class:["right"===e.align?"justify-end":"","center"===e.align?"justify-center":""]},[e.icon?n("tb-w-icon",{staticClass:"mr-1 opacity-33",attrs:{icon:e.icon,size:".75"}}):t._e(),t._v(" "),n("span",[t._v("\n                        "+t._s(e.title)+"\n                    ")])],1)])})),0)]),t._v(" "),n("tbody",{staticClass:"text-gray-600"},t._l(t.rows,(function(e){return n("tr",{staticClass:"border-t border-gray-200"},t._l(t.columns,(function(r,s){return n("td",{staticClass:"py-2 align-top",class:[0===s?"pl-0":"",s===t.columns.length-1?"pr-0":"",0!==s&&s!==t.columns.length-1?"px-4":"","right"===r.align?"text-right":"","center"===r.align?"text-center":"","right"!==r.align&&"center"!==r.align?"text-left":""],on:{click:function(n){return t.$emit("cell-click",{row:e,column:r})}}},[t._t(r.slotName||"column-"+s,null,{data:e})],2)})),0)})),0)])};r._withStripped=!0;var s={name:"TbWTable",props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0}}},i=n("KHd+"),o=Object(i.a)(s,r,[],!1,null,null,null);e.default=o.exports},"KHd+":function(t,e,n){"use strict";function r(t,e,n,r,s,i,o,a){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(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(o)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))}}]);