import{_ as c}from"./TasksView.vue_vue_type_script_setup_true_lang.43dd2ada.js";import{L as d}from"./tasksController.2c305dde.js";import{d as f,e as u,o as _,c as m,w as t,b as s,u as o,dd as y,aG as i,bT as k,dh as b,a0 as w}from"./index.a95f3dfe.js";import{C as T}from"./ContentLayout.31b35780.js";import{a as g}from"./ant-design.3e9e4740.js";import"./metadata.d217de12.js";import"./PhRobot.vue.1a24ea75.js";import"./PhWebhooksLogo.vue.3b3d46e9.js";import"./string.9fd91434.js";import"./dayjs.dc36af77.js";import"./index.90c73e9a.js";import"./gateway.f96afce5.js";import"./popupNotifcation.98fdb9df.js";import"./linters.89f3e048.js";import"./asyncComputed.cb5b1d6d.js";import"./scripts.3fece2c3.js";import"./record.1896cfd9.js";import"./polling.bce112d9.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]="a8a8094d-7c25-403e-a439-37f8b8ea8a67",e._sentryDebugIdIdentifier="sentry-dbid-a8a8094d-7c25-403e-a439-37f8b8ea8a67")}catch{}})();const x=f({__name:"Tasks",setup(e){const a=new d,r=u(null);async function l(){var n;await g("Are you sure you want to clear all tasks and their associated payloads?")&&await((n=r.value)==null?void 0:n.clearAllTasks())}return(p,n)=>(_(),m(T,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(c,{ref_key:"tasksTableView",ref:r,class:"tasks",api:o(a),stages:null,editor:""},null,8,["api"])]),_:1}))}});const H=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{H as default};
//# sourceMappingURL=Tasks.11be5c1a.js.map
