var h=(t,p,l)=>new Promise((r,c)=>{var e=a=>{try{o(l.next(a))}catch(_){c(_)}},n=a=>{try{o(l.throw(a))}catch(_){c(_)}},o=a=>a.done?r(a.value):Promise.resolve(a.value).then(e,n);o((l=l.apply(t,p)).next())});import{d as F,W as R,g as $,A as d,a4 as L,_ as b,y,o as I,c as M,w as g,a as m,X as i,t as C,e as k,b as P,P as N,__tla as A}from"./index-b5895273.js";import{B as U,a as q,__tla as D}from"./index-5eb30ce0.js";import{B as G,u as S,__tla as V}from"./index-016fd85f.js";import{u as W,__tla as X}from"./lock-4ece2fa6.js";import{h as j}from"./header-8cab3afa.js";import{__tla as z}from"./useWindowSizeFn-a59bee15.js";import{__tla as E}from"./FullscreenOutlined-012b5e27.js";import{__tla as H}from"./index-2a8c0b19.js";import{__tla as J}from"./index-f35bbafa.js";import{__tla as K}from"./index-7fb58e79.js";import{__tla as O}from"./index-7914b44e.js";import{__tla as Q}from"./index-bbe22d68.js";import{__tla as T}from"./min-03eb9ce8.js";import{__tla as Y}from"./sum-f551e4a9.js";import{__tla as Z}from"./useScript-ab5d4580.js";import{__tla as tt}from"./index-83eefeb2.js";import{__tla as rt}from"./download-801edd56.js";import"./base64Conver-39fc0d26.js";import{__tla as at}from"./index-339f95d8.js";import{__tla as _t}from"./useCountdown-fd9786ef.js";import{__tla as lt}from"./index-67f9e311.js";import{__tla as ot}from"./Tree-6c35f2c0.js";import{__tla as st}from"./useContextMenu-c4ffe073.js";import{__tla as ct}from"./difference-9954c5db.js";import{__tla as et}from"./Index-281ee613.js";import{__tla as mt}from"./UserCard-5a5e66ad.js";import{__tla as it}from"./index-3862eebd.js";import{__tla as nt}from"./Upload-bceb0d3c.js";import{__tla as pt}from"./index-c53afdf5.js";import{__tla as ft}from"./upload-887cb82a.js";import"./base64-912b9db4.js";import{__tla as ut}from"./formPermission-5236f629.js";import"./workflowEnum-a2efed5c.js";import{__tla as ht}from"./designHelper-fedad396.js";import{__tla as yt}from"./index-1c9ab88b.js";import{__tla as dt}from"./design-f3e25317.js";import{__tla as gt}from"./set-b89b8dc5.js";import{__tla as Ct}from"./_isIterateeCall-61185d8a.js";import{__tla as kt}from"./uniqBy-b68717e0.js";import{__tla as wt}from"./index-2c5e4dd6.js";import{__tla as xt}from"./index-9f9c48fd.js";import{__tla as vt}from"./index-dc94981a.js";import{__tla as Bt}from"./onMountedOrActivated-6125a24a.js";import{__tla as Ft}from"./index-3705f1a8.js";import{__tla as Rt}from"./useContentViewHeight-cd147d02.js";import"./sortable.esm-de7debe0.js";import{__tla as $t}from"./RedoOutlined-105a0bcb.js";import{__tla as Lt}from"./index-9d2b78f3.js";import{__tla as bt}from"./index-49a1c061.js";import{__tla as It}from"./index-76a8e61b.js";import{__tla as Mt}from"./index-8ae648d6.js";import{__tla as Pt}from"./index-bd1f1fae.js";let w,Nt=Promise.all([(()=>{try{return A}catch(t){}})(),(()=>{try{return D}catch(t){}})(),(()=>{try{return V}catch(t){}})(),(()=>{try{return X}catch(t){}})(),(()=>{try{return z}catch(t){}})(),(()=>{try{return E}catch(t){}})(),(()=>{try{return H}catch(t){}})(),(()=>{try{return J}catch(t){}})(),(()=>{try{return K}catch(t){}})(),(()=>{try{return O}catch(t){}})(),(()=>{try{return Q}catch(t){}})(),(()=>{try{return T}catch(t){}})(),(()=>{try{return Y}catch(t){}})(),(()=>{try{return Z}catch(t){}})(),(()=>{try{return tt}catch(t){}})(),(()=>{try{return rt}catch(t){}})(),(()=>{try{return at}catch(t){}})(),(()=>{try{return _t}catch(t){}})(),(()=>{try{return lt}catch(t){}})(),(()=>{try{return ot}catch(t){}})(),(()=>{try{return st}catch(t){}})(),(()=>{try{return ct}catch(t){}})(),(()=>{try{return et}catch(t){}})(),(()=>{try{return mt}catch(t){}})(),(()=>{try{return it}catch(t){}})(),(()=>{try{return nt}catch(t){}})(),(()=>{try{return pt}catch(t){}})(),(()=>{try{return ft}catch(t){}})(),(()=>{try{return ut}catch(t){}})(),(()=>{try{return ht}catch(t){}})(),(()=>{try{return yt}catch(t){}})(),(()=>{try{return dt}catch(t){}})(),(()=>{try{return gt}catch(t){}})(),(()=>{try{return Ct}catch(t){}})(),(()=>{try{return kt}catch(t){}})(),(()=>{try{return wt}catch(t){}})(),(()=>{try{return xt}catch(t){}})(),(()=>{try{return vt}catch(t){}})(),(()=>{try{return Bt}catch(t){}})(),(()=>{try{return Ft}catch(t){}})(),(()=>{try{return Rt}catch(t){}})(),(()=>{try{return $t}catch(t){}})(),(()=>{try{return Lt}catch(t){}})(),(()=>{try{return bt}catch(t){}})(),(()=>{try{return It}catch(t){}})(),(()=>{try{return Mt}catch(t){}})(),(()=>{try{return Pt}catch(t){}})()]).then(()=>h(void 0,null,function*(){const t=F({name:"LockModal",components:{BasicModal:U,BasicForm:G},setup(){const{t:r}=L(),{prefixCls:c}=R("header-lock-modal"),e=$(),n=W(),o=d(()=>{var s;return(s=e.getUserInfo)==null?void 0:s.realName}),[a,{closeModal:_}]=q(),[f,{validateFields:u,resetFields:x}]=S({showActionButtonGroup:!1,schemas:[{field:"password",label:r("\u9501\u5C4F\u5BC6\u7801"),colProps:{span:24},component:"InputPassword",required:!0}]});function v(){return h(this,null,function*(){const s=(yield u()).password;_(),n.setLockInfo({isLock:!0,pwd:s}),yield x()})}const B=d(()=>{const{avatar:s}=e.getUserInfo;return s||j});return{t:r,prefixCls:c,getRealName:o,register:a,registerForm:f,handleLock:v,avatar:B}}}),p=["src"];function l(r,c,e,n,o,a){const _=y("BasicForm"),f=y("a-button"),u=y("BasicModal");return I(),M(u,N({footer:null,title:r.t("\u9501\u5B9A\u5C4F\u5E55")},r.$attrs,{class:r.prefixCls,onRegister:r.register}),{default:g(()=>[m("div",{class:i(`${r.prefixCls}__entry`)},[m("div",{class:i(`${r.prefixCls}__header`)},[m("img",{src:r.avatar,class:i(`${r.prefixCls}__header-img`)},null,10,p),m("p",{class:i(`${r.prefixCls}__header-name`)},C(r.getRealName),3)],2),k(_,{onRegister:r.registerForm},null,8,["onRegister"]),m("div",{class:i(`${r.prefixCls}__footer`)},[k(f,{type:"primary",block:"",class:"mt-2",onClick:r.handleLock},{default:g(()=>[P(C(r.t("\u9501\u5B9A")),1)]),_:1},8,["onClick"])],2)],2)]),_:1},16,["title","class","onRegister"])}w=b(t,[["render",l]])}));export{Nt as __tla,w as default};