import{K as u,_ as b,E as c,L as f}from"./TableView.vue_vue_type_script_setup_true_lang.1515ac9b.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.67d01534.js";import{l as w}from"./fetch.03065101.js";import{a as v}from"./index.59111a55.js";import"./vuedraggable.umd.5b8ffc85.js";import"./workspaces.e9b90016.js";import"./runnerData.0c424852.js";import"./url.df413b89.js";import"./record.97ce606c.js";import"./pubsub.ce0b10ac.js";import"./asyncComputed.9c2e7c90.js";import"./scripts.522fb6bc.js";import"./envVars.5aa8e6b1.js";import"./api.c51328fc.js";import"./index.cf4c23b9.js";import"./metadata.1b2faa6d.js";import"./PhCheckCircle.vue.95f5c263.js";import"./PhScroll.vue.14ed3ebd.js";import"./PhWebhooksLogo.vue.5ddfc31f.js";import"./ant-design.11897fd2.js";import"./index.0614ab03.js";import"./Modal.e44b2640.js";import"./Text.fce07a64.js";import"./index.3dca3a8f.js";import"./index.378e6c26.js";import"./index.b7b3af9c.js";import"./Paragraph.5d6efe5b.js";import"./index.a9d2fb7a.js";import"./Link.1ec60047.js";import"./Title.3431c309.js";import"./CollapsePanel.3dff5ef6.js";import"./index.527f7466.js";import"./index.6c4041fe.js";import"./isNumeric.75337b1e.js";import"./Card.e0b50de4.js";import"./index.e94f56d7.js";import"./TabPane.3015bf00.js";import"./hasIn.18867aca.js";import"./LoadingOutlined.df4e224f.js";import"./index.01af67e0.js";import"./Form.18143f38.js";import"./string.73a83215.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]="d30fd4eb-0561-4824-bd37-17eab175d634",o._sentryDebugIdIdentifier="sentry-dbid-d30fd4eb-0561-4824-bd37-17eab175d634")}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"}},bt=y({__name:"WorkflowThreads",setup(o){const t=new c,a=new h,m=new f("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]=l=>r.value=l),options:d,style:{"margin-bottom":"16px"}},null,8,["value"]),r.value==="Kanban"?(n(),s(u,{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(b,{key:1,"kanban-repository":e(t)},null,8,["kanban-repository"])):p("",!0)]))}});export{bt as default};
//# sourceMappingURL=WorkflowThreads.4355fb0e.js.map
