import{_ as p}from"./TasksView.vue_vue_type_script_setup_true_lang.eda5aff4.js";import{L as d}from"./tasksController.80a5b00b.js";import{d as f,e as u,o as _,c as m,w as t,b as s,u as o,dd as y,aG as i,bT as b,dh as k,a0 as w}from"./index.3c5f59e1.js";import{C as T}from"./ContentLayout.0c97ae79.js";import{a as g}from"./ant-design.35124314.js";import"./metadata.b618e30d.js";import"./PhRobot.vue.78793be0.js";import"./PhWebhooksLogo.vue.f88fca5f.js";import"./string.9f0382b6.js";import"./dayjs.ebf12c86.js";import"./index.b7ffbcab.js";import"./gateway.b673f2c4.js";import"./popupNotifcation.a1adeea8.js";import"./linters.974424b0.js";import"./asyncComputed.d69215c4.js";import"./scripts.6d47bcc9.js";import"./record.55956e40.js";import"./polling.539b88d3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ca9110f7-3b3a-41b4-87b2-de99c5164c06",e._sentryDebugIdIdentifier="sentry-dbid-ca9110f7-3b3a-41b4-87b2-de99c5164c06")}catch{}})();const x=f({__name:"Tasks",setup(e){const a=new d,r=u(null);async function l(){var n;await g("Are you sure you want to clear all tasks and their associated payloads?")&&await((n=r.value)==null?void 0:n.clearAllTasks())}return(c,n)=>(_(),m(T,null,{default:t(()=>[s(o(k),{justify:"space-between",align:"center"},{default:t(()=>[s(o(y),null,{default:t(()=>[i("Tasks")]),_:1}),s(o(b),{type:"link",style:{"margin-top":"10px"},onClick:l},{default:t(()=>[i("Clear all")]),_:1})]),_:1}),s(p,{ref_key:"tasksTableView",ref:r,class:"tasks",api:o(a),stages:null,editor:""},null,8,["api"])]),_:1}))}});const H=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{H as default};
//# sourceMappingURL=Tasks.ddaf3969.js.map
