import{_ as p}from"./TasksView.vue_vue_type_script_setup_true_lang.4b61b733.js";import{L as d}from"./tasksController.5cf0c7c0.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.dac48cf7.js";import{C as g}from"./ContentLayout.076210fc.js";import{a as T}from"./ant-design.7bc3937c.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang.72597d4f.js";import"./PhCopy.vue.af35bf4d.js";import"./metadata.12393afb.js";import"./PhWebhooksLogo.vue.924aafd8.js";import"./string.9568178f.js";import"./index.e5a37860.js";import"./dayjs.91740d4f.js";import"./gateway.c2702d94.js";import"./popupNotifcation.82314e8e.js";import"./linters.7a08fd6c.js";import"./asyncComputed.b070652a.js";import"./scripts.250f0db0.js";import"./record.fdd703f6.js";import"./polling.5a0f0c2a.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]="63ce01ca-a7a5-4aac-be35-79533de4c9c0",e._sentryDebugIdIdentifier="sentry-dbid-63ce01ca-a7a5-4aac-be35-79533de4c9c0")}catch{}})();const x=f({__name:"Tasks",setup(e){const a=new d,r=u(null);async function c(){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(l,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:c},{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 G=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{G as default};
//# sourceMappingURL=Tasks.b5fc0c1e.js.map
