import{P as o,c as i,o as n,w as p,r as l,u as r,q as c}from"./vendor-1-1-34.js";import{p as d,a as u}from"./ResourceStore-1-1-34.js";import{a as e,s as y}from"./UiStore-1-1-34.js";const b={__name:"SecondaryButton",props:d,setup(s){const t=o();return(a,m)=>(n(),i(u,{link:a.link,disabled:a.disabled,target:a.target,type:a.type,"class-list":`${a.disabled?"":"bg-white !border-primary-300 !text-primary-700 hover:bg-gray-50"} ${r(t).class?r(t).class:""}`},{default:p(()=>[l(a.$slots,"default")]),_:3},8,["link","disabled","target","type","class-list"]))}},w=c("ApiRequestStore",{state:()=>({apiKey:window.gcargo.api_key||""}),actions:{syncOptions:async()=>{const s=await e.post("sync_options");return y({message:"Ayarlar başarıyla senkronize edildi."}),s},fixAddress:async s=>await e.post("fix_address",{data:s}),createMpSeller:async s=>await e.post("create_mp_seller",{data:s})}});export{b as _,w as u};
