import{P as k}from"./api.c596edb3.js";import{b as _}from"./workspaceStore.16b63a32.js";import{d as w,L as g,N as b,e as v,X as h,b as a,w as T,u as e,c as p,R as m,o as s,$ as K}from"./vue-router.e2dfd848.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.665e2f95.js";import{A as c,T as x}from"./TabPane.4db93fc8.js";import"./Card.7bda6ec9.js";import"./fetch.fd3dd52d.js";import"./metadata.53a9240d.js";import"./PhBug.vue.f8429619.js";import"./PhCheckCircle.vue.6f9a85d2.js";import"./PhKanban.vue.2130d7f3.js";import"./PhWebhooksLogo.vue.89e23ddd.js";import"./url.55d7f2ef.js";import"./colorHelpers.b7fa6ef4.js";import"./polling.3296382a.js";import"./asyncComputed.c066d666.js";import"./PhQuestion.vue.dd7d1578.js";import"./ant-design.9176bfec.js";import"./index.7b491e18.js";import"./index.5c2fc4d9.js";import"./index.31ce8792.js";import"./CollapsePanel.ee0b1c4f.js";import"./index.53a9be07.js";import"./index.ef41cd74.js";import"./Badge.d1042aea.js";import"./PhArrowCounterClockwise.vue.9a2f4003.js";import"./Workflow.a10969db.js";import"./validations.fb195405.js";import"./string.6557d1ac.js";import"./uuid.5871baf5.js";import"./index.3a2839b5.js";import"./workspaces.04add758.js";import"./record.228e1a8a.js";import"./index.431edb99.js";import"./PhArrowDown.vue.8b17c626.js";import"./LoadingOutlined.5e321cf1.js";import"./DeleteOutlined.a189b2ae.js";import"./PhDownloadSimple.vue.b88b386d.js";import"./utils.9bbb9ec5.js";import"./LoadingContainer.b1aed57a.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]="998c70c6-431c-4163-b822-908c8370af90",t._sentryDebugIdIdentifier="sentry-dbid-998c70c6-431c-4163-b822-908c8370af90")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const r=_().authHeaders,d=new k(r),i=new S(r),u=new V(r),y=new g(b.array(b.string()),"kanban-selected-stages"),o=v("kanban");return(B,l)=>(s(),h("div",W,[a(e(x),{activeKey:o.value,"onUpdate:activeKey":l[0]||(l[0]=f=>o.value=f)},{default:T(()=>[a(e(c),{key:"kanban",tab:"Kanban View"}),a(e(c),{key:"table",tab:"Table View"}),a(e(c),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(s(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(y),"stage-run-repository":e(u)},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(d)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d2894db4"]]);export{ge as default};
//# sourceMappingURL=Threads.c1bba262.js.map
