0b2d7ac50d
脚本 exec 立即返回 running 并在后台跑批次;/ws/alerts 推送 script_progress/complete; 新增 ScriptRunsPage、Telegram 汇总通知与可配置的浏览器完成提示音。 Co-authored-by: Cursor <cursoragent@cursor.com>
1 line
1.5 KiB
JavaScript
1 line
1.5 KiB
JavaScript
import{Ar as e,Gn as t,S as n,X as r,_r as i,b as a,fr as o,ft as s,hn as c,sn as l,un as u,vr as d,x as f,y as p,yn as m,zr as h}from"./index-DXg_pn7T.js";var g=m({fullscreen:Boolean,scrollable:Boolean,...t(f({captureFocus:!0,origin:`center center`,scrollStrategy:`block`,transition:{component:r},zIndex:2400,retainFocus:!0}),[`disableInitialFocus`])},`VDialog`),_=c()({name:`VDialog`,props:g(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(t,{emit:r,slots:c}){let f=l(t,`modelValue`),{scopeId:m}=n(),g=h();function _(){r(`afterEnter`),(t.scrim||t.retainFocus)&&g.value?.contentEl&&!g.value.contentEl.contains(document.activeElement)&&g.value.contentEl.focus({preventScroll:!0})}function v(){r(`afterLeave`)}return e(f,async e=>{e||(await d(),g.value.activatorEl?.focus({preventScroll:!0}))}),u(()=>{let e=a.filterProps(t),n=i({"aria-haspopup":`dialog`},t.activatorProps),r=i({tabindex:-1},t.contentProps);return o(a,i({ref:g,class:[`v-dialog`,{"v-dialog--fullscreen":t.fullscreen,"v-dialog--scrollable":t.scrollable},t.class],style:t.style},e,{modelValue:f.value,"onUpdate:modelValue":e=>f.value=e,"aria-modal":`true`,activatorProps:n,contentProps:r,height:t.fullscreen?void 0:t.height,width:t.fullscreen?void 0:t.width,maxHeight:t.fullscreen?void 0:t.maxHeight,maxWidth:t.fullscreen?void 0:t.maxWidth,role:`dialog`,onAfterEnter:_,onAfterLeave:v},m),{activator:c.activator,default:(...e)=>o(s,{root:`VDialog`},{default:()=>[c.default?.(...e)]})})}),p({},g)}});export{_ as t}; |