import{P as k}from"./api.d90763b9.js";import{b as _}from"./workspaceStore.d3e54509.js";import{d as w,L as g,N as c,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.663e4641.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.977eca33.js";import{A as b,T as x}from"./TabPane.e989009f.js";import"./Card.6578fe66.js";import"./fetch.9abdec80.js";import"./metadata.762ebffe.js";import"./PhBug.vue.09624921.js";import"./PhCheckCircle.vue.d3212271.js";import"./PhKanban.vue.662872bc.js";import"./PhWebhooksLogo.vue.bfd9444c.js";import"./url.23e7d6b6.js";import"./colorHelpers.be492f85.js";import"./polling.05952d58.js";import"./asyncComputed.91dd9b14.js";import"./PhQuestion.vue.5e76a3ec.js";import"./ant-design.2d475047.js";import"./index.108b4fb6.js";import"./index.eb766f89.js";import"./index.7376e249.js";import"./CollapsePanel.c7d6ec8c.js";import"./index.de7acf85.js";import"./index.3857998a.js";import"./Badge.24c8de5e.js";import"./PhArrowCounterClockwise.vue.7ace423e.js";import"./Workflow.2a1d48f9.js";import"./validations.2abf23d4.js";import"./string.3b77754c.js";import"./uuid.22962b2c.js";import"./index.6145fd21.js";import"./workspaces.c1a84185.js";import"./record.48f7790f.js";import"./index.99237601.js";import"./PhArrowDown.vue.a73806eb.js";import"./LoadingOutlined.ab021b93.js";import"./DeleteOutlined.e8154d39.js";import"./PhDownloadSimple.vue.0c563ba9.js";import"./utils.4c996f3d.js";import"./LoadingContainer.c2475ca5.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]="03141cbf-61ca-4595-a9b8-a6a1464eb466",t._sentryDebugIdIdentifier="sentry-dbid-03141cbf-61ca-4595-a9b8-a6a1464eb466")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const o=_().authHeaders,d=new k(o),i=new S(o),u=new V(o),y=new g(c.array(c.string()),"kanban-selected-stages"),a=v("kanban");return(B,l)=>(s(),h("div",W,[r(e(x),{activeKey:a.value,"onUpdate:activeKey":l[0]||(l[0]=f=>a.value=f)},{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"]),a.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),a.value==="table"?(s(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),a.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.60798470.js.map
