import{_ as d}from"./TasksView.vue_vue_type_script_setup_true_lang.4e3c05b0.js";import{L as c}from"./tasksController.f0590bf6.js";import{d as p,f as u,c as _,w as a,o as m,b as s,u as o,d6 as y,az as i,bM as b,da as k,Q as w}from"./index.1da01ec4.js";import{C as g}from"./ContentLayout.e23300ef.js";import{a as T}from"./ant-design.a88e12c2.js";import"./metadata.20f47b4e.js";import"./PhWebhooksLogo.vue.4fa518ce.js";import"./string.4dfa525a.js";import"./index.42427298.js";import"./dayjs.233f6847.js";import"./gateway.bca3ba41.js";import"./popupNotifcation.231228f5.js";import"./linters.6876b842.js";import"./asyncComputed.1e3f7518.js";import"./scripts.82b43492.js";import"./record.40f9594e.js";import"./polling.8b92e226.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2e691d75-1c55-4ff3-8b8f-75d6e3b52b37",e._sentryDebugIdIdentifier="sentry-dbid-2e691d75-1c55-4ff3-8b8f-75d6e3b52b37")}catch{}})();const x=p({__name:"Tasks",setup(e){const t=new c,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(f,n)=>(m(),_(g,null,{default:a(()=>[s(o(k),{justify:"space-between",align:"center"},{default:a(()=>[s(o(y),null,{default:a(()=>[i("Tasks")]),_:1}),s(o(b),{type:"link",style:{"margin-top":"10px"},onClick:l},{default:a(()=>[i("Clear all")]),_:1})]),_:1}),s(d,{ref_key:"tasksTableView",ref:r,class:"tasks",api:o(t),stages:null,editor:""},null,8,["api"])]),_:1}))}});const $=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{$ as default};
//# sourceMappingURL=Tasks.d3456831.js.map
