import{_ as c}from"./TasksView.vue_vue_type_script_setup_true_lang.01b1f3f8.js";import{L as p}from"./tasksController.80608168.js";import{d,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 k,da as b,Q as w}from"./index.aa57db48.js";import{C as g}from"./ContentLayout.00d6b647.js";import{a as T}from"./ant-design.f23ad952.js";import"./metadata.bdd70157.js";import"./PhWebhooksLogo.vue.7d3bf500.js";import"./string.00b6f92a.js";import"./dayjs.a04adb3e.js";import"./index.3ffdc4f9.js";import"./gateway.14522397.js";import"./popupNotifcation.985494ff.js";import"./linters.a8a6640d.js";import"./asyncComputed.fcda3bbf.js";import"./scripts.2786670d.js";import"./record.a1c7fc6a.js";import"./polling.3fa763eb.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]="66856ef2-f543-4298-b7ed-4ff1c400f817",e._sentryDebugIdIdentifier="sentry-dbid-66856ef2-f543-4298-b7ed-4ff1c400f817")}catch{}})();const x=d({__name:"Tasks",setup(e){const t=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(f,n)=>(m(),_(g,null,{default:a(()=>[s(o(b),{justify:"space-between",align:"center"},{default:a(()=>[s(o(y),null,{default:a(()=>[i("Tasks")]),_:1}),s(o(k),{type:"link",style:{"margin-top":"10px"},onClick:l},{default:a(()=>[i("Clear all")]),_:1})]),_:1}),s(c,{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.b162c106.js.map
