import{u as k}from"./router.97fb03b1.js";import{d as _,L as w,N as b,e as g,W as v,b as a,w as h,u as e,c as p,R as m,o as s,$ as T}from"./vue-router.6a68d184.js";import{K,_ as R,W as I,P,b as S}from"./WorkflowView.6cbe28bd.js";import{P as V}from"./api.39524bac.js";import{A as l,T as W}from"./TabPane.61754fc5.js";import"./Card.5a15af6f.js";import"./fetch.77170fb6.js";import"./linters.83a9cabc.js";import"./asyncComputed.f77117da.js";import"./scripts.f484beba.js";import"./record.048ae4ac.js";import"./metadata.b24268c3.js";import"./PhBug.vue.558234da.js";import"./PhCheckCircle.vue.1bf31e20.js";import"./PhKanban.vue.d28b960a.js";import"./PhWebhooksLogo.vue.8a010aca.js";import"./PhQuestion.vue.6e215bce.js";import"./ant-design.eb31b6e2.js";import"./index.4be87654.js";import"./index.f7061722.js";import"./index.89aa9023.js";import"./index.ab81a661.js";import"./CollapsePanel.a176bd25.js";import"./index.484a2057.js";import"./index.ef7baa48.js";import"./isNumeric.75337b1e.js";import"./PhArrowCounterClockwise.vue.d7b52bc0.js";import"./model.8fd6b9c9.js";import"./workspaces.24d8b995.js";import"./runnerData.ef427c2b.js";import"./url.dbab9c15.js";import"./validations.4a59a48b.js";import"./string.1c036a5c.js";import"./PhArrowSquareOut.vue.dc26b6b0.js";import"./index.1ee319f7.js";import"./Badge.f345c797.js";import"./index.ead91012.js";import"./uuid.8cc61c68.js";import"./LoadingOutlined.1830bdff.js";import"./DeleteOutlined.8f5d092f.js";import"./PhDownloadSimple.vue.1e98c74e.js";import"./utils.a4dcde71.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="2fe2281c-4160-47ec-8e43-a473145198b3",t._sentryDebugIdIdentifier="sentry-dbid-2fe2281c-4160-47ec-8e43-a473145198b3")}catch{}})();const x={class:"threads-view"},A=_({__name:"Threads",setup(t){const r=k().authHeaders,u=new V(r),i=new P(r),y=new S(r),d=new w(b.array(b.string()),"kanban-selected-stages"),o=g("kanban");return(B,c)=>(s(),v("div",x,[a(e(W),{activeKey:o.value,"onUpdate:activeKey":c[0]||(c[0]=f=>o.value=f)},{default:h(()=>[a(e(l),{key:"kanban",tab:"Kanban View"}),a(e(l),{key:"table",tab:"Table View"}),a(e(l),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(s(),p(K,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(d),"stage-run-repository":e(y)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),o.value==="table"?(s(),p(R,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(s(),p(I,{key:2,"kanban-repository":e(i),"workflow-api":e(u)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const he=T(A,[["__scopeId","data-v-86c0b860"]]);export{he as default};
//# sourceMappingURL=Threads.daf6af19.js.map
