import{P as f}from"./api.cb199801.js";import{b as _}from"./workspaceStore.5911dabd.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.2dfeb709.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.420a6405.js";import{A as b,T as x}from"./TabPane.890f9226.js";import"./Card.c7f7e195.js";import"./fetch.caf60c74.js";import"./metadata.55d408d1.js";import"./PhBug.vue.6ea7a039.js";import"./PhCheckCircle.vue.261dd653.js";import"./PhKanban.vue.5fe284b4.js";import"./PhWebhooksLogo.vue.ffe295f3.js";import"./url.052bc6c8.js";import"./colorHelpers.8745f3a5.js";import"./polling.0b24d8d4.js";import"./asyncComputed.d236b901.js";import"./PhQuestion.vue.6189ba14.js";import"./ant-design.7ab15150.js";import"./index.5e221b09.js";import"./index.3b4b9744.js";import"./index.48d52699.js";import"./CollapsePanel.5d019074.js";import"./index.b8851152.js";import"./index.4bdde619.js";import"./Badge.4e64bc72.js";import"./PhArrowCounterClockwise.vue.5495f2d2.js";import"./Workflow.2ed91888.js";import"./validations.afe0f519.js";import"./string.92e45c6b.js";import"./uuid.45a970ea.js";import"./index.b2473d3c.js";import"./workspaces.2e306847.js";import"./record.a5650be1.js";import"./index.d6f2e774.js";import"./PhArrowDown.vue.414bc668.js";import"./LoadingOutlined.0f2bc7c7.js";import"./DeleteOutlined.3f1260ed.js";import"./PhDownloadSimple.vue.1b1dd5f7.js";import"./utils.20520a76.js";import"./LoadingContainer.7992bcc4.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]="38608314-72b7-415a-ab58-063d6eeb1b5d",t._sentryDebugIdIdentifier="sentry-dbid-38608314-72b7-415a-ab58-063d6eeb1b5d")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,c=new f(a),i=new S(a),u=new V(a),y=new g(d.array(d.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]=k=>o.value=k)},{default:T(()=>[s(e(b),{key:"kanban",tab:"Kanban View"}),s(e(b),{key:"table",tab:"Table View"}),s(e(b),{key:"workflow",tab:"Workflow View"})]),_:1},8,["activeKey"]),o.value==="kanban"?(r(),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"?(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(c)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d6c18c3e"]]);export{ge as default};
//# sourceMappingURL=Threads.0d002c0b.js.map
