@voidzero-dev/vitepress-theme 0.1.49 → 0.1.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/index100.js +12 -12
  2. package/dist/index102.js +5 -5
  3. package/dist/index104.js +5 -5
  4. package/dist/index108.js +4 -4
  5. package/dist/index122.js +5 -5
  6. package/dist/index131.js +4 -4
  7. package/dist/index138.js +2 -2
  8. package/dist/index140.js +1 -1
  9. package/dist/index150.js +1 -1
  10. package/dist/index151.js +28 -26
  11. package/dist/index152.js +41 -29
  12. package/dist/index153.js +5 -26
  13. package/dist/index154.js +3 -26
  14. package/dist/index155.js +5 -26
  15. package/dist/index156.js +16 -16
  16. package/dist/index157.js +28 -195
  17. package/dist/index158.js +22 -34
  18. package/dist/index159.js +26 -2
  19. package/dist/index160.js +26 -5
  20. package/dist/index161.js +26 -28
  21. package/dist/index162.js +196 -41
  22. package/dist/index163.js +2 -2
  23. package/dist/index164.js +2 -2
  24. package/dist/index165.js +1 -1
  25. package/dist/index166.js +2 -78
  26. package/dist/index167.js +4 -0
  27. package/dist/index168.js +2 -5
  28. package/dist/index169.js +1 -4
  29. package/dist/index170.js +2 -5
  30. package/dist/index171.js +2 -5
  31. package/dist/index172.js +1 -1
  32. package/dist/index173.js +1 -1
  33. package/dist/index174.js +1 -1
  34. package/dist/index175.js +1 -1
  35. package/dist/index176.js +2 -2
  36. package/dist/index177.js +2 -2
  37. package/dist/index178.js +4 -0
  38. package/dist/index179.js +2 -3
  39. package/dist/index180.js +2 -5
  40. package/dist/index181.js +2 -5
  41. package/dist/index182.js +1 -1
  42. package/dist/index183.js +2 -2
  43. package/dist/index185.js +135 -2
  44. package/dist/index187.js +65536 -2
  45. package/dist/index188.js +5 -2
  46. package/dist/index189.js +2 -2
  47. package/dist/index190.js +2 -2
  48. package/dist/index191.js +2 -2
  49. package/dist/index192.js +2 -2
  50. package/dist/index193.js +2 -2
  51. package/dist/index194.js +2 -52
  52. package/dist/index195.js +78 -2
  53. package/dist/index197.js +5 -2
  54. package/dist/index198.js +4 -1
  55. package/dist/index199.js +5 -2
  56. package/dist/index2.js +4 -3
  57. package/dist/index200.js +5 -2
  58. package/dist/index201.js +2 -2
  59. package/dist/index202.js +2 -2
  60. package/dist/index203.js +5 -2
  61. package/dist/index204.js +52 -2
  62. package/dist/index205.js +2 -2
  63. package/dist/index206.js +2 -2
  64. package/dist/index207.js +2 -5
  65. package/dist/index208.js +2 -2
  66. package/dist/index209.js +5 -2
  67. package/dist/index210.js +38 -2
  68. package/dist/index211.js +2 -2
  69. package/dist/index212.js +2 -2
  70. package/dist/index213.js +2 -135
  71. package/dist/index214.js +4 -0
  72. package/dist/index215.js +2 -2
  73. package/dist/index216.js +34 -2
  74. package/dist/index217.js +1 -1
  75. package/dist/index218.js +2 -65536
  76. package/dist/index219.js +2 -5
  77. package/dist/index220.js +1 -1
  78. package/dist/index221.js +1 -1
  79. package/dist/index222.js +2 -34
  80. package/dist/index223.js +2 -2
  81. package/dist/index224.js +2 -2
  82. package/dist/index225.js +1 -1
  83. package/dist/index226.js +2 -2
  84. package/dist/index227.js +2 -2
  85. package/dist/index228.js +1 -1
  86. package/dist/index229.js +2 -2
  87. package/dist/index23.js +7 -7
  88. package/dist/index230.js +82 -2
  89. package/dist/index231.js +71 -2
  90. package/dist/index232.js +1 -1
  91. package/dist/index233.js +1 -1
  92. package/dist/index234.js +1 -1
  93. package/dist/index235.js +1 -1
  94. package/dist/index236.js +1 -1
  95. package/dist/index237.js +1 -1
  96. package/dist/index238.js +2 -71
  97. package/dist/index239.js +73 -72
  98. package/dist/index240.js +3 -83
  99. package/dist/index241.js +35 -3
  100. package/dist/{index244.js → index243.js} +1 -1
  101. package/dist/{index246.js → index245.js} +4 -4
  102. package/dist/{index248.js → index247.js} +1 -1
  103. package/dist/index249.js +5 -0
  104. package/dist/index250.js +301 -7193
  105. package/dist/index251.js +2 -1735
  106. package/dist/index252.js +2 -129
  107. package/dist/index253.js +6 -0
  108. package/dist/index254.js +7207 -3
  109. package/dist/index255.js +1684 -395
  110. package/dist/index256.js +129 -2
  111. package/dist/index258.js +2 -2
  112. package/dist/index259.js +444 -68
  113. package/dist/index260.js +5 -4
  114. package/dist/index261.js +2 -5
  115. package/dist/index262.js +29 -5
  116. package/dist/index264.js +1 -1
  117. package/dist/index265.js +3 -3
  118. package/dist/index266.js +1 -1
  119. package/dist/index267.js +4 -4
  120. package/dist/index268.js +5 -2
  121. package/dist/index269.js +31 -28
  122. package/dist/index270.js +72 -0
  123. package/dist/index277.js +2 -2
  124. package/dist/index278.js +2 -2
  125. package/dist/index279.js +2 -2
  126. package/dist/index28.js +1 -1
  127. package/dist/index280.js +3 -62
  128. package/dist/{index289.js → index281.js} +5 -5
  129. package/dist/{index291.js → index283.js} +22 -23
  130. package/dist/index284.js +26 -2
  131. package/dist/index286.js +2 -26
  132. package/dist/index288.js +62 -3
  133. package/dist/index29.js +2 -2
  134. package/dist/{index282.js → index290.js} +1 -1
  135. package/dist/index294.js +5 -5
  136. package/dist/index296.js +1 -1
  137. package/dist/index298.js +2 -2
  138. package/dist/index30.js +4 -4
  139. package/dist/index300.js +1 -1
  140. package/dist/index302.js +1 -1
  141. package/dist/index304.js +20 -9
  142. package/dist/index305.js +16 -27
  143. package/dist/index306.js +19 -5
  144. package/dist/index307.js +9 -21
  145. package/dist/index308.js +21 -20
  146. package/dist/index309.js +27 -16
  147. package/dist/index310.js +5 -19
  148. package/dist/index311.js +5 -35
  149. package/dist/index312.js +7 -0
  150. package/dist/index313.js +4 -4
  151. package/dist/index314.js +3 -3
  152. package/dist/index315.js +2 -2
  153. package/dist/index316.js +13 -5
  154. package/dist/index318.js +37 -0
  155. package/dist/index320.js +78 -23
  156. package/dist/index322.js +26 -22
  157. package/dist/index324.js +22 -75
  158. package/dist/index326.js +72 -45
  159. package/dist/index328.js +47 -80
  160. package/dist/index330.js +1 -1
  161. package/dist/index331.js +3 -3
  162. package/dist/index332.js +26 -5
  163. package/dist/index334.js +5 -26
  164. package/dist/index335.js +7 -0
  165. package/dist/index336.js +5 -98
  166. package/dist/index337.js +31 -0
  167. package/dist/{index338.js → index339.js} +3 -3
  168. package/dist/{index340.js → index341.js} +4 -4
  169. package/dist/index343.js +92 -23
  170. package/dist/index345.js +11 -5
  171. package/dist/index346.js +28 -14
  172. package/dist/index347.js +5 -11
  173. package/dist/index348.js +5 -28
  174. package/dist/index349.js +13 -4
  175. package/dist/index350.js +27 -37
  176. package/dist/index352.js +39 -2
  177. package/dist/index354.js +4 -0
  178. package/dist/index356.js +2 -2
  179. package/dist/index42.js +4 -4
  180. package/dist/index48.js +4 -4
  181. package/dist/index50.js +2 -2
  182. package/dist/index52.js +8 -8
  183. package/dist/index54.js +2 -2
  184. package/dist/index59.js +1 -1
  185. package/dist/index6.js +1 -1
  186. package/dist/index64.js +1 -1
  187. package/dist/index7.js +2 -2
  188. package/dist/index70.js +1 -1
  189. package/dist/index8.js +2 -2
  190. package/dist/index80.js +1 -1
  191. package/dist/index9.js +1 -1
  192. package/dist/index94.js +2 -2
  193. package/dist/index96.js +8 -8
  194. package/package.json +1 -1
  195. package/dist/index184.js +0 -4
  196. package/dist/index186.js +0 -4
  197. package/dist/index196.js +0 -4
  198. package/dist/index242.js +0 -37
  199. package/dist/index257.js +0 -317
  200. package/dist/index263.js +0 -34
  201. package/dist/index317.js +0 -15
  202. package/dist/index319.js +0 -7
  203. package/dist/index333.js +0 -7
  204. package/dist/index342.js +0 -7
  205. package/dist/index353.js +0 -31
  206. /package/dist/{index285.js → index287.js} +0 -0
