import{P as k}from"./api.6f253afd.js";import{b as _}from"./workspaceStore.491df49c.js";import{d as w,N as g,O as b,e as v,o as r,Y as h,b as s,w as T,u as e,c as p,S as m,a0 as K}from"./index.494ee3d6.js";import{K as S,_ as I,W as P,P as R,b as V}from"./WorkflowView.211033a7.js";import{A as c,T as x}from"./TabPane.468057bd.js";import"./Card.e87bbfd2.js";import"./fetch.1c2fd60f.js";import"./metadata.d5f5aa97.js";import"./PhBug.vue.9b0ea9e0.js";import"./PhCheckCircle.vue.bad40449.js";import"./PhKanban.vue.6d518899.js";import"./PhWebhooksLogo.vue.05a9f9e1.js";import"./url.d7450408.js";import"./colorHelpers.417ae040.js";import"./polling.abc121b3.js";import"./asyncComputed.29b8437b.js";import"./PhQuestion.vue.44f0a802.js";import"./ant-design.38d3b2cb.js";import"./index.bfdd23c5.js";import"./index.25a2ed98.js";import"./index.5c6ac0bf.js";import"./CollapsePanel.5c4675bc.js";import"./index.c1c6186c.js";import"./index.ffb3ec94.js";import"./Badge.ee9d6d6c.js";import"./PhArrowCounterClockwise.vue.e30b087c.js";import"./Workflow.f2428814.js";import"./validations.5d3d48ba.js";import"./string.c25cb15f.js";import"./uuid.80e0c14e.js";import"./index.d038fae8.js";import"./workspaces.22dd8bda.js";import"./record.0afa2e2f.js";import"./index.47718eea.js";import"./PhArrowDown.vue.ef4697e4.js";import"./LoadingOutlined.4f34e0e6.js";import"./DeleteOutlined.b69a1025.js";import"./PhDownloadSimple.vue.e3a2d9d5.js";import"./utils.dd28a600.js";import"./LoadingContainer.15a7d983.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]="b69ccb0f-89d2-45d4-8b1e-6c7e5a475630",t._sentryDebugIdIdentifier="sentry-dbid-b69ccb0f-89d2-45d4-8b1e-6c7e5a475630")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,d=new k(a),i=new R(a),u=new V(a),y=new g(b.array(b.string()),"kanban-selected-stages"),o=v("kanban");return(B,l)=>(r(),h("div",W,[s(e(x),{activeKey:o.value,"onUpdate:activeKey":l[0]||(l[0]=f=>o.value=f)},{default:T(()=>[s(e(c),{key:"kanban",tab:"Kanban View"}),s(e(c),{key:"table",tab:"Table View"}),s(e(c),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(r(),p(S,{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"?(r(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),o.value==="workflow"?(r(),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-d6c18c3e"]]);export{ge as default};
//# sourceMappingURL=Threads.700fd0ca.js.map
