import{T as i}from"./app-CNHjdV6U.js";import{o as e,c as o,w as u,g as a,n as t,h as n,j as c}from"./app-SC54XQDl.js";const d={__name:"NavButton",props:{primary:{type:Boolean,default:!1},actionCreate:{type:Boolean,default:!1},actionReload:{type:Boolean,default:!1},actionDelete:{type:Boolean,default:!1},actionStop:{type:Boolean,default:!1},actionPlay:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},small:{type:Boolean,default:!1},icon:{type:String}},setup(l){return(s,m)=>(e(),o(i,{outlined:!l.primary,danger:l.danger,size:l.small?"small":null},{default:u(()=>[l.actionCreate?(e(),a("i",{key:0,class:t(["pi pi-pen-to-square",{small:l.small}])},null,2)):n("",!0),l.actionReload?(e(),a("i",{key:1,class:t(["pi pi-refresh",{small:l.small}])},null,2)):n("",!0),l.actionDelete?(e(),a("i",{key:2,class:t(["pi pi-trash",{small:l.small}])},null,2)):n("",!0),l.actionStop?(e(),a("i",{key:3,class:t(["pi pi-stop",{small:l.small}])},null,2)):n("",!0),l.actionPlay?(e(),a("i",{key:4,class:t(["pi pi-play",{small:l.small}])},null,2)):n("",!0),l.icon?(e(),a("i",{key:5,class:t({[l.icon]:!0,small:l.small})},null,2)):n("",!0),c(s.$slots,"default")]),_:3},8,["outlined","danger","size"]))}};export{d as _};
