import{P as k}from"./api.bc54294b.js";import{b as _}from"./workspaceStore.e769f3e4.js";import{d as w,L as g,N as b,e as v,X as h,b as r,w as T,u as e,c as p,R as m,o as s,$ as K}from"./vue-router.ef289645.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.fd82c0b5.js";import{A as d,T as x}from"./TabPane.0af9c79f.js";import"./Card.b6dd456b.js";import"./fetch.4e2659a5.js";import"./metadata.6c3403b5.js";import"./PhBug.vue.93aad22e.js";import"./PhCheckCircle.vue.373a0773.js";import"./PhKanban.vue.09039fd1.js";import"./PhWebhooksLogo.vue.33de9f09.js";import"./url.7df1a15c.js";import"./colorHelpers.8f934995.js";import"./polling.88c9b221.js";import"./asyncComputed.4df2b74a.js";import"./PhQuestion.vue.560c6419.js";import"./ant-design.9b149ea7.js";import"./index.10873433.js";import"./index.f9d37fc1.js";import"./index.cccb5126.js";import"./CollapsePanel.e818b27b.js";import"./index.feb8e8d8.js";import"./index.a8adc703.js";import"./Badge.1dc70832.js";import"./PhArrowCounterClockwise.vue.098f465c.js";import"./Workflow.11315f4c.js";import"./validations.f5fe89bc.js";import"./string.f997184e.js";import"./uuid.b288154d.js";import"./index.2a3f1b02.js";import"./workspaces.68085692.js";import"./record.3eee2e37.js";import"./index.fb6cedbd.js";import"./PhArrowDown.vue.27304d7c.js";import"./LoadingOutlined.d2a60b1a.js";import"./DeleteOutlined.1b3c19cc.js";import"./PhDownloadSimple.vue.77e06b67.js";import"./utils.90915ab1.js";import"./LoadingContainer.5cd8b586.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]="9b316a31-59df-4e39-a214-821e2e68d1a7",t._sentryDebugIdIdentifier="sentry-dbid-9b316a31-59df-4e39-a214-821e2e68d1a7")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,u=new k(a),i=new S(a),y=new V(a),c=new g(b.array(b.string()),"kanban-selected-stages"),o=v("kanban");return(B,l)=>(s(),h("div",W,[r(e(x),{activeKey:o.value,"onUpdate:activeKey":l[0]||(l[0]=f=>o.value=f)},{default:T(()=>[r(e(d),{key:"kanban",tab:"Kanban View"}),r(e(d),{key:"table",tab:"Table View"}),r(e(d),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(s(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(c),"stage-run-repository":e(y)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),o.value==="table"?(s(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(s(),p(P,{key:2,"kanban-repository":e(i),"workflow-api":e(u)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d2894db4"]]);export{ge as default};
//# sourceMappingURL=Threads.4c590949.js.map
