@voidzero-dev/vitepress-theme 1.1.60 → 1.1.61
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.
- package/dist/index111.js +4 -4
- package/dist/index113.js +3 -3
- package/dist/index115.js +8 -8
- package/dist/index119.js +10 -10
- package/dist/index121.js +3 -3
- package/dist/index123.js +7 -7
- package/dist/index128.js +4 -4
- package/dist/index135.js +1 -1
- package/dist/index140.js +2 -2
- package/dist/index142.js +21 -21
- package/dist/index145.js +17 -17
- package/dist/index148.js +1 -1
- package/dist/index157.js +4 -4
- package/dist/index167.js +4 -4
- package/dist/index173.js +5 -5
- package/dist/index185.js +2 -2
- package/dist/index187.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +26 -28
- package/dist/index199.js +29 -41
- package/dist/index200.js +15 -15
- package/dist/index201.js +17 -21
- package/dist/index202.js +16 -16
- package/dist/index203.js +13 -13
- package/dist/index204.js +123 -24
- package/dist/index205.js +28 -26
- package/dist/index206.js +41 -124
- package/dist/index207.js +38 -2
- package/dist/index208.js +5 -2
- package/dist/index209.js +2 -2
- package/dist/index210.js +4 -0
- package/dist/index211.js +2 -108
- package/dist/index212.js +4 -0
- package/dist/index214.js +108 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +2 -2
- package/dist/index218.js +2 -2
- package/dist/index219.js +34 -2
- package/dist/index220.js +1 -1
- package/dist/index221.js +2 -2
- package/dist/index222.js +2 -2
- package/dist/index223.js +2 -2
- package/dist/index224.js +2 -2
- package/dist/index225.js +2 -34
- package/dist/index226.js +2 -2
- package/dist/index227.js +2 -2
- package/dist/index228.js +2 -2
- package/dist/index229.js +2 -2
- package/dist/index23.js +7 -7
- package/dist/index230.js +1 -1
- package/dist/index231.js +1 -1
- package/dist/index232.js +1 -1
- package/dist/index233.js +2 -5
- package/dist/index234.js +2 -3
- package/dist/index235.js +103 -5
- package/dist/index236.js +2 -2
- package/dist/index237.js +2 -5
- package/dist/index238.js +1 -1
- package/dist/index239.js +2 -2
- package/dist/index240.js +2 -2
- package/dist/index241.js +2 -2
- package/dist/index242.js +2 -2
- package/dist/index243.js +2 -2
- package/dist/index244.js +2 -2
- package/dist/index245.js +2 -2
- package/dist/index246.js +1 -1
- package/dist/index247.js +2 -103
- package/dist/index248.js +1 -1
- package/dist/index249.js +1 -1
- package/dist/index250.js +2 -2
- package/dist/index251.js +2 -2
- package/dist/index252.js +2 -2
- package/dist/index253.js +2 -2
- package/dist/index254.js +2 -2
- package/dist/index255.js +2 -2
- package/dist/index256.js +1 -1
- package/dist/index257.js +2 -2
- package/dist/index258.js +2 -2
- package/dist/index259.js +2 -2
- package/dist/index260.js +47 -2
- package/dist/index261.js +1 -1
- package/dist/index262.js +2 -52
- package/dist/index263.js +3 -44
- package/dist/index264.js +2 -2587
- package/dist/index265.js +5 -2
- package/dist/index266.js +5 -2
- package/dist/index267.js +96 -2
- package/dist/index268.js +2 -2
- package/dist/index269.js +2 -2
- package/dist/index270.js +2 -2
- package/dist/index271.js +2 -20
- package/dist/index272.js +3 -92
- package/dist/index273.js +7 -0
- package/dist/index274.js +52 -5
- package/dist/index275.js +44 -6
- package/dist/index276.js +2587 -5
- package/dist/index277.js +2 -5
- package/dist/index278.js +2 -5
- package/dist/index279.js +2 -5
- package/dist/index28.js +1 -1
- package/dist/index280.js +2 -32
- package/dist/index281.js +2 -2
- package/dist/index282.js +9 -2
- package/dist/index283.js +1 -1
- package/dist/index284.js +2 -2
- package/dist/index285.js +20 -2
- package/dist/index286.js +92 -2
- package/dist/index288.js +5 -2
- package/dist/index289.js +5 -2
- package/dist/index290.js +5 -2
- package/dist/index291.js +5 -2
- package/dist/index292.js +5 -2
- package/dist/index293.js +5 -96
- package/dist/index294.js +32 -2
- package/dist/index295.js +2 -98146
- package/dist/index296.js +2 -2
- package/dist/index297.js +2 -2
- package/dist/index298.js +2 -9
- package/dist/index299.js +2 -2
- package/dist/index300.js +2 -2
- package/dist/index301.js +2 -2
- package/dist/index302.js +2 -47
- package/dist/index303.js +2 -2
- package/dist/index304.js +2 -2
- package/dist/index305.js +2 -2
- package/dist/index306.js +1 -1
- package/dist/index307.js +2 -2
- package/dist/index309.js +1 -1
- package/dist/index310.js +2 -5
- package/dist/index311.js +98146 -2
- package/dist/index312.js +1 -1
- package/dist/index313.js +1 -1
- package/dist/index314.js +83 -2
- package/dist/index316.js +71 -2
- package/dist/index318.js +1 -1
- package/dist/index319.js +1 -1
- package/dist/index320.js +1 -1
- package/dist/index321.js +2 -82
- package/dist/index322.js +4 -0
- package/dist/index323.js +2 -83
- package/dist/index324.js +4 -0
- package/dist/index325.js +1 -1
- package/dist/index326.js +1 -1
- package/dist/index327.js +7207 -2
- package/dist/index328.js +1626 -7098
- package/dist/index329.js +2 -1735
- package/dist/index330.js +129 -2
- package/dist/index332.js +3 -71
- package/dist/index333.js +4 -0
- package/dist/index334.js +82 -3
- package/dist/index336.js +4 -0
- package/dist/index337.js +3 -16
- package/dist/{index335.js → index338.js} +3 -3
- package/dist/index340.js +18 -0
- package/dist/{index339.js → index342.js} +4 -4
- package/dist/{index341.js → index344.js} +1 -1
- package/dist/{index343.js → index346.js} +5 -5
- package/dist/{index345.js → index348.js} +2 -2
- package/dist/index350.js +46 -5
- package/dist/index351.js +5 -46
- package/dist/index352.js +5 -70
- package/dist/index353.js +5 -47
- package/dist/index354.js +5 -112
- package/dist/index355.js +5 -62
- package/dist/index356.js +4 -4
- package/dist/index357.js +62 -2
- package/dist/index358.js +5 -29
- package/dist/index359.js +24 -0
- package/dist/index360.js +5 -8
- package/dist/index361.js +3 -3
- package/dist/index362.js +30 -5
- package/dist/index363.js +26 -22
- package/dist/index364.js +5 -30
- package/dist/index365.js +2 -26
- package/dist/index366.js +28 -314
- package/dist/index368.js +8 -5
- package/dist/index369.js +70 -5
- package/dist/index370.js +47 -5
- package/dist/index371.js +112 -5
- package/dist/index372.js +19 -5
- package/dist/index374.js +94 -446
- package/dist/index376.js +29 -0
- package/dist/{index388.js → index378.js} +3 -3
- package/dist/index380.js +55 -2
- package/dist/index382.js +19 -17
- package/dist/index385.js +4 -0
- package/dist/index386.js +2 -27
- package/dist/{index375.js → index387.js} +2 -2
- package/dist/{index377.js → index389.js} +1 -1
- package/dist/{index394.js → index391.js} +1 -1
- package/dist/index392.js +2 -21
- package/dist/index393.js +456 -0
- package/dist/index395.js +87 -2
- package/dist/index396.js +309 -448
- package/dist/index398.js +443 -84
- package/dist/index399.js +5 -10
- package/dist/index400.js +5 -4
- package/dist/index401.js +5 -28
- package/dist/index402.js +13 -5
- package/dist/index403.js +5 -23
- package/dist/index404.js +5 -21
- package/dist/index405.js +28 -5
- package/dist/index406.js +3 -3
- package/dist/index407.js +10 -5
- package/dist/index408.js +4 -5
- package/dist/index409.js +22 -12
- package/dist/index410.js +17 -5
- package/dist/index411.js +18 -16
- package/dist/index412.js +19 -17
- package/dist/index413.js +21 -32
- package/dist/index415.js +70 -76
- package/dist/index417.js +48 -22
- package/dist/index419.js +76 -70
- package/dist/index42.js +4 -4
- package/dist/index421.js +26 -48
- package/dist/index423.js +30 -23
- package/dist/index425.js +3 -3
- package/dist/index426.js +2 -2
- package/dist/index427.js +2 -2
- package/dist/index428.js +2 -2
- package/dist/index429.js +5 -26
- package/dist/index430.js +27 -0
- package/dist/index432.js +93 -93
- package/dist/index434.js +27 -23
- package/dist/index436.js +93 -93
- package/dist/index438.js +21 -24
- package/dist/index440.js +5 -11
- package/dist/index441.js +14 -28
- package/dist/index442.js +11 -5
- package/dist/index443.js +28 -5
- package/dist/index444.js +4 -13
- package/dist/index445.js +37 -27
- package/dist/index447.js +2 -39
- package/dist/index448.js +31 -0
- package/dist/index451.js +2 -2
- package/dist/index46.js +1 -1
- package/dist/index49.js +3 -3
- package/dist/index51.js +4 -4
- package/dist/index52.js +1 -1
- package/dist/index54.js +1 -1
- package/dist/index58.js +6 -6
- package/dist/index6.js +1 -1
- package/dist/index62.js +1 -1
- package/dist/index65.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index75.js +1 -1
- package/dist/index77.js +2 -2
- package/dist/index8.js +2 -2
- package/dist/index81.js +2 -2
- package/dist/index9.js +1 -1
- package/dist/index93.js +1 -1
- package/dist/vitepress/components/vitepress-default/VPDocAsideSponsors.vue.d.ts +2 -1
- package/dist/vitepress/index.d.ts +2 -0
- package/dist/vitepress/types/theme-config.d.ts +68 -0
- package/package.json +1 -1
- package/dist/index213.js +0 -40
- package/dist/index215.js +0 -4
- package/dist/index287.js +0 -4
- package/dist/index315.js +0 -4
- package/dist/index317.js +0 -4
- package/dist/index331.js +0 -5
- package/dist/index347.js +0 -131
- package/dist/index349.js +0 -4
- package/dist/index373.js +0 -7
- package/dist/index381.js +0 -4
- package/dist/index384.js +0 -96
- package/dist/index390.js +0 -57
- package/dist/index431.js +0 -7
- package/dist/index449.js +0 -4
- /package/dist/{index367.js → index397.js} +0 -0
package/dist/index354.js
CHANGED
|
@@ -1,114 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const L = /\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/, d = [];
|
|
6
|
-
function E(o) {
|
|
7
|
-
return typeof o.outline == "object" && !Array.isArray(o.outline) && o.outline.label || o.outlineTitle || "On this page";
|
|
8
|
-
}
|
|
9
|
-
function C(o) {
|
|
10
|
-
const t = [
|
|
11
|
-
...document.querySelectorAll(
|
|
12
|
-
".VPDoc h1, .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6"
|
|
13
|
-
)
|
|
14
|
-
].filter((e) => e.id && e.hasChildNodes()).map((e) => {
|
|
15
|
-
const r = Number(e.tagName[1]);
|
|
16
|
-
return {
|
|
17
|
-
element: e,
|
|
18
|
-
title: N(e),
|
|
19
|
-
link: "#" + e.id,
|
|
20
|
-
level: r
|
|
21
|
-
};
|
|
22
|
-
});
|
|
23
|
-
return k(t, o);
|
|
24
|
-
}
|
|
25
|
-
function N(o) {
|
|
26
|
-
let t = "";
|
|
27
|
-
for (const e of o.childNodes)
|
|
28
|
-
if (e.nodeType === 1) {
|
|
29
|
-
if (L.test(e.className)) continue;
|
|
30
|
-
t += e.textContent;
|
|
31
|
-
} else e.nodeType === 3 && (t += e.textContent);
|
|
32
|
-
return t.trim();
|
|
33
|
-
}
|
|
34
|
-
function k(o, t) {
|
|
35
|
-
if (t === !1)
|
|
36
|
-
return [];
|
|
37
|
-
const e = (typeof t == "object" && !Array.isArray(t) ? t.level : t) || 2, [r, l] = typeof e == "number" ? [e, e] : e === "deep" ? [2, 6] : e;
|
|
38
|
-
return H(o, r, l);
|
|
39
|
-
}
|
|
40
|
-
function S(o, t) {
|
|
41
|
-
const { isAsideEnabled: e } = w(), r = A(f, 100);
|
|
42
|
-
let l = null;
|
|
43
|
-
y(() => {
|
|
44
|
-
requestAnimationFrame(f), window.addEventListener("scroll", r);
|
|
45
|
-
}), g(() => {
|
|
46
|
-
n(location.hash);
|
|
47
|
-
}), b(() => {
|
|
48
|
-
window.removeEventListener("scroll", r);
|
|
49
|
-
});
|
|
50
|
-
function f() {
|
|
51
|
-
if (!e.value)
|
|
52
|
-
return;
|
|
53
|
-
const i = window.scrollY, c = window.innerHeight, p = document.body.offsetHeight, v = Math.abs(i + c - p) < 1, a = d.map(({ element: s, link: u }) => ({
|
|
54
|
-
link: u,
|
|
55
|
-
top: T(s)
|
|
56
|
-
})).filter(({ top: s }) => !Number.isNaN(s)).sort((s, u) => s.top - u.top);
|
|
57
|
-
if (!a.length) {
|
|
58
|
-
n(null);
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
if (i < 1) {
|
|
62
|
-
n(null);
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
if (v) {
|
|
66
|
-
n(a[a.length - 1].link);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
let h = null;
|
|
70
|
-
for (const { link: s, top: u } of a) {
|
|
71
|
-
if (u > i + m() + 4)
|
|
72
|
-
break;
|
|
73
|
-
h = s;
|
|
74
|
-
}
|
|
75
|
-
n(h);
|
|
76
|
-
}
|
|
77
|
-
function n(i) {
|
|
78
|
-
l && l.classList.remove("active"), i == null ? l = null : l = o.value.querySelector(
|
|
79
|
-
`a[href="${decodeURIComponent(i)}"]`
|
|
80
|
-
);
|
|
81
|
-
const c = l;
|
|
82
|
-
c ? (c.classList.add("active"), t.value.style.top = c.offsetTop + 39 + "px", t.value.style.opacity = "1") : (t.value.style.top = "33px", t.value.style.opacity = "0");
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function T(o) {
|
|
86
|
-
let t = 0;
|
|
87
|
-
for (; o !== document.body; ) {
|
|
88
|
-
if (o === null)
|
|
89
|
-
return NaN;
|
|
90
|
-
t += o.offsetTop, o = o.offsetParent;
|
|
91
|
-
}
|
|
92
|
-
return t;
|
|
93
|
-
}
|
|
94
|
-
function H(o, t, e) {
|
|
95
|
-
d.length = 0;
|
|
96
|
-
const r = [], l = [];
|
|
97
|
-
return o.forEach((f) => {
|
|
98
|
-
const n = { ...f, children: [] };
|
|
99
|
-
let i = l[l.length - 1];
|
|
100
|
-
for (; i && i.level >= n.level; )
|
|
101
|
-
l.pop(), i = l[l.length - 1];
|
|
102
|
-
if (n.element.classList.contains("ignore-header") || i && "shouldIgnore" in i) {
|
|
103
|
-
l.push({ level: n.level, shouldIgnore: !0 });
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
n.level > e || n.level < t || (d.push({ element: n.element, link: n.link }), i ? i.children.push(n) : r.push(n), l.push(n));
|
|
107
|
-
}), r;
|
|
108
|
-
}
|
|
1
|
+
import o from "./index378.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "./index95.js";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d2f3186f"]]);
|
|
109
5
|
export {
|
|
110
|
-
|
|
111
|
-
k as resolveHeaders,
|
|
112
|
-
E as resolveTitle,
|
|
113
|
-
S as useActiveAnchor
|
|
6
|
+
m as default
|
|
114
7
|
};
|
package/dist/index355.js
CHANGED
|
@@ -1,64 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const l = i(!1);
|
|
6
|
-
function P(e) {
|
|
7
|
-
let t;
|
|
8
|
-
f(() => {
|
|
9
|
-
t = l.value ? document.activeElement : void 0;
|
|
10
|
-
}), v(() => {
|
|
11
|
-
window.addEventListener("keyup", a);
|
|
12
|
-
}), E(() => {
|
|
13
|
-
window.removeEventListener("keyup", a);
|
|
14
|
-
});
|
|
15
|
-
function a(n) {
|
|
16
|
-
n.key === "Escape" && l.value && (e(), t?.focus());
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function S() {
|
|
20
|
-
function e() {
|
|
21
|
-
l.value = !0;
|
|
22
|
-
}
|
|
23
|
-
function t() {
|
|
24
|
-
l.value = !1;
|
|
25
|
-
}
|
|
26
|
-
function a() {
|
|
27
|
-
l.value ? t() : e();
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
isOpen: l,
|
|
31
|
-
open: e,
|
|
32
|
-
close: t,
|
|
33
|
-
toggle: a
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
function I(e) {
|
|
37
|
-
const { page: t, hash: a } = w(), n = i(!1), s = o(() => e.value.collapsed != null), p = o(() => !!e.value.link), u = i(!1), c = () => {
|
|
38
|
-
u.value = g(t.value.relativePath, e.value.link);
|
|
39
|
-
};
|
|
40
|
-
k([t, e, a], c), v(c);
|
|
41
|
-
const r = o(() => u.value ? !0 : e.value.items ? L(t.value.relativePath, e.value.items) : !1), d = o(() => !!(e.value.items && e.value.items.length));
|
|
42
|
-
f(() => {
|
|
43
|
-
n.value = !!(s.value && e.value.collapsed);
|
|
44
|
-
}), m(() => {
|
|
45
|
-
(u.value || r.value) && (n.value = !1);
|
|
46
|
-
});
|
|
47
|
-
function h() {
|
|
48
|
-
s.value && (n.value = !n.value);
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
collapsed: n,
|
|
52
|
-
collapsible: s,
|
|
53
|
-
isLink: p,
|
|
54
|
-
isActiveLink: u,
|
|
55
|
-
hasActiveLink: r,
|
|
56
|
-
hasChildren: d,
|
|
57
|
-
toggle: h
|
|
58
|
-
};
|
|
59
|
-
}
|
|
1
|
+
import o from "./index380.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import r from "./index95.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dfc90677"]]);
|
|
60
5
|
export {
|
|
61
|
-
|
|
62
|
-
S as useSidebarControl,
|
|
63
|
-
I as useSidebarItemControl
|
|
6
|
+
m as default
|
|
64
7
|
};
|
package/dist/index356.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./index382.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "./index95.js";
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-56ffc228"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
package/dist/index357.js
CHANGED
|
@@ -1,4 +1,64 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { ref as i, computed as o, watch as k, onMounted as v, watchEffect as f, watchPostEffect as m, onUnmounted as E } from "vue";
|
|
2
|
+
import { isActive as g } from "./index206.js";
|
|
3
|
+
import { hasActiveLink as L } from "./index370.js";
|
|
4
|
+
import { useData as w } from "./index272.js";
|
|
5
|
+
const l = i(!1);
|
|
6
|
+
function P(e) {
|
|
7
|
+
let t;
|
|
8
|
+
f(() => {
|
|
9
|
+
t = l.value ? document.activeElement : void 0;
|
|
10
|
+
}), v(() => {
|
|
11
|
+
window.addEventListener("keyup", a);
|
|
12
|
+
}), E(() => {
|
|
13
|
+
window.removeEventListener("keyup", a);
|
|
14
|
+
});
|
|
15
|
+
function a(n) {
|
|
16
|
+
n.key === "Escape" && l.value && (e(), t?.focus());
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function S() {
|
|
20
|
+
function e() {
|
|
21
|
+
l.value = !0;
|
|
22
|
+
}
|
|
23
|
+
function t() {
|
|
24
|
+
l.value = !1;
|
|
25
|
+
}
|
|
26
|
+
function a() {
|
|
27
|
+
l.value ? t() : e();
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
isOpen: l,
|
|
31
|
+
open: e,
|
|
32
|
+
close: t,
|
|
33
|
+
toggle: a
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function I(e) {
|
|
37
|
+
const { page: t, hash: a } = w(), n = i(!1), s = o(() => e.value.collapsed != null), p = o(() => !!e.value.link), u = i(!1), c = () => {
|
|
38
|
+
u.value = g(t.value.relativePath, e.value.link);
|
|
39
|
+
};
|
|
40
|
+
k([t, e, a], c), v(c);
|
|
41
|
+
const r = o(() => u.value ? !0 : e.value.items ? L(t.value.relativePath, e.value.items) : !1), d = o(() => !!(e.value.items && e.value.items.length));
|
|
42
|
+
f(() => {
|
|
43
|
+
n.value = !!(s.value && e.value.collapsed);
|
|
44
|
+
}), m(() => {
|
|
45
|
+
(u.value || r.value) && (n.value = !1);
|
|
46
|
+
});
|
|
47
|
+
function h() {
|
|
48
|
+
s.value && (n.value = !n.value);
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
collapsed: n,
|
|
52
|
+
collapsible: s,
|
|
53
|
+
isLink: p,
|
|
54
|
+
isActiveLink: u,
|
|
55
|
+
hasActiveLink: r,
|
|
56
|
+
hasChildren: d,
|
|
57
|
+
toggle: h
|
|
58
|
+
};
|
|
59
|
+
}
|
|
2
60
|
export {
|
|
3
|
-
|
|
61
|
+
P as useCloseSidebarOnEscape,
|
|
62
|
+
S as useSidebarControl,
|
|
63
|
+
I as useSidebarItemControl
|
|
4
64
|
};
|
package/dist/index358.js
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
setup(b) {
|
|
6
|
-
const e = l({
|
|
7
|
-
button: {
|
|
8
|
-
buttonText: "Search",
|
|
9
|
-
buttonAriaLabel: "Search"
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
return (S, a) => (s(), r("button", {
|
|
13
|
-
type: "button",
|
|
14
|
-
"aria-label": o(e)("button.buttonAriaLabel"),
|
|
15
|
-
"aria-keyshortcuts": "/ control+k meta+k",
|
|
16
|
-
class: "DocSearch DocSearch-Button VPSearchButton"
|
|
17
|
-
}, [
|
|
18
|
-
t("span", i, [
|
|
19
|
-
a[0] || (a[0] = t("span", { class: "vpi-search DocSearch-Search-Icon" }, null, -1)),
|
|
20
|
-
t("span", h, c(o(e)("button.buttonText")), 1)
|
|
21
|
-
]),
|
|
22
|
-
a[1] || (a[1] = t("span", { class: "DocSearch-Button-Keys" }, [
|
|
23
|
-
t("kbd", { class: "DocSearch-Button-Key" }),
|
|
24
|
-
t("kbd", { class: "DocSearch-Button-Key" })
|
|
25
|
-
], -1))
|
|
26
|
-
], 8, u));
|
|
27
|
-
}
|
|
28
|
-
});
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index408.js";
|
|
2
|
+
import { __require as e } from "./index396.js";
|
|
3
|
+
var o = e();
|
|
4
|
+
const a = /* @__PURE__ */ r(o);
|
|
29
5
|
export {
|
|
30
|
-
|
|
6
|
+
a as default
|
|
31
7
|
};
|
package/dist/index359.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as s, createCommentVNode as c, renderSlot as n } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import r from "./index95.js";
|
|
4
|
+
const a = {}, d = {
|
|
5
|
+
class: "VPSwitch",
|
|
6
|
+
type: "button",
|
|
7
|
+
role: "switch"
|
|
8
|
+
}, l = { class: "check" }, _ = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "icon"
|
|
11
|
+
};
|
|
12
|
+
function i(e, f) {
|
|
13
|
+
return o(), t("button", d, [
|
|
14
|
+
s("span", l, [
|
|
15
|
+
e.$slots.default ? (o(), t("span", _, [
|
|
16
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
17
|
+
])) : c("", !0)
|
|
18
|
+
])
|
|
19
|
+
]);
|
|
20
|
+
}
|
|
21
|
+
const h = /* @__PURE__ */ r(a, [["render", i], ["__scopeId", "data-v-f9811a8e"]]);
|
|
22
|
+
export {
|
|
23
|
+
h as default
|
|
24
|
+
};
|
package/dist/index360.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return (n, t) => null;
|
|
6
|
-
}
|
|
7
|
-
});
|
|
1
|
+
import o from "./index387.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "./index95.js";
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3888a578"]]);
|
|
8
5
|
export {
|
|
9
|
-
|
|
6
|
+
p as default
|
|
10
7
|
};
|
package/dist/index361.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./index389.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "./index95.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fe0e1463"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/dist/index362.js
CHANGED
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as o, computed as a, createBlock as r, openBlock as c, withCtx as m, createElementVNode as l } from "vue";
|
|
2
|
+
import { useData as s } from "./index272.js";
|
|
3
|
+
import f from "./index8.js";
|
|
4
|
+
const p = ["innerHTML"], v = /* @__PURE__ */ o({
|
|
5
|
+
__name: "VPNavBarMenuLink",
|
|
6
|
+
props: {
|
|
7
|
+
item: {}
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
const t = e, { page: n } = s(), i = a(
|
|
11
|
+
() => typeof t.item.link == "function" ? t.item.link(n.value) : t.item.link
|
|
12
|
+
);
|
|
13
|
+
return (u, x) => (c(), r(f, {
|
|
14
|
+
class: "flex items-center px-3 py-2 text-base font-sans text-primary dark:text-white hover:opacity-70 transition-opacity whitespace-nowrap overflow-hidden text-ellipsis",
|
|
15
|
+
href: i.value,
|
|
16
|
+
target: e.item.target,
|
|
17
|
+
rel: e.item.rel,
|
|
18
|
+
"no-icon": e.item.noIcon,
|
|
19
|
+
tabindex: "0"
|
|
20
|
+
}, {
|
|
21
|
+
default: m(() => [
|
|
22
|
+
l("span", {
|
|
23
|
+
innerHTML: e.item.text
|
|
24
|
+
}, null, 8, p)
|
|
25
|
+
]),
|
|
26
|
+
_: 1
|
|
27
|
+
}, 8, ["href", "target", "rel", "no-icon"]));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
5
30
|
export {
|
|
6
|
-
|
|
31
|
+
v as default
|
|
7
32
|
};
|
package/dist/index363.js
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import r from "./
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
1
|
+
import { defineComponent as u, computed as l, createBlock as m, openBlock as s, normalizeClass as f, unref as c } from "vue";
|
|
2
|
+
import { useData as p } from "./index272.js";
|
|
3
|
+
import { isActive as r } from "./index206.js";
|
|
4
|
+
import v from "./index360.js";
|
|
5
|
+
const B = /* @__PURE__ */ u({
|
|
6
|
+
__name: "VPNavBarMenuGroup",
|
|
7
|
+
props: {
|
|
8
|
+
item: {}
|
|
9
|
+
},
|
|
10
|
+
setup(e) {
|
|
11
|
+
const n = e, { page: i } = p(), o = (t) => "component" in t ? !1 : "link" in t ? r(
|
|
12
|
+
i.value.relativePath,
|
|
13
|
+
typeof t.link == "function" ? t.link(i.value) : t.link,
|
|
14
|
+
!!n.item.activeMatch
|
|
15
|
+
) : t.items.some(o), a = l(() => o(n.item));
|
|
16
|
+
return (t, h) => (s(), m(v, {
|
|
17
|
+
class: f({
|
|
18
|
+
VPNavBarMenuGroup: !0,
|
|
19
|
+
active: c(r)(c(i).relativePath, e.item.activeMatch, !!e.item.activeMatch) || a.value
|
|
20
|
+
}),
|
|
21
|
+
button: e.item.text,
|
|
22
|
+
items: e.item.items
|
|
23
|
+
}, null, 8, ["class", "button", "items"]));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
22
26
|
export {
|
|
23
|
-
|
|
27
|
+
B as default
|
|
24
28
|
};
|
package/dist/index364.js
CHANGED
|
@@ -1,32 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
__name: "VPNavBarMenuLink",
|
|
6
|
-
props: {
|
|
7
|
-
item: {}
|
|
8
|
-
},
|
|
9
|
-
setup(e) {
|
|
10
|
-
const t = e, { page: n } = s(), i = a(
|
|
11
|
-
() => typeof t.item.link == "function" ? t.item.link(n.value) : t.item.link
|
|
12
|
-
);
|
|
13
|
-
return (u, x) => (c(), r(f, {
|
|
14
|
-
class: "flex items-center px-3 py-2 text-base font-sans text-primary dark:text-white hover:opacity-70 transition-opacity whitespace-nowrap overflow-hidden text-ellipsis",
|
|
15
|
-
href: i.value,
|
|
16
|
-
target: e.item.target,
|
|
17
|
-
rel: e.item.rel,
|
|
18
|
-
"no-icon": e.item.noIcon,
|
|
19
|
-
tabindex: "0"
|
|
20
|
-
}, {
|
|
21
|
-
default: m(() => [
|
|
22
|
-
l("span", {
|
|
23
|
-
innerHTML: e.item.text
|
|
24
|
-
}, null, 8, p)
|
|
25
|
-
]),
|
|
26
|
-
_: 1
|
|
27
|
-
}, 8, ["href", "target", "rel", "no-icon"]));
|
|
28
|
-
}
|
|
29
|
-
});
|
|
1
|
+
import o from "./index393.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import a from "./index95.js";
|
|
4
|
+
const e = /* @__PURE__ */ a(o, [["__scopeId", "data-v-3ef64b6a"]]);
|
|
30
5
|
export {
|
|
31
|
-
|
|
6
|
+
e as default
|
|
32
7
|
};
|
package/dist/index365.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useData as p } from "./index234.js";
|
|
3
|
-
import { isActive as r } from "./index199.js";
|
|
4
|
-
import v from "./index361.js";
|
|
5
|
-
const B = /* @__PURE__ */ u({
|
|
6
|
-
__name: "VPNavBarMenuGroup",
|
|
7
|
-
props: {
|
|
8
|
-
item: {}
|
|
9
|
-
},
|
|
10
|
-
setup(e) {
|
|
11
|
-
const n = e, { page: i } = p(), o = (t) => "component" in t ? !1 : "link" in t ? r(
|
|
12
|
-
i.value.relativePath,
|
|
13
|
-
typeof t.link == "function" ? t.link(i.value) : t.link,
|
|
14
|
-
!!n.item.activeMatch
|
|
15
|
-
) : t.items.some(o), a = l(() => o(n.item));
|
|
16
|
-
return (t, h) => (s(), m(v, {
|
|
17
|
-
class: f({
|
|
18
|
-
VPNavBarMenuGroup: !0,
|
|
19
|
-
active: c(r)(c(i).relativePath, e.item.activeMatch, !!e.item.activeMatch) || a.value
|
|
20
|
-
}),
|
|
21
|
-
button: e.item.text,
|
|
22
|
-
items: e.item.items
|
|
23
|
-
}, null, 8, ["class", "button", "items"]));
|
|
24
|
-
}
|
|
25
|
-
});
|
|
1
|
+
import f from "./index395.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
f as default
|
|
28
4
|
};
|