import{p as n,o as r,K as c,u as d,aV as p}from"./main-CJbVOHh0.js";/* empty css                                                                     */import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const u={__name:"ActionButton",props:{label:String,icon:String,severity:{type:String,default:"primary"},size:{type:String,default:"medium",validator:i=>["small","medium","large"].includes(i)},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(i,{emit:a}){const e=i,s=a;return(o,t)=>(r(),n(d(p),c({label:e.label,icon:e.loading?"pi pi-spin pi-spinner":e.icon,severity:e.severity,class:["action-button",`size-${e.size}`],loading:e.loading,disabled:e.loading||e.disabled,onClick:t[0]||(t[0]=l=>s("click",l))},o.$attrs),null,16,["label","icon","severity","class","loading","disabled"]))}},y=m(u,[["__scopeId","data-v-e5a7d5cb"]]);export{y as A};
