import{P as k}from"./api.bbc4c8cb.js";import{b as _}from"./workspaceStore.5977d9e8.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.324eaed2.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.2e20a43a.js";import{A as c,T as x}from"./TabPane.caed57de.js";import"./Card.1902bdb7.js";import"./fetch.42a41b34.js";import"./metadata.4c5c5434.js";import"./PhBug.vue.ac4a72e0.js";import"./PhCheckCircle.vue.b905d38f.js";import"./PhKanban.vue.e9ec854d.js";import"./PhWebhooksLogo.vue.96003388.js";import"./url.1a1c4e74.js";import"./colorHelpers.78fae216.js";import"./polling.72e5a2f8.js";import"./asyncComputed.3916dfed.js";import"./PhQuestion.vue.6a6a9376.js";import"./ant-design.48401d91.js";import"./index.7d758831.js";import"./index.520f8c66.js";import"./index.582a893b.js";import"./CollapsePanel.ce95f921.js";import"./index.341662d4.js";import"./index.fe1d28be.js";import"./Badge.9808092c.js";import"./PhArrowCounterClockwise.vue.1fa0c440.js";import"./Workflow.d9c6a369.js";import"./validations.339bcb94.js";import"./string.d698465c.js";import"./uuid.a06fb10a.js";import"./index.40f13cf1.js";import"./workspaces.a34621fe.js";import"./record.cff1707c.js";import"./index.e3c8c96c.js";import"./PhArrowDown.vue.8953407d.js";import"./LoadingOutlined.09a06334.js";import"./DeleteOutlined.618a8e2f.js";import"./PhDownloadSimple.vue.7ab7df2c.js";import"./utils.6b974807.js";import"./LoadingContainer.57756ccb.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]="7df82319-46e3-44e8-bac0-347ce430a241",t._sentryDebugIdIdentifier="sentry-dbid-7df82319-46e3-44e8-bac0-347ce430a241")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,b=new k(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]=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(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(b)},null,8,["kanban-repository","workflow-api"])):m("",!0)]))}});const ge=K(A,[["__scopeId","data-v-d6c18c3e"]]);export{ge as default};
//# sourceMappingURL=Threads.de26e74b.js.map
