import{K as l,_ as u,E as f,L as b}from"./TableView.vue_vue_type_script_setup_true_lang.e8e8f78c.js";import{d as y,r as g,b as n,eu as _,f as k,u as e,c as s,ew as p}from"./outputWidgets.b2f2adf2.js";import{l as w}from"./fetch.1fc8b3e7.js";import{a as v}from"./index.2c6a9a73.js";import"./vuedraggable.umd.a5a06993.js";import"./workspaces.4fed9670.js";import"./runnerData.f7a85f05.js";import"./url.de379c40.js";import"./record.01220836.js";import"./pubsub.56b36b75.js";import"./asyncComputed.0eb432f7.js";import"./scripts.b274e126.js";import"./envVars.db9c582c.js";import"./api.8e69ff2e.js";import"./index.cf4c23b9.js";import"./metadata.555f07fb.js";import"./PhCheckCircle.vue.2e2e94f1.js";import"./PhScroll.vue.63b57b9f.js";import"./PhWebhooksLogo.vue.cb29b25a.js";import"./ant-design.c95e6c48.js";import"./index.239ed389.js";import"./Modal.29dbfea8.js";import"./Text.9554a64b.js";import"./index.c47b0dc1.js";import"./index.0f294ac7.js";import"./index.230f82f6.js";import"./Paragraph.038d3c4a.js";import"./index.eb1aefdf.js";import"./Link.326bc6ef.js";import"./Title.d1ce9cd1.js";import"./CollapsePanel.fe8905e3.js";import"./index.3df7bcb5.js";import"./index.72771e2c.js";import"./isNumeric.75337b1e.js";import"./Card.1ffebbef.js";import"./index.a64d1f80.js";import"./TabPane.27e1a36d.js";import"./hasIn.2f264b73.js";import"./LoadingOutlined.010813e4.js";import"./index.5e4f7e9b.js";import"./Form.151a806c.js";import"./string.f1ed14cd.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="370fe29e-6817-45bb-97ad-cddfc20f3a33",o._sentryDebugIdIdentifier="sentry-dbid-370fe29e-6817-45bb-97ad-cddfc20f3a33")}catch{}})();class h{constructor(t=w){this.fetch=t}async fork(t){return(await this.fetch("/_editor/api/stage_runs/fork",{method:"POST",body:JSON.stringify({stage_run_id:t}),headers:{"Content-Type":"application/json"}})).json()}}const K={style:{padding:"20px"}},ut=y({__name:"WorkflowThreads",setup(o){const t=new f,a=new h,m=new b("kanban"),d=["Kanban","Table view"],r=g("Kanban");return(R,i)=>(n(),_("div",K,[k(e(v),{value:r.value,"onUpdate:value":i[0]||(i[0]=c=>r.value=c),options:d,style:{"margin-bottom":"16px"}},null,8,["value"]),r.value==="Kanban"?(n(),s(l,{key:0,"kanban-repository":e(t),storage:e(m),"stage-run-repository":e(a)},null,8,["kanban-repository","storage","stage-run-repository"])):p("",!0),r.value==="Table view"?(n(),s(u,{key:1,"kanban-repository":e(t)},null,8,["kanban-repository"])):p("",!0)]))}});export{ut as default};
//# sourceMappingURL=WorkflowThreads.361e2d5f.js.map
