import{P as f}from"./api.c7e9dccb.js";import{b as _}from"./workspaceStore.5e86d4c2.js";import{d as w,L as g,N as l,e as v,o as a,X as h,b as s,w as T,u as e,c as p,R as m,$ as K}from"./vue-router.f3adf768.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.a4aebad5.js";import{A as d,T as x}from"./TabPane.3b853b63.js";import"./Card.7e1937f3.js";import"./fetch.3f8877b7.js";import"./metadata.330fba06.js";import"./PhBug.vue.2f731bdf.js";import"./PhCheckCircle.vue.e86b9dd7.js";import"./PhKanban.vue.dd808c16.js";import"./PhWebhooksLogo.vue.f610fe2c.js";import"./url.05ebda4d.js";import"./colorHelpers.850b4295.js";import"./polling.315d287f.js";import"./asyncComputed.83d82971.js";import"./PhQuestion.vue.10009cee.js";import"./ant-design.79c08f53.js";import"./index.eac32d6d.js";import"./index.0e0e105b.js";import"./index.166a7e1c.js";import"./CollapsePanel.ff620562.js";import"./index.f63f7af9.js";import"./index.c732812d.js";import"./Badge.e393c721.js";import"./PhArrowCounterClockwise.vue.ab89f6a0.js";import"./Workflow.a5aebb1d.js";import"./validations.3712600c.js";import"./string.10d66498.js";import"./uuid.688298a4.js";import"./index.bf422aff.js";import"./workspaces.bfdfdcf3.js";import"./record.c1c318a9.js";import"./index.5ac44909.js";import"./PhArrowDown.vue.0ca18d0c.js";import"./LoadingOutlined.1c6c198e.js";import"./DeleteOutlined.87e17fad.js";import"./PhDownloadSimple.vue.bab6f874.js";import"./utils.867bdfd0.js";import"./LoadingContainer.b173fd39.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]="b7a76ee9-3476-4889-bbe0-662d5cd9dd74",t._sentryDebugIdIdentifier="sentry-dbid-b7a76ee9-3476-4889-bbe0-662d5cd9dd74")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const r=_().authHeaders,u=new f(r),i=new S(r),c=new V(r),y=new g(l.array(l.string()),"kanban-selected-stages"),o=v("kanban");return(B,b)=>(a(),h("div",W,[s(e(x),{activeKey:o.value,"onUpdate:activeKey":b[0]||(b[0]=k=>o.value=k)},{default:T(()=>[s(e(d),{key:"kanban",tab:"Kanban View"}),s(e(d),{key:"table",tab:"Table View"}),s(e(d),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(a(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(y),"stage-run-repository":e(c)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),o.value==="table"?(a(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(a(),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.7792ac86.js.map
