vuepress-plugin-components
Advanced tools
Comparing version 2.0.0-rc.13 to 2.0.0-rc.14
@@ -1,2 +0,2 @@ | ||
import{usePageData as _,useSiteData as E}from"@vuepress/client";import{defineComponent as L,computed as S,h as n}from"vue";import{useRouter as A}from"vue-router";import{useLocaleConfig as F,VPLink as m,startsWith as v,keys as R,endsWith as p}from"vuepress-shared/client";import f from"../../components/FontIcon.js";import"../styles/catalog.scss";import"../../styles/font-icon.scss";var U=L({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},titleGetter:{type:Function,default:a=>a.title},iconGetter:{type:Function,default:a=>a.icon},orderGetter:{type:Function,default:a=>a.order||0},shouldIndex:{type:Function,default:a=>a.index!==!1}},setup(a){__VUEPRESS_DEV__&&a.indexType&&console.warn("[AutoCatalog]: `indexType` is deprecated, please use `index` instead");const $=F(CATALOG_LOCALES),b=_(),x=A(),y=E(),C=()=>{const c=a.base||b.value.path.replace(/\/[^/]+$/,"/"),u=x.getRoutes(),s=[];return u.filter(({meta:t,path:e})=>{if(!v(e,c)||e===c)return!1;if(c==="/"){const r=R(y.value.locales).filter(l=>l!=="/");if(e==="/404.html"||r.some(l=>v(e,l)))return!1}return(p(e,".html")&&!p(e,"/index.html")||p(e,"/"))&&a.shouldIndex(t)}).map(({path:t,meta:e})=>{const r=t.substring(c.length).split("/").length;return{title:a.titleGetter(e),icon:a.iconGetter(e),base:t.replace(/\/[^/]+\/?$/,"/"),order:a.orderGetter(e),level:p(t,"/")?r-1:r,path:t}}).filter(({title:t,level:e})=>e<=a.level||!t).sort(({title:t,level:e,path:r,order:l},{title:i,level:h,path:d,order:o})=>e-h||(p(r,"/index.html")?-1:p(d,"/index.html")?1:l===null?o===null?t.localeCompare(i):o:o===null?l:l>0?o>0?l-o:-1:o<0?l-o:1)).forEach(t=>{const{base:e,level:r}=t;switch(r){case 1:s.push(t);break;case 2:{const l=s.find(i=>i.path===e);l&&(l.children??=[]).push(t);break}default:{const l=s.find(i=>i.path===e.replace(/\/[^/]+\/$/,"/"));if(l){const i=l.children?.find(h=>h.path===e);i&&(i.children??=[]).push(t)}}}}),s},w=S(()=>C());return()=>n("div",{class:"catalog-wrapper"},[n("h2",{class:"main-title"},$.value.title),w.value.map(({children:c=[],icon:u,path:s,title:t},e)=>[n("h3",{id:t,class:["child-title",{"has-children":c.length}]},[n("a",{href:`#${t}`,class:"header-anchor"},"#"),n(m,{class:"catalog-title",to:s},()=>[u?n(f,{icon:u}):null,`${e+1}. ${t||"Unknown"}`])]),c.length?n("ul",{class:"child-catalog-wrapper"},c.map(({children:r=[],icon:l,path:i,title:h},d)=>n("li",{class:"child-catalog-item"},[n("div",{class:["sub-title",{"has-children":r.length}]},[n("a",{href:`#${h}`,class:"header-anchor"},"#"),n(m,{class:"catalog-title",to:i},()=>[l?n(f,{icon:l}):null,`${e+1}.${d+1} ${h||"Unknown"}`])]),r.length?n("div",{class:"sub-catalog-wrapper"},r.map(({icon:o,path:g,title:k},G)=>n(m,{class:"sub-catalog-item",to:g},()=>[o?n(f,{icon:o}):null,`${e+1}.${d+1}.${G+1} ${k||"Unknown"}`]))):null]))):null])])}});export{U as default}; | ||
import{defineComponent as _,computed as E,h as n}from"vue";import{useRouter as L}from"vue-router";import{usePageData as S,useSiteData as A}from"vuepress/client";import{useLocaleConfig as F,VPLink as m,startsWith as v,keys as R,endsWith as p}from"vuepress-shared/client";import f from"../../components/FontIcon.js";import"../styles/catalog.scss";import"../../styles/font-icon.scss";var U=_({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},titleGetter:{type:Function,default:a=>a.title},iconGetter:{type:Function,default:a=>a.icon},orderGetter:{type:Function,default:a=>a.order||0},shouldIndex:{type:Function,default:a=>a.index!==!1}},setup(a){__VUEPRESS_DEV__&&a.indexType&&console.warn("[AutoCatalog]: `indexType` is deprecated, please use `index` instead");const $=F(CATALOG_LOCALES),b=S(),x=L(),y=A(),C=()=>{const c=a.base||b.value.path.replace(/\/[^/]+$/,"/"),u=x.getRoutes(),s=[];return u.filter(({meta:t,path:e})=>{if(!v(e,c)||e===c)return!1;if(c==="/"){const r=R(y.value.locales).filter(l=>l!=="/");if(e==="/404.html"||r.some(l=>v(e,l)))return!1}return(p(e,".html")&&!p(e,"/index.html")||p(e,"/"))&&a.shouldIndex(t)}).map(({path:t,meta:e})=>{const r=t.substring(c.length).split("/").length;return{title:a.titleGetter(e),icon:a.iconGetter(e),base:t.replace(/\/[^/]+\/?$/,"/"),order:a.orderGetter(e),level:p(t,"/")?r-1:r,path:t}}).filter(({title:t,level:e})=>e<=a.level||!t).sort(({title:t,level:e,path:r,order:l},{title:i,level:h,path:d,order:o})=>e-h||(p(r,"/index.html")?-1:p(d,"/index.html")?1:l===null?o===null?t.localeCompare(i):o:o===null?l:l>0?o>0?l-o:-1:o<0?l-o:1)).forEach(t=>{const{base:e,level:r}=t;switch(r){case 1:s.push(t);break;case 2:{const l=s.find(i=>i.path===e);l&&(l.children??=[]).push(t);break}default:{const l=s.find(i=>i.path===e.replace(/\/[^/]+\/$/,"/"));if(l){const i=l.children?.find(h=>h.path===e);i&&(i.children??=[]).push(t)}}}}),s},w=E(()=>C());return()=>n("div",{class:"catalog-wrapper"},[n("h2",{class:"main-title"},$.value.title),w.value.map(({children:c=[],icon:u,path:s,title:t},e)=>[n("h3",{id:t,class:["child-title",{"has-children":c.length}]},[n("a",{href:`#${t}`,class:"header-anchor"},"#"),n(m,{class:"catalog-title",to:s},()=>[u?n(f,{icon:u}):null,`${e+1}. ${t||"Unknown"}`])]),c.length?n("ul",{class:"child-catalog-wrapper"},c.map(({children:r=[],icon:l,path:i,title:h},d)=>n("li",{class:"child-catalog-item"},[n("div",{class:["sub-title",{"has-children":r.length}]},[n("a",{href:`#${h}`,class:"header-anchor"},"#"),n(m,{class:"catalog-title",to:i},()=>[l?n(f,{icon:l}):null,`${e+1}.${d+1} ${h||"Unknown"}`])]),r.length?n("div",{class:"sub-catalog-wrapper"},r.map(({icon:o,path:g,title:k},G)=>n(m,{class:"sub-catalog-item",to:g},()=>[o?n(f,{icon:o}):null,`${e+1}.${d+1}.${G+1} ${k||"Unknown"}`]))):null]))):null])])}});export{U as default}; | ||
//# sourceMappingURL=Catalog.js.map |
@@ -1,2 +0,2 @@ | ||
import{usePageLang as T}from"@vuepress/client";import{defineComponent as A,ref as E,onMounted as _,onUnmounted as D,h as L,camelize as h}from"vue";import{LoadingIcon as P,keys as w}from"vuepress-shared/client";import"../styles/art-player.scss";import{u as v}from"../size-fUTGJGHs.js";import"@vuepress/shared";import"@vueuse/core";const S=["mp4","mp3","webm","ogg"];typeof DASHJS_INSTALLED<"u"&&DASHJS_INSTALLED&&S.push("mpd","dash"),typeof HLS_JS_INSTALLED<"u"&&HLS_JS_INSTALLED&&S.push("m3u8","hls"),typeof MPEGTS_JS_INSTALLED<"u"&&MPEGTS_JS_INSTALLED&&S.push("ts","flv");const I=e=>e?.split(".").pop()||"",N=async(e,o,r,s=!1,a=0)=>{if(typeof DASHJS_INSTALLED<"u"&&DASHJS_INSTALLED){const y=(await import("dashjs-pure")).default;if(y.supportsMediaSource()){const f=y.MediaPlayer().create();f.initialize(e,o,s,a),r(()=>f.destroy())}}},M=async(e,o,r)=>{if(typeof MPEGTS_JS_INSTALLED<"u"&&MPEGTS_JS_INSTALLED){const s=(await import("mpegts.js/dist/mpegts.js")).default;if(s.isSupported()){const a=s.createPlayer({type:"flv",url:o});a.attachMediaElement(e),a.load(),r(()=>a.destroy())}}},b=async(e,o,r)=>{if(e.canPlayType("application/x-mpegURL")||e.canPlayType("application/vnd.apple.mpegURL"))e.src=o;else if(typeof HLS_JS_INSTALLED<"u"&&HLS_JS_INSTALLED){const s=(await import("hls.js/dist/hls.min.js")).default;if(s.isSupported()){const a=new s;a.attachMedia(e),a.on(s.Events.MEDIA_ATTACHED,function(){a.loadSource(o)}),r(()=>a.destroy())}}},J=["no-fullscreen","no-hotkey","no-playback-rate","no-setting","no-mutex","no-plays-inline"],z=["airplay","autoplay","aspect-ratio","auto-mini","auto-size","auto-orientation","auto-playback","fast-forward","flip","fullscreen-web","lock","loop","is-live","muted","mini-progress-bar","pip","screenshot","subtitle-offset"],H=["en","pl","cs","es","fa","fr","id","ru","tr"],k=["zh-cn","zh-tw"],R=e=>{const o=e.toLowerCase(),r=o.split("-")[0];return k.includes(o)?o:H.includes(r)?r:r==="zh"?"zh-cn":"en"};var O=A({name:"ArtPlayer",inheritAttrs:!1,props:{src:{type:String,required:!0},type:{type:String,default:""},poster:{type:String,default:""},title:{type:String,default:""},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},config:{type:Object,default:null},customPlayer:{type:Function,default:e=>e}},setup(e,{attrs:o}){const r=T(),{el:s,width:a,height:y,resize:f}=v(e,0),d=E(!1);let m;const g=()=>{const t={theme:"#3eaf7c",...ART_PLAYER_OPTIONS,container:s.value,poster:e.poster,url:e.src,type:e.type||I(e.src),lang:R(r.value),...e.config,useSSR:!1},i=w(o);if(J.forEach(n=>{i.includes(n)&&(t[h(n.replace(/^no-/,""))]=!1)}),z.forEach(n=>{i.includes(n)&&(t[h(n)]=!0)}),t.type){const n=t.customType??={};if(S.includes(t.type.toLowerCase()))switch(t.type){case"m3u8":case"hls":n[t.type]??=(p,l,u)=>b(p,l,c=>{u.on("destroy",c)});break;case"flv":case"ts":n[t.type]??=(p,l,u)=>M(p,l,c=>{u.on("destroy",c)});break;case"mpd":case"dash":n[t.type]??=(p,l,u)=>N(p,l,c=>{u.on("destroy",c)});break}else console.warn(`[components]: ArtPlayer does not support current file type ${t.type}!`)}return t};return _(async()=>{const{default:t}=await import("artplayer"),i=new t(g());m=await e.customPlayer(i)||i,d.value=!0,f()}),D(()=>{m?.destroy()}),()=>[L("div",{ref:s,class:"vp-artplayer",style:{width:a.value,height:y.value}}),d.value?null:L(P)]}});export{O as default}; | ||
import{defineComponent as T,ref as A,onMounted as E,onUnmounted as _,h as L,camelize as h}from"vue";import{usePageLang as D}from"vuepress/client";import{LoadingIcon as P,keys as w}from"vuepress-shared/client";import"../styles/art-player.scss";import{u as v}from"../size-K9_do8ei.js";import"@vueuse/core";const S=["mp4","mp3","webm","ogg"];typeof DASHJS_INSTALLED<"u"&&DASHJS_INSTALLED&&S.push("mpd","dash"),typeof HLS_JS_INSTALLED<"u"&&HLS_JS_INSTALLED&&S.push("m3u8","hls"),typeof MPEGTS_JS_INSTALLED<"u"&&MPEGTS_JS_INSTALLED&&S.push("ts","flv");const I=e=>e?.split(".").pop()||"",N=async(e,o,r,s=!1,a=0)=>{if(typeof DASHJS_INSTALLED<"u"&&DASHJS_INSTALLED){const y=(await import("dashjs-pure")).default;if(y.supportsMediaSource()){const f=y.MediaPlayer().create();f.initialize(e,o,s,a),r(()=>f.destroy())}}},M=async(e,o,r)=>{if(typeof MPEGTS_JS_INSTALLED<"u"&&MPEGTS_JS_INSTALLED){const s=(await import("mpegts.js/dist/mpegts.js")).default;if(s.isSupported()){const a=s.createPlayer({type:"flv",url:o});a.attachMediaElement(e),a.load(),r(()=>a.destroy())}}},b=async(e,o,r)=>{if(e.canPlayType("application/x-mpegURL")||e.canPlayType("application/vnd.apple.mpegURL"))e.src=o;else if(typeof HLS_JS_INSTALLED<"u"&&HLS_JS_INSTALLED){const s=(await import("hls.js/dist/hls.min.js")).default;if(s.isSupported()){const a=new s;a.attachMedia(e),a.on(s.Events.MEDIA_ATTACHED,function(){a.loadSource(o)}),r(()=>a.destroy())}}},J=["no-fullscreen","no-hotkey","no-playback-rate","no-setting","no-mutex","no-plays-inline"],z=["airplay","autoplay","aspect-ratio","auto-mini","auto-size","auto-orientation","auto-playback","fast-forward","flip","fullscreen-web","lock","loop","is-live","muted","mini-progress-bar","pip","screenshot","subtitle-offset"],H=["en","pl","cs","es","fa","fr","id","ru","tr"],k=["zh-cn","zh-tw"],R=e=>{const o=e.toLowerCase(),r=o.split("-")[0];return k.includes(o)?o:H.includes(r)?r:r==="zh"?"zh-cn":"en"};var O=T({name:"ArtPlayer",inheritAttrs:!1,props:{src:{type:String,required:!0},type:{type:String,default:""},poster:{type:String,default:""},title:{type:String,default:""},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},config:{type:Object,default:null},customPlayer:{type:Function,default:e=>e}},setup(e,{attrs:o}){const r=D(),{el:s,width:a,height:y,resize:f}=v(e,0),d=A(!1);let m;const g=()=>{const t={theme:"#3eaf7c",...ART_PLAYER_OPTIONS,container:s.value,poster:e.poster,url:e.src,type:e.type||I(e.src),lang:R(r.value),...e.config,useSSR:!1},i=w(o);if(J.forEach(n=>{i.includes(n)&&(t[h(n.replace(/^no-/,""))]=!1)}),z.forEach(n=>{i.includes(n)&&(t[h(n)]=!0)}),t.type){const n=t.customType??={};if(S.includes(t.type.toLowerCase()))switch(t.type){case"m3u8":case"hls":n[t.type]??=(p,l,u)=>b(p,l,c=>{u.on("destroy",c)});break;case"flv":case"ts":n[t.type]??=(p,l,u)=>M(p,l,c=>{u.on("destroy",c)});break;case"mpd":case"dash":n[t.type]??=(p,l,u)=>N(p,l,c=>{u.on("destroy",c)});break}else console.warn(`[components]: ArtPlayer does not support current file type ${t.type}!`)}return t};return E(async()=>{const{default:t}=await import("artplayer"),i=new t(g());m=await e.customPlayer(i)||i,d.value=!0,f()}),_(()=>{m?.destroy()}),()=>[L("div",{ref:s,class:"vp-artplayer",style:{width:a.value,height:y.value}}),d.value?null:L(P)]}});export{O as default}; | ||
//# sourceMappingURL=ArtPlayer.js.map |
@@ -120,10 +120,10 @@ import * as vue from 'vue'; | ||
}>>, { | ||
options: Options; | ||
title: string; | ||
type: string; | ||
title: string; | ||
options: Options; | ||
poster: string; | ||
width: string | number; | ||
loop: boolean; | ||
width: string | number; | ||
}, {}>; | ||
export { _default as default }; |
@@ -1,2 +0,2 @@ | ||
import{defineComponent as a,shallowRef as p,onMounted as n,onBeforeMount as s,h as o}from"vue";import"plyr/dist/plyr.css";import"../styles/audio-player.scss";import{g as r}from"../getLink-E24rbGij.js";import"@vuepress/client";import"@vuepress/shared";var d=a({name:"AudioPlayer",props:{options:{type:Object,default:()=>({})},src:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:""},poster:{type:String,default:""},width:{type:[String,Number],default:"100%"},loop:Boolean},setup(t){let e=null;const i=p();return n(async()=>{const{default:l}=await import("plyr");e=new l(i.value,{hideYouTubeDOMError:!0,...t.options})}),s(()=>{try{e?.destroy()}catch{}}),()=>o("div",{class:"vp-audio-player",style:{width:t.width}},[o("a",{class:"sr-only",href:r(t.src),innerHTML:t.title||"An audio"}),t.poster?o("img",{class:"vp-audio-player-poster",src:r(t.poster),loading:"lazy","no-view":""}):null,o("div",{class:"vp-audio-player-info"},[t.title?o("div",{class:"vp-audio-player-title",innerHTML:t.title}):null,o("audio",{ref:i,crossorigin:"anonymous",preload:"metadata",controls:"",...t.loop?{loop:""}:{}},o("source",{src:r(t.src),type:t.type}))])])}});export{d as default}; | ||
import{defineComponent as a,shallowRef as p,onMounted as n,onBeforeMount as s,h as o}from"vue";import"plyr/dist/plyr.css";import"../styles/audio-player.scss";import{g as r}from"../getLink-AmUl-HVt.js";import"vuepress/client";import"vuepress-shared/client";var d=a({name:"AudioPlayer",props:{options:{type:Object,default:()=>({})},src:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:""},poster:{type:String,default:""},width:{type:[String,Number],default:"100%"},loop:Boolean},setup(t){let e=null;const i=p();return n(async()=>{const{default:l}=await import("plyr");e=new l(i.value,{hideYouTubeDOMError:!0,...t.options})}),s(()=>{try{e?.destroy()}catch{}}),()=>o("div",{class:"vp-audio-player",style:{width:t.width}},[o("a",{class:"sr-only",href:r(t.src),innerHTML:t.title||"An audio"}),t.poster?o("img",{class:"vp-audio-player-poster",src:r(t.poster),loading:"lazy","no-view":""}):null,o("div",{class:"vp-audio-player-info"},[t.title?o("div",{class:"vp-audio-player-title",innerHTML:t.title}):null,o("audio",{ref:i,crossorigin:"anonymous",preload:"metadata",controls:"",...t.loop?{loop:""}:{}},o("source",{src:r(t.src),type:t.type}))])])}});export{d as default}; | ||
//# sourceMappingURL=AudioPlayer.js.map |
@@ -1,2 +0,2 @@ | ||
import{usePageFrontmatter as i}from"@vuepress/client";import{useElementSize as m,useWindowSize as d,useWindowScroll as h}from"@vueuse/core";import{defineComponent as v,shallowRef as b,computed as r,onMounted as T,h as o,Transition as f}from"vue";import{useLocaleConfig as g}from"vuepress-shared/client";import{B as k}from"../icons-zhLaO7d8.js";import"balloon-css/balloon.css";import"../styles/back-to-top.scss";var y=v({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(a){const s=i(),n=g(BACK_TO_TOP_LOCALES),e=b(),{height:p}=m(e),{height:u}=d(),{y:l}=h(),c=r(()=>s.value.backToTop!==!1&&l.value>a.threshold),t=r(()=>l.value/(p.value-u.value)*100);return T(()=>{e.value=document.body}),()=>o(f,{name:"fade"},()=>c.value?o("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[a.noProgress?null:o("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":t.value},o("svg",o("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*t.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),o(k)]):null)}});export{y as default}; | ||
import{useElementSize as i,useWindowSize as m,useWindowScroll as d}from"@vueuse/core";import{defineComponent as h,shallowRef as v,computed as r,onMounted as b,h as o,Transition as T}from"vue";import{usePageFrontmatter as f}from"vuepress/client";import{useLocaleConfig as g}from"vuepress-shared/client";import{B as k}from"../icons-zhLaO7d8.js";import"balloon-css/balloon.css";import"../styles/back-to-top.scss";var y=h({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(a){const s=f(),n=g(BACK_TO_TOP_LOCALES),e=v(),{height:p}=i(e),{height:u}=m(),{y:l}=d(),c=r(()=>s.value.backToTop!==!1&&l.value>a.threshold),t=r(()=>l.value/(p.value-u.value)*100);return b(()=>{e.value=document.body}),()=>o(T,{name:"fade"},()=>c.value?o("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[a.noProgress?null:o("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":t.value},o("svg",o("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*t.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),o(k)]):null)}});export{y as default}; | ||
//# sourceMappingURL=BackToTop.js.map |
@@ -181,8 +181,8 @@ import * as vue from 'vue'; | ||
}>>, { | ||
title: string; | ||
width: string | number; | ||
time: string | number; | ||
title: string; | ||
autoplay: boolean; | ||
width: string | number; | ||
ratio: string | number; | ||
height: string | number; | ||
ratio: string | number; | ||
bvid: string; | ||
@@ -189,0 +189,0 @@ aid: string; |
@@ -1,2 +0,2 @@ | ||
import{defineComponent as v,ref as g,computed as b,h as t}from"vue";import{LoadingIcon as c}from"vuepress-shared/client";import"../styles/bili-bili.scss";import{v as h}from"../iframeAllow-JoSc_agB.js";import{u as S}from"../size-fUTGJGHs.js";import"@vuepress/shared";import"@vueuse/core";const d="https://player.bilibili.com/player.html";var $=v({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(i){const{el:m,width:n,height:f,resize:s}=S(i),e=g(!1),l=b(()=>{const{aid:a,bvid:r,cid:o,autoplay:u,time:p,page:y}=i;return a&&o?`${d}?aid=${a}&cid=${o}&t=${p}&autoplay=${u?1:0}&p=${y}`:r?`${d}?bvid=${r}&t=${p}&autoplay=${u?1:0}`:null});return()=>l.value?[t("div",{class:"bilibili-desc"},t("a",{class:"sr-only",href:l.value},i.title)),t("iframe",{ref:m,src:l.value,title:i.title,class:"bilibili-iframe",allow:h,style:{width:n.value,height:e.value?f.value:0},onLoad:()=>{e.value=!0,s()}}),e.value?null:t(c)]:[]}});export{$ as default}; | ||
import{defineComponent as v,ref as g,computed as b,h as t}from"vue";import{LoadingIcon as c}from"vuepress-shared/client";import"../styles/bili-bili.scss";import{v as h}from"../iframeAllow-JoSc_agB.js";import{u as S}from"../size-K9_do8ei.js";import"@vueuse/core";const p="https://player.bilibili.com/player.html";var $=v({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(i){const{el:m,width:n,height:f,resize:s}=S(i),e=g(!1),l=b(()=>{const{aid:a,bvid:r,cid:o,autoplay:u,time:d,page:y}=i;return a&&o?`${p}?aid=${a}&cid=${o}&t=${d}&autoplay=${u?1:0}&p=${y}`:r?`${p}?bvid=${r}&t=${d}&autoplay=${u?1:0}`:null});return()=>l.value?[t("div",{class:"bilibili-desc"},t("a",{class:"sr-only",href:l.value},i.title)),t("iframe",{ref:m,src:l.value,title:i.title,class:"bilibili-iframe",allow:h,style:{width:n.value,height:e.value?f.value:0},onLoad:()=>{e.value=!0,s()}}),e.value?null:t(c)]:[]}});export{$ as default}; | ||
//# sourceMappingURL=BiliBili.js.map |
@@ -151,4 +151,4 @@ import * as vue from 'vue'; | ||
}>>, { | ||
title: string; | ||
link: string; | ||
title: string; | ||
height: string | number; | ||
@@ -155,0 +155,0 @@ theme: "default" | "light" | "dark"; |
@@ -155,5 +155,5 @@ import * as vue from 'vue'; | ||
width: string | number; | ||
ratio: string | number; | ||
height: string | number; | ||
noToolbar: boolean; | ||
ratio: string | number; | ||
page: string | number; | ||
@@ -160,0 +160,0 @@ zoom: string | number; |
@@ -1,2 +0,2 @@ | ||
import{defineComponent as h,onMounted as w,h as v}from"vue";import{checkIsiPad as b,checkIsMobile as S,checkIsSafari as y,entries as P,useLocaleConfig as L}from"vuepress-shared/client";import"../styles/pdf.scss";import{withBase as C}from"@vuepress/client";import{isString as F,ensureEndingSlash as T}from"@vuepress/shared";import{u as D}from"../size-fUTGJGHs.js";import{g as I}from"../getLink-E24rbGij.js";import"@vueuse/core";const p=e=>{console.error("[PDF]: "+e)},$=e=>{for(;e.firstChild;)e.removeChild(e.firstChild)},E=e=>e==="string"?document.querySelector(e):e instanceof HTMLElement?e:document.body,N=e=>{let t="";return e&&(t+=P(e).map(([r,n])=>r==="noToolbar"?`toolbar=${n?0:1}`:`${encodeURIComponent(r)}=${encodeURIComponent(n)}`).join("&"),t&&(t=`#${t.slice(0,t.length-1)}`)),t},u=(e,t,r,n,l)=>{$(t);const a=`${e==="pdfjs"?`${T(C(PDFJS_URL))}web/viewer.html?file=${encodeURIComponent(r)}`:r}${N(n)}`,o=e==="pdfjs"||e==="iframe"?"iframe":"embed",i=document.createElement(o);return i.className="pdf-viewer",i.type="application/pdf",i.title=l,i.src=a,i instanceof HTMLIFrameElement&&(i.allow="fullscreen"),t.classList.add("pdf-viewer-container"),t.appendChild(i),t.getElementsByTagName(o)[0]},M=(e,t=null,{title:r,hint:n,options:l={}})=>{if(typeof window>"u"||!window?.navigator?.userAgent)return null;const{navigator:a}=window,{userAgent:o}=a,i=window.Promise!==void 0,s=b(o)||S(o),f=!s&&y(o),c=!s&&/firefox/i.test(o)&&o.split("rv:").length>1?parseInt(o.split("rv:")[1].split(".")[0],10)>18:!1,g=!s&&(i||c);if(!F(e))return p("URL is not valid"),null;const d=E(t);if(!d)return p("Target element cannot be determined"),null;const m=r||/\/([^/]+).pdf/.exec(e)?.[1]||"PDF Viewer";return g||!s?u(f?"iframe":"embed",d,e,l,m):PDFJS_URL?u("pdfjs",d,e,l,m):(d.innerHTML=n.replace(/\[url\]/g,e),p("This browser does not support embedded PDFs"),null)};var R=h({name:"PDF",props:{url:{type:String,required:!0},title:{type:String,default:""},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},page:{type:[String,Number],default:1},noToolbar:Boolean,zoom:{type:[String,Number],default:100}},setup(e){const{el:t,width:r,height:n,resize:l}=D(e),a=L(PDF_LOCALES);return w(()=>{M(I(e.url),t.value,{title:e.title,hint:a.value.hint,options:{page:e.page,noToolbar:e.noToolbar,zoom:e.zoom}}),l()}),()=>v("div",{class:"pdf-viewer-wrapper",ref:t,style:{width:r.value,height:n.value}})}});export{R as default}; | ||
import{defineComponent as h,onMounted as w,h as v}from"vue";import{checkIsiPad as b,checkIsMobile as S,checkIsSafari as y,isString as P,ensureEndingSlash as L,entries as C,useLocaleConfig as F}from"vuepress-shared/client";import"../styles/pdf.scss";import{withBase as T}from"vuepress/client";import{u as D}from"../size-K9_do8ei.js";import{g as I}from"../getLink-AmUl-HVt.js";import"@vueuse/core";const p=e=>{console.error("[PDF]: "+e)},$=e=>{for(;e.firstChild;)e.removeChild(e.firstChild)},E=e=>e==="string"?document.querySelector(e):e instanceof HTMLElement?e:document.body,N=e=>{let t="";return e&&(t+=C(e).map(([r,n])=>r==="noToolbar"?`toolbar=${n?0:1}`:`${encodeURIComponent(r)}=${encodeURIComponent(n)}`).join("&"),t&&(t=`#${t.slice(0,t.length-1)}`)),t},u=(e,t,r,n,l)=>{$(t);const a=`${e==="pdfjs"?`${L(T(PDFJS_URL))}web/viewer.html?file=${encodeURIComponent(r)}`:r}${N(n)}`,o=e==="pdfjs"||e==="iframe"?"iframe":"embed",i=document.createElement(o);return i.className="pdf-viewer",i.type="application/pdf",i.title=l,i.src=a,i instanceof HTMLIFrameElement&&(i.allow="fullscreen"),t.classList.add("pdf-viewer-container"),t.appendChild(i),t.getElementsByTagName(o)[0]},M=(e,t=null,{title:r,hint:n,options:l={}})=>{if(typeof window>"u"||!window?.navigator?.userAgent)return null;const{navigator:a}=window,{userAgent:o}=a,i=window.Promise!==void 0,s=b(o)||S(o),f=!s&&y(o),c=!s&&/firefox/i.test(o)&&o.split("rv:").length>1?parseInt(o.split("rv:")[1].split(".")[0],10)>18:!1,g=!s&&(i||c);if(!P(e))return p("URL is not valid"),null;const d=E(t);if(!d)return p("Target element cannot be determined"),null;const m=r||/\/([^/]+).pdf/.exec(e)?.[1]||"PDF Viewer";return g||!s?u(f?"iframe":"embed",d,e,l,m):PDFJS_URL?u("pdfjs",d,e,l,m):(d.innerHTML=n.replace(/\[url\]/g,e),p("This browser does not support embedded PDFs"),null)};var R=h({name:"PDF",props:{url:{type:String,required:!0},title:{type:String,default:""},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},page:{type:[String,Number],default:1},noToolbar:Boolean,zoom:{type:[String,Number],default:100}},setup(e){const{el:t,width:r,height:n,resize:l}=D(e),a=F(PDF_LOCALES);return w(()=>{M(I(e.url),t.value,{title:e.title,hint:a.value.hint,options:{page:e.page,noToolbar:e.noToolbar,zoom:e.zoom}}),l()}),()=>v("div",{class:"pdf-viewer-wrapper",ref:t,style:{width:r.value,height:n.value}})}});export{R as default}; | ||
//# sourceMappingURL=PDF.js.map |
@@ -181,7 +181,7 @@ import * as vue from 'vue'; | ||
}>>, { | ||
width: string | number; | ||
link: string; | ||
ratio: string | number; | ||
text: string; | ||
link: string; | ||
width: string | number; | ||
height: string | number; | ||
ratio: string | number; | ||
theme: string; | ||
@@ -188,0 +188,0 @@ user: string; |
@@ -1,2 +0,2 @@ | ||
import{defineComponent as f,ref as a,computed as s,h as e}from"vue";import{LoadingIcon as m}from"vuepress-shared/client";import"../styles/repl-it.scss";import{u as g}from"../size-fUTGJGHs.js";import"@vuepress/shared";import"@vueuse/core";var h=f({name:"Replit",props:{link:{type:String,default:""},user:{type:String,default:""},repl:{type:String,default:""},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},theme:{type:String,default:"light"},file:{type:String,default:()=>null},autoLoad:Boolean,text:{type:String,default:"Load Replit"}},setup(t){const{el:n,width:o,height:p,resize:d}=g(t),l=a(!1),r=a(!1),i=s(()=>{if(t.link){const u=new URL(t.link);return u.searchParams.set("embed","true"),u.toString()}return t.user&&t.repl?`https://replit.com/@${t.user}/${t.repl}${t.file?.length?`#${t.file}`:""}`:null});return()=>i.value?e("div",{class:"replit-wrapper"},t.autoLoad||l.value?[e("iframe",{ref:n,class:"replit-iframe",src:i.value,style:{width:o.value,height:r.value?p.value:0},onLoad:()=>{r.value=!0,d()}}),r.value?null:e(m)]:e("button",{type:"button",class:"replit-button",onClick:()=>{l.value=!0}},t.text)):null}});export{h as default}; | ||
import{defineComponent as f,ref as a,computed as s,h as e}from"vue";import{LoadingIcon as m}from"vuepress-shared/client";import"../styles/repl-it.scss";import{u as g}from"../size-K9_do8ei.js";import"@vueuse/core";var h=f({name:"Replit",props:{link:{type:String,default:""},user:{type:String,default:""},repl:{type:String,default:""},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},theme:{type:String,default:"light"},file:{type:String,default:()=>null},autoLoad:Boolean,text:{type:String,default:"Load Replit"}},setup(t){const{el:n,width:o,height:p,resize:d}=g(t),r=a(!1),l=a(!1),i=s(()=>{if(t.link){const u=new URL(t.link);return u.searchParams.set("embed","true"),u.toString()}return t.user&&t.repl?`https://replit.com/@${t.user}/${t.repl}${t.file?.length?`#${t.file}`:""}`:null});return()=>i.value?e("div",{class:"replit-wrapper"},t.autoLoad||r.value?[e("iframe",{ref:n,class:"replit-iframe",src:i.value,style:{width:o.value,height:l.value?p.value:0},onLoad:()=>{l.value=!0,d()}}),l.value?null:e(m)]:e("button",{type:"button",class:"replit-button",onClick:()=>{r.value=!0}},t.text)):null}});export{h as default}; | ||
//# sourceMappingURL=Replit.js.map |
import * as vue from 'vue'; | ||
import { PropType, VNode } from 'vue'; | ||
import { PageData } from '@vuepress/client'; | ||
import { PageData } from 'vuepress/client'; | ||
@@ -5,0 +5,0 @@ type ShareAction = "open" | "navigate" | "popup" | "qrcode"; |
@@ -1,2 +0,2 @@ | ||
import{usePageData as y,usePageFrontmatter as A}from"@vuepress/client";import{defineComponent as h,ref as E,onMounted as C,h as i,computed as S}from"vue";import{Popup as F,isAbsoluteUrl as H,startsWith as L,endsWith as P,openPopupWindow as R,isString as T,isPlainObject as _,isFunction as $}from"vuepress-shared/client";import{isLinkHttp as M,isArray as O,isString as b}from"@vuepress/shared";import"balloon-css/balloon.css";import"vuepress-shared/client/styles/popup.scss";import"../styles/share-service.scss";const g=t=>document.querySelector(`meta[name="${t}"]`)?.getAttribute("content")??null,w=(t,l="")=>{const o=["vp-share-icon",l];return M(t)||H(t)?i("img",{class:o,src:t,loading:"lazy","no-view":""}):L(t,"<")&&P(t,">")?i("div",{class:o,innerHTML:t}):i("div",{class:[...o,t]})};var j=h({name:"ShareService",props:{config:{type:Object,default:()=>({})},plain:Boolean,title:{type:String,required:!1},description:{type:String,required:!1},url:{type:String,required:!1},summary:{type:String,required:!1},cover:{type:String,required:!1},tag:{type:[Array,String],required:!1}},setup(t){let l;const o=y(),c=A(),e=E(!1),a=()=>{const r=t.title??o.value.title,n=t.description??c.value.description??g("description")??g("og:description")??g("twitter:description"),u=t.url??typeof window>"u"?null:window.location.href,m=t.cover??g("og:image"),p=document.querySelector(`${SHARE_CONTENT_SELECTOR} :not(a) > img`)?.getAttribute("src"),f=t.tag??c.value.tag??c.value.tags,v=O(f)?f.filter(b).join(","):b(f)?f:null;return t.config.link.replace(/\[([^\]]+)\]/g,(W,G)=>{const k=G.split("|");for(const s of k){if(s==="url"&&u)return u;if(s==="title"&&r)return r;if(s==="description"&&n)return n;if(s==="summary"&&t.summary)return t.summary;if(s==="cover"&&m)return m;if(s==="image"&&p)return p;if(s==="tags"&&v)return v}return""})},d=()=>{const r=a();switch(t.config.action){case"navigate":window.open(r);break;case"open":window.open(r,"_blank");break;case"qrcode":import("qrcode").then(({toDataURL:n})=>n(r,{errorCorrectionLevel:"H",width:250,scale:1,margin:1.5})).then(n=>{l.emit(`<img src="${n}" alt="qrcode" class="share-qrcode" />`)});break;default:R(r,"share")}};return C(()=>{l=new F}),()=>{const{config:{name:r,icon:n,shape:u,color:m},plain:p}=t;return[i("button",{type:"button",class:["vp-share-button",{plain:p}],"aria-label":r,"data-balloon-pos":"up",onClick:()=>d()},p?w(u,"plain"):n?w(n):i("div",{class:"vp-share-icon colorful",style:{background:m},innerHTML:u})),e.value?i("div",{class:"share-popup"}):null]}}});const q=SHARE_SERVICES;var B=h({name:"Share",props:{services:{type:[String,Array],default:()=>q.map(({name:t})=>t)},titleGetter:{type:Function,default:t=>t.title},descriptionGetter:{type:Function,default:t=>t.frontmatter.description},summaryGetter:{type:Function,default:t=>t.summary},coverGetter:{type:Function,default:t=>t.cover},tagGetter:{type:Function,default:({frontmatter:t})=>t.tag||t.tags},inline:Boolean,colorful:Boolean},setup(t){const l=y(),o=S(()=>(T(t.services)?t.services.split(","):t.services).map(e=>_(e)?e.name&&e.link?e:null:q.find(({name:a})=>a===e)).filter(e=>e!=null)),c=S(()=>{const e={};return["titleGetter","descriptionGetter","summaryGetter","coverGetter","tagGetter"].forEach(a=>{if($(t[a])){const d=t[a](l.value);d&&(e[a.replace("Getter","")]=d)}}),e});return()=>i("div",{class:"vp-share-buttons",style:t.inline?{display:"inline-block"}:{}},o.value.map(e=>i(j,{config:e,...c.value,plain:!t.colorful})))}});export{B as default}; | ||
import{defineComponent as h,ref as A,onMounted as E,h as i,computed as S}from"vue";import{usePageData as b,usePageFrontmatter as C}from"vuepress/client";import{Popup as F,isLinkHttp as H,isAbsoluteUrl as L,startsWith as P,endsWith as R,openPopupWindow as T,isArray as _,isString as v,isPlainObject as M,isFunction as O}from"vuepress-shared/client";import"balloon-css/balloon.css";import"vuepress-shared/client/styles/popup.scss";import"../styles/share-service.scss";const g=t=>document.querySelector(`meta[name="${t}"]`)?.getAttribute("content")??null,w=(t,l="")=>{const o=["vp-share-icon",l];return H(t)||L(t)?i("img",{class:o,src:t,loading:"lazy","no-view":""}):P(t,"<")&&R(t,">")?i("div",{class:o,innerHTML:t}):i("div",{class:[...o,t]})};var $=h({name:"ShareService",props:{config:{type:Object,default:()=>({})},plain:Boolean,title:{type:String,required:!1},description:{type:String,required:!1},url:{type:String,required:!1},summary:{type:String,required:!1},cover:{type:String,required:!1},tag:{type:[Array,String],required:!1}},setup(t){let l;const o=b(),c=C(),e=A(!1),a=()=>{const r=t.title??o.value.title,n=t.description??c.value.description??g("description")??g("og:description")??g("twitter:description"),u=t.url??typeof window>"u"?null:window.location.href,m=t.cover??g("og:image"),p=document.querySelector(`${SHARE_CONTENT_SELECTOR} :not(a) > img`)?.getAttribute("src"),f=t.tag??c.value.tag??c.value.tags,y=_(f)?f.filter(v).join(","):v(f)?f:null;return t.config.link.replace(/\[([^\]]+)\]/g,(B,G)=>{const k=G.split("|");for(const s of k){if(s==="url"&&u)return u;if(s==="title"&&r)return r;if(s==="description"&&n)return n;if(s==="summary"&&t.summary)return t.summary;if(s==="cover"&&m)return m;if(s==="image"&&p)return p;if(s==="tags"&&y)return y}return""})},d=()=>{const r=a();switch(t.config.action){case"navigate":window.open(r);break;case"open":window.open(r,"_blank");break;case"qrcode":import("qrcode").then(({toDataURL:n})=>n(r,{errorCorrectionLevel:"H",width:250,scale:1,margin:1.5})).then(n=>{l.emit(`<img src="${n}" alt="qrcode" class="share-qrcode" />`)});break;default:T(r,"share")}};return E(()=>{l=new F}),()=>{const{config:{name:r,icon:n,shape:u,color:m},plain:p}=t;return[i("button",{type:"button",class:["vp-share-button",{plain:p}],"aria-label":r,"data-balloon-pos":"up",onClick:()=>d()},p?w(u,"plain"):n?w(n):i("div",{class:"vp-share-icon colorful",style:{background:m},innerHTML:u})),e.value?i("div",{class:"share-popup"}):null]}}});const q=SHARE_SERVICES;var j=h({name:"Share",props:{services:{type:[String,Array],default:()=>q.map(({name:t})=>t)},titleGetter:{type:Function,default:t=>t.title},descriptionGetter:{type:Function,default:t=>t.frontmatter.description},summaryGetter:{type:Function,default:t=>t.summary},coverGetter:{type:Function,default:t=>t.cover},tagGetter:{type:Function,default:({frontmatter:t})=>t.tag||t.tags},inline:Boolean,colorful:Boolean},setup(t){const l=b(),o=S(()=>(v(t.services)?t.services.split(","):t.services).map(e=>M(e)?e.name&&e.link?e:null:q.find(({name:a})=>a===e)).filter(e=>e!=null)),c=S(()=>{const e={};return["titleGetter","descriptionGetter","summaryGetter","coverGetter","tagGetter"].forEach(a=>{if(O(t[a])){const d=t[a](l.value);d&&(e[a.replace("Getter","")]=d)}}),e});return()=>i("div",{class:"vp-share-buttons",style:t.inline?{display:"inline-block"}:{}},o.value.map(e=>i($,{config:e,...c.value,plain:!t.colorful})))}});export{j as default}; | ||
//# sourceMappingURL=Share.js.map |
@@ -1,2 +0,2 @@ | ||
import{withBase as n}from"@vuepress/client";import{defineComponent as r,computed as a,h as o,resolveComponent as l}from"vue";import{BitbucketIcon as s,GiteeIcon as p,GitHubIcon as c,GitLabIcon as u,SourceIcon as v,useLocaleConfig as d,resolveRepoType as f}from"vuepress-shared/client";import"balloon-css/balloon.css";import"../styles/site-info.scss";var m=r({name:"SiteInfo",components:{BitbucketIcon:s,GiteeIcon:p,GitHubIcon:c,GitLabIcon:u,SourceIcon:v},props:{name:{type:String,required:!0},desc:{type:String,default:""},logo:{type:String,default:""},url:{type:String,required:!0},preview:{type:String,required:!0},repo:{type:String,default:""}},setup(e){const t=d(SITE_INFO_LOCALES),i=a(()=>e.repo?f(e.repo):null);return()=>o("div",{class:"vp-site-info","data-name":e.name},[o("a",{class:"vp-site-info-navigator",title:e.name,href:e.url,target:"_blank"}),o("div",{class:"vp-site-info-preview",style:{background:`url(${n(e.preview)}) center/cover no-repeat`}}),o("div",{class:"vp-site-info-detail"},[e.logo?o("img",{class:"vp-site-info-logo",src:e.logo,alt:"",loading:"lazy","no-view":""}):null,o("div",{class:"vp-site-info-name"},e.name),o("div",{class:"vp-site-info-desc"},e.desc)]),e.repo?o("div",{class:"vp-site-info-source-wrapper"},o("a",{class:"vp-site-info-source",href:e.repo,"aria-label":t.value.source,"data-balloon-pos":"left",title:t.value.source,target:"_blank"},o(l(`${i.value}Icon`)))):null])}});export{m as default}; | ||
import{defineComponent as n,computed as r,h as o,resolveComponent as a}from"vue";import{withBase as l}from"vuepress/client";import{BitbucketIcon as s,GiteeIcon as p,GitHubIcon as c,GitLabIcon as u,SourceIcon as v,useLocaleConfig as d,resolveRepoType as f}from"vuepress-shared/client";import"balloon-css/balloon.css";import"../styles/site-info.scss";var m=n({name:"SiteInfo",components:{BitbucketIcon:s,GiteeIcon:p,GitHubIcon:c,GitLabIcon:u,SourceIcon:v},props:{name:{type:String,required:!0},desc:{type:String,default:""},logo:{type:String,default:""},url:{type:String,required:!0},preview:{type:String,required:!0},repo:{type:String,default:""}},setup(e){const t=d(SITE_INFO_LOCALES),i=r(()=>e.repo?f(e.repo):null);return()=>o("div",{class:"vp-site-info","data-name":e.name},[o("a",{class:"vp-site-info-navigator",title:e.name,href:e.url,target:"_blank"}),o("div",{class:"vp-site-info-preview",style:{background:`url(${l(e.preview)}) center/cover no-repeat`}}),o("div",{class:"vp-site-info-detail"},[e.logo?o("img",{class:"vp-site-info-logo",src:e.logo,alt:"",loading:"lazy","no-view":""}):null,o("div",{class:"vp-site-info-name"},e.name),o("div",{class:"vp-site-info-desc"},e.desc)]),e.repo?o("div",{class:"vp-site-info-source-wrapper"},o("a",{class:"vp-site-info-source",href:e.repo,"aria-label":t.value.source,"data-balloon-pos":"left",title:t.value.source,target:"_blank"},o(a(`${i.value}Icon`)))):null])}});export{m as default}; | ||
//# sourceMappingURL=SiteInfo.js.map |
@@ -285,9 +285,9 @@ import * as vue from 'vue'; | ||
type: "project" | "github"; | ||
text: string; | ||
width: string | number; | ||
embed: boolean; | ||
load: boolean; | ||
ratio: string | number; | ||
text: string; | ||
view: UiViewOption; | ||
width: string | number; | ||
height: string | number; | ||
ratio: string | number; | ||
theme: UiThemeOption; | ||
@@ -294,0 +294,0 @@ file: string | string[]; |
@@ -1,2 +0,2 @@ | ||
import a from"@stackblitz/sdk";import{defineComponent as n,computed as p,onMounted as u,h as e}from"vue";import"../styles/stack-blitz.scss";import{u as h}from"../size-fUTGJGHs.js";import"@vuepress/shared";import"@vueuse/core";var m=n({name:"StackBlitz",props:{id:{type:String,required:!0},type:{type:String,default:"project"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},file:{type:[String,Array],default:""},initialPath:{type:String,default:""},embed:Boolean,load:Boolean,view:{type:String,default:"preview"},hideExplorer:Boolean,hideNavigation:Boolean,hideDevtools:Boolean,terminalHeight:{type:[String,Number],default:30},devToolsHeight:{type:[String,Number],default:30},text:{type:String,default:"Open in StackBlitz"},theme:{type:String,default:"dark"}},setup(t){const{el:i,width:r,height:l,resize:d}=h(t),o=p(()=>({openFile:t.file,view:t.view,theme:t.theme,clickToLoad:t.load,hideExplorer:t.hideExplorer,hideNavigation:t.hideNavigation,hideDevTools:t.hideDevtools,initialPath:t.initialPath}));return u(async()=>{t.embed&&(await a[t.type==="github"?"embedGithubProject":"embedProjectId"](i.value,t.id,o.value),d())}),()=>t.embed?e("div",{ref:i,class:"stackblitz-container",style:{width:r.value,height:l.value}}):e("div",{class:"stackblitz-container"},e("button",{type:"button",class:"stackblitz-button",onClick:()=>{a[t.type==="github"?"openGithubProject":"openProjectId"](t.id,o.value)}},t.text))}});export{m as default}; | ||
import a from"@stackblitz/sdk";import{defineComponent as n,computed as p,onMounted as u,h as e}from"vue";import"../styles/stack-blitz.scss";import{u as h}from"../size-K9_do8ei.js";import"@vueuse/core";import"vuepress-shared/client";var m=n({name:"StackBlitz",props:{id:{type:String,required:!0},type:{type:String,default:"project"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},file:{type:[String,Array],default:""},initialPath:{type:String,default:""},embed:Boolean,load:Boolean,view:{type:String,default:"preview"},hideExplorer:Boolean,hideNavigation:Boolean,hideDevtools:Boolean,terminalHeight:{type:[String,Number],default:30},devToolsHeight:{type:[String,Number],default:30},text:{type:String,default:"Open in StackBlitz"},theme:{type:String,default:"dark"}},setup(t){const{el:i,width:r,height:l,resize:d}=h(t),o=p(()=>({openFile:t.file,view:t.view,theme:t.theme,clickToLoad:t.load,hideExplorer:t.hideExplorer,hideNavigation:t.hideNavigation,hideDevTools:t.hideDevtools,initialPath:t.initialPath}));return u(async()=>{t.embed&&(await a[t.type==="github"?"embedGithubProject":"embedProjectId"](i.value,t.id,o.value),d())}),()=>t.embed?e("div",{ref:i,class:"stackblitz-container",style:{width:r.value,height:l.value}}):e("div",{class:"stackblitz-container"},e("button",{type:"button",class:"stackblitz-button",onClick:()=>{a[t.type==="github"?"openGithubProject":"openProjectId"](t.id,o.value)}},t.text))}});export{m as default}; | ||
//# sourceMappingURL=StackBlitz.js.map |
@@ -144,8 +144,8 @@ import * as vue from 'vue'; | ||
}>>, { | ||
options: Options; | ||
title: string; | ||
type: string; | ||
title: string; | ||
options: Options; | ||
poster: string; | ||
width: string | number; | ||
loop: boolean; | ||
width: string | number; | ||
tracks: UseMediaTextTrackSource[]; | ||
@@ -152,0 +152,0 @@ }, {}>; |
@@ -1,2 +0,2 @@ | ||
import{isArray as i}from"@vuepress/shared";import{defineComponent as l,shallowRef as n,computed as c,onMounted as d,onBeforeMount as u,h as o}from"vue";import"plyr/dist/plyr.css";import"../styles/video-player.scss";import{g as e}from"../getLink-E24rbGij.js";import"@vuepress/client";var y=l({name:"VideoPlayer",props:{options:{type:Object,default:()=>({})},src:{type:[String,Array],required:!0},title:{type:String,default:"A video"},type:{type:String,default:""},tracks:{type:Array,default:()=>[]},poster:{type:String,default:""},width:{type:[String,Number],default:"100%"},loop:Boolean},setup(t){let s=null;const a=n(),p=c(()=>({hideYouTubeDOMError:!0,...t.options}));return d(async()=>{const{default:r}=await import("plyr");s=new r(a.value,p.value)}),u(()=>{try{s?.destroy()}catch{}}),()=>o("div",{class:"vp-video-player",style:{width:t.width}},[o("a",{class:"sr-only",href:e(i(t.src)?t.src[0].src:t.src)},t.title),o("video",{ref:a,title:t.title,crossorigin:"anonymous",poster:e(t.poster),preload:"metadata",controls:"",...t.loop?{loop:""}:{}},[t.tracks.map(r=>o("track",{...r,src:e(r.src)})),i(t.src)?t.src.map(r=>o("source",r)):o("source",{src:e(t.src),type:t.type})])])}});export{y as default}; | ||
import{defineComponent as l,shallowRef as n,computed as c,onMounted as d,onBeforeMount as u,h as o}from"vue";import{isArray as i}from"vuepress-shared/client";import"plyr/dist/plyr.css";import"../styles/video-player.scss";import{g as e}from"../getLink-AmUl-HVt.js";import"vuepress/client";var y=l({name:"VideoPlayer",props:{options:{type:Object,default:()=>({})},src:{type:[String,Array],required:!0},title:{type:String,default:"A video"},type:{type:String,default:""},tracks:{type:Array,default:()=>[]},poster:{type:String,default:""},width:{type:[String,Number],default:"100%"},loop:Boolean},setup(t){let s=null;const a=n(),p=c(()=>({hideYouTubeDOMError:!0,...t.options}));return d(async()=>{const{default:r}=await import("plyr");s=new r(a.value,p.value)}),u(()=>{try{s?.destroy()}catch{}}),()=>o("div",{class:"vp-video-player",style:{width:t.width}},[o("a",{class:"sr-only",href:e(i(t.src)?t.src[0].src:t.src)},t.title),o("video",{ref:a,title:t.title,crossorigin:"anonymous",poster:e(t.poster),preload:"metadata",controls:"",...t.loop?{loop:""}:{}},[t.tracks.map(r=>o("track",{...r,src:e(r.src)})),i(t.src)?t.src.map(r=>o("source",r)):o("source",{src:e(t.src),type:t.type})])])}});export{y as default}; | ||
//# sourceMappingURL=VideoPlayer.js.map |
@@ -1,2 +0,2 @@ | ||
import{withBase as v}from"@vuepress/client";import{isLinkExternal as b}from"@vuepress/shared";import{h as n}from"vue";import{VPLink as d}from"vuepress-shared/client";import"../styles/vp-banner.scss";const l=({title:c,content:p="",logo:o="",background:t="",color:e="",actions:m=[]})=>{const a={};return t&&(a.background=t),e&&(a.color=e),n("div",{class:"vp-banner",style:a},[o?n("img",{class:"vp-banner-logo",src:v(o),loading:"lazy","no-view":""}):null,n("div",{class:"vp-banner-body"},[n("div",{class:"vp-banner-title",innerHTML:c}),n("p",{class:"vp-banner-content",innerHTML:p}),n("div",{class:"vp-banner-actions"},[...m.map(({link:r,text:i,type:s="primary"})=>b(r)?n("a",{class:["vp-banner-action",s],href:r,target:"_blank"},i):n(d,{class:["vp-banner-action",s],to:r},()=>i))])])])};l.displayName="VPBanner";export{l as default}; | ||
import{h as n}from"vue";import{withBase as b}from"vuepress/client";import{isLinkExternal as m,VPLink as d}from"vuepress-shared/client";import"../styles/vp-banner.scss";const l=({title:c,content:p="",logo:o="",background:t="",color:e="",actions:v=[]})=>{const a={};return t&&(a.background=t),e&&(a.color=e),n("div",{class:"vp-banner",style:a},[o?n("img",{class:"vp-banner-logo",src:b(o),loading:"lazy","no-view":""}):null,n("div",{class:"vp-banner-body"},[n("div",{class:"vp-banner-title",innerHTML:c}),n("p",{class:"vp-banner-content",innerHTML:p}),n("div",{class:"vp-banner-actions"},[...v.map(({link:r,text:i,type:s="primary"})=>m(r)?n("a",{class:["vp-banner-action",s],href:r,target:"_blank"},i):n(d,{class:["vp-banner-action",s],to:r},()=>i))])])])};l.displayName="VPBanner";export{l as default}; | ||
//# sourceMappingURL=VPBanner.js.map |
@@ -1,2 +0,2 @@ | ||
import{withBase as i}from"@vuepress/client";import{isLinkExternal as p}from"@vuepress/shared";import{h as r}from"vue";import{VPLink as v}from"vuepress-shared/client";import"../styles/vp-card.scss";const n=({title:d,desc:e="",logo:o,background:s,color:t,link:c})=>{const l=[o?r("img",{class:"vp-card-logo",src:i(o),loading:"lazy","no-view":""}):null,r("div",{class:"vp-card-content"},[r("div",{class:"vp-card-title",innerHTML:d}),r("hr"),r("div",{class:"vp-card-desc",innerHTML:e})])],a={};return s&&(a.background=s),t&&(a.color=t),c?p(c)?r("a",{class:"vp-card",href:c,target:"_blank",style:a},l):r(v,{to:c,class:"vp-card",style:a},()=>l):r("div",{class:"vp-card",style:a},l)};n.displayName="VPCard";export{n as default}; | ||
import{h as r}from"vue";import{withBase as n}from"vuepress/client";import{isLinkExternal as p,VPLink as v}from"vuepress-shared/client";import"../styles/vp-card.scss";const i=({title:d,desc:e="",logo:l,background:t,color:o,link:s})=>{const c=[l?r("img",{class:"vp-card-logo",src:n(l),loading:"lazy","no-view":""}):null,r("div",{class:"vp-card-content"},[r("div",{class:"vp-card-title",innerHTML:d}),r("hr"),r("div",{class:"vp-card-desc",innerHTML:e})])],a={};return t&&(a.background=t),o&&(a.color=o),s?p(s)?r("a",{class:"vp-card",href:s,target:"_blank",style:a},c):r(v,{to:s,class:"vp-card",style:a},()=>c):r("div",{class:"vp-card",style:a},c)};i.displayName="VPCard";export{i as default}; | ||
//# sourceMappingURL=VPCard.js.map |
@@ -127,10 +127,10 @@ import * as vue from 'vue'; | ||
}>>, { | ||
title: string; | ||
width: string | number; | ||
time: string | number; | ||
title: string; | ||
autoplay: boolean; | ||
width: string | number; | ||
ratio: string | number; | ||
height: string | number; | ||
ratio: string | number; | ||
}, {}>; | ||
export { _default as default }; |
@@ -1,2 +0,2 @@ | ||
import{defineComponent as m,ref as p,computed as d,h as e}from"vue";import{LoadingIcon as s}from"vuepress-shared/client";import"../styles/xi-gua.scss";import{u as f}from"../size-fUTGJGHs.js";import{v as n}from"../iframeAllow-JoSc_agB.js";import"@vuepress/shared";import"@vueuse/core";var g=m({name:"XiGua",props:{id:{type:String,required:!0},title:{type:String,default:"A XiGua video"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(t){const{el:r,width:o,height:l,resize:u}=f(t),i=p(!1),a=d(()=>`https://www.ixigua.com/iframe/${t.id}?startTime=${t.time}&autoplay=${t.autoplay?1:0}`);return()=>t.id?[e("div",{class:"xi-gua-desc"},e("a",{class:"sr-only",href:a.value},t.title)),e("iframe",{ref:r,src:a.value,title:t.title,class:"xi-gua-iframe",allow:n,style:{width:o.value,height:i.value?l.value:0},onLoad:()=>{i.value=!0,u()}}),i.value?null:e(s)]:[]}});export{g as default}; | ||
import{defineComponent as m,ref as d,computed as p,h as e}from"vue";import{LoadingIcon as s}from"vuepress-shared/client";import"../styles/xi-gua.scss";import{u as f}from"../size-K9_do8ei.js";import{v as n}from"../iframeAllow-JoSc_agB.js";import"@vueuse/core";var g=m({name:"XiGua",props:{id:{type:String,required:!0},title:{type:String,default:"A XiGua video"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(t){const{el:r,width:l,height:o,resize:u}=f(t),i=d(!1),a=p(()=>`https://www.ixigua.com/iframe/${t.id}?startTime=${t.time}&autoplay=${t.autoplay?1:0}`);return()=>t.id?[e("div",{class:"xi-gua-desc"},e("a",{class:"sr-only",href:a.value},t.title)),e("iframe",{ref:r,src:a.value,title:t.title,class:"xi-gua-iframe",allow:n,style:{width:l.value,height:i.value?o.value:0},onLoad:()=>{i.value=!0,u()}}),i.value?null:e(s)]:[]}});export{g as default}; | ||
//# sourceMappingURL=XiGua.js.map |
@@ -308,9 +308,9 @@ import * as vue from 'vue'; | ||
title: string; | ||
width: string | number; | ||
loop: boolean; | ||
autoplay: boolean; | ||
ratio: string | number; | ||
id: string; | ||
autoplay: boolean; | ||
loop: boolean; | ||
width: string | number; | ||
height: string | number; | ||
end: string | number; | ||
ratio: string | number; | ||
showCc: boolean; | ||
@@ -317,0 +317,0 @@ showAnnotations: boolean; |
@@ -1,2 +0,2 @@ | ||
import{usePageLang as f}from"@vuepress/client";import{defineComponent as m,ref as g,computed as i,h as l}from"vue";import{startsWith as c,LoadingIcon as b}from"vuepress-shared/client";import"../styles/youtube.scss";import{u as v}from"../size-fUTGJGHs.js";import{v as h}from"../iframeAllow-JoSc_agB.js";import"@vuepress/shared";import"@vueuse/core";var S=m({name:"YouTube",props:{id:{type:String,default:""},title:{type:String,default:"A YouTube video"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},autoplay:Boolean,loop:Boolean,showCc:Boolean,showAnnotations:Boolean,start:{type:[String,Number],default:void 0},end:{type:[String,Number],default:void 0},defaultCcLang:{type:String,default:""},uiLang:{type:String,default:""},listType:{type:String,default:""},list:{type:String,default:""},playlist:{type:String,default:""},disableControls:Boolean,disableFullscreen:Boolean,disableKeyboard:Boolean},setup(t){const s=f(),{el:u,width:n,height:d,resize:p}=v(t),a=g(!1),r=i(()=>t.id?`${t.id}?`:t.listType==="playlist"&&t.list?`?listType=playlist&list=${c(t.list,"PL")?t.list:`PL${t.list}`}&`:null),y=i(()=>{const e=new URLSearchParams;return t.autoplay&&e.set("autoplay","1"),t.loop&&e.set("loop","1"),t.showCc&&e.set("cc_load_policy","1"),t.showAnnotations&&e.set("iv_load_policy","3"),t.start&&e.set("start",t.start.toString()),t.end&&e.set("end",t.end.toString()),e.set("hl",t.uiLang||s.value),e.set("cc_lang_pref",t.defaultCcLang||s.value),e.set("color","white"),t.disableControls&&e.set("controls","0"),t.disableFullscreen&&e.set("fs","0"),t.disableKeyboard&&e.set("disablekb","1"),t.playlist&&e.set("playlist",t.playlist),e.toString()}),o=i(()=>r.value?`https://www.youtube.com/embed/${r.value}${y.value}`:null);return()=>o.value?[l("div",{class:"youtube-desc"},l("a",{class:"sr-only",href:o.value},t.title)),l("iframe",{ref:u,src:o.value,title:t.title,class:"youtube-iframe",allow:h,style:{width:n.value,height:a.value?d.value:0},onLoad:()=>{a.value=!0,p()}}),a.value?null:l(b)]:[]}});export{S as default}; | ||
import{defineComponent as f,ref as g,computed as i,h as l}from"vue";import{usePageLang as m}from"vuepress/client";import{startsWith as c,LoadingIcon as b}from"vuepress-shared/client";import"../styles/youtube.scss";import{u as v}from"../size-K9_do8ei.js";import{v as h}from"../iframeAllow-JoSc_agB.js";import"@vueuse/core";var S=f({name:"YouTube",props:{id:{type:String,default:""},title:{type:String,default:"A YouTube video"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},autoplay:Boolean,loop:Boolean,showCc:Boolean,showAnnotations:Boolean,start:{type:[String,Number],default:void 0},end:{type:[String,Number],default:void 0},defaultCcLang:{type:String,default:""},uiLang:{type:String,default:""},listType:{type:String,default:""},list:{type:String,default:""},playlist:{type:String,default:""},disableControls:Boolean,disableFullscreen:Boolean,disableKeyboard:Boolean},setup(t){const s=m(),{el:u,width:n,height:d,resize:p}=v(t),a=g(!1),r=i(()=>t.id?`${t.id}?`:t.listType==="playlist"&&t.list?`?listType=playlist&list=${c(t.list,"PL")?t.list:`PL${t.list}`}&`:null),y=i(()=>{const e=new URLSearchParams;return t.autoplay&&e.set("autoplay","1"),t.loop&&e.set("loop","1"),t.showCc&&e.set("cc_load_policy","1"),t.showAnnotations&&e.set("iv_load_policy","3"),t.start&&e.set("start",t.start.toString()),t.end&&e.set("end",t.end.toString()),e.set("hl",t.uiLang||s.value),e.set("cc_lang_pref",t.defaultCcLang||s.value),e.set("color","white"),t.disableControls&&e.set("controls","0"),t.disableFullscreen&&e.set("fs","0"),t.disableKeyboard&&e.set("disablekb","1"),t.playlist&&e.set("playlist",t.playlist),e.toString()}),o=i(()=>r.value?`https://www.youtube.com/embed/${r.value}${y.value}`:null);return()=>o.value?[l("div",{class:"youtube-desc"},l("a",{class:"sr-only",href:o.value},t.title)),l("iframe",{ref:u,src:o.value,title:t.title,class:"youtube-iframe",allow:h,style:{width:n.value,height:a.value?d.value:0},onLoad:()=>{a.value=!0,p()}}),a.value?null:l(b)]:[]}});export{S as default}; | ||
//# sourceMappingURL=YouTube.js.map |
import { Option } from 'artplayer/types/option.js'; | ||
import { LocaleConfig, PluginFunction } from '@vuepress/core'; | ||
import { LocaleConfig } from 'vuepress/shared'; | ||
import { RequiredLocaleConfig } from 'vuepress-shared'; | ||
import { PluginFunction } from 'vuepress/core'; | ||
@@ -5,0 +6,0 @@ interface BackToTopOptions { |
@@ -1,2 +0,2 @@ | ||
import{useSassPalettePlugin as $}from"vuepress-plugin-sass-palette";import{ensureEndingSlash as H,Logger as j,checkInstalled as I,isArray as d,isString as b,isLinkHttp as q,isAbsoluteUrl as N,endsWith as C,keys as R,isPlainObject as h,createConverter as K,isNumber as x,getLocales as w,getRealPath as P,checkVersion as G,addCustomElement as J,addViteSsrNoExternal as U}from"vuepress-shared/node";import{getDirname as X,path as Y,colors as c}from"@vuepress/utils";const W=X(import.meta.url),Z=["ArtPlayer","AudioPlayer","Badge","BiliBili","CodePen","FontIcon","PDF","Replit","Share","SiteInfo","StackBlitz","VPBanner","VPCard","VidStack","VideoPlayer","XiGua","YouTube"],L={ArtPlayer:["artplayer"],AudioPlayer:["plyr"],VidStack:["vidstack"],VideoPlayer:["plyr"]},m=H(Y.resolve(W,"../client")),D="vuepress-plugin-components",r=new j(D),v=(e,t=!0)=>{const a=I(e,import.meta.url);return t&&!a&&r.error(`Package ${e} is not installed, please install it manually!`),a},Q="fas fa-",e1="iconfont icon-",t1=e=>/^(?:https:)?\/\/kit\.fontawesome\.com\//.test(e)||/\/iconify-icon(?:[@/]|$)/.test(e),S=e=>/^(?:https:)?\/\/kit\.fontawesome\.com\//.test(e)||e.includes("/@fortawesome/fontawesome-free/"),_=e=>/^(?:https:)?\/\/at\.alicdn\.com\/t\//.test(e),o1=e=>d(e)?e.every(S):e==="fontawesome"||e==="fontawesome-with-brands"||S(e),a1=e=>d(e)?e.every(_):e==="iconfont"||_(e),n1=e=>b(e)&&(t1(e)||e==="iconify"),s1=(e,t)=>{if(e){if(o1(e))return{type:"fontawesome",prefix:t??Q};if(a1(e))return{type:"iconfont",prefix:t??e1};if(n1(e))return{type:"iconify",prefix:t??""}}return{type:"custom",prefix:t??""}},A=e=>e.map(t=>({type:"script",content:`useScriptTag( | ||
import{useSassPalettePlugin as $}from"vuepress-plugin-sass-palette";import{ensureEndingSlash as H,Logger as j,checkInstalled as I,isArray as d,isString as b,isLinkHttp as q,isAbsoluteUrl as N,endsWith as C,keys as R,isPlainObject as h,createConverter as K,isNumber as x,getLocales as w,getRealPath as P,checkVersion as G,addCustomElement as J,addViteSsrNoExternal as U}from"vuepress-shared/node";import{getDirname as X,path as Y,colors as c}from"vuepress/utils";const W=X(import.meta.url),Z=["ArtPlayer","AudioPlayer","Badge","BiliBili","CodePen","FontIcon","PDF","Replit","Share","SiteInfo","StackBlitz","VPBanner","VPCard","VidStack","VideoPlayer","XiGua","YouTube"],L={ArtPlayer:["artplayer"],AudioPlayer:["plyr"],VidStack:["vidstack"],VideoPlayer:["plyr"]},m=H(Y.resolve(W,"../client")),D="vuepress-plugin-components",r=new j(D),v=(e,t=!0)=>{const a=I(e,import.meta.url);return t&&!a&&r.error(`Package ${e} is not installed, please install it manually!`),a},Q="fas fa-",e1="iconfont icon-",t1=e=>/^(?:https:)?\/\/kit\.fontawesome\.com\//.test(e)||/\/iconify-icon(?:[@/]|$)/.test(e),S=e=>/^(?:https:)?\/\/kit\.fontawesome\.com\//.test(e)||e.includes("/@fortawesome/fontawesome-free/"),_=e=>/^(?:https:)?\/\/at\.alicdn\.com\/t\//.test(e),o1=e=>d(e)?e.every(S):e==="fontawesome"||e==="fontawesome-with-brands"||S(e),a1=e=>d(e)?e.every(_):e==="iconfont"||_(e),n1=e=>b(e)&&(t1(e)||e==="iconify"),s1=(e,t)=>{if(e){if(o1(e))return{type:"fontawesome",prefix:t??Q};if(a1(e))return{type:"iconfont",prefix:t??e1};if(n1(e))return{type:"iconify",prefix:t??""}}return{type:"custom",prefix:t??""}},A=e=>e.map(t=>({type:"script",content:`useScriptTag( | ||
\`https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/${t}.min.js\`, | ||
@@ -10,3 +10,3 @@ () => {}, | ||
`),s==="FontIcon"&&r1(a.fontIcon?.assets).forEach(p=>{const{type:T,content:M}=p;T==="script"?y=!0:z=!0,g.push(M)}),i&&s==="Catalog"&&(n.push(`import Catalog from "${m}compact/components/Catalog.js";`),l+=`if(!hasGlobalComponent("Catalog")) app.component("Catalog", Catalog); | ||
`)}),o.backToTop){const{threshold:s,progress:p}=h(o.backToTop)?o.backToTop:{};k=!0,n.push(`import BackToTop from "${m}components/BackToTop.js";`);const T=h(o.backToTop)?{...x(s)?{threshold:s}:{},...p===!1?{noProgress:!0}:{}}:{};f.push(`() => h(BackToTop, ${JSON.stringify(T)}),`)}return d(o.notice)&&(k=!0,n.push(`import Notice from "${m}components/Notice.js";`),f.push(`() => h(Notice, { config: ${JSON.stringify(i1(o.notice))} }),`)),e.writeTemp("components/config.js",`import { defineClientConfig } from "@vuepress/client"; | ||
`)}),o.backToTop){const{threshold:s,progress:p}=h(o.backToTop)?o.backToTop:{};k=!0,n.push(`import BackToTop from "${m}components/BackToTop.js";`);const T=h(o.backToTop)?{...x(s)?{threshold:s}:{},...p===!1?{noProgress:!0}:{}}:{};f.push(`() => h(BackToTop, ${JSON.stringify(T)}),`)}return d(o.notice)&&(k=!0,n.push(`import Notice from "${m}components/Notice.js";`),f.push(`() => h(Notice, { config: ${JSON.stringify(i1(o.notice))} }),`)),e.writeTemp("components/config.js",`import { defineClientConfig } from "vuepress/client"; | ||
import { hasGlobalComponent } from "${P("vuepress-shared/client",F)}"; | ||
@@ -37,3 +37,3 @@ ${k?`import { h } from "vue"; | ||
}); | ||
`)},$1=(e,t=!0)=>a=>(t&&B1(e),G(a,D,"2.0.0-rc.0"),a.env.isDebug&&r.info("Options:",e),$(a,{id:"hope"}),{name:D,define:O1(e,t),extendsBundlerOptions:(o,i)=>{e?.components?.includes("VidStack")&&J(o,i,/^media-/),U(o,i,"vuepress-shared")},clientConfigFile:o=>M1(o,e,t)});export{V as AVAILABLE_SERVICES,u as SHARE_CONFIG,B as backToTopLocales,$1 as componentsPlugin,E as pdfLocaleConfig,O as siteInfoLocaleConfig}; | ||
`)},$1=(e,t=!0)=>a=>(t&&B1(e),G(a,D,"2.0.0-rc.2"),a.env.isDebug&&r.info("Options:",e),$(a,{id:"hope"}),{name:D,define:O1(e,t),extendsBundlerOptions:(o,i)=>{e?.components?.includes("VidStack")&&J(o,i,/^media-/),U(o,i,"vuepress-shared")},clientConfigFile:o=>M1(o,e,t)});export{V as AVAILABLE_SERVICES,u as SHARE_CONFIG,B as backToTopLocales,$1 as componentsPlugin,E as pdfLocaleConfig,O as siteInfoLocaleConfig}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "vuepress-plugin-components", | ||
"version": "2.0.0-rc.13", | ||
"version": "2.0.0-rc.14", | ||
"description": "Components collection plugin for VuePress2", | ||
@@ -39,5 +39,2 @@ "keywords": [ | ||
"@stackblitz/sdk": "^1.9.0", | ||
"@vuepress/client": "2.0.0-rc.0", | ||
"@vuepress/shared": "2.0.0-rc.0", | ||
"@vuepress/utils": "2.0.0-rc.0", | ||
"@vueuse/core": "^10.7.2", | ||
@@ -49,10 +46,9 @@ "balloon-css": "^1.2.0", | ||
"vue-router": "^4.2.5", | ||
"vuepress-plugin-reading-time2": "2.0.0-rc.13", | ||
"vuepress-plugin-sass-palette": "2.0.0-rc.13", | ||
"vuepress-shared": "2.0.0-rc.13" | ||
"vuepress-plugin-reading-time2": "2.0.0-rc.14", | ||
"vuepress-plugin-sass-palette": "2.0.0-rc.14", | ||
"vuepress-shared": "2.0.0-rc.14" | ||
}, | ||
"devDependencies": { | ||
"@types/qrcode": "1.5.5", | ||
"@vuepress/bundler-vite": "2.0.0-rc.0", | ||
"@vuepress/core": "2.0.0-rc.0" | ||
"@vuepress/bundler-vite": "2.0.0-rc.2" | ||
}, | ||
@@ -65,7 +61,5 @@ "peerDependencies": { | ||
"plyr": "^3.7.8", | ||
"sass-loader": "^13.3.0", | ||
"sass-loader": "^14.0.0", | ||
"vidstack": "^1.9.0", | ||
"vuepress": "2.0.0-rc.0", | ||
"vuepress-vite": "2.0.0-rc.0", | ||
"vuepress-webpack": "2.0.0-rc.0" | ||
"vuepress": "2.0.0-rc.2" | ||
}, | ||
@@ -93,11 +87,2 @@ "peerDependenciesMeta": { | ||
"optional": true | ||
}, | ||
"vuepress": { | ||
"optional": true | ||
}, | ||
"vuepress-vite": { | ||
"optional": true | ||
}, | ||
"vuepress-webpack": { | ||
"optional": true | ||
} | ||
@@ -104,0 +89,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18
2
352426
+ Added@mdit-vue/plugin-component@2.1.3(transitive)
+ Added@mdit-vue/plugin-frontmatter@2.1.3(transitive)
+ Added@mdit-vue/plugin-headers@2.1.3(transitive)
+ Added@mdit-vue/plugin-sfc@2.1.3(transitive)
+ Added@mdit-vue/plugin-title@2.1.3(transitive)
+ Added@mdit-vue/plugin-toc@2.1.3(transitive)
+ Added@mdit-vue/shared@2.1.3(transitive)
+ Added@mdit-vue/types@2.1.0(transitive)
+ Added@types/linkify-it@5.0.0(transitive)
+ Added@types/markdown-it@14.1.2(transitive)
+ Added@types/mdurl@2.0.0(transitive)
+ Added@vuepress/cli@2.0.0-rc.2(transitive)
+ Added@vuepress/client@2.0.0-rc.2(transitive)
+ Added@vuepress/core@2.0.0-rc.2(transitive)
+ Added@vuepress/markdown@2.0.0-rc.2(transitive)
+ Added@vuepress/shared@2.0.0-rc.2(transitive)
+ Added@vuepress/utils@2.0.0-rc.2(transitive)
+ Addedcli-cursor@5.0.0(transitive)
+ Addedget-east-asian-width@1.3.0(transitive)
+ Addedis-unicode-supported@2.1.0(transitive)
+ Addedlinkify-it@5.0.0(transitive)
+ Addedlog-symbols@6.0.0(transitive)
+ Addedmarkdown-it@14.1.0(transitive)
+ Addedmarkdown-it-emoji@3.0.0(transitive)
+ Addedmdurl@2.0.0(transitive)
+ Addedmimic-function@5.0.1(transitive)
+ Addedonetime@7.0.0(transitive)
+ Addedora@8.2.0(transitive)
+ Addedpunycode.js@2.3.1(transitive)
+ Addedrestore-cursor@5.1.0(transitive)
+ Addedsass-loader@14.2.1(transitive)
+ Addedstdin-discarder@0.2.2(transitive)
+ Addedstring-width@7.2.0(transitive)
+ Addeduc.micro@2.1.0(transitive)
+ Addedvuepress@2.0.0-rc.2(transitive)
+ Addedvuepress-plugin-reading-time2@2.0.0-rc.14(transitive)
+ Addedvuepress-plugin-sass-palette@2.0.0-rc.14(transitive)
+ Addedvuepress-shared@2.0.0-rc.14(transitive)
- Removed@vuepress/client@2.0.0-rc.0
- Removed@vuepress/shared@2.0.0-rc.0
- Removed@vuepress/utils@2.0.0-rc.0
- Removed@babel/code-frame@7.26.2(transitive)
- Removed@jridgewell/gen-mapping@0.3.8(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/source-map@0.3.6(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@leichtgewicht/ip-codec@2.0.5(transitive)
- Removed@mdit-vue/plugin-component@1.0.0(transitive)
- Removed@mdit-vue/plugin-frontmatter@1.0.0(transitive)
- Removed@mdit-vue/plugin-headers@1.0.0(transitive)
- Removed@mdit-vue/plugin-sfc@1.0.0(transitive)
- Removed@mdit-vue/plugin-title@1.0.0(transitive)
- Removed@mdit-vue/plugin-toc@1.0.0(transitive)
- Removed@mdit-vue/shared@1.0.0(transitive)
- Removed@mdit-vue/types@1.0.0(transitive)
- Removed@rollup/rollup-android-arm-eabi@4.34.3(transitive)
- Removed@rollup/rollup-android-arm64@4.34.3(transitive)
- Removed@rollup/rollup-darwin-arm64@4.34.3(transitive)
- Removed@rollup/rollup-darwin-x64@4.34.3(transitive)
- Removed@rollup/rollup-freebsd-arm64@4.34.3(transitive)
- Removed@rollup/rollup-freebsd-x64@4.34.3(transitive)
- Removed@rollup/rollup-linux-arm-gnueabihf@4.34.3(transitive)
- Removed@rollup/rollup-linux-arm-musleabihf@4.34.3(transitive)
- Removed@rollup/rollup-linux-arm64-gnu@4.34.3(transitive)
- Removed@rollup/rollup-linux-arm64-musl@4.34.3(transitive)
- Removed@rollup/rollup-linux-loongarch64-gnu@4.34.3(transitive)
- Removed@rollup/rollup-linux-powerpc64le-gnu@4.34.3(transitive)
- Removed@rollup/rollup-linux-riscv64-gnu@4.34.3(transitive)
- Removed@rollup/rollup-linux-s390x-gnu@4.34.3(transitive)
- Removed@rollup/rollup-linux-x64-gnu@4.34.3(transitive)
- Removed@rollup/rollup-linux-x64-musl@4.34.3(transitive)
- Removed@rollup/rollup-win32-arm64-msvc@4.34.3(transitive)
- Removed@rollup/rollup-win32-ia32-msvc@4.34.3(transitive)
- Removed@rollup/rollup-win32-x64-msvc@4.34.3(transitive)
- Removed@types/body-parser@1.19.5(transitive)
- Removed@types/bonjour@3.5.13(transitive)
- Removed@types/connect@3.4.38(transitive)
- Removed@types/connect-history-api-fallback@1.5.4(transitive)
- Removed@types/eslint@9.6.1(transitive)
- Removed@types/eslint-scope@3.7.7(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removed@types/express@4.17.21(transitive)
- Removed@types/express-serve-static-core@4.19.6(transitive)
- Removed@types/html-minifier-terser@6.1.0(transitive)
- Removed@types/http-errors@2.0.4(transitive)
- Removed@types/http-proxy@1.17.15(transitive)
- Removed@types/json-schema@7.0.15(transitive)
- Removed@types/mime@1.3.5(transitive)
- Removed@types/node-forge@1.3.11(transitive)
- Removed@types/qs@6.9.18(transitive)
- Removed@types/range-parser@1.2.7(transitive)
- Removed@types/retry@0.12.0(transitive)
- Removed@types/send@0.17.4(transitive)
- Removed@types/serve-index@1.9.4(transitive)
- Removed@types/serve-static@1.15.7(transitive)
- Removed@types/sockjs@0.3.36(transitive)
- Removed@types/webpack-env@1.18.8(transitive)
- Removed@types/ws@8.5.14(transitive)
- Removed@vitejs/plugin-vue@4.6.2(transitive)
- Removed@vuepress/bundler-vite@2.0.0-rc.0(transitive)
- Removed@vuepress/bundler-webpack@2.0.0-rc.0(transitive)
- Removed@vuepress/cli@2.0.0-rc.0(transitive)
- Removed@vuepress/client@2.0.0-rc.0(transitive)
- Removed@vuepress/core@2.0.0-rc.0(transitive)
- Removed@vuepress/markdown@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-active-header-links@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-back-to-top@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-container@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-external-link-icon@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-git@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-medium-zoom@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-nprogress@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-palette@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-prismjs@2.0.0-rc.0(transitive)
- Removed@vuepress/plugin-theme-data@2.0.0-rc.0(transitive)
- Removed@vuepress/shared@2.0.0-rc.0(transitive)
- Removed@vuepress/theme-default@2.0.0-rc.0(transitive)
- Removed@vuepress/utils@2.0.0-rc.0(transitive)
- Removed@webassemblyjs/ast@1.14.1(transitive)
- Removed@webassemblyjs/floating-point-hex-parser@1.13.2(transitive)
- Removed@webassemblyjs/helper-api-error@1.13.2(transitive)
- Removed@webassemblyjs/helper-buffer@1.14.1(transitive)
- Removed@webassemblyjs/helper-numbers@1.13.2(transitive)
- Removed@webassemblyjs/helper-wasm-bytecode@1.13.2(transitive)
- Removed@webassemblyjs/helper-wasm-section@1.14.1(transitive)
- Removed@webassemblyjs/ieee754@1.13.2(transitive)
- Removed@webassemblyjs/leb128@1.13.2(transitive)
- Removed@webassemblyjs/utf8@1.13.2(transitive)
- Removed@webassemblyjs/wasm-edit@1.14.1(transitive)
- Removed@webassemblyjs/wasm-gen@1.14.1(transitive)
- Removed@webassemblyjs/wasm-opt@1.14.1(transitive)
- Removed@webassemblyjs/wasm-parser@1.14.1(transitive)
- Removed@webassemblyjs/wast-printer@1.14.1(transitive)
- Removed@xtuc/ieee754@1.2.0(transitive)
- Removed@xtuc/long@4.2.2(transitive)
- Removedaccepts@1.3.8(transitive)
- Removedajv@6.12.68.17.1(transitive)
- Removedajv-formats@2.1.1(transitive)
- Removedajv-keywords@3.5.25.1.0(transitive)
- Removedansi-html-community@0.0.8(transitive)
- Removedarray-flatten@1.1.1(transitive)
- Removedautoprefixer@10.4.20(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbatch@0.6.1(transitive)
- Removedbig.js@5.2.2(transitive)
- Removedbl@5.1.0(transitive)
- Removedbody-parser@1.20.3(transitive)
- Removedbonjour-service@1.3.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbrowserslist@4.24.4(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedcamel-case@4.1.2(transitive)
- Removedcaniuse-lite@1.0.30001697(transitive)
- Removedchalk@4.1.2(transitive)
- Removedchrome-trace-event@1.0.4(transitive)
- Removedclean-css@5.3.3(transitive)
- Removedcli-cursor@4.0.0(transitive)
- Removedclone-deep@4.0.1(transitive)
- Removedcolorette@2.0.20(transitive)
- Removedcommander@2.20.38.3.0(transitive)
- Removedcompressible@2.0.18(transitive)
- Removedcompression@1.7.5(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconnect-history-api-fallback@2.0.0(transitive)
- Removedcontent-disposition@0.5.4(transitive)
- Removedcontent-type@1.0.5(transitive)
- Removedcookie@0.7.1(transitive)
- Removedcookie-signature@1.0.6(transitive)
- Removedcopy-webpack-plugin@11.0.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcosmiconfig@8.3.6(transitive)
- Removedcss-loader@6.11.0(transitive)
- Removedcss-select@4.3.0(transitive)
- Removedcss-tree@2.2.1(transitive)
- Removedcssesc@3.0.0(transitive)
- Removedcsso@5.0.5(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddeepmerge@1.5.2(transitive)
- Removeddefault-gateway@6.0.3(transitive)
- Removeddefine-lazy-prop@2.0.0(transitive)
- Removeddepd@1.1.22.0.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removeddetect-node@2.1.0(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removeddns-packet@5.6.1(transitive)
- Removeddom-converter@0.2.0(transitive)
- Removeddom-serializer@1.4.1(transitive)
- Removeddomhandler@4.3.1(transitive)
- Removeddomutils@2.8.0(transitive)
- Removeddot-case@3.0.4(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedee-first@1.1.1(transitive)
- Removedelectron-to-chromium@1.5.92(transitive)
- Removedemojis-list@3.0.0(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedenhanced-resolve@5.18.1(transitive)
- Removedentities@2.2.03.0.1(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-module-lexer@1.6.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedesbuild-loader@4.0.3(transitive)
- Removedescalade@3.2.0(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedeslint-scope@5.1.1(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@4.3.05.3.0(transitive)
- Removedetag@1.8.1(transitive)
- Removedeventemitter3@4.0.7(transitive)
- Removedevents@3.3.0(transitive)
- Removedexeca@5.1.1(transitive)
- Removedexpress@4.21.2(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfast-uri@3.0.6(transitive)
- Removedfaye-websocket@0.11.4(transitive)
- Removedfinalhandler@1.3.1(transitive)
- Removedflat@5.0.2(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedforwarded@0.2.0(transitive)
- Removedfraction.js@4.3.7(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfs-monkey@1.0.6(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedget-stream@6.0.1(transitive)
- Removedget-tsconfig@4.10.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-parent@6.0.2(transitive)
- Removedglob-to-regexp@0.4.1(transitive)
- Removedglobby@13.2.2(transitive)
- Removedgopd@1.2.0(transitive)
- Removedhandle-thing@2.0.1(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhe@1.2.0(transitive)
- Removedhpack.js@2.1.6(transitive)
- Removedhtml-entities@2.5.2(transitive)
- Removedhtml-minifier-terser@6.1.0(transitive)
- Removedhtml-webpack-plugin@5.6.3(transitive)
- Removedhtmlparser2@6.1.0(transitive)
- Removedhttp-deceiver@1.2.7(transitive)
- Removedhttp-errors@1.6.32.0.0(transitive)
- Removedhttp-parser-js@0.5.9(transitive)
- Removedhttp-proxy@1.18.1(transitive)
- Removedhttp-proxy-middleware@2.0.7(transitive)
- Removedhuman-signals@2.1.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedicss-utils@5.1.0(transitive)
- Removedieee754@1.2.1(transitive)
- Removedimport-fresh@3.3.1(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.32.0.4(transitive)
- Removedipaddr.js@1.9.12.2.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-docker@2.2.1(transitive)
- Removedis-plain-obj@3.0.0(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-stream@2.0.1(transitive)
- Removedis-wsl@2.2.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedisobject@3.0.1(transitive)
- Removedjavascript-stringify@2.1.0(transitive)
- Removedjest-worker@27.5.1(transitive)
- Removedjiti@1.21.7(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedjson-schema-traverse@0.4.11.0.0(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlaunch-editor@2.9.1(transitive)
- Removedlilconfig@3.1.3(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedlinkify-it@4.0.1(transitive)
- Removedloader-runner@4.3.0(transitive)
- Removedloader-utils@2.0.4(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlog-symbols@5.1.0(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedmarkdown-it@13.0.2(transitive)
- Removedmarkdown-it-container@3.0.0(transitive)
- Removedmarkdown-it-emoji@2.0.2(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedmdn-data@2.0.28(transitive)
- Removedmdurl@1.0.1(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmedium-zoom@1.1.0(transitive)
- Removedmemfs@3.6.0(transitive)
- Removedmerge-descriptors@1.0.3(transitive)
- Removedmethods@1.1.2(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removedmini-css-extract-plugin@2.9.2(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedms@2.0.0(transitive)
- Removedmulticast-dns@7.2.5(transitive)
- Removednegotiator@0.6.30.6.4(transitive)
- Removedno-case@3.0.4(transitive)
- Removednode-forge@1.3.1(transitive)
- Removednode-releases@2.0.19(transitive)
- Removednormalize-range@0.1.2(transitive)
- Removednpm-run-path@4.0.1(transitive)
- Removedobject-inspect@1.13.4(transitive)
- Removedobuf@1.1.2(transitive)
- Removedon-finished@2.4.1(transitive)
- Removedon-headers@1.0.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedonetime@5.1.2(transitive)
- Removedopen@8.4.2(transitive)
- Removedora@7.0.1(transitive)
- Removedp-retry@4.6.2(transitive)
- Removedparam-case@3.0.4(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedparseurl@1.3.3(transitive)
- Removedpascal-case@3.1.2(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-to-regexp@0.1.12(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpostcss-csso@6.0.1(transitive)
- Removedpostcss-load-config@4.0.2(transitive)
- Removedpostcss-loader@7.3.4(transitive)
- Removedpostcss-modules-extract-imports@3.1.0(transitive)
- Removedpostcss-modules-local-by-default@4.2.0(transitive)
- Removedpostcss-modules-scope@3.2.1(transitive)
- Removedpostcss-modules-values@4.0.0(transitive)
- Removedpostcss-selector-parser@7.0.0(transitive)
- Removedpostcss-value-parser@4.2.0(transitive)
- Removedpretty-error@4.0.0(transitive)
- Removedprismjs@1.29.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedproxy-addr@2.0.7(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.13.0(transitive)
- Removedrandombytes@2.1.0(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedreadable-stream@2.3.83.6.2(transitive)
- Removedrelateurl@0.2.7(transitive)
- Removedrenderkid@3.0.0(transitive)
- Removedrequire-from-string@2.0.2(transitive)
- Removedrequires-port@1.0.0(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedresolve-pkg-maps@1.0.0(transitive)
- Removedrestore-cursor@4.0.0(transitive)
- Removedretry@0.13.1(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedrollup@4.34.3(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsass-loader@13.3.3(transitive)
- Removedschema-utils@3.3.04.3.0(transitive)
- Removedselect-hose@2.0.0(transitive)
- Removedselfsigned@2.4.1(transitive)
- Removedsend@0.19.0(transitive)
- Removedserialize-javascript@6.0.2(transitive)
- Removedserve-index@1.9.1(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedsetprototypeof@1.1.01.2.0(transitive)
- Removedshallow-clone@3.0.1(transitive)
- Removedshell-quote@1.8.2(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedslash@4.0.0(transitive)
- Removedsockjs@0.3.24(transitive)
- Removedsource-list-map@2.0.1(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-support@0.5.21(transitive)
- Removedspdy@4.0.2(transitive)
- Removedspdy-transport@3.0.0(transitive)
- Removedstatuses@1.5.02.0.1(transitive)
- Removedstdin-discarder@0.1.0(transitive)
- Removedstring-width@6.1.0(transitive)
- Removedstring_decoder@1.1.11.3.0(transitive)
- Removedstrip-final-newline@2.0.0(transitive)
- Removedstyle-loader@3.3.4(transitive)
- Removedsupports-color@7.2.08.1.1(transitive)
- Removedtapable@2.2.1(transitive)
- Removedterser@5.38.0(transitive)
- Removedterser-webpack-plugin@5.3.11(transitive)
- Removedthunky@1.1.0(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedts-debounce@4.0.0(transitive)
- Removedtslib@2.8.1(transitive)
- Removedtype-is@1.6.18(transitive)
- Removeduc.micro@1.0.6(transitive)
- Removedunpipe@1.0.0(transitive)
- Removedupdate-browserslist-db@1.1.2(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedutila@0.4.0(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removeduuid@8.3.2(transitive)
- Removedvary@1.1.2(transitive)
- Removedvite@5.0.13(transitive)
- Removedvue-loader@17.4.2(transitive)
- Removedvuepress@2.0.0-rc.0(transitive)
- Removedvuepress-plugin-reading-time2@2.0.0-rc.13(transitive)
- Removedvuepress-plugin-sass-palette@2.0.0-rc.13(transitive)
- Removedvuepress-shared@2.0.0-rc.13(transitive)
- Removedvuepress-vite@2.0.0-rc.0(transitive)
- Removedvuepress-webpack@2.0.0-rc.0(transitive)
- Removedwatchpack@2.4.2(transitive)
- Removedwbuf@1.7.3(transitive)
- Removedwebpack@5.97.1(transitive)
- Removedwebpack-chain@6.5.1(transitive)
- Removedwebpack-dev-middleware@5.3.4(transitive)
- Removedwebpack-dev-server@4.15.2(transitive)
- Removedwebpack-merge@5.10.0(transitive)
- Removedwebpack-sources@1.4.33.2.3(transitive)
- Removedwebsocket-driver@0.7.4(transitive)
- Removedwebsocket-extensions@0.1.4(transitive)
- Removedwildcard@2.0.1(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedws@8.18.0(transitive)
- Removedyaml@2.7.0(transitive)
Updatedvuepress-shared@2.0.0-rc.14