@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/index157.js CHANGED
@@ -1,199 +1,32 @@
1
- import { defineComponent as s, createBlock as n, openBlock as f, unref as e, withCtx as c, createVNode as a } from "vue";
2
- import { Shader as l, RadialGradient as d, Ripples as t, Circle as o, DiffuseBlur as y, Godrays as r, Glow as p, Saturation as i, FilmGrain as h } from "./index218.js";
3
- const g = /* @__PURE__ */ s({
4
- __name: "ShaderBackground",
5
- setup(m) {
6
- return (x, u) => (f(), n(e(l), { class: "hidden md:block absolute inset-0 -z-0" }, {
7
- default: c(() => [
8
- a(e(d), {
9
- "color-a": "#011033",
10
- "color-b": "#550072",
11
- center: { x: 0.5, y: -0.4 },
12
- radius: 1.42,
13
- "offset-x": 0,
14
- "offset-y": 0,
15
- rotation: 0,
16
- scale: 1,
17
- "anchor-x": 0.5,
18
- "anchor-y": 0.5,
19
- "transform-edges": "transparent",
20
- "mask-type": "alpha"
21
- }),
22
- a(e(t), {
23
- phase: 0,
24
- scale: 1,
25
- speed: 0.7,
26
- center: { x: 0.5, y: -0.4 },
27
- "color-a": "#4b0aa600",
28
- "color-b": "#0b003d",
29
- "anchor-x": 0.5,
30
- "anchor-y": 0.5,
31
- "offset-x": 0,
32
- "offset-y": 0,
33
- "mask-type": "alpha",
34
- rotation: 0,
35
- softness: 2,
36
- frequency: 11.4,
37
- thickness: 0.2,
38
- "transform-edges": "transparent"
39
- }),
40
- a(e(t), {
41
- center: { x: 0.5, y: -0.4 },
42
- "color-a": "#4b0aa600",
43
- "color-b": "#062ab8",
44
- speed: 1.4,
45
- frequency: 11.4,
46
- softness: 1,
47
- thickness: 0.5,
48
- phase: 5.85,
49
- "offset-x": 0,
50
- "offset-y": 0,
51
- rotation: 0,
52
- scale: 1,
53
- "anchor-x": 0.5,
54
- "anchor-y": 0.5,
55
- "transform-edges": "transparent",
56
- "blend-mode": "colorDodge",
57
- "mask-type": "alpha",
58
- opacity: 0.57
59
- }),
60
- a(e(t), {
61
- center: { x: 0.5, y: -0.4 },
62
- "color-a": "#4b0aa600",
63
- "color-b": "#9cafff",
64
- speed: 0.3,
65
- frequency: 8,
66
- softness: 0.5,
67
- thickness: 0.93,
68
- phase: 5.85,
69
- "offset-x": 0,
70
- "offset-y": 0,
71
- rotation: 0,
72
- scale: 1,
73
- "anchor-x": 0.5,
74
- "anchor-y": 0.5,
75
- "transform-edges": "transparent",
76
- "blend-mode": "linearDodge",
77
- "mask-type": "alpha",
78
- opacity: 0.74
79
- }),
80
- a(e(o), {
81
- color: "#bde6ff",
82
- scale: 1,
83
- center: { x: 0.5, y: -0.2 },
84
- radius: 0.64,
85
- "anchor-x": 0.5,
86
- "anchor-y": 0.5,
87
- "offset-x": 0,
88
- "offset-y": 0,
89
- "mask-type": "alpha",
90
- rotation: 0,
91
- softness: 0.09,
92
- "blend-mode": "screen",
93
- "transform-edges": "transparent"
94
- }),
95
- a(e(o), {
96
- color: "#00ddf5",
97
- scale: 1,
98
- center: { x: 0.5, y: -0.2 },
99
- radius: 0.41,
100
- "anchor-x": 0.5,
101
- "anchor-y": 0.5,
102
- "offset-x": 0,
103
- "offset-y": 0,
104
- "mask-type": "alpha",
105
- rotation: 0,
106
- softness: 0.19,
107
- "transform-edges": "transparent"
108
- }),
109
- a(e(y), {
110
- scale: 1,
111
- "anchor-x": 0.5,
112
- "anchor-y": 0.5,
113
- "offset-x": 0,
114
- "offset-y": 0,
115
- "mask-type": "alpha",
116
- rotation: 0,
117
- intensity: 100,
118
- "transform-edges": "transparent"
119
- }),
120
- a(e(r), {
121
- center: { x: 0.5, y: -0.4 },
122
- density: 0.7,
123
- intensity: 0.6,
124
- spotty: 1.5,
125
- speed: 0.95,
126
- "ray-color": "#a2f2f5",
127
- "background-color": "transparent",
128
- "offset-x": 0,
129
- "offset-y": 0,
130
- rotation: 0,
131
- scale: 1,
132
- "anchor-x": 0.5,
133
- "anchor-y": 0.5,
134
- "transform-edges": "transparent",
135
- "blend-mode": "linearDodge",
136
- "mask-type": "alpha",
137
- visible: !0
138
- }),
139
- a(e(p), {
140
- size: 20,
141
- scale: 1,
142
- "anchor-x": 0.5,
143
- "anchor-y": 0.5,
144
- "offset-x": 0,
145
- "offset-y": 0,
146
- "mask-type": "alpha",
147
- rotation: 0,
148
- intensity: 1.64,
149
- threshold: 0.55,
150
- "transform-edges": "transparent"
151
- }),
152
- a(e(r), {
153
- scale: 1,
154
- speed: -1,
155
- center: { x: 0.5, y: -0.4 },
156
- spotty: 0.49,
157
- "anchor-x": 0.5,
158
- "anchor-y": 0.5,
159
- density: 0.14,
160
- "offset-x": 0,
161
- "offset-y": 0,
162
- "mask-type": "alpha",
163
- "ray-color": "#ce08ff",
164
- rotation: 0,
165
- "blend-mode": "overlay",
166
- intensity: 0.69,
167
- "transform-edges": "transparent",
168
- "background-color": "transparent"
169
- }),
170
- a(e(i), {
171
- scale: 1,
172
- "anchor-x": 0.5,
173
- "anchor-y": 0.5,
174
- "offset-x": 0,
175
- "offset-y": 0,
176
- "mask-type": "alpha",
177
- rotation: 0,
178
- intensity: 3,
179
- "transform-edges": "transparent"
180
- }),
181
- a(e(h), {
182
- scale: 1,
183
- "anchor-x": 0.5,
184
- "anchor-y": 0.5,
185
- "offset-x": 0,
186
- "offset-y": 0,
187
- "mask-type": "alpha",
188
- rotation: 0,
189
- strength: 0.8,
190
- "transform-edges": "transparent"
191
- })
192
- ]),
193
- _: 1
194
- }));
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 "./index188.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
+ ])]));
195
28
  }
