(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[198],{"+5ig":function(t,e,n){"use strict";n.r(e);var l=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,l){return n("th",{staticClass:"py-2 text-left align-top",class:[0===l?"pl-0":"",l===t.columns.length-1?"pr-0":"",0!==l&&l!==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(l,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"===l.align?"text-right":"","center"===l.align?"text-center":"","right"!==l.align&&"center"!==l.align?"text-left":""],on:{click:function(n){return t.$emit("cell-click",{row:e,column:l})}}},[t._t(l.slotName||"column-"+s,null,{data:e})],2)})),0)})),0)])};l._withStripped=!0;var s={name:"TbWTable",props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0}}},i=n("KHd+"),r=Object(i.a)(s,l,[],!1,null,null,null);r.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-w-table.vue";e.default=r.exports}}]);