(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[106],{"KHd+":function(t,e,n){"use strict";function s(t,e,n,s,r,i,o,l){var a,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),s&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(a=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=a):r&&(a=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(c.functional){c._injectStyles=a;var u=c.render;c.render=function(t,e){return a.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,a):[a]}return{exports:t,options:c}}n.d(e,"a",(function(){return s}))},f1qU:function(t,e,n){"use strict";n.r(e);var s=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,s){return n("th",{staticClass:"py-2 text-left align-top",class:[0===s?"pl-0":"",s===t.columns.length-1?"pr-0":"",0!==s&&s!==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-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(s,r){return n("td",{staticClass:"py-2 align-top",class:[0===r?"pl-0":"",r===t.columns.length-1?"pr-0":"",0!==r&&r!==t.columns.length-1?"px-4":"","right"===s.align?"text-right":"","center"===s.align?"text-center":"","right"!==s.align&&"center"!==s.align?"text-left":""],on:{click:function(n){return t.$emit("cell-click",{row:e,column:s})}}},[t._t(s.slotName||"column-"+r,null,{data:e})],2)})),0)})),0)])};s._withStripped=!0;var r={name:"TbTable",props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0}}},i=n("KHd+"),o=Object(i.a)(r,s,[],!1,null,null,null);o.options.__file="node_modules/@newland/toubiz-widget/src/components/basic/tb-table.vue";e.default=o.exports}}]);