import{P as k}from"./api.8b987083.js";import{b as _}from"./workspaceStore.90fe8dcc.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.36bc5188.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.d6acb03d.js";import{A as d,T as x}from"./TabPane.72140f27.js";import"./Card.45552787.js";import"./fetch.34d0ff03.js";import"./metadata.bb9a1264.js";import"./PhBug.vue.a90a2180.js";import"./PhCheckCircle.vue.f3c7f168.js";import"./PhKanban.vue.9ec361a4.js";import"./PhWebhooksLogo.vue.7b5e081c.js";import"./url.a7891bdc.js";import"./colorHelpers.19c77349.js";import"./polling.1c2c7174.js";import"./asyncComputed.37a42e7b.js";import"./PhQuestion.vue.cbc824dc.js";import"./ant-design.a27edffa.js";import"./index.87f1e4b3.js";import"./index.3df0f069.js";import"./index.986d5327.js";import"./CollapsePanel.d0b757b8.js";import"./index.8203845a.js";import"./index.bb9ce67d.js";import"./isNumeric.75337b1e.js";import"./PhArrowCounterClockwise.vue.6f4cb0fe.js";import"./Workflow.7e84c3ab.js";import"./validations.f5adff57.js";import"./string.8a83f3d1.js";import"./uuid.d62e9461.js";import"./index.19f3599f.js";import"./workspaces.7e4ae44b.js";import"./record.2cf5df84.js";import"./index.d177cfd2.js";import"./Badge.852dfe71.js";import"./LoadingOutlined.45ad2840.js";import"./DeleteOutlined.ea1ec8fb.js";import"./PhDownloadSimple.vue.531250be.js";import"./utils.4f8a271d.js";import"./LoadingContainer.48eacb0b.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]="2d3770d2-89a0-4f9e-a417-23d330dcbd06",t._sentryDebugIdIdentifier="sentry-dbid-2d3770d2-89a0-4f9e-a417-23d330dcbd06")}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),y=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(y),"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 ge=K(A,[["__scopeId","data-v-d2894db4"]]);export{ge as default};
//# sourceMappingURL=Threads.579818d4.js.map