196
29
  });
197
30
  export {
198
- g as default
31
+ h as default
199
32
  };
package/dist/index158.js CHANGED
@@ -1,40 +1,28 @@
1
- import { defineComponent as a, ref as l, createElementBlock as s, openBlock as o, normalizeClass as c, Fragment as d, renderList as m, createElementVNode as n } from "vue";
2
- import { useSponsorsGrid as p } from "./index259.js";
3
- const u = ["href"], f = { class: "vp-sponsor-grid-box" }, g = ["src", "alt"], z = /* @__PURE__ */ a({
4
- __name: "VPSponsorsGrid",
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 "./index188.js";
3
+ const d = { class: "font-mono text-sm text-white leading-[1.5rem]" }, g = /* @__PURE__ */ i({
4
+ __name: "TerminalAnimation3",
5
5
  props: {
6
- size: { default: "medium" },
7
- data: {}
6
+ onAnimationComplete: { type: Function }
8
7
  },
9
- setup(r) {
10
- const i = r, t = l(null);
11
- return p({ el: t, size: i.size }), (_, v) => (o(), s("div", {
12
- class: c(["VPSponsorsGrid vp-sponsor-grid", [r.size]]),
13
- ref_key: "el",
14
- ref: t
15
- }, [
16
- (o(!0), s(d, null, m(r.data, (e) => (o(), s("div", {
17
- key: e.name,
18
- class: "vp-sponsor-grid-item"
19
- }, [
20
- n("a", {
21
- class: "vp-sponsor-grid-link",
22
- href: e.url,
23
- target: "_blank",
24
- rel: "sponsored noopener"
25
- }, [
26
- n("article", f, [
27
- n("img", {
28
- class: "vp-sponsor-grid-image",
29
- src: e.img,
30
- alt: e.name
31
- }, null, 8, g)
32
- ])
33
- ], 8, u)
34
- ]))), 128))
35
- ], 2));
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
+ ])]));
36
24
  }
37
25
  });
38
26
  export {
39
- z as default
27
+ g as default
40
28
  };
