update docs

This commit is contained in:
Harvey Zack committed 2024-01-10 09:20:13 +08:00
1 parent 434aa3d57d
commit 0dee1ef446
187 files changed
+2011 -1934

No files matched your search

@@ -0,0 +1,7 @@
import{d as V,o as l,c as h,r as f,n as x,a as K,t as N,u,b as zt,e as Ue,f as xt,g as M,h as ee,i as Me,j as ut,w as J,k as Ot,l as Dt,m as w,p as ve,s as qe,q as C,v as p,T as Re,x as y,_ as P,y as dt,z as Ft,A as jt,B as Ce,C as de,D as d,E as X,F as Q,G as le,H as We,I as ht,J as Ut,K as ae,L as z,M as j,N as Ie,O as $,P as ie,Q as ft,R as Te,S as $e,U as Ae,V as qt,W as Rt,X as Wt,Y as Gt,Z as tt,$ as Kt,a0 as vt,a1 as Jt,a2 as Yt,a3 as pt,a4 as Xt,a5 as Qt,a6 as Zt}from"./framework.n4OLkSRA.js";const en=V({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(l(),h("span",{class:x(["VPBadge",t.type])},[f(t.$slots,"default",{},()=>[K(N(t.text),1)])],2))}});function Ge(e){return Ot()?(Dt(e),!0):!1}function se(e){return typeof e=="function"?e():u(e)}const mt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tn=Object.prototype.toString,nn=e=>tn.call(e)==="[object Object]",fe=()=>{},xe=sn();function sn(){var e,t;return mt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function on(e,t){function n(...s){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(o).catch(a)})}return n}const _t=e=>e();function an(e=_t){const t=M(!0);function n(){t.value=!1}function s(){t.value=!0}const o=(...a)=>{t.value&&e(...a)};return{isActive:Ue(t),pause:n,resume:s,eventFilter:o}}function rn(e){return e||ut()}function gt(...e){if(e.length!==1)return zt(...e);const t=e[0];return typeof t=="function"?Ue(xt(()=>({get:t,set:fe}))):M(t)}function ln(e,t,n={}){const{eventFilter:s=_t,...o}=n;return J(e,on(s,t),o)}function cn(e,t,n={}){const{eventFilter:s,...o}=n,{eventFilter:a,pause:r,resume:i,isActive:c}=an(s);return{stop:ln(e,t,{...o,eventFilter:a}),pause:r,resume:i,isActive:c}}function kt(e,t=!0,n){rn()?ee(e,n):t?e():Me(e)}function ue(e){var t;const n=se(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Z=mt?window:void 0;function oe(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Z):[t,n,s,o]=e,!t)return fe;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],r=()=>{a.forEach(m=>m()),a.length=0},i=(m,g,k,b)=>(m.addEventListener(g,k,b),()=>m.removeEventListener(g,k,b)),c=J(()=>[ue(t),se(o)],([m,g])=>{if(r(),!m)return;const k=nn(g)?{...g}:g;a.push(...n.flatMap(b=>s.map(_=>i(m,b,_,k))))},{immediate:!0,flush:"post"}),v=()=>{c(),r()};return Ge(v),v}let nt=!1;function un(e,t,n={}){const{window:s=Z,ignore:o=[],capture:a=!0,detectIframe:r=!1}=n;if(!s)return fe;xe&&!nt&&(nt=!0,Array.from(s.document.body.children).forEach(k=>k.addEventListener("click",fe)),s.document.documentElement.addEventListener("click",fe));let i=!0;const c=k=>o.some(b=>{if(typeof b=="string")return Array.from(s.document.querySelectorAll(b)).some(_=>_===k.target||k.composedPath().includes(_));{const _=ue(b);return _&&(k.target===_||k.composedPath().includes(_))}}),m=[oe(s,"click",k=>{const b=ue(e);if(!(!b||b===k.target||k.composedPath().includes(b))){if(k.detail===0&&(i=!c(k)),!i){i=!0;return}t(k)}},{passive:!0,capture:a}),oe(s,"pointerdown",k=>{const b=ue(e);i=!c(k)&&!!(b&&!k.composedPath().includes(b))},{passive:!0}),r&&oe(s,"blur",k=>{setTimeout(()=>{var b;const _=ue(e);((b=s.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(_!=null&&_.contains(s.document.activeElement))&&t(k)},0)})].filter(Boolean);return()=>m.forEach(k=>k())}function dn(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function hn(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=Z,eventName:a="keydown",passive:r=!1,dedupe:i=!1}=s,c=dn(t);return oe(o,a,m=>{m.repeat&&se(i)||c(m)&&n(m)},r)}function fn(){const e=M(!1);return ut()&&ee(()=>{e.value=!0}),e}function vn(e){const t=fn();return w(()=>(t.value,!!e()))}function Pe(e,t={}){const{window:n=Z}=t,s=vn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=M(!1),r=v=>{a.value=v.matches},i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",r):o.removeListener(r))},c=ve(()=>{s.value&&(i(),o=n.matchMedia(se(e)),"addEventListener"in o?o.addEventListener("change",r):o.addListener(r),a.value=o.matches)});return Ge(()=>{c(),i(),o=void 0}),a}const _e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ge="__vueuse_ssr_handlers__",pn=mn();function mn(){return ge in _e||(_e[ge]=_e[ge]||{}),_e[ge]}function bt(e,t){return pn[e]||t}function _n(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"Line truncated
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = []
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}