import{P as k}from"./api.4f6a53cc.js";import{b as _}from"./workspaceStore.7a260339.js";import{d as w,L as g,N as d,e as v,o as r,X as h,b as s,w as T,u as e,c as p,R as m,$ as K}from"./vue-router.3768b992.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.dbaef36c.js";import{A as l,T as x}from"./TabPane.e09bd7ce.js";import"./Card.1e67cbfe.js";import"./fetch.89d17a08.js";import"./metadata.85f4878a.js";import"./PhBug.vue.442e0f41.js";import"./PhCheckCircle.vue.b821101a.js";import"./PhKanban.vue.77dba5f0.js";import"./PhWebhooksLogo.vue.5c2f778d.js";import"./url.e1deb4be.js";import"./colorHelpers.9157d6f6.js";import"./polling.1749ef97.js";import"./asyncComputed.a247f7ca.js";import"./PhQuestion.vue.3a346b97.js";import"./ant-design.8fdc4d68.js";import"./index.aec3e236.js";import"./index.e2cb1a32.js";import"./index.b2aacda5.js";import"./CollapsePanel.71a94cf3.js";import"./index.d7b77d13.js";import"./index.60da4425.js";import"./Badge.2c8b258e.js";import"./PhArrowCounterClockwise.vue.19779e0d.js";import"./Workflow.22ce991c.js";import"./validations.516d8d78.js";import"./string.8a7fd0be.js";import"./uuid.4199ae32.js";import"./index.4808693e.js";import"./workspaces.0e59d76a.js";import"./record.51783f01.js";import"./index.7ece3040.js";import"./PhArrowDown.vue.5e0539c8.js";import"./LoadingOutlined.3ced2795.js";import"./DeleteOutlined.e1c008fd.js";import"./PhDownloadSimple.vue.38461f2a.js";import"./utils.9aa114bf.js";import"./LoadingContainer.235d23d4.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]="604668fd-3ff2-4f70-b9a1-3a5c78aba95f",t._sentryDebugIdIdentifier="sentry-dbid-604668fd-3ff2-4f70-b9a1-3a5c78aba95f")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const o=_().authHeaders,f=new k(o),i=new S(o),u=new V(o),c=new g(d.array(d.string()),"kanban-selected-stages"),a=v("kanban");return(B,b)=>(r(),h("div",W,[s(e(x),{activeKey:a.value,"onUpdate:activeKey":b[0]||(b[0]=y=>a.value=y)},{default:T(()=>[s(e(l),{key:"kanban",tab:"Kanban View"}),s(e(l),{key:"table",tab:"Table View"}),s(e(l),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),a.value==="kanban"?(r(),p(R,{key:0,"kanban-repository":e(i),"kanban-stages-storage":e(c),"stage-run-repository":e(u)},null,8,["kanban-repository","kanban-stages-storage","stage-run-repository"])):m("",!0),a.value==="table"?(r(),p(I,{key:1,"kanban-repository":e(i)},null,8,["kanban-repository"])):m("",!0),a.value==="workflow"?(r(),p(P,{key:2,"kanban-repository":e(i),"workflow-api":e(f)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d2894db4"]]);export{ge as default};
//# sourceMappingURL=Threads.42fc35e2.js.map