package/dist/index100.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as _, ref as h, onMounted as y, onUnmounted as k, createElementBlock as c, openBlock as d, createElementVNode as t, Fragment as j, renderList as V, normalizeClass as i, createTextVNode as C, toDisplayString as z, createVNode as m, createCommentVNode as x } from "vue";
2
- import u from "./index222.js";
2
+ import u from "./index216.js";
3
3
  import I from "./index25.js";
4
- import A from "./index201.js";
5
- import E from "./index202.js";
6
- import R from "./index203.js";
7
- import T from "./index204.js";
8
- import S from "./index223.js";
9
- import N from "./index224.js";
10
- import O from "./index225.js";
11
- import J from "./index226.js";
12
- import P from "./index227.js";
13
- import B from "./index228.js";
14
- import X from "./index229.js";
4
+ import A from "./index212.js";
5
+ import E from "./index213.js";
6
+ import R from "./index214.js";
7
+ import T from "./index215.js";
8
+ import S from "./index217.js";
9
+ import N from "./index218.js";
10
+ import O from "./index219.js";
11
+ import J from "./index220.js";
12
+ import P from "./index221.js";
13
+ import B from "./index222.js";
14
+ import X from "./index223.js";
15
15
  const $ = { class: "wrapper wrapper--ticks border-t flex" }, D = { class: "w-72 p-10 sticky top-0 self-start hidden md:flex flex-col" }, H = { class: "flex flex-col gap-4" }, M = ["onClick"], F = ["src", "alt"], L = { class: "w-full md:border-l border-nickel" }, U = { class: "flex flex-col p-10 justify-between gap-20" }, q = { class: "flex flex-col gap-5 max-w-[20rem]" }, G = ["href"], K = { class: "flex flex-col min-h-[22rem] sm:min-h-[30rem]" }, Q = { class: "relative pl-10 h-full flex flex-col justify-center overflow-clip" }, W = ["src"], Y = { class: "flex flex-col p-10 justify-between gap-20" }, Z = { class: "flex flex-col gap-5 max-w-[20rem]" }, tt = ["href"], et = { class: "flex flex-col min-h-[22rem] sm:min-h-[30rem]" }, ot = { class: "relative pl-10 h-full flex flex-col justify-end overflow-clip pt-10 sm:pt-0" }, st = ["src"], lt = { class: "flex flex-col p-10 justify-between gap-20" }, it = { class: "flex flex-col gap-5 max-w-[20rem]" }, rt = ["href"], nt = { class: "flex flex-col min-h-[22rem] sm:min-h-[30rem]" }, at = { class: "relative pl-10 h-full flex flex-col justify-center overflow-clip py-10 sm:py-0" }, ct = ["src"], dt = { class: "flex flex-col p-10 justify-between gap-20" }, mt = { class: "flex flex-col gap-5 max-w-[20rem]" }, ft = ["href"], ut = { class: "flex flex-col min-h-[22rem] sm:min-h-[30rem]" }, pt = { class: "relative pl-10 h-full flex flex-col justify-center overflow-clip" }, Et = /* @__PURE__ */ _({
16
16
  __name: "OpenSourceSectionProjects",
17
17
  setup(xt) {
package/dist/index102.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as I, ref as g, onMounted as M, onUnmounted as A, createElementBlock as o, openBlock as s, createElementVNode as e, Fragment as u, renderList as p, normalizeClass as _, toDisplayString as v, createCommentVNode as V } from "vue";
2
2
  import f from "embla-carousel-vue";
3
3
  import B from "embla-carousel-autoplay";
4
- import c from "./index200.js";
5
- import w from "./index201.js";
6
- import y from "./index202.js";
7
- import k from "./index203.js";
8
- import x from "./index204.js";
4
+ import c from "./index211.js";
5
+ import w from "./index212.js";
6
+ import y from "./index213.js";
7
+ import k from "./index214.js";
8
+ import x from "./index215.js";
9
9
  const F = { class: "wrapper" }, L = { class: "bg-wine case-study-background" }, D = { class: "flex py-10 md:py-20" }, H = ["src", "alt"], P = {
10
10
  href: "#",
11
11
  target: "_blank"
package/dist/index104.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as le, ref as r, shallowRef as P, computed as f, onMounted as ae, markRaw as W, onUnmounted as se, watch as ne, createElementBlock as c, openBlock as s, Fragment as X, createElementVNode as o, toDisplayString as w, createBlock as B, resolveDynamicComponent as E, createCommentVNode as $, withModifiers as q, createTextVNode as I, normalizeClass as J, renderList as ie } from "vue";
2
2
  import re from "moment";
3
- import ue from "./index195.js";
4
- import de from "./index196.js";
5
- import ce from "./index197.js";
6
- import ve from "./index198.js";
3
+ import ue from "./index205.js";
4
+ import de from "./index206.js";
5
+ import ce from "./index207.js";
6
+ import ve from "./index208.js";
7
7
  const pe = {
8
8
  "aria-live": "polite",
9
9
  "aria-atomic": "true",
@@ -104,7 +104,7 @@ const pe = {
104
104
  };
105
105
  return ae(async () => {
106
106
  document.addEventListener("click", O);
107
- const { default: e } = await import("./index194.js");
107
+ const { default: e } = await import("./index204.js");
108
108
  await import("chartjs-adapter-moment");
109
109
  const t = await import("@number-flow/vue");
110
110
  v.value = W(t.default), k.value = W(t.continuous);
package/dist/index108.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as l, onMounted as d, onUnmounted as p, createElementBlock as f, openBlock as c, Fragment as m, createElementVNode as i, createStaticVNode as r, createVNode as t, unref as e, withCtx as n } from "vue";
2
- import { Shader as v, SolidColor as u, Ascii as h, SineWave as g, ChromaFlow as b } from "./index218.js";
3
- import w from "./index219.js";
4
- import x from "./index220.js";
5
- import y from "./index221.js";
2
+ import { Shader as v, SolidColor as u, Ascii as h, SineWave as g, ChromaFlow as b } from "./index187.js";
3
+ import w from "./index188.js";
4
+ import x from "./index189.js";
5
+ import y from "./index190.js";
6
6
  import k from "./index25.js";
7
7
  const _ = { class: "wrapper flex flex-col justify-start items-center gap-6 pt-6 md:pt-20 pb-10" }, C = { class: "w-full sm:w-2xl flex flex-col justify-start items-center gap-10 px-5 sm:px-0" }, S = { class: "wrapper wrapper--ticks border-t py-10 md:py-40 md:pb-70 grid md:grid-cols-2 px-10 md:px-10 lg:px-30 gap-10 lg:gap-20 relative" }, j = /* @__PURE__ */ l({
8
8
  __name: "Hero",
package/dist/index122.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as s, resolveComponent as p, createElementBlock as a, openBlock as n, Fragment as m, createElementVNode as o, createVNode as c } from "vue";
2
- import i from "./index187.js";
3
- import l from "./index188.js";
4
- import f from "./index189.js";
5
- import d from "./index190.js";
6
- import g from "./index186.js";
2
+ import i from "./index164.js";
3
+ import l from "./index165.js";
4
+ import f from "./index166.js";
5
+ import d from "./index167.js";
6
+ import g from "./index163.js";
7
7
  const _ = { class: "wrapper wrapper--ticks border-t" }, B = /* @__PURE__ */ s({
8
8
  __name: "TrustedBy",
9
9
  setup(u) {
package/dist/index131.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as s, createElementBlock as a, openBlock as i, createElementVNode as e, createStaticVNode as l, createVNode as o, unref as r } from "vue";
2
- import c from "./index182.js";
3
- import p from "./index183.js";
4
- import d from "./index184.js";
2
+ import c from "./index225.js";
3
+ import p from "./index226.js";
4
+ import d from "./index227.js";
5
5
  import n from "./index25.js";
6
- import m from "./index185.js";
6
+ import m from "./index228.js";
7
7
  const f = { class: "wrapper wrapper--ticks border-t grid lg:grid-cols-2 divide-x divide-y divide-nickel" }, x = { class: "p-5 sm:p-10 flex flex-col gap-3" }, S = /* @__PURE__ */ s({
8
8
  __name: "FeatureGrid",
9
9
  setup(v) {
package/dist/index138.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, computed as o, createBlock as f, openBlock as i, resolveDynamicComponent as m, unref as u, normalizeClass as s, withCtx as c, renderSlot as d, createTextVNode as h, toDisplayString as g } from "vue";
2
- import { normalizeLink as v } from "./index161.js";
3
- import { EXTERNAL_URL_RE as x } from "./index162.js";
2
+ import { normalizeLink as v } from "./index151.js";
3
+ import { EXTERNAL_URL_RE as x } from "./index152.js";
4
4
  const C = /* @__PURE__ */ l({
5
5
  __name: "VPButton",
6
6
  props: {
package/dist/index140.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, computed as a, createElementBlock as i, createCommentVNode as d, openBlock as n, createElementVNode as l, Fragment as m, renderList as u, normalizeClass as g, createVNode as k } from "vue";
2
- import _ from "./index160.js";
2
+ import _ from "./index153.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "VPFeatures"
package/dist/index150.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a, computed as o, createElementBlock as s, openBlock as t, normalizeClass as c, createElementVNode as i, Fragment as l, renderList as u, createVNode as d } from "vue";
2
- import p from "./index181.js";
2
+ import p from "./index203.js";
3
3
  const b = { class: "container" }, _ = /* @__PURE__ */ a({
4
4
  __name: "VPTeamMembers",
5
5
  props: {
package/dist/index151.js CHANGED
@@ -1,28 +1,30 @@
1
- import { defineComponent as p, onMounted as l, onUnmounted as o, createElementBlock as r, openBlock as i, createElementVNode as c } from "vue";
2
- import d from "./index219.js";
3
- const m = { class: "font-mono text-sm text-white leading-[1.5rem]" }, f = /* @__PURE__ */ p({
4
- __name: "TerminalAnimation1",
5
- props: {
6
- onAnimationComplete: { type: Function }
7
- },
8
- setup(a) {
9
- const s = a;
10
- let e;
11
- return l(() => {
12
- const t = document.getElementById("terminal-code");
13
- e = new d(t, {
14
- loop: !1,
15
- delay: 1
16
- }), e.typeString("<span>$ vite new vite-plus-demo --template react-ts</span>").pauseFor(500).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<span class="text-aqua">◇ Scaffolding project in ~/vite-plus-demo</span>').pauseFor(500).pasteString('<span class="text-grey block">|</span>').pasteString('<span class="text-zest block">└ Done.</span>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(500).pasteString('<span class="block"><span class="text-zest">✓</span> Installing dependencies using default package manager: <span class="text-vite">pnpm@v10.16.1</span></span>').pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block"><span class="text-grey">Progress:</span> resolved 1, reused 0, downloaded 0, added 0</div>').pasteString('<div class="block"><span class="text-grey">Packages:</span> <span class="text-vite">+31</span></div>').typeString('<span class="text-grey block">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>').pasteString('<div class="block"><span class="text-grey">Progress:</span> resolved 31, reused 31, downloaded 0, added 31, <span class="text-zest">done</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
- s.onAnimationComplete && s.onAnimationComplete();
18
- }).start();
19
- }), o(() => {
20
- e && e.stop();
21
- }), (t, n) => (i(), r("p", m, [...n[0] || (n[0] = [
22
- c("span", { id: "terminal-code" }, null, -1)
23
- ])]));
24
- }
25
- });
1
+ import { withBase as a } from "vitepress";
2
+ import { isExternal as m, treatAsHtml as l } from "./index152.js";
3
+ import { useData as c } from "./index154.js";
4
+ function p(t, e) {
5
+ let r, s = !1;
6
+ return () => {
7
+ r && clearTimeout(r), s ? r = setTimeout(t, e) : (t(), (s = !0) && setTimeout(() => s = !1, e));
8
+ };
9
+ }
10
+ function $(t) {
11
+ return t.startsWith("/") ? t : `/${t}`;
12
+ }
13
+ function d(t) {
14
+ const { pathname: e, search: r, hash: s, protocol: i } = new URL(t, "http://a.com");
15
+ if (m(t) || t.startsWith("#") || !i.startsWith("http") || !l(e))
16
+ return t;
17
+ const { site: n } = c(), o = e.endsWith("/") || e.endsWith(".html") ? t : t.replace(
18
+ /(?:(^\.+)\/)?.*$/,
19
+ `$1${e.replace(
20
+ /(\.md)?$/,
21
+ n.value.cleanUrls ? "" : ".html"
22
+ )}${r}${s}`
23
+ );
24
+ return a(o);
25
+ }
26
26
  export {
27
- f as default
27
+ $ as ensureStartingSlash,
28
+ d as normalizeLink,
29
+ p as throttleAndDebounce
28
30
  };
package/dist/index152.js CHANGED
@@ -1,32 +1,44 @@
1
- import { defineComponent as c, onMounted as m, onUnmounted as d, createElementBlock as u, openBlock as g, createElementVNode as x } from "vue";
2
- import f from "./index219.js";
3
- const v = { class: "font-mono text-sm text-white leading-[1.5rem]" }, h = /* @__PURE__ */ c({
4
- __name: "TerminalAnimation2",
5
- props: {
6
- onAnimationComplete: { type: Function }
7
- },
8
- setup(a) {
9
- const n = a;
10
- let e;
11
- return m(() => {
12
- const s = /* @__PURE__ */ new Date();
13
- let t = s.getHours();
14
- const o = s.getMinutes().toString().padStart(2, "0"), p = s.getSeconds().toString().padStart(2, "0"), i = t >= 12 ? "pm" : "am";
15
- t = t % 12 || 12;
16
- const l = `${t}:${o}:${p} ${i}`, r = document.getElementById("terminal-code");
17
- e = new f(r, {
18
- loop: !1,
19
- delay: 1
20
- }), e.typeString("<span>$ vite dev</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block text-grey"><span class="text-vite">VITE+ v1.0.0</span> ready in <span class="text-white font-medium">65</span> ms</div>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(500).pasteString('<div class="block"><span class="text-vite"> → Local: </span><span class="text-aqua">http://localhost:5173/</span></div>').pasteString('<div class="block text-grey">→ Network: use <span class="text-white font-medium">--host</span> to expose</div>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(1500).pasteString(`<div class="block text-grey">${l} <span class="text-aqua">[vite]</span> (client) <span class="text-vite">hmr update</span> /src/App.tsx</div>`).pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
21
- n.onAnimationComplete && n.onAnimationComplete();
22
- }).start();
23
- }), d(() => {
24
- e && e.stop();
25
- }), (s, t) => (g(), u("p", v, [...t[0] || (t[0] = [
26
- x("span", { id: "terminal-code" }, null, -1)
27
- ])]));
1
+ const i = {}, c = /^(?:[a-z]+:|\/\/)/i, r = /#.*$/, f = /[?#].*$/, a = /(?:(^|\/)index)?\.(?:md|html)$/, E = typeof document < "u";
2
+ function m(e, t, s = !1) {
3
+ if (t === void 0)
4
+ return !1;
5
+ if (e = p(`/${e}`), s)
6
+ return new RegExp(t).test(e);
7
+ if (p(t) !== e)
8
+ return !1;
9
+ const n = t.match(r);
10
+ return n ? (E ? location.hash : "") === n[0] : !0;
11
+ }
12
+ function p(e) {
13
+ return decodeURI(e).replace(f, "").replace(a, "$1");
14
+ }
15
+ function g(e) {
16
+ return c.test(e);
17
+ }
18
+ const o = /* @__PURE__ */ new Set();
19
+ function u(e) {
20
+ if (o.size === 0) {
21
+ const s = typeof process == "object" && process.env?.VITE_EXTRA_EXTENSIONS || i?.VITE_EXTRA_EXTENSIONS || "";
22
+ ("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip" + (s && typeof s == "string" ? "," + s : "")).split(",").forEach((n) => o.add(n));
28
23
  }
29
- });
24
+ const t = e.split(".").pop();
25
+ return t == null || !o.has(t.toLowerCase());
26
+ }
27
+ function R(e) {
28
+ return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
29
+ }
30
+ const l = /[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g, _ = /^[a-z]:/i;
31
+ function d(e) {
32
+ const t = _.exec(e), s = t ? t[0] : "";
33
+ return s + e.slice(s.length).replace(l, "_").replace(/(^|\/)_+(?=[^/]*$)/, "$1");
34
+ }
30
35
  export {
31
- h as default
36
+ c as EXTERNAL_URL_RE,
37
+ R as escapeRegExp,
38
+ E as inBrowser,
39
+ m as isActive,
40
+ g as isExternal,
41
+ p as normalize,
42
+ d as sanitizeFileName,
43
+ u as treatAsHtml
32
44
  };
package/dist/index153.js CHANGED
@@ -1,28 +1,7 @@
1
- import { defineComponent as i, onMounted as o, onUnmounted as p, createElementBlock as l, openBlock as r, createElementVNode as c } from "vue";
2
- import m from "./index219.js";
3
- const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, g = /* @__PURE__ */ i({
4
- __name: "TerminalAnimation3",
5
- props: {
6
- onAnimationComplete: { type: Function }
7
- },
8
- setup(a) {
9
- const e = a;
10
- let t;
11
- return o(() => {
12
- const n = document.getElementById("terminal-code");
13
- t = new m(n, {
14
- loop: !1,
15
- delay: 1
16
- }), t.typeString("<span>$ vite lint</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block text-grey"><span class="text-vite">VITE+ v1.0.0</span> <span class="text-aqua">lint</span></div>').pauseFor(500).pasteString('<div class="block text-grey">Found <span class="text-white">0 warnings</span> and <span class="text-white">0 errors</span>.</div>').pasteString('<div class="block text-grey"><span class="text-zest">✓</span> Finished in <span class="text-white">1ms</span> on <span class="text-white">3 files</span> with <span class="text-white">88 rules</span> using <span class="text-white">10 threads</span>.</div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
- e.onAnimationComplete && e.onAnimationComplete();
18
- }).start();
19
- }), p(() => {
20
- t && t.stop();
21
- }), (n, s) => (r(), l("p", d, [...s[0] || (s[0] = [
22
- c("span", { id: "terminal-code" }, null, -1)
23
- ])]));
24
- }
25
- });
1
+ import o from "./index231.js";
2
+ /* empty css */
3
+ import t from "./index82.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-38d15bee"]]);
26
5
  export {
27
- g as default
6
+ m as default
28
7
  };
package/dist/index154.js CHANGED
@@ -1,28 +1,5 @@
1
- import { defineComponent as p, onMounted as l, onUnmounted as c, createElementBlock as i, openBlock as o, createElementVNode as r } from "vue";
2
- import m from "./index219.js";
3
- const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, g = /* @__PURE__ */ p({
4
- __name: "TerminalAnimation4",
5
- props: {
6
- onAnimationComplete: { type: Function }
7
- },
8
- setup(e) {
9
- const t = e;
10
- let s;
11
- return l(() => {
12
- const a = document.getElementById("terminal-code");
13
- s = new m(a, {
14
- loop: !1,
15
- delay: 1
16
- }), s.typeString("<span>$ vite fmt</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block text-grey"><span class="text-vite">VITE+ v1.0.0</span> <span class="text-aqua">fmt</span></div>').pauseFor(500).pasteString('<div class="block">src/App.css <span class="text-aqua">0ms</span> <span class="text-grey">(unchanged)</span></div>').pasteString('<div class="block">src/App.tsx <span class="text-aqua">1ms</span></div>').pasteString('<div class="block">src/index.css <span class="text-aqua">0ms</span> <span class="text-grey">(unchanged)</span></div>').pasteString('<div class="block">src/main.tsx <span class="text-aqua">1ms</span></div>').pasteString('<div class="block">src/vite-env.d.ts <span class="text-aqua">0ms</span> <span class="text-grey">(unchanged)</span></div>').pasteString('<div class="block"><span class="text-zest">✓</span> Formatted <span class="text-aqua">2 files</span> in <span class="text-aqua">2ms</span>.</div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
- t.onAnimationComplete && t.onAnimationComplete();
18
- }).start();
19
- }), c(() => {
20
- s && s.stop();
21
- }), (a, n) => (o(), i("p", d, [...n[0] || (n[0] = [
22
- r("span", { id: "terminal-code" }, null, -1)
23
- ])]));
24
- }
25
- });
1
+ import { useData as a } from "vitepress";
2
+ const s = a;
26
3
  export {
27
- g as default
4
+ s as useData
28
5
  };
package/dist/index155.js CHANGED
@@ -1,28 +1,7 @@
1
- import { defineComponent as p, onMounted as l, onUnmounted as o, createElementBlock as i, openBlock as r, createElementVNode as c } from "vue";
2
- import m from "./index219.js";
3
- const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, x = /* @__PURE__ */ p({
4
- __name: "TerminalAnimation5",
5
- props: {
6
- onAnimationComplete: { type: Function }
7
- },
8
- setup(n) {
9
- const t = n;
10
- let s;
11
- return l(() => {
12
- const e = document.getElementById("terminal-code");
13
- s = new m(e, {
14
- loop: !1,
15
- delay: 1
16
- }), s.typeString("<span>$ vite test</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block"><span class="text-vite">VITE+ v1.0.0</span> <span class="text-aqua">test</span> RUN ~/vite-plus-demo</div>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(300).pasteString('<div class="block"><span class="text-zest">✓</span> test/hello.spec.ts <span class="text-grey">(1 test)</span> <span class="text-zest">1ms</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block text-grey">Test Files <span class="text-zest">1 passed</span> <span class="text-grey">(1)</span></div>').pasteString('<div class="block text-grey">Tests <span class="text-zest">1 passed</span> <span class="text-grey">(1)</span></div>').pasteString('<div class="block text-grey">Start at <span class="text-white">00:13:44</span></div>').pasteString('<div class="block text-grey">Duration <span class="text-white">199ms</span> <span class="text-grey">(transform 13ms, setup 0ms, collect 8ms, tests 1ms, environment 0ms, prepare 33ms)</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
- t.onAnimationComplete && t.onAnimationComplete();
18
- }).start();
19
- }), o(() => {
20
- s && s.stop();
21
- }), (e, a) => (r(), i("p", d, [...a[0] || (a[0] = [
22
- c("span", { id: "terminal-code" }, null, -1)
23
- ])]));
24
- }
25
- });
1
+ import o from "./index230.js";
2
+ /* empty css */
3
+ import r from "./index82.js";
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-4de57865"]]);
26
5
  export {
27
- x as default
6
+ p as default
28
7
  };
package/dist/index156.js CHANGED
@@ -1,28 +1,28 @@
1
- import { defineComponent as i, onMounted as p, onUnmounted as l, createElementBlock as o, openBlock as c, createElementVNode as r } from "vue";
2
- import d from "./index219.js";
3
- const m = { class: "font-mono text-sm text-white leading-[1.5rem]" }, b = /* @__PURE__ */ i({
4
- __name: "TerminalAnimation6",
1
+ import { defineComponent as p, onMounted as l, onUnmounted as o, createElementBlock as r, openBlock as i, createElementVNode as c } from "vue";
2
+ import d from "./index188.js";
3
+ const m = { class: "font-mono text-sm text-white leading-[1.5rem]" }, f = /* @__PURE__ */ p({
4
+ __name: "TerminalAnimation1",
5
5
  props: {
6
6
  onAnimationComplete: { type: Function }
7
7
  },
8
8
  setup(a) {
9
- const t = a;
10
- let s;
11
- return p(() => {
12
- const n = document.getElementById("terminal-code");
13
- s = new d(n, {
9
+ const s = a;
10
+ let e;
11
+ return l(() => {
12
+ const t = document.getElementById("terminal-code");
13
+ e = new d(t, {
14
14
  loop: !1,
15
15
  delay: 1
16
- }), s.typeString("<span>$ vite build</span>").pauseFor(200).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block"><span class="text-vite">VITE+ v1.0.0</span> <span class="text-aqua">building for production</span></div>').pauseFor(100).pasteString('<div class="block">transforming...</div>').pauseFor(400).pasteString('<div class="block"><span class="text-zest">✓</span> <span class="text-grey">32 modules transformed...</span></div>').pauseFor(300).pasteString('<div class="block">rendering chunks...</div>').pasteString('<div class="block">computing gzip size...</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/<span class="text-white">index.html</span></span>&nbsp;&nbsp;0.46 kB | gzip: 0.30 kB</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/assets/<span class="text-vite">react-CHdo91hT.svg</span></span>&nbsp;&nbsp;4.13 kB | gzip: 2.05 kB</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/assets/<span class="text-electric">index-D8b4DHJx.css</span></span>&nbsp;&nbsp;1.39 kB | gzip: 0.71 kB</div>').pasteString('<div class="block text-grey"><span class="w-72 inline-block">dist/assets/<span class="text-aqua">index-CAl1KfkQ.js</span></span>188.06 kB | gzip: 59.21 kB</div>').pasteString('<div class="block"><span class="text-zest">✓ built in 308ms</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
- t.onAnimationComplete && t.onAnimationComplete();
16
+ }), e.typeString("<span>$ vite new vite-plus-demo --template react-ts</span>").pauseFor(500).pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<span class="text-aqua">◇ Scaffolding project in ~/vite-plus-demo</span>').pauseFor(500).pasteString('<span class="text-grey block">|</span>').pasteString('<span class="text-zest block">└ Done.</span>').pasteString('<span class="block w-full h-[1rem]"></span>').pauseFor(500).pasteString('<span class="block"><span class="text-zest">✓</span> Installing dependencies using default package manager: <span class="text-vite">pnpm@v10.16.1</span></span>').pasteString('<span class="block w-full h-[1rem]"></span>').pasteString('<div class="block"><span class="text-grey">Progress:</span> resolved 1, reused 0, downloaded 0, added 0</div>').pasteString('<div class="block"><span class="text-grey">Packages:</span> <span class="text-vite">+31</span></div>').typeString('<span class="text-grey block">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>').pasteString('<div class="block"><span class="text-grey">Progress:</span> resolved 31, reused 31, downloaded 0, added 31, <span class="text-zest">done</span></div>').pasteString('<span class="block w-full h-[1rem]"></span>').callFunction(() => {
17
+ s.onAnimationComplete && s.onAnimationComplete();
18
18
  }).start();
19
- }), l(() => {
20
- s && s.stop();
21
- }), (n, e) => (c(), o("p", m, [...e[0] || (e[0] = [
22
- r("span", { id: "terminal-code" }, null, -1)
19
+ }), o(() => {
20
+ e && e.stop();
21
+ }), (t, n) => (i(), r("p", m, [...n[0] || (n[0] = [
22
+ c("span", { id: "terminal-code" }, null, -1)
23
23
  ])]));
24
24
  }
25
25
  });
26
26
  export {
27
- b as default
27
+ f as default
28
28
  };