import{_ as d}from"./TasksView.vue_vue_type_script_setup_true_lang.ede0b6bf.js";import{L as f}from"./tasksController.9d537405.js";import{d as p,e as u,o as _,c as m,w as a,b as s,u as o,dd as y,aG as i,bT as k,dh as b,a0 as w}from"./index.5572dd7e.js";import{C as T}from"./ContentLayout.02f12831.js";import{a as g}from"./ant-design.0882cf6b.js";import"./metadata.630b4d92.js";import"./PhRobot.vue.b6d33908.js";import"./PhWebhooksLogo.vue.7feade71.js";import"./string.21e44731.js";import"./dayjs.a8863b4f.js";import"./index.edf0c178.js";import"./gateway.eaf0365c.js";import"./popupNotifcation.0dd61396.js";import"./linters.5d4f4193.js";import"./asyncComputed.ec375dc7.js";import"./scripts.d04c162f.js";import"./record.b39e4f7d.js";import"./polling.2c36bf65.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]="97c8dc45-045f-43c5-830e-ffe22091032d",e._sentryDebugIdIdentifier="sentry-dbid-97c8dc45-045f-43c5-830e-ffe22091032d")}catch{}})();const x=p({__name:"Tasks",setup(e){const t=new f,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(c,n)=>(_(),m(T,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:l},{default:a(()=>[i("Clear all")]),_:1})]),_:1}),s(d,{ref_key:"tasksTableView",ref:r,class:"tasks",api:o(t),stages:null,editor:""},null,8,["api"])]),_:1}))}});const H=w(x,[["__scopeId","data-v-4b92e2a9"]]);export{H as default};
//# sourceMappingURL=Tasks.0ff13995.js.map
