import{P as k}from"./api.e2d1952b.js";import{b as _}from"./workspaceStore.74650beb.js";import{d as w,L as g,N as d,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.daa9090b.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.2199e6ba.js";import{A as b,T as x}from"./TabPane.1d197b12.js";import"./Card.23870b32.js";import"./fetch.10591b87.js";import"./metadata.ceb33af7.js";import"./PhBug.vue.a88de660.js";import"./PhCheckCircle.vue.f1a7707c.js";import"./PhKanban.vue.51043e37.js";import"./PhWebhooksLogo.vue.f053cb83.js";import"./url.f89b68d7.js";import"./colorHelpers.cbe2471c.js";import"./polling.1a044af4.js";import"./asyncComputed.a9aefa60.js";import"./PhQuestion.vue.79d8e9d3.js";import"./ant-design.635db699.js";import"./index.91d5283b.js";import"./index.7956e443.js";import"./index.f058fd94.js";import"./CollapsePanel.166dd9f1.js";import"./index.e7e56391.js";import"./index.f6011d65.js";import"./isNumeric.75337b1e.js";import"./PhArrowCounterClockwise.vue.81fdc59e.js";import"./Workflow.3f38983a.js";import"./validations.f2a03c73.js";import"./string.c6f29545.js";import"./uuid.819a1518.js";import"./index.dfb6b150.js";import"./workspaces.429f2733.js";import"./record.7a59ec24.js";import"./index.e933fcb9.js";import"./Badge.1984c8e3.js";import"./PhArrowDown.vue.ad01ca75.js";import"./LoadingOutlined.d9c72a6b.js";import"./DeleteOutlined.0ea8bc83.js";import"./PhDownloadSimple.vue.d803e97a.js";import"./utils.2e53d9ec.js";import"./LoadingContainer.614dadf2.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]="d0f6e9f9-2b22-41ba-b0b9-9c5499aaf639",t._sentryDebugIdIdentifier="sentry-dbid-d0f6e9f9-2b22-41ba-b0b9-9c5499aaf639")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,u=new k(a),i=new S(a),c=new V(a),f=new g(d.array(d.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]=y=>o.value=y)},{default:T(()=>[r(e(b),{key:"kanban",tab:"Kanban View"}),r(e(b),{key:"table",tab:"Table View"}),r(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(f),"stage-run-repository":e(c)},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 ve=K(A,[["__scopeId","data-v-d2894db4"]]);export{ve as default};
//# sourceMappingURL=Threads.d329c570.js.map
