import{_ as p}from"./TasksView.vue_vue_type_script_setup_true_lang.4d6b29c3.js";import{L as d}from"./tasksController.e6b182b0.js";import{d as f,f as u,o as _,c as m,w as t,b as s,u as o,d6 as y,az as i,bM as k,da as b,Q as w}from"./index.56a4aa2e.js";import{C as g}from"./ContentLayout.16882285.js";import{a as T}from"./ant-design.495703a7.js";import"./metadata.ed52026a.js";import"./PhWebhooksLogo.vue.f3a45ccc.js";import"./string.c8a67ded.js";import"./dayjs.ba1a5461.js";import"./index.036fb779.js";import"./gateway.03a16684.js";import"./popupNotifcation.2b90a8f1.js";import"./linters.bbf68979.js";import"./asyncComputed.9c066391.js";import"./scripts.cb0f8348.js";import"./record.1426f0e6.js";import"./polling.c6b67ee3.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]="e4b46129-4ac4-4182-89e1-7e59da483c87",e._sentryDebugIdIdentifier="sentry-dbid-e4b46129-4ac4-4182-89e1-7e59da483c87")}catch{}})();const x=f({__name:"Tasks",setup(e){const a=new d,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(c,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: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 $=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{$ as default};
//# sourceMappingURL=Tasks.7c14a5a3.js.map
