import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{o as s}from"./index59.js?v=1763625242172";import{k as t,P as a,e as p,R as i,S as l,X as u,a3 as _,U as r,V as o,N as n}from"./vue.js?v=1763625242172";import{dV as c,dP as m}from"./naive.js?v=1763625242172";import"./index107.js?v=1763625242172";import"./page_layout.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./public.js?v=1763625242172";import"./index.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang2.js?v=1763625242172";import"./index98.js?v=1763625242172";import"./config3.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang5.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang8.js?v=1763625242172";const v={class:"p-20px"},S={class:"w-200px"},d={class:"w-200px"},y=t({__name:"open",emits:["refresh"],setup(t,{expose:y,emit:j}){const x=j,{t:b}=a(),f=p({ssh:"yes",type:"ed25519"}),H=[{label:b("Security.SSH.Basic.SSHKey.open_3"),value:"yes"},{label:b("Security.SSH.Basic.SSHKey.open_4"),value:"no"}],g=[{label:b("Security.SSH.Basic.SSHKey.open_5"),value:"ed25519"},{label:"ECDSA",value:"ecdsa"},{label:"RSA",value:"rsa"},{label:"DSA",value:"dsa"}];return y({onConfirm:async()=>{await s(n(f)),x("refresh")}}),(s,t)=>{const a=c,p=m,n=e;return i(),l("div",v,[u(n,{"label-width":"150"},{default:_((()=>[u(p,{label:s.$t("Security.SSH.Basic.SSHKey.open_1")},{default:_((()=>[r("div",S,[u(a,{value:o(f).ssh,"onUpdate:value":t[0]||(t[0]=e=>o(f).ssh=e),options:H},null,8,["value"])])])),_:1},8,["label"]),u(p,{label:s.$t("Security.SSH.Basic.SSHKey.open_2"),"show-feedback":!1},{default:_((()=>[r("div",d,[u(a,{value:o(f).type,"onUpdate:value":t[1]||(t[1]=e=>o(f).type=e),options:g},null,8,["value"])])])),_:1},8,["label"])])),_:1})])}}});export{y as default};
