import{P as k}from"./api.8a32f879.js";import{b as _}from"./workspaceStore.004e654c.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.7c54f186.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.8625b6d1.js";import{A as b,T as x}from"./TabPane.821a14ec.js";import"./Card.eec7aa2d.js";import"./fetch.8c74c8ce.js";import"./metadata.99b98ca2.js";import"./PhBug.vue.ee46ed66.js";import"./PhCheckCircle.vue.88697476.js";import"./PhKanban.vue.228527b9.js";import"./PhWebhooksLogo.vue.ab77448f.js";import"./url.d360a955.js";import"./colorHelpers.cbcfc360.js";import"./polling.1c8133da.js";import"./asyncComputed.7bba19c4.js";import"./PhQuestion.vue.45ee0f95.js";import"./ant-design.bd1e0c93.js";import"./index.24ee95d7.js";import"./index.2ae1f501.js";import"./index.718ac231.js";import"./CollapsePanel.396fb271.js";import"./index.b630588a.js";import"./index.d0ec8823.js";import"./Badge.65b9586f.js";import"./PhArrowCounterClockwise.vue.9357a9d2.js";import"./Workflow.2787dce6.js";import"./validations.c32ae22b.js";import"./string.8ee1f1e3.js";import"./uuid.07d73946.js";import"./index.ccfdcd18.js";import"./workspaces.aa791934.js";import"./record.a7963f98.js";import"./index.3e8ac508.js";import"./PhArrowDown.vue.04e1f7b5.js";import"./LoadingOutlined.546bbab5.js";import"./DeleteOutlined.c89eb564.js";import"./PhDownloadSimple.vue.de5cea07.js";import"./utils.37c19f71.js";import"./LoadingContainer.59c99c58.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]="5cbbca32-ee02-4199-bda3-df56fbd82894",t._sentryDebugIdIdentifier="sentry-dbid-5cbbca32-ee02-4199-bda3-df56fbd82894")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,c=new k(a),i=new S(a),u=new V(a),y=new g(l.array(l.string()),"kanban-selected-stages"),o=v("kanban");return(B,d)=>(s(),h("div",W,[r(e(x),{activeKey:o.value,"onUpdate:activeKey":d[0]||(d[0]=f=>o.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"]),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(c)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d2894db4"]]);export{ge as default};
//# sourceMappingURL=Threads.e3ce2ee2.js.map
