import{_ as p}from"./TasksView.vue_vue_type_script_setup_true_lang.573b3701.js";import{L as d}from"./tasksController.7f537028.js";import{d as f,f as u,c as _,w as t,o as m,b as s,u as o,d6 as y,az as i,bM as k,da as b,Q as w}from"./index.6b1213c6.js";import{C as g}from"./ContentLayout.24733df3.js";import{a as T}from"./ant-design.d006a6d7.js";import"./metadata.bd4debbe.js";import"./PhWebhooksLogo.vue.496527e8.js";import"./string.8a712bbd.js";import"./index.1783fa94.js";import"./dayjs.80cee39e.js";import"./gateway.d1bcadc7.js";import"./popupNotifcation.97dc9547.js";import"./linters.caf56568.js";import"./asyncComputed.fe6ca61b.js";import"./scripts.7f0663fc.js";import"./record.9f32285a.js";import"./polling.32ed3bad.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]="a3caa190-c699-453e-8051-d61958468614",e._sentryDebugIdIdentifier="sentry-dbid-a3caa190-c699-453e-8051-d61958468614")}catch{}})();const x=f({__name:"Tasks",setup(e){const a=new d,r=u(null);async function l(){var n;await T("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(),_(g,null,{default:t(()=>[s(o(b),{justify:"space-between",align:"center"},{default:t(()=>[s(o(y),null,{default:t(()=>[i("Tasks")]),_:1}),s(o(k),{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 $=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{$ as default};
//# sourceMappingURL=Tasks.dd27fe19.js.map
