import{h as x}from"./inertia-Ckpa2qIg.js";import{A as g}from"./AdminLayout-j5U7h0Jh.js";import{F as c,q as u,a4 as h,aN as b,x as k,b1 as f,aQ as y,X as _}from"./heroicons-BDwnQUYs.js";import{H as l,y as w,t as s,x as i,g as e,G as a,i as r,f as v,F as P,z,I as B,B as o}from"./vue-core-Ewsep5yp.js";import"./PwaInstallPrompt-DoLwZwXF.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./LocaleSwitcher-9HahHW1U.js";import"./app-oHOEXACs.js";import"./monaco-JW8DSIgC.js";import"./ConfirmDialog-CAAUJZjl.js";import"./OnoxLogo-CeDonOUJ.js";import"./useConfirm-BuAOQkqU.js";const D={class:"p-6 space-y-6 max-w-4xl mx-auto"},$=["href"],G={class:"rounded-2xl bg-gradient-to-br from-indigo-600 to-purple-700 text-white p-8 sm:p-12 shadow-xl"},E={class:"mt-6 flex flex-wrap gap-3"},H=["href"],L={href:"https://docs.onox.com.tr/plugins",target:"_blank",rel:"noopener",class:"inline-flex items-center gap-2 rounded-lg border border-white/30 hover:bg-white/10 px-5 py-2.5 text-sm font-semibold text-white transition"},N={class:"grid gap-4 sm:grid-cols-2"},S={class:"h-10 w-10 rounded-lg bg-indigo-50 dark:bg-indigo-900/40 flex items-center justify-center shrink-0"},V={class:"font-semibold text-slate-800 dark:text-slate-100"},A={class:"text-sm text-slate-500 dark:text-slate-400 mt-1"},X={__name:"Vendor",props:{vendorPortalUrl:{type:String,required:!0}},setup(d){const m=[{icon:k,title:"Plugin SDK",desc:"PHP autoload, hooks, route registry — tam dokümantasyon ile."},{icon:f,title:"Gelir Paylaşımı",desc:"Ücretli pluginlerinizden %70 net kazanç."},{icon:y,title:"10.000+ Panel",desc:"Onoxsoft kurulu binlerce panele anında erişim."},{icon:_,title:"İndirme & Rating",desc:"Gerçek zamanlı analitik, kullanıcı geri bildirimleri."}];return(p,t)=>(r(),l(g,null,{default:w(()=>[s(i(x),{title:"Plugin Geliştirici Portalı"}),e("div",D,[e("a",{href:p.route("admin.plugins.installed"),class:"inline-flex items-center gap-1.5 text-sm text-slate-500 dark:text-slate-400 hover:text-indigo-500 transition"},[s(i(c),{class:"h-4 w-4"}),t[0]||(t[0]=a(" Eklentiler ",-1))],8,$),e("div",G,[s(i(u),{class:"h-12 w-12 opacity-80"}),t[3]||(t[3]=e("h1",{class:"mt-4 text-3xl sm:text-4xl font-bold"},"Plugin geliştirici misiniz?",-1)),t[4]||(t[4]=e("p",{class:"mt-3 text-lg text-indigo-100 max-w-2xl"}," Onoxsoft Plugin SDK ile kendi eklentinizi yazın, marketplace'de yayınlayın, binlerce hosting paneline ulaşın. ",-1)),e("div",E,[e("a",{href:d.vendorPortalUrl,target:"_blank",rel:"noopener",class:"inline-flex items-center gap-2 rounded-lg bg-white text-indigo-700 hover:bg-indigo-50 px-5 py-2.5 text-sm font-semibold transition"},[t[1]||(t[1]=a(" Geliştirici Portalını Aç ",-1)),s(i(h),{class:"h-4 w-4"})],8,H),e("a",L,[s(i(b),{class:"h-4 w-4"}),t[2]||(t[2]=a(" Dokümantasyon ",-1))])])]),e("div",N,[(r(),v(P,null,z(m,n=>e("div",{key:n.title,class:"rounded-xl border border-slate-200 dark:border-slate-700 bg-white dark:bg-slate-800 p-5 flex gap-4"},[e("div",S,[(r(),l(B(n.icon),{class:"h-5 w-5 text-indigo-500"}))]),e("div",null,[e("h3",V,o(n.title),1),e("p",A,o(n.desc),1)])])),64))]),t[5]||(t[5]=e("div",{class:"rounded-xl border border-slate-200 dark:border-slate-700 bg-white dark:bg-slate-800 p-6 space-y-4"},[e("h2",{class:"text-lg font-semibold text-slate-700 dark:text-slate-200"},"Hızlı Başlangıç"),e("p",{class:"text-sm text-slate-600 dark:text-slate-300"},[a(" Minimum bir "),e("code",{class:"bg-slate-100 dark:bg-slate-700 px-1.5 py-0.5 rounded font-mono text-xs"},"plugin.json"),a(" dosyası gereklidir: ")]),e("pre",{class:"rounded-lg bg-slate-900 text-slate-100 p-4 text-xs overflow-x-auto font-mono leading-relaxed"},`{
  "slug":    "my-plugin",
  "name":    "Benim Eklentim",
  "version": "1.0.0",
  "minimum_panel_version": "0.18.0",
  "author":  { "name": "Şirketiniz", "email": "info@example.com" },
  "description_tr": "Türkçe kısa açıklama",
  "autoload": { "OnoxPlugins\\\\MyPlugin\\\\": "src/" },
  "routes":   [
    { "method": "GET", "path": "/dashboard", "handler": "DashboardController@index" }
  ],
  "hooks":    { "domain.created": "src/Listeners/DomainListener.php" },
  "migrations": [ "database/2026_01_01_create_table.php" ]
}`),e("p",{class:"text-xs text-slate-400 dark:text-slate-500"},[a(" Hazır olunca "),e("code",{class:"bg-slate-100 dark:bg-slate-700 px-1 rounded"},".zip"),a(" halinde paketleyip geliştirici portalından yayınlayın. ")])],-1))])]),_:1}))}};export{X as default};
