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{zi as d}from"./icons-vendor-Buq6V-Ga.js";import{l as f}from"./index-y6crcKNt.js";import{t as p}from"./AdminSettingLayout-sq3DpZ_W.js";import{t as m}from"./admin-form-header-CR7U45Y1.js";import{t as h}from"./route-block-O8f67cnX.js";import{t as g}from"./LicenseManagementSection-DwVSDvod.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};