import"./rolldown-runtime-BM3Ffeng.js";import{D as e,ot as t}from"./element-plus-vendor-BF9PNysW.js";import{A as n,D as r,E as i,N as a,P as o,Pt as s,Tt as c,et as l,ht as u}from"./vue-vendor-DMUmTARL.js";import{Ci as d}from"./icons-vendor-Db5MGAkr.js";import{l as f}from"./index-kSn5YXd0.js";import{t as p}from"./AdminSettingLayout-CzCwKa9p.js";import{t as m}from"./admin-form-header-DFAG_myc.js";import{t as h}from"./route-block-D7Rwj2No.js";import{t as g}from"./LicenseManagementSection-CxuXdH5C.js";var _={class:`flex h-full flex-col`},v={__name:`index`,setup(h){let v=f(),y=c(),b=i(()=>y.value?.saveLoading??!1),x=()=>y.value?.save();return(i,c)=>{let f=m,h=g,S=t,C=p,w=e;return l(),n(`div`,_,[o(w,{"label-width":s(v).adminForm.labelWidth,"label-position":s(v).adminForm.labelPosition,size:s(v).adminForm.size,class:`flex min-h-0 flex-1 flex-col`},{default:u(()=>[o(C,null,{footer:u(()=>[c[1]||=r(`div`,{class:`text-xs text-placeholder`},null,-1),o(S,{type:`primary`,icon:s(d),loading:s(b),size:`large`,class:`!h-10 !rounded-lg !px-8 !text-sm`,onClick:x},{default:u(()=>[...c[0]||=[a(` 保存更改 `,-1)]]),_:1},8,[`icon`,`loading`])]),floatButton:u(()=>[o(S,{type:`primary`,icon:s(d),loading:s(b),size:`large`,class:`!rounded-full !px-5 shadow-lg`,onClick:x},{default:u(()=>[...c[2]||=[a(` 保存 `,-1)]]),_:1},8,[`icon`,`loading`])]),default:u(()=>[o(f,{title:`授权管理`}),o(h,{ref_key:`licenseSectionRef`,ref:y},null,512)]),_:1})]),_:1},8,[`label-width`,`label-position`,`size`])])}}};typeof h==`function`&&h(v);export{v as default};