import{_ as f}from"./TasksView.vue_vue_type_script_setup_true_lang.da22cff7.js";import{L as p}from"./tasksController.4f66a62b.js";import{d,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 b,da as k,Q as w}from"./index.0aa22eb1.js";import{C as g}from"./ContentLayout.9a1f0653.js";import{a as T}from"./ant-design.77b8866f.js";import"./metadata.5b7cd725.js";import"./PhWebhooksLogo.vue.8a33b13c.js";import"./string.4db7b5b7.js";import"./index.76fbee64.js";import"./dayjs.4d8e9a62.js";import"./gateway.2c1f8fd2.js";import"./popupNotifcation.f330a36a.js";import"./linters.1e5b4714.js";import"./asyncComputed.aa8ef1b1.js";import"./scripts.4c2d3e83.js";import"./record.f313467e.js";import"./polling.42fbca45.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]="18683e67-4072-405e-823b-f88a016fbc94",e._sentryDebugIdIdentifier="sentry-dbid-18683e67-4072-405e-823b-f88a016fbc94")}catch{}})();const x=d({__name:"Tasks",setup(e){const a=new p,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(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(f,{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.8e029f10.js.map
