2026-03-18 16:18:59 +08:00
|
|
|
var te=Object.defineProperty;var R=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var V=(s,e,a)=>e in s?te(s,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[e]=a,_=(s,e)=>{for(var a in e||(e={}))ne.call(e,a)&&V(s,a,e[a]);if(R)for(var a of R(e))oe.call(e,a)&&V(s,a,e[a]);return s};var l=(s,e,a)=>new Promise((r,u)=>{var m=c=>{try{g(a.next(c))}catch(t){u(t)}},v=c=>{try{g(a.throw(c))}catch(t){u(t)}},g=c=>c.done?r(c.value):Promise.resolve(c.value).then(m,v);g((a=a.apply(s,e)).next())});import{d as se}from"./index-Bu1EXeZ9.js";import{dy as ie,$ as L,bv as re,a4 as le,a5 as ue,bF as ce,aY as de,c1 as U,a6 as me,a9 as F}from"./bootstrap-CW2RsBQq.js";import{c as fe,a as pe,u as ve,d as ge}from"./index-BaUPYDK5.js";import{f as he}from"./index-8WeL3wfI.js";import we from"./login-BibzdJrC.js";import{b9 as w,x as q,b8 as ye,n as xe,bW as be,m as D,aP as _e,bz as ke,w as G,aa as k,ad as $,b2 as B,j as d,u as o,bJ as p,bc as Ie,bX as C,v as Ne,ac as Te,I as Ae,cT as Ce}from"../jse/index-index-Cy8amzIl.js";import{_ as Me,a as Le,b as Se,c as Pe,N as $e,d as Be,e as Ee}from"./layout.vue_vue_type_script_setup_true_lang-B2rxm06q.js";import{u as H}from"./use-modal-B-MTUp6r.js";import{u as ze}from"./use-tabs-BkQUGE85.js";import"./index-DaAl77lB.js";import"./login.vue_vue_type_script_setup_true_lang-BzJ0rE-9.js";import"./auth-title-YsTPGaYI.js";import"./index.vue_vue_type_script_setup_true_lang-DoHJSLSO.js";import"./circle-check-big-BrzCNNIV.js";import"./language-toggle.vue_vue_type_script_setup_true_lang-DKpQeauA.js";import"./TabsList.vue_vue_type_script_setup_true_lang-CeX7eqVH.js";import"./Switch.vue_vue_type_script_setup_true_lang-BosA3f3D.js";import"./plus-DNKcdVPy.js";import"./use-drawer-LUSrIjmt.js";import"./x-DsiLb8yz.js";import"./rotate-cw-CAhXz2GH.js";import"./tabbar-C2BBzaus.js";import"./use-refresh-CDe41sdY.js";const f=w(),Z=w(!1),M=w({advancedStyle:{colorStops:[{color:"gray",offset:0},{color:"gray",offset:1}],type:"linear"},content:"",contentType:"multi-line-text",globalAlpha:.25,gridLayoutOptions:{cols:2,gap:[20,20],matrix:[[1,0],[0,1]],rows:2},height:200,layout:"grid",rotate:30,width:160});function Oe(){function s(r){return l(this,null,function*(){var m;const{Watermark:u}=yield be(()=>l(null,null,function*(){const{Watermark:v}=yield import("./index.esm-j49SPltB.js");return{Watermark:v}}),[]);M.value=_(_({},M.value),r),f.value=new u(M.value),yield(m=f.value)==null?void 0:m.create()})}function e(r){return l(this,null,function*(){var u;f.value?(yield xe(),yield(u=f.value)==null?void 0:u.changeOptions(_(_({},M.value),r))):yield s(r)})}function a(){f.value&&(f.value.destroy(),f.value=void 0)}return Z.value||(Z.value=!0,q(()=>{a()})),{destroyWatermark:a,updateWatermark:e,watermark:ye(f)}}const We=D({name:"LoginExpiredModal",__name:"login-expired-modal",props:_e({avatar:{default:""},zIndex:{default:0},codeLoginPath:{},forgetPasswordPath:{},loading:{type:Boolean},qrCodeLoginPath:{},registerPath:{},showCodeLogin:{type:Boolean},showForgetPassword:{type:Boolean},showQrcodeLogin:{type:Boolean},showRegister:{type:Boolean},showRememberMe:{type:Boolean},showThirdPartyLogin:{type:Boolean},subTitle:{},title:{},submitButtonText:{}},{open:{type:Boolean},openModifiers:{}}),emits:["update:open"],setup(s){const e=s,a=ke(s,"open"),[r,u]=H();G(()=>a.value,t=>{u.setState({isOpen:t})});const m=k(()=>e.zIndex||c()),v=["ant-message","loading"];function g(t){return v.some(h=>t.classList.contains(h))}function c(){let t=0;return[...document.querySelectorAll("*")].forEach(I=>{const y=window.getComputedStyle(I).getPropertyValue("z-index");y&&!Number.isNaN(Number.parseInt(y))&&!g(I)&&(t=Math.max(t,Number.parseInt(y)))}),t+1}return(t,h)=>(B(),$("div",null,[d(o(r),{closable:!1,"close-on-click-modal":!1,"close-on-press-escape":!1,footer:!1,"fullscreen-button":!1,header:!1,"z-index":m.value,class:"border-none px-10 py-6 text-center shadow-xl sm:w-[600px] sm:rounded-2xl md:h-[unset]"},{default:p(()=>[d(o(Me),{src:s.avatar,class:"mx-auto mb-6 size-20"},null,8,["src"]),d(o(ie),{"show-forget-passwor
|