import{_ as p}from"./TasksView.vue_vue_type_script_setup_true_lang.6e5a18ac.js";import{L as d}from"./tasksController.602aa46c.js";import{d as f,f as u,o as _,c as m,w as a,b as s,u as o,d6 as y,az as i,bM as k,da as b,Q as w}from"./index.f15cb536.js";import{C as g}from"./ContentLayout.98f91ccb.js";import{a as T}from"./ant-design.1677616b.js";import"./metadata.eb597bf1.js";import"./PhWebhooksLogo.vue.64dadcf0.js";import"./string.be4a54d7.js";import"./dayjs.1c2016d1.js";import"./index.c9844082.js";import"./gateway.ee243f16.js";import"./popupNotifcation.8270aa41.js";import"./linters.4d879006.js";import"./asyncComputed.3313bf29.js";import"./scripts.82764dc5.js";import"./record.88d9d564.js";import"./polling.5310e9a2.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]="286c7022-e7c4-47c3-9794-ce07cc5171fd",e._sentryDebugIdIdentifier="sentry-dbid-286c7022-e7c4-47c3-9794-ce07cc5171fd")}catch{}})();const x=f({__name:"Tasks",setup(e){const t=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: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:c},{default:a(()=>[i("Clear all")]),_:1})]),_:1}),s(p,{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.3232d1af.js.map
