(self.webpackChunk=self.webpackChunk||[]).push([[979],{15979:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const s=JSON.parse('[{"dataIndex":"title","key":"title","title":"Title"},{"key":"actions","width":120,"align":"right","scopedSlots":{"customRender":"actions"}}]'),i={props:["lines"],metaInfo:function(){return{title:this.trans("Lines")}},computed:{columns:function(){var t=this;return s.map((function(e){return e.title=t.trans(e.title),e}))}}};const l=(0,n(51900).Z)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"flex bg-white p-4 text-lg border-b border-gray-300 h-20 items-center"},[n("div",{staticClass:"flex-1 font-semibold"},[t._v(t._s(t.trans("Lines")))])]),t._v(" "),n("a-table",{attrs:{dataSource:t.lines,columns:t.columns,pagination:!1,rowKey:"id"},scopedSlots:t._u([{key:"actions",fn:function(e,s){return n("span",{staticClass:"text-center"},[n("a-tooltip",{attrs:{title:t.trans("Delete")}},[n("a-button",{attrs:{type:"danger",ghost:"",icon:"delete"},on:{click:function(){return t.destroy("lines",s.id)}}})],1)],1)}}])})],1)}),[],!1,null,null,null).exports}}]);