import{P as k}from"./api.d4bd8646.js";import{b as _}from"./workspaceStore.63bcaaff.js";import{d as w,L as g,N as d,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.5a4c25bd.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.0e07bcb6.js";import{A as b,T as x}from"./TabPane.548cb0b1.js";import"./Card.02bfb676.js";import"./fetch.5ad13eaf.js";import"./metadata.f07b2846.js";import"./PhBug.vue.bf61fb7d.js";import"./PhCheckCircle.vue.dd5bf70b.js";import"./PhKanban.vue.284e7873.js";import"./PhWebhooksLogo.vue.4a3d2ebb.js";import"./url.bd3666a7.js";import"./colorHelpers.147ae7b4.js";import"./polling.540906c0.js";import"./asyncComputed.e7982546.js";import"./PhQuestion.vue.68f36c95.js";import"./ant-design.1f7b4a77.js";import"./index.1a8c47ea.js";import"./index.41498923.js";import"./index.976c7759.js";import"./CollapsePanel.fff804f5.js";import"./index.dda5be6f.js";import"./index.8c9b27b3.js";import"./Badge.4ffe633d.js";import"./PhArrowCounterClockwise.vue.939546c6.js";import"./Workflow.d7c4be5f.js";import"./validations.45b7f24f.js";import"./string.ca5e661a.js";import"./uuid.d9892aa8.js";import"./index.150edbad.js";import"./workspaces.c5c2e653.js";import"./record.9d54035b.js";import"./index.fe322889.js";import"./PhArrowDown.vue.47838317.js";import"./LoadingOutlined.a7db242f.js";import"./DeleteOutlined.9dd8255d.js";import"./PhDownloadSimple.vue.6bf1caf6.js";import"./utils.66781a98.js";import"./LoadingContainer.094b64e0.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]="c094be2b-ec18-4f05-a7ee-4cfb9211ddc0",t._sentryDebugIdIdentifier="sentry-dbid-c094be2b-ec18-4f05-a7ee-4cfb9211ddc0")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const r=_().authHeaders,l=new k(r),i=new S(r),u=new V(r),y=new g(d.array(d.string()),"kanban-selected-stages"),o=v("kanban");return(B,c)=>(s(),h("div",W,[a(e(x),{activeKey:o.value,"onUpdate:activeKey":c[0]||(c[0]=f=>o.value=f)},{default:T(()=>[a(e(b),{key:"kanban",tab:"Kanban View"}),a(e(b),{key:"table",tab:"Table View"}),a(e(b),{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(l)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d2894db4"]]);export{ge as default};
//# sourceMappingURL=Threads.ba16aac8.js.map
