import{_ as c}from"./TasksView.vue_vue_type_script_setup_true_lang.55aea088.js";import{L as f}from"./tasksController.62d84b3f.js";import{d as p,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.79dc3613.js";import{C as g}from"./ContentLayout.3ecf07ec.js";import{a as T}from"./ant-design.ac026d59.js";import"./metadata.f9b15aa3.js";import"./PhWebhooksLogo.vue.3b2d5a30.js";import"./string.5e94f9fd.js";import"./dayjs.f10fe365.js";import"./index.989018db.js";import"./gateway.2413dea4.js";import"./popupNotifcation.31410171.js";import"./linters.a2a3c525.js";import"./asyncComputed.3aa6bfc4.js";import"./scripts.d3d21022.js";import"./record.fadf5b09.js";import"./polling.29f699a6.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="c955a2aa-f66d-496b-ba68-9e5d422c18fd",a._sentryDebugIdIdentifier="sentry-dbid-c955a2aa-f66d-496b-ba68-9e5d422c18fd")}catch{}})();const x=p({__name:"Tasks",setup(a){const e=new f,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(d,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(c,{ref_key:"tasksTableView",ref:r,class:"tasks",api:o(e),stages:null,editor:""},null,8,["api"])]),_:1}))}});const $=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{$ as default};
//# sourceMappingURL=Tasks.bf3e2a68.js.map
