import{P as f}from"./api.e587e3da.js";import{b as _}from"./workspaceStore.8573c4fd.js";import{d as w,L as g,N as l,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.af270c71.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.1495db40.js";import{A as c,T as x}from"./TabPane.c8a57620.js";import"./Card.d41ae9c2.js";import"./fetch.37e33233.js";import"./metadata.f724a12f.js";import"./PhBug.vue.722ec43c.js";import"./PhCheckCircle.vue.5fb5511e.js";import"./PhKanban.vue.a32e59cb.js";import"./PhWebhooksLogo.vue.02da95ab.js";import"./url.cabef638.js";import"./colorHelpers.d66a37b3.js";import"./polling.7e1f50b6.js";import"./asyncComputed.0723a843.js";import"./PhQuestion.vue.e6abc30c.js";import"./ant-design.d04ab556.js";import"./index.e2cc8758.js";import"./index.8333b9b5.js";import"./index.0737418e.js";import"./CollapsePanel.b7bfc131.js";import"./index.7f78a263.js";import"./index.63ed2f84.js";import"./Badge.febe68ac.js";import"./PhArrowCounterClockwise.vue.da80d5eb.js";import"./Workflow.40f33c99.js";import"./validations.db2ff319.js";import"./string.a1035618.js";import"./uuid.83b1bc5f.js";import"./index.982bdc72.js";import"./workspaces.8a114c6a.js";import"./record.489de623.js";import"./index.7664e6bf.js";import"./PhArrowDown.vue.b82b9b7e.js";import"./LoadingOutlined.7878a115.js";import"./DeleteOutlined.223049be.js";import"./PhDownloadSimple.vue.d79e8069.js";import"./utils.20c738a2.js";import"./LoadingContainer.6d348986.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]="e8cc3a48-93d7-4c05-9a42-579c420bb8cb",t._sentryDebugIdIdentifier="sentry-dbid-e8cc3a48-93d7-4c05-9a42-579c420bb8cb")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,d=new f(a),i=new S(a),u=new V(a),y=new g(l.array(l.string()),"kanban-selected-stages"),o=v("kanban");return(B,b)=>(s(),h("div",W,[r(e(x),{activeKey:o.value,"onUpdate:activeKey":b[0]||(b[0]=k=>o.value=k)},{default:T(()=>[r(e(c),{key:"kanban",tab:"Kanban View"}),r(e(c),{key:"table",tab:"Table View"}),r(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.a05223f2.js.map
