import{A as n}from"./ActionButton-6dFA985o.js";import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as d,o as r,d as l}from"./main-CJbVOHh0.js";const c={class:"publish-draft-actions"},b={__name:"PublishDraftActions",props:{loading:{type:Boolean,default:!1},loadingAction:{type:String,default:null}},emits:["publish","draft"],setup(t,{emit:o}){const i=o;return(f,a)=>(r(),d("div",c,[l(n,{label:"Publish",severity:"primary",loading:t.loading&&t.loadingAction==="publish",disabled:t.loading,class:"action-btn action-btn-main",onClick:a[0]||(a[0]=e=>i("publish"))},null,8,["loading","disabled"]),l(n,{label:"Save as Draft",severity:"secondary",loading:t.loading&&t.loadingAction==="draft",disabled:t.loading,class:"action-btn action-btn-draft",onClick:a[1]||(a[1]=e=>i("draft"))},null,8,["loading","disabled"])]))}},p=s(b,[["__scopeId","data-v-9b713e03"]]);export{p as P};
