import{d as f,c as p,e as m,f as e,C as o,j as i,B as w,n as v,t as a}from"./index-a0da86f0.js";import{_ as b}from"./_plugin-vue_export-helper-c27b6911.js";const C=["title"],k=["title"],x=["title"],y=f({__name:"default_list_actions",props:{row:{},entity:{},viewMode:{}},emits:["view","edit","delete"],setup(l,{emit:c}){const s=l,n=c,d=p(()=>s.viewMode==="card"?"actions-container card-actions":"actions-container col-actions");function r(){n("view",s.row)}function _(){n("edit",s.row)}function u(){n("delete",s.row)}return(B,t)=>(v(),m("div",{class:w(d.value)},[e("button",{class:"action-btn",onClick:o(r,["stop"]),title:i(a)("View")},[...t[0]||(t[0]=[e("i",{class:"fa fa-eye"},null,-1)])],8,C),e("button",{class:"action-btn",onClick:o(_,["stop"]),title:i(a)("Edit")},[...t[1]||(t[1]=[e("i",{class:"fa fa-edit"},null,-1)])],8,k),e("button",{class:"action-btn delete-btn",onClick:o(u,["stop"]),title:i(a)("Delete")},[...t[2]||(t[2]=[e("i",{class:"fa fa-trash"},null,-1)])],8,x)],2))}});const E=b(y,[["__scopeId","data-v-682c4d48"]]);export{E as default};
