import{c as e,q as s,a6 as l,v as a,x as o,e as t,B as r,y as m,F as i,b0 as u,z as p,C as d,al as n,ab as _,U as j,a9 as c,N as v,ak as f}from"./base-lib.js?v=1761009159";import{h as b,j as x,k as V,l as y,m as C}from"./index25.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./utils-lib.js?v=1761009159";import"./useStore3.js?v=1761009159";import"./index103.js?v=1761009159";import"./useMethods.js?v=1761009159";import"./column.js?v=1761009159";import"./index106.js?v=1761009159";import"./validator.js?v=1761009159";import"./vue-virtual-scroller.esm.js?v=1761009159";import"./vue-virtual-scroller.js?v=1761009159";import"./form-item.js?v=1761009159";import"./useController4.js?v=1761009159";import"./useController5.js?v=1761009159";import"./site.js?v=1761009159";import"./useStore4.js?v=1761009159";import"./useController6.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./index.vue_vue_type_style_index_0_lang.js?v=1761009159";import"./add-host.vue_vue_type_script_setup_true_lang.js?v=1761009159";import"./useController2.js?v=1761009159";import"./index115.js?v=1761009159";import"./ace.js?v=1761009159";const k={class:"p-2rem"},h={class:"flex flex-col ml-2rem"},U=e({__name:"app-update",props:{compData:{default:""}},setup(e,{expose:U}){const g=e;return s(()=>b(g.compData)),l(()=>{x()}),U({onConfirm:V}),(e,s)=>{const l=f,b=n,x=_,V=j,U=c;return a(),o("div",k,[t(U,{model:m(y)},{default:r(()=>[t(x,{label:"可更新版本"},{default:r(()=>[t(b,{modelValue:m(y).version,"onUpdate:modelValue":s[0]||(s[0]=e=>m(y).version=e),filterable:"",class:"!w-[12rem]"},{default:r(()=>[(a(!0),o(i,null,u(m(C),e=>(a(),v(l,{key:e.version,label:e.version,value:e.version},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),p("div",h,[t(V,{modelValue:m(y).backup,"onUpdate:modelValue":s[1]||(s[1]=e=>m(y).backup=e),class:"my-1.6rem"},{default:r(()=>s[3]||(s[3]=[d("更新前备份应用数据",-1)])),_:1,__:[3]},8,["modelValue"]),t(V,{modelValue:m(y).pull,"onUpdate:modelValue":s[2]||(s[2]=e=>m(y).pull=e)},{default:r(()=>s[4]||(s[4]=[d("强制拉取镜像",-1)])),_:1,__:[4]},8,["modelValue"])])]),_:1},8,["model"])])}}});export{U as default};
