import{_ as p}from"./TasksView.vue_vue_type_script_setup_true_lang.b9e0becd.js";import{L as c}from"./tasksController.436c3501.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.46377be8.js";import{C as g}from"./ContentLayout.54591057.js";import{a as T}from"./ant-design.c0d40dc3.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang.d08316c0.js";import"./PhCopy.vue.028740eb.js";import"./metadata.36983e80.js";import"./PhWebhooksLogo.vue.01c2bd28.js";import"./string.c8ef8ac4.js";import"./index.253f97ae.js";import"./dayjs.c7019b1d.js";import"./gateway.646e2031.js";import"./popupNotifcation.7b9f946e.js";import"./linters.7cec0f30.js";import"./asyncComputed.4c162cf6.js";import"./scripts.7cf7a9e8.js";import"./record.4c221458.js";import"./polling.3ea12407.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]="757308b6-5a88-457f-9b3c-6ff3995a01e9",e._sentryDebugIdIdentifier="sentry-dbid-757308b6-5a88-457f-9b3c-6ff3995a01e9")}catch{}})();const x=d({__name:"Tasks",setup(e){const a=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: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(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.af888f4f.js.map
