Files
Nexus/web/app/assets/VDialog-nLwlI-ms.js
T
Nexus Deploy 4ba45abf38 feat(servers): 凭据轮询登录与连接失败列表
- 密码/SSH密钥预设增加用户名;快速添加(IP)轮询全部预设尝试 SSH 登录
- 成功入 servers 列表;失败写入 pending_servers 并支持重试/删除
- 新增 credential_poller、try_ssh_login 与 add-by-ip/pending API
2026-06-06 20:08:48 +08:00

1 line
1.5 KiB
JavaScript

import{$t as e,Ar as t,At as n,Rn as r,Tt as i,ar as a,b as o,cn as s,fn as c,lr as l,nn as u,ur as d,v as f,x as p,xr as m,y as h}from"./index-o0-2k-vI.js";var g=c({fullscreen:Boolean,scrollable:Boolean,...r(o({captureFocus:!0,origin:`center center`,scrollStrategy:`block`,transition:{component:n},zIndex:2400,retainFocus:!0}),[`disableInitialFocus`])},`VDialog`),_=s()({name:`VDialog`,props:g(),emits:{"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(n,{emit:r,slots:o}){let s=e(n,`modelValue`),{scopeId:c}=p(),g=t();function _(){r(`afterEnter`),(n.scrim||n.retainFocus)&&g.value?.contentEl&&!g.value.contentEl.contains(document.activeElement)&&g.value.contentEl.focus({preventScroll:!0})}function v(){r(`afterLeave`)}return m(s,async e=>{e||(await d(),g.value.activatorEl?.focus({preventScroll:!0}))}),u(()=>{let e=h.filterProps(n),t=l({"aria-haspopup":`dialog`},n.activatorProps),r=l({tabindex:-1},n.contentProps);return a(h,l({ref:g,class:[`v-dialog`,{"v-dialog--fullscreen":n.fullscreen,"v-dialog--scrollable":n.scrollable},n.class],style:n.style},e,{modelValue:s.value,"onUpdate:modelValue":e=>s.value=e,"aria-modal":`true`,activatorProps:t,contentProps:r,height:n.fullscreen?void 0:n.height,width:n.fullscreen?void 0:n.width,maxHeight:n.fullscreen?void 0:n.maxHeight,maxWidth:n.fullscreen?void 0:n.maxWidth,role:`dialog`,onAfterEnter:_,onAfterLeave:v},c),{activator:o.activator,default:(...e)=>a(i,{root:`VDialog`},{default:()=>[o.default?.(...e)]})})}),f({},g)}});export{_ as t};