mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
Bump web v3.24.032108
This commit is contained in:
parent
5afa69009d
commit
f32fc4f3fc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
app/src/main/assets/web/vue/assets/BookShelf-giXtcpck.js
Normal file
1
app/src/main/assets/web/vue/assets/BookShelf-giXtcpck.js
Normal file
File diff suppressed because one or more lines are too long
1
app/src/main/assets/web/vue/assets/config-B_MdNjw3.js
Normal file
1
app/src/main/assets/web/vue/assets/config-B_MdNjw3.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{A as f,u as n}from"./index-BByhs_v2.js";import"./vendor-BZRk0hZB.js";f.getReadConfig().then(e=>{var t=e.data.data;if(t){const a=n();let o=JSON.parse(t),i=a.config;o=Object.assign(i,o),a.setConfig(o)}});
|
|
@ -1 +0,0 @@
|
|||
import{A as f,u as n}from"./index-CqQyEkyx.js";import"./vendor-DzNrcxOC.js";f.getReadConfig().then(e=>{var t=e.data.data;if(t){const a=n();let o=JSON.parse(t),i=a.config;o=Object.assign(i,o),a.setConfig(o)}});
|
15
app/src/main/assets/web/vue/assets/index-BByhs_v2.js
Normal file
15
app/src/main/assets/web/vue/assets/index-BByhs_v2.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
import{u as D,z as L,K as v,a6 as Y,ae as y}from"./vendor-DzNrcxOC.js";import{u as b}from"./index-CqQyEkyx.js";function k(t){return typeof t=="function"?t():D(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const w=()=>{};function H(t,n){function e(...o){return new Promise((a,r)=>{Promise.resolve(t(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(a).catch(r)})}return e}function W(t,n=!0,e=!0,o=!1){let a=0,r,i=!0,s=w,l;const f=()=>{r&&(clearTimeout(r),r=void 0,s(),s=w)};return p=>{const c=k(t),m=Date.now()-a,d=()=>l=p();return f(),c<=0?(a=Date.now(),d()):(m>c&&(e||!i)?(a=Date.now(),d()):n&&(l=new Promise((g,h)=>{s=o?h:g,r=setTimeout(()=>{a=Date.now(),i=!0,g(d()),f()},Math.max(0,c-m))})),!e&&!r&&(r=setTimeout(()=>i=!0,c)),i=!1,l)}}function E(t,n=200,e=!1,o=!0,a=!1){return H(W(n,e,o,a),t)}const T=/[YMDHhms]o|\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function $(t,n,e,o){let a=t<12?"AM":"PM";return o&&(a=a.split("").reduce((r,i)=>r+=`${i}.`,"")),e?a.toLowerCase():a}function u(t){const n=["th","st","nd","rd"],e=t%100;return t+(n[(e-20)%10]||n[e]||n[0])}function x(t,n,e={}){var o;const a=t.getFullYear(),r=t.getMonth(),i=t.getDate(),s=t.getHours(),l=t.getMinutes(),f=t.getSeconds(),M=t.getMilliseconds(),p=t.getDay(),c=(o=e.customMeridiem)!=null?o:$,m={Yo:()=>u(a),YY:()=>String(a).slice(-2),YYYY:()=>a,M:()=>r+1,Mo:()=>u(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>t.toLocaleDateString(e.locales,{month:"short"}),MMMM:()=>t.toLocaleDateString(e.locales,{month:"long"}),D:()=>String(i),Do:()=>u(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(s),Ho:()=>u(s),HH:()=>`${s}`.padStart(2,"0"),h:()=>`${s%12||12}`.padStart(1,"0"),ho:()=>u(s%12||12),hh:()=>`${s%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>u(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(f),so:()=>u(f),ss:()=>`${f}`.padStart(2,"0"),SSS:()=>`${M}`.padStart(3,"0"),d:()=>p,dd:()=>t.toLocaleDateString(e.locales,{weekday:"narrow"}),ddd:()=>t.toLocaleDateString(e.locales,{weekday:"short"}),dddd:()=>t.toLocaleDateString(e.locales,{weekday:"long"}),A:()=>c(s,l),AA:()=>c(s,l,!1,!0),a:()=>c(s,l,!0),aa:()=>c(s,l,!0,!0)};return n.replace(T,(d,g)=>{var h,S;return(S=g??((h=m[d])==null?void 0:h.call(m)))!=null?S:d})}const R=t=>/,\s*\{/.test(t)||!(t.startsWith("http")||t.startsWith("data:")||t.startsWith("blob:"));function U(t){return location.origin+"/image?path="+encodeURIComponent(t)+"&url="+encodeURIComponent(sessionStorage.getItem("bookUrl"))+"&width="+b().config.readWidth}const z=t=>{let n=new Date().getTime(),e=Math.floor((n-t)/1e3),o="";return e<=30?o="刚刚":e<60?o=e+"秒前":e<3600?o=Math.floor(e/60)+"分钟前":e<86400?o=Math.floor(e/3600)+"小时前":e<2592e3?o=Math.floor(e/86400)+"天前":o=x(new Date(t),"YYYY-MM-DD"),o},A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"/></svg>',C=(t,n,e=A)=>{const o=L(!1);let a=null;const r=()=>o.value=!1,i=()=>o.value=!0;v(o,l=>{if(!l)return a==null?void 0:a.close();a=y.service({target:D(t),spinner:e,text:n,lock:!0,background:"rgba(0, 0, 0, 0)"})});const s=l=>{if(!(l instanceof Promise))throw TypeError("loadingWrapper argument must be Promise");return i(),l.finally(r)};return Y(()=>{r()}),{isLoading:o,showLoading:i,closeLoading:r,loadingWrapper:s}};export{E as a,z as d,U as g,R as i,C as u};
|
1
app/src/main/assets/web/vue/assets/loading-DEPdKinF.js
Normal file
1
app/src/main/assets/web/vue/assets/loading-DEPdKinF.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{A as L,u as D,z as v,K as y,a6 as Y,ae as b}from"./vendor-BZRk0hZB.js";import{u as k}from"./index-BByhs_v2.js";function H(e){return typeof e=="function"?e():D(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const w=()=>{};function W(e,r){function t(...o){return new Promise((a,l)=>{Promise.resolve(e(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})).then(a).catch(l)})}return t}function A(...e){let r=0,t,o=!0,a=w,l,i,s,n,c;!L(e[0])&&typeof e[0]=="object"?{delay:i,trailing:s=!0,leading:n=!0,rejectOnCancel:c=!1}=e[0]:[i,s=!0,n=!0,c=!1]=e;const p=()=>{t&&(clearTimeout(t),t=void 0,a(),a=w)};return d=>{const u=H(i),g=Date.now()-r,m=()=>l=d();return p(),u<=0?(r=Date.now(),m()):(g>u&&(n||!o)?(r=Date.now(),m()):s&&(l=new Promise((h,M)=>{a=c?M:h,t=setTimeout(()=>{r=Date.now(),o=!0,h(m()),p()},Math.max(0,u-g))})),!n&&!t&&(t=setTimeout(()=>o=!0,u)),o=!1,l)}}function C(e,r=200,t=!1,o=!0,a=!1){return W(A(r,t,o,a),e)}const T=/[YMDHhms]o|\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function $(e,r,t,o){let a=e<12?"AM":"PM";return o&&(a=a.split("").reduce((l,i)=>l+=`${i}.`,"")),t?a.toLowerCase():a}function f(e){const r=["th","st","nd","rd"],t=e%100;return e+(r[(t-20)%10]||r[t]||r[0])}function x(e,r,t={}){var o;const a=e.getFullYear(),l=e.getMonth(),i=e.getDate(),s=e.getHours(),n=e.getMinutes(),c=e.getSeconds(),p=e.getMilliseconds(),S=e.getDay(),d=(o=t.customMeridiem)!=null?o:$,u={Yo:()=>f(a),YY:()=>String(a).slice(-2),YYYY:()=>a,M:()=>l+1,Mo:()=>f(l+1),MM:()=>`${l+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(t.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(t.locales,{month:"long"}),D:()=>String(i),Do:()=>f(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(s),Ho:()=>f(s),HH:()=>`${s}`.padStart(2,"0"),h:()=>`${s%12||12}`.padStart(1,"0"),ho:()=>f(s%12||12),hh:()=>`${s%12||12}`.padStart(2,"0"),m:()=>String(n),mo:()=>f(n),mm:()=>`${n}`.padStart(2,"0"),s:()=>String(c),so:()=>f(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${p}`.padStart(3,"0"),d:()=>S,dd:()=>e.toLocaleDateString(t.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(t.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(t.locales,{weekday:"long"}),A:()=>d(s,n),AA:()=>d(s,n,!1,!0),a:()=>d(s,n,!0),aa:()=>d(s,n,!0,!0)};return r.replace(T,(g,m)=>{var h,M;return(M=m??((h=u[g])==null?void 0:h.call(u)))!=null?M:g})}const E=e=>/,\s*\{/.test(e)||!(e.startsWith("http")||e.startsWith("data:")||e.startsWith("blob:"));function U(e){return location.origin+"/image?path="+encodeURIComponent(e)+"&url="+encodeURIComponent(sessionStorage.getItem("bookUrl"))+"&width="+k().config.readWidth}const z=e=>{let r=new Date().getTime(),t=Math.floor((r-e)/1e3),o="";return t<=30?o="刚刚":t<60?o=t+"秒前":t<3600?o=Math.floor(t/60)+"分钟前":t<86400?o=Math.floor(t/3600)+"小时前":t<2592e3?o=Math.floor(t/86400)+"天前":o=x(new Date(e),"YYYY-MM-DD"),o},F='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"/></svg>',V=(e,r,t=F)=>{const o=v(!1);let a=null;const l=()=>o.value=!1,i=()=>o.value=!0;y(o,n=>{if(!n)return a==null?void 0:a.close();a=b.service({target:D(e),spinner:t,text:r,lock:!0,background:"rgba(0, 0, 0, 0)"})});const s=n=>{if(!(n instanceof Promise))throw TypeError("loadingWrapper argument must be Promise");return i(),n.finally(l)};return Y(()=>{l()}),{isLoading:o,showLoading:i,closeLoading:l,loadingWrapper:s}};export{C as a,z as d,U as g,E as i,V as u};
|
50
app/src/main/assets/web/vue/assets/vendor-BZRk0hZB.js
Normal file
50
app/src/main/assets/web/vue/assets/vendor-BZRk0hZB.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
app/src/main/assets/web/vue/assets/vendor-CmztZ7Xh.css
Normal file
1
app/src/main/assets/web/vue/assets/vendor-CmztZ7Xh.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,9 +4,9 @@
|
|||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="./favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||
<script type="module" crossorigin src="./assets/index-CqQyEkyx.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-DzNrcxOC.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/vendor-CDkgm7Gm.css">
|
||||
<script type="module" crossorigin src="./assets/index-BByhs_v2.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-BZRk0hZB.js">
|
||||
<link rel="stylesheet" crossorigin href="./assets/vendor-CmztZ7Xh.css">
|
||||
<link rel="stylesheet" crossorigin href="./assets/index--w__ADxz.css">
|
||||
</head>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user