import{P as k}from"./api.1547b751.js";import{b as _}from"./workspaceStore.f4d19cfe.js";import{d as w,L as g,N as d,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.4a8a3251.js";import{K as R,_ as I,W as P,P as S,b as V}from"./WorkflowView.f99e766b.js";import{A as b,T as x}from"./TabPane.ee7acb8e.js";import"./Card.d67133ee.js";import"./fetch.e4975e56.js";import"./metadata.994c936d.js";import"./PhBug.vue.debd6455.js";import"./PhCheckCircle.vue.3bed3d29.js";import"./PhKanban.vue.bf8b3fbf.js";import"./PhWebhooksLogo.vue.f675b53a.js";import"./url.11181b9e.js";import"./colorHelpers.e2d21695.js";import"./polling.ddacc9b5.js";import"./asyncComputed.0c2e75f9.js";import"./PhQuestion.vue.93e17fbd.js";import"./ant-design.d4f59efc.js";import"./index.81074c92.js";import"./index.43b62618.js";import"./index.1645512d.js";import"./CollapsePanel.7f2c0b75.js";import"./index.0758282c.js";import"./index.faaeeb1f.js";import"./isNumeric.75337b1e.js";import"./PhArrowCounterClockwise.vue.158c1e87.js";import"./Workflow.b7c4779b.js";import"./PhArrowClockwise.vue.0df57c6b.js";import"./validations.f80d81a8.js";import"./string.26e1c29c.js";import"./uuid.20d754c5.js";import"./index.3ea17326.js";import"./workspaces.13ea49e9.js";import"./record.2a0e778d.js";import"./index.674d7a85.js";import"./Badge.cb1b126b.js";import"./LoadingOutlined.3e1619de.js";import"./DeleteOutlined.63c7dfd7.js";import"./PhDownloadSimple.vue.fce61af7.js";import"./utils.a2a77b32.js";import"./LoadingContainer.e992fd67.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]="af847eb1-7831-4ec2-9ab8-25f7bfdf0c0b",t._sentryDebugIdIdentifier="sentry-dbid-af847eb1-7831-4ec2-9ab8-25f7bfdf0c0b")}catch{}})();const W={class:"threads-view"},A=w({__name:"Threads",setup(t){const a=_().authHeaders,c=new k(a),i=new S(a),f=new V(a),u=new g(d.array(d.string()),"kanban-selected-stages"),o=v("kanban");return(B,l)=>(s(),h("div",W,[r(e(x),{activeKey:o.value,"onUpdate:activeKey":l[0]||(l[0]=y=>o.value=y)},{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(u),"stage-run-repository":e(f)},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 ve=K(A,[["__scopeId","data-v-d2894db4"]]);export{ve as default};
//# sourceMappingURL=Threads.8372ea21.js.map