package/dist/index159.js CHANGED
@@ -1,4 +1,28 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%20103%2015'%3e%3cpath%20fill='%2308060d'%20d='M9.137%2010.691%2012.907.249h5.16l-5.72%2014.503h-6.63L0%20.249h5.304zm15.622%204.06h-4.973V.25h4.973zM42.817%203.813h-5.573v10.94h-4.971V3.812h-5.574V.25h16.118zm16.257-.04h-9.343v1.946h9.199v3.418h-9.2v2.093h9.614v3.523H44.759V.249h14.315zm10.934%201.946h5.573v3.418h-5.573v5.616h-3.564V9.136h-5.573V5.718h5.573V.248h3.564z'/%3e%3cpath%20fill='%236254fe'%20d='M91.184%2014.654a.363.363%200%200%201-.648-.224v-3.303c0-.4-.324-.725-.725-.725h-3.647c-.295%200-.467-.334-.295-.573l2.398-3.357a.725.725%200%200%200-.59-1.147h-4.414c-.295%200-.467-.334-.295-.574L86.076.4a.36.36%200%200%201%20.295-.152h9.263c.295%200%20.467.334.295.573l-2.398%203.358a.725.725%200%200%200%20.59%201.147h3.648c.302%200%20.472.348.285.587z'/%3e%3cmask%20id='a'%20width='17'%20height='15'%20x='82'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23833bff'%20d='M91.184%2014.654a.363.363%200%200%201-.648-.224v-3.303c0-.4-.324-.725-.725-.725h-3.647c-.295%200-.467-.334-.295-.573l2.398-3.357a.725.725%200%200%200-.59-1.147h-4.414c-.295%200-.467-.334-.295-.574L86.076.4a.36.36%200%200%201%20.295-.152h9.263c.295%200%20.467.334.295.573l-2.398%203.358a.725.725%200%200%200%20.59%201.147h3.648c.302%200%20.472.348.285.587z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3cellipse%20cx='1.766'%20cy='4.714'%20fill='%23ede6ff'%20rx='1.766'%20ry='4.714'%20transform='rotate(89.814%2035.524%2046.024)scale(1%20-1)'/%3e%3c/g%3e%3cg%20filter='url(%23c)'%3e%3cellipse%20cx='3.334'%20cy='9.57'%20fill='%23ede6ff'%20rx='3.334'%20ry='9.57'%20transform='rotate(89.814%2033.737%2036.63)scale(1%20-1)'/%3e%3c/g%3e%3cg%20filter='url(%23d)'%3e%3cellipse%20cx='1.766'%20cy='9.774'%20fill='%234e14ff'%20rx='1.766'%20ry='9.774'%20transform='rotate(89.814%2033.002%2036.998)scale(1%20-1)'/%3e%3c/g%3e%3cg%20filter='url(%23e)'%3e%3cellipse%20cx='1.766'%20cy='9.81'%20fill='%234e14ff'%20rx='1.766'%20ry='9.81'%20transform='rotate(89.814%2030.844%2040.622)scale(1%20-1)'/%3e%3c/g%3e%3cg%20filter='url(%23f)'%3e%3cellipse%20cx='1.766'%20cy='9.81'%20fill='%234e14ff'%20rx='1.766'%20ry='9.81'%20transform='rotate(89.814%2030.904%2041.053)scale(1%20-1)'/%3e%3c/g%3e%3cg%20filter='url(%23g)'%3e%3cellipse%20cx='4.511'%20cy='7.078'%20fill='%23ede6ff'%20rx='4.511'%20ry='7.078'%20transform='rotate(93.35%2049.173%2054.748)scale(-1%201)'/%3e%3c/g%3e%3cg%20filter='url(%23h)'%3e%3cellipse%20cx='1.113'%20cy='6.893'%20fill='%234e14ff'%20rx='1.113'%20ry='6.893'%20transform='rotate(89.009%2050.51%2057.537)scale(-1%201)'/%3e%3c/g%3e%3cg%20filter='url(%23i)'%3e%3cellipse%20cx='1.113'%20cy='6.893'%20fill='%234e14ff'%20rx='1.113'%20ry='6.893'%20transform='rotate(89.009%2050.51%2057.537)scale(-1%201)'/%3e%3c/g%3e%3cg%20filter='url(%23j)'%3e%3cellipse%20cx='82.99'%20cy='3.123'%20fill='%234e14ff'%20rx='1.413'%20ry='9.332'%20transform='rotate(39.51%2082.99%203.123)'/%3e%3c/g%3e%3cg%20filter='url(%23k)'%3e%3cellipse%20cx='98.102'%20cy='-1.706'%20fill='%234e14ff'%20rx='1.413'%20ry='9.332'%20transform='rotate(37.892%2098.102%20-1.706)'/%3e%3c/g%3e%3cg%20filter='url(%23l)'%3e%3cellipse%20cx='95.97'%20cy='3.395'%20fill='%232bfdd2'%20rx='2.655'%20ry='4.005'%20transform='rotate(37.892%2095.97%203.395)'/%3e%3c/g%3e%3cg%20filter='url(%23m)'%3e%3cellipse%20cx='82.264'%20cy='12.536'%20fill='%234e14ff'%20rx='1.413'%20ry='9.332'%20transform='rotate(37.892%2082.264%2012.536)'/%3e%3c/g%3e%3cg%20filter='url(%23n)'%3e%3cellipse%20cx='82.264'%20cy='12.536'%20fill='%234e14ff'%20rx='1.413'%20ry='9.332'%20transform='rotate(37.892%2082.264%2012.536)'/%3e%3c/g%3e%3cg%20filter='url(%23o)'%3e%3cellipse%20cx='94.226'%20cy='9.781'%20fill='%234e14ff'%20rx='1.501'%20ry='9.332'%20transform='rotate(37.892%2094.226%209.78)'/%3e%3c/g%3e%3cg%20filter='url(%23p)'%3e%3cellipse%20cx='95.66'%20cy='10.827'%20fill='%232bfdd2'%20rx='2.578'%20ry='6.754'%20transform='rotate(37.892%2095.66%2010.827)'/%3e%3c/g%3e%3c/g%3e%3cpath%20fill='%2308060d'%20d='M80.53%200c-2.949%204.221-2.966%2010.764%200%2015h1.993c-2.966-4.236-2.949-10.779%200-15zM100.543%200H98.55c2.949%204.221%202.966%2010.764%200%2015h1.993c2.965-4.236%202.948-10.779%200-15'/%3e%3cdefs%3e%3cfilter%20id='b'%20width='19.25'%20height='13.354'%20x='76.528'%20y='5.425'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='2.455'/%3e%3c/filter%3e%3cfilter%20id='c'%20width='28.962'%20height='16.49'%20x='65.358'%20y='-2.168'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='2.455'/%3e%3c/filter%3e%3cfilter%20id='d'%20width='25.441'%20height='9.425'%20x='66.952'%20y='.898'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='e'%20width='25.513'%20height='9.425'%20x='68.425'%20y='6.668'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='f'%20width='25.513'%20height='9.425'%20x='68.916'%20y='7.037'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='g'%20width='23.964'%20height='18.867'%20x='87.917'%20y='-5.492'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='2.455'/%3e%3c/filter%3e%3cfilter%20id='h'%20width='19.677'%20height='8.131'%20x='90.415'%20y='.979'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='i'%20width='19.677'%20height='8.131'%20x='90.415'%20y='.979'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='j'%20width='17.968'%20height='20.405'%20x='74.006'%20y='-7.079'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='k'%20width='17.573'%20height='20.725'%20x='89.315'%20y='-12.068'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='l'%20width='12.356'%20height='13.008'%20x='89.792'%20y='-3.109'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='m'%20width='17.573'%20height='20.725'%20x='73.477'%20y='2.174'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='n'%20width='17.573'%20height='20.725'%20x='73.477'%20y='2.174'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='o'%20width='17.601'%20height='20.738'%20x='85.425'%20y='-.588'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3cfilter%20id='p'%20width='15.135'%20height='17.016'%20x='88.092'%20y='2.319'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='BackgroundImageFix'%20result='shape'/%3e%3cfeGaussianBlur%20result='effect1_foregroundBlur_318_41192'%20stdDeviation='1.473'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
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 "./index188.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
+ });
2
26
  export {
3
- e as default
27
+ g as default
4
28
  };
package/dist/index160.js CHANGED
@@ -1,7 +1,28 @@
1
- import o from "./index238.js";
2
- /* empty css */
3
- import t from "./index82.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-38d15bee"]]);
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 "./index188.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
+ });
5
26
  export {
6
- m as default
27
+ x as default
7
28
  };
package/dist/index161.js CHANGED
@@ -1,30 +1,28 @@
1
- import { withBase as a } from "vitepress";
2
- import { isExternal as m, treatAsHtml as l } from "./index162.js";
3
- import { useData as c } from "./index179.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
- }
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 "./index188.js";
3
+ const m = { class: "font-mono text-sm text-white leading-[1.5rem]" }, b = /* @__PURE__ */ i({
4
+ __name: "TerminalAnimation6",
5
+ props: {
6
+ onAnimationComplete: { type: Function }
7
+ },
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, {
14
+ loop: !1,
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();
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)
23
+ ])]));
24
+ }
25
+ });
26
26
  export {
27
- $ as ensureStartingSlash,
28
- d as normalizeLink,
29
- p as throttleAndDebounce
27
+ b as default
30
28
  };