@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.
- package/dist/index100.js +12 -12
- package/dist/index102.js +5 -5
- package/dist/index104.js +5 -5
- package/dist/index108.js +4 -4
- package/dist/index122.js +5 -5
- package/dist/index131.js +4 -4
- package/dist/index138.js +2 -2
- package/dist/index140.js +1 -1
- package/dist/index150.js +1 -1
- package/dist/index151.js +28 -26
- package/dist/index152.js +41 -29
- package/dist/index153.js +5 -26
- package/dist/index154.js +3 -26
- package/dist/index155.js +5 -26
- package/dist/index156.js +16 -16
- package/dist/index157.js +28 -195
- package/dist/index158.js +22 -34
- package/dist/index159.js +26 -2
- package/dist/index160.js +26 -5
- package/dist/index161.js +26 -28
- package/dist/index162.js +196 -41
- package/dist/index163.js +2 -2
- package/dist/index164.js +2 -2
- package/dist/index165.js +1 -1
- package/dist/index166.js +2 -78
- package/dist/index167.js +4 -0
- package/dist/index168.js +2 -5
- package/dist/index169.js +1 -4
- package/dist/index170.js +2 -5
- package/dist/index171.js +2 -5
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +2 -2
- package/dist/index177.js +2 -2
- package/dist/index178.js +4 -0
- package/dist/index179.js +2 -3
- package/dist/index180.js +2 -5
- package/dist/index181.js +2 -5
- package/dist/index182.js +1 -1
- package/dist/index183.js +2 -2
- package/dist/index185.js +135 -2
- package/dist/index187.js +65536 -2
- package/dist/index188.js +5 -2
- package/dist/index189.js +2 -2
- package/dist/index190.js +2 -2
- package/dist/index191.js +2 -2
- package/dist/index192.js +2 -2
- package/dist/index193.js +2 -2
- package/dist/index194.js +2 -52
- package/dist/index195.js +78 -2
- package/dist/index197.js +5 -2
- package/dist/index198.js +4 -1
- package/dist/index199.js +5 -2
- package/dist/index2.js +4 -3
- package/dist/index200.js +5 -2
- package/dist/index201.js +2 -2
- package/dist/index202.js +2 -2
- package/dist/index203.js +5 -2
- package/dist/index204.js +52 -2
- package/dist/index205.js +2 -2
- package/dist/index206.js +2 -2
- package/dist/index207.js +2 -5
- package/dist/index208.js +2 -2
- package/dist/index209.js +5 -2
- package/dist/index210.js +38 -2
- package/dist/index211.js +2 -2
- package/dist/index212.js +2 -2
- package/dist/index213.js +2 -135
- package/dist/index214.js +4 -0
- package/dist/index215.js +2 -2
- package/dist/index216.js +34 -2
- package/dist/index217.js +1 -1
- package/dist/index218.js +2 -65536
- package/dist/index219.js +2 -5
- package/dist/index220.js +1 -1
- package/dist/index221.js +1 -1
- package/dist/index222.js +2 -34
- package/dist/index223.js +2 -2
- package/dist/index224.js +2 -2
- package/dist/index225.js +1 -1
- package/dist/index226.js +2 -2
- package/dist/index227.js +2 -2
- package/dist/index228.js +1 -1
- package/dist/index229.js +2 -2
- package/dist/index23.js +7 -7
- package/dist/index230.js +82 -2
- package/dist/index231.js +71 -2
- package/dist/index232.js +1 -1
- package/dist/index233.js +1 -1
- package/dist/index234.js +1 -1
- package/dist/index235.js +1 -1
- package/dist/index236.js +1 -1
- package/dist/index237.js +1 -1
- package/dist/index238.js +2 -71
- package/dist/index239.js +73 -72
- package/dist/index240.js +3 -83
- package/dist/index241.js +35 -3
- package/dist/{index244.js → index243.js} +1 -1
- package/dist/{index246.js → index245.js} +4 -4
- package/dist/{index248.js → index247.js} +1 -1
- package/dist/index249.js +5 -0
- package/dist/index250.js +301 -7193
- package/dist/index251.js +2 -1735
- package/dist/index252.js +2 -129
- package/dist/index253.js +6 -0
- package/dist/index254.js +7207 -3
- package/dist/index255.js +1684 -395
- package/dist/index256.js +129 -2
- package/dist/index258.js +2 -2
- package/dist/index259.js +444 -68
- package/dist/index260.js +5 -4
- package/dist/index261.js +2 -5
- package/dist/index262.js +29 -5
- package/dist/index264.js +1 -1
- package/dist/index265.js +3 -3
- package/dist/index266.js +1 -1
- package/dist/index267.js +4 -4
- package/dist/index268.js +5 -2
- package/dist/index269.js +31 -28
- package/dist/index270.js +72 -0
- package/dist/index277.js +2 -2
- package/dist/index278.js +2 -2
- package/dist/index279.js +2 -2
- package/dist/index28.js +1 -1
- package/dist/index280.js +3 -62
- package/dist/{index289.js → index281.js} +5 -5
- package/dist/{index291.js → index283.js} +22 -23
- package/dist/index284.js +26 -2
- package/dist/index286.js +2 -26
- package/dist/index288.js +62 -3
- package/dist/index29.js +2 -2
- package/dist/{index282.js → index290.js} +1 -1
- package/dist/index294.js +5 -5
- package/dist/index296.js +1 -1
- package/dist/index298.js +2 -2
- package/dist/index30.js +4 -4
- package/dist/index300.js +1 -1
- package/dist/index302.js +1 -1
- package/dist/index304.js +20 -9
- package/dist/index305.js +16 -27
- package/dist/index306.js +19 -5
- package/dist/index307.js +9 -21
- package/dist/index308.js +21 -20
- package/dist/index309.js +27 -16
- package/dist/index310.js +5 -19
- package/dist/index311.js +5 -35
- package/dist/index312.js +7 -0
- package/dist/index313.js +4 -4
- package/dist/index314.js +3 -3
- package/dist/index315.js +2 -2
- package/dist/index316.js +13 -5
- package/dist/index318.js +37 -0
- package/dist/index320.js +78 -23
- package/dist/index322.js +26 -22
- package/dist/index324.js +22 -75
- package/dist/index326.js +72 -45
- package/dist/index328.js +47 -80
- package/dist/index330.js +1 -1
- package/dist/index331.js +3 -3
- package/dist/index332.js +26 -5
- package/dist/index334.js +5 -26
- package/dist/index335.js +7 -0
- package/dist/index336.js +5 -98
- package/dist/index337.js +31 -0
- package/dist/{index338.js → index339.js} +3 -3
- package/dist/{index340.js → index341.js} +4 -4
- package/dist/index343.js +92 -23
- package/dist/index345.js +11 -5
- package/dist/index346.js +28 -14
- package/dist/index347.js +5 -11
- package/dist/index348.js +5 -28
- package/dist/index349.js +13 -4
- package/dist/index350.js +27 -37
- package/dist/index352.js +39 -2
- package/dist/index354.js +4 -0
- package/dist/index356.js +2 -2
- package/dist/index42.js +4 -4
- package/dist/index48.js +4 -4
- package/dist/index50.js +2 -2
- package/dist/index52.js +8 -8
- package/dist/index54.js +2 -2
- package/dist/index59.js +1 -1
- package/dist/index6.js +1 -1
- package/dist/index64.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index70.js +1 -1
- package/dist/index8.js +2 -2
- package/dist/index80.js +1 -1
- package/dist/index9.js +1 -1
- package/dist/index94.js +2 -2
- package/dist/index96.js +8 -8
- package/package.json +1 -1
- package/dist/index184.js +0 -4
- package/dist/index186.js +0 -4
- package/dist/index196.js +0 -4
- package/dist/index242.js +0 -37
- package/dist/index257.js +0 -317
- package/dist/index263.js +0 -34
- package/dist/index317.js +0 -15
- package/dist/index319.js +0 -7
- package/dist/index333.js +0 -7
- package/dist/index342.js +0 -7
- package/dist/index353.js +0 -31
- /package/dist/{index285.js → index287.js} +0 -0
package/dist/index300.js
CHANGED
|
@@ -2,7 +2,7 @@ import { defineComponent as c, ref as n, watch as d, createElementBlock as v, cr
|
|
|
2
2
|
import { useScrollLock as B } from "@vueuse/core";
|
|
3
3
|
import { inBrowser as C } from "vitepress";
|
|
4
4
|
import { useLayout as E } from "./index70.js";
|
|
5
|
-
import N from "./
|
|
5
|
+
import N from "./index312.js";
|
|
6
6
|
const P = {
|
|
7
7
|
class: "nav",
|
|
8
8
|
id: "VPSidebarNav",
|
package/dist/index302.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, ref as r, watch as c, createElementBlock as s, openBlock as p, Fragment as i, createElementVNode as t, toDisplayString as l, unref as u } from "vue";
|
|
2
2
|
import { useRoute as m } from "vitepress";
|
|
3
|
-
import { useData as f } from "./
|
|
3
|
+
import { useData as f } from "./index154.js";
|
|
4
4
|
const k = {
|
|
5
5
|
href: "#VPContent",
|
|
6
6
|
class: "VPSkipLink visually-hidden"
|
package/dist/index304.js
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { useData as R } from "./index154.js";
|
|
2
|
+
function y(p) {
|
|
3
|
+
const { localeIndex: b, theme: d } = R();
|
|
4
|
+
function h(k) {
|
|
5
|
+
const f = k.split("."), n = d.value.search?.options, i = n && typeof n == "object", m = i && n.locales?.[b.value]?.translations || null, I = i && n.translations || null;
|
|
6
|
+
let l = m, e = I, o = p;
|
|
7
|
+
const a = f.pop();
|
|
8
|
+
for (const s of f) {
|
|
9
|
+
let t = null;
|
|
10
|
+
const c = o?.[s];
|
|
11
|
+
c && (t = o = c);
|
|
12
|
+
const r = e?.[s];
|
|
13
|
+
r && (t = e = r);
|
|
14
|
+
const u = l?.[s];
|
|
15
|
+
u && (t = l = u), c || (o = t), r || (e = t), u || (l = t);
|
|
16
|
+
}
|
|
17
|
+
return l?.[a] ?? e?.[a] ?? o?.[a] ?? "";
|
|
18
|
+
}
|
|
19
|
+
return h;
|
|
9
20
|
}
|
|
10
21
|
export {
|
|
11
|
-
|
|
22
|
+
y as createSearchTranslate
|
|
12
23
|
};
|
package/dist/index305.js
CHANGED
|
@@ -1,30 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return f(n);
|
|
17
|
-
}
|
|
18
|
-
function m() {
|
|
19
|
-
document.addEventListener("focusin", l), a = !0, u.value = document.activeElement;
|
|
20
|
-
}
|
|
21
|
-
function d() {
|
|
22
|
-
document.removeEventListener("focusin", l);
|
|
23
|
-
}
|
|
24
|
-
function l() {
|
|
25
|
-
u.value = document.activeElement;
|
|
1
|
+
import { inBrowser as s, sanitizeFileName as i } from "./index152.js";
|
|
2
|
+
function t(_) {
|
|
3
|
+
let e = _.replace(/\.html$/, "");
|
|
4
|
+
if (e = decodeURIComponent(e), e = e.replace(/\/$/, "/index"), s) {
|
|
5
|
+
e = i(
|
|
6
|
+
e.slice(1).replace(/\//g, "_") || "index"
|
|
7
|
+
) + ".md";
|
|
8
|
+
let l = globalThis.__VP_HASH_MAP__?.[e.toLowerCase()];
|
|
9
|
+
if (l || (e = e.endsWith("_index.md") ? e.slice(0, -9) + ".md" : e.slice(0, -3) + "_index.md", l = globalThis.__VP_HASH_MAP__?.[e.toLowerCase()]), !l) return null;
|
|
10
|
+
e = `/${globalThis.__ASSETS_DIR__}/${e}.${l}.js`;
|
|
11
|
+
} else
|
|
12
|
+
e = `./${i(
|
|
13
|
+
e.slice(1).replace(/\//g, "_")
|
|
14
|
+
)}.md.js`;
|
|
15
|
+
return e;
|
|
26
16
|
}
|
|
27
17
|
export {
|
|
28
|
-
|
|
29
|
-
h as useFlyout
|
|
18
|
+
t as pathToFile
|
|
30
19
|
};
|
package/dist/index306.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
class h {
|
|
2
|
+
constructor(e = 10) {
|
|
3
|
+
this.max = e, this.cache = /* @__PURE__ */ new Map();
|
|
4
|
+
}
|
|
5
|
+
get(e) {
|
|
6
|
+
let t = this.cache.get(e);
|
|
7
|
+
return t !== void 0 && (this.cache.delete(e), this.cache.set(e, t)), t;
|
|
8
|
+
}
|
|
9
|
+
set(e, t) {
|
|
10
|
+
this.cache.has(e) ? this.cache.delete(e) : this.cache.size === this.max && this.cache.delete(this.first()), this.cache.set(e, t);
|
|
11
|
+
}
|
|
12
|
+
first() {
|
|
13
|
+
return this.cache.keys().next().value;
|
|
14
|
+
}
|
|
15
|
+
clear() {
|
|
16
|
+
this.cache.clear();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
5
19
|
export {
|
|
6
|
-
|
|
20
|
+
h as LRUCache
|
|
7
21
|
};
|
package/dist/index307.js
CHANGED
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
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
|
-
]);
|
|
1
|
+
import { useMediaQuery as s } from "@vueuse/core";
|
|
2
|
+
import { computed as r } from "vue";
|
|
3
|
+
import { useLayout as u } from "./index70.js";
|
|
4
|
+
function m() {
|
|
5
|
+
const { hasSidebar: t } = u(), e = s("(min-width: 960px)"), i = s("(min-width: 1280px)");
|
|
6
|
+
return {
|
|
7
|
+
isAsideEnabled: r(() => !i.value && !e.value ? !1 : t.value ? i.value : e.value)
|
|
8
|
+
};
|
|
20
9
|
}
|
|
21
|
-
const h = /* @__PURE__ */ r(a, [["render", i], ["__scopeId", "data-v-f9811a8e"]]);
|
|
22
10
|
export {
|
|
23
|
-
|
|
11
|
+
m as useAside
|
|
24
12
|
};
|
package/dist/index308.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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 "./index82.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
20
|
}
|
|
21
|
+
const h = /* @__PURE__ */ r(a, [["render", i], ["__scopeId", "data-v-f9811a8e"]]);
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
h as default
|
|
23
24
|
};
|
package/dist/index309.js
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
)
|
|
15
|
-
|
|
1
|
+
import { ref as o, watch as r, onUnmounted as s, readonly as f } from "vue";
|
|
2
|
+
import { inBrowser as v } from "./index152.js";
|
|
3
|
+
const u = o();
|
|
4
|
+
let a = !1, t = 0;
|
|
5
|
+
function h(e) {
|
|
6
|
+
const n = o(!1);
|
|
7
|
+
if (v) {
|
|
8
|
+
!a && m(), t++;
|
|
9
|
+
const i = r(u, (c) => {
|
|
10
|
+
c === e.el.value || e.el.value?.contains(c) ? (n.value = !0, e.onFocus?.()) : (n.value = !1, e.onBlur?.());
|
|
11
|
+
});
|
|
12
|
+
s(() => {
|
|
13
|
+
i(), t--, t || d();
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return f(n);
|
|
17
|
+
}
|
|
18
|
+
function m() {
|
|
19
|
+
document.addEventListener("focusin", l), a = !0, u.value = document.activeElement;
|
|
20
|
+
}
|
|
21
|
+
function d() {
|
|
22
|
+
document.removeEventListener("focusin", l);
|
|
23
|
+
}
|
|
24
|
+
function l() {
|
|
25
|
+
u.value = document.activeElement;
|
|
16
26
|
}
|
|
17
27
|
export {
|
|
18
|
-
|
|
28
|
+
u as focusedElement,
|
|
29
|
+
h as useFlyout
|
|
19
30
|
};
|
package/dist/index310.js
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
get(e) {
|
|
6
|
-
let t = this.cache.get(e);
|
|
7
|
-
return t !== void 0 && (this.cache.delete(e), this.cache.set(e, t)), t;
|
|
8
|
-
}
|
|
9
|
-
set(e, t) {
|
|
10
|
-
this.cache.has(e) ? this.cache.delete(e) : this.cache.size === this.max && this.cache.delete(this.first()), this.cache.set(e, t);
|
|
11
|
-
}
|
|
12
|
-
first() {
|
|
13
|
-
return this.cache.keys().next().value;
|
|
14
|
-
}
|
|
15
|
-
clear() {
|
|
16
|
-
this.cache.clear();
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
import o from "./index318.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "./index82.js";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-aebb7853"]]);
|
|
19
5
|
export {
|
|
20
|
-
|
|
6
|
+
m as default
|
|
21
7
|
};
|
package/dist/index311.js
CHANGED
|
@@ -1,37 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "items"
|
|
7
|
-
}, x = /* @__PURE__ */ i({
|
|
8
|
-
__name: "VPMenu",
|
|
9
|
-
props: {
|
|
10
|
-
items: {}
|
|
11
|
-
},
|
|
12
|
-
setup(n) {
|
|
13
|
-
return (l, v) => (r(), t("div", f, [
|
|
14
|
-
n.items ? (r(), t("div", h, [
|
|
15
|
-
(r(!0), t(s, null, u(n.items, (e) => (r(), t(s, {
|
|
16
|
-
key: JSON.stringify(e)
|
|
17
|
-
}, [
|
|
18
|
-
"link" in e ? (r(), o(p, {
|
|
19
|
-
key: 0,
|
|
20
|
-
item: e
|
|
21
|
-
}, null, 8, ["item"])) : "component" in e ? (r(), o(c(e.component), d({
|
|
22
|
-
key: 1,
|
|
23
|
-
ref_for: !0
|
|
24
|
-
}, e.props), null, 16)) : (r(), o(k, {
|
|
25
|
-
key: 2,
|
|
26
|
-
text: e.text,
|
|
27
|
-
items: e.items
|
|
28
|
-
}, null, 8, ["text", "items"]))
|
|
29
|
-
], 64))), 128))
|
|
30
|
-
])) : m("", !0),
|
|
31
|
-
a(l.$slots, "default", {}, void 0, !0)
|
|
32
|
-
]));
|
|
33
|
-
}
|
|
34
|
-
});
|
|
1
|
+
import o from "./index320.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "./index82.js";
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b55d4fbe"]]);
|
|
35
5
|
export {
|
|
36
|
-
|
|
6
|
+
e as default
|
|
37
7
|
};
|
package/dist/index312.js
ADDED
package/dist/index313.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./index324.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "./index82.js";
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c2d27b19"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
package/dist/index314.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./index326.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "./index82.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3859c762"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
package/dist/index315.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./index328.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "./index82.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce7b6295"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
package/dist/index316.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { resolveComponent as n, createElementBlock as r, openBlock as s, renderSlot as o, createVNode as c } from "vue";
|
|
2
|
+
import a from "./index82.js";
|
|
3
|
+
const p = {}, _ = { class: "VPPage" };
|
|
4
|
+
function l(e, m) {
|
|
5
|
+
const t = n("Content");
|
|
6
|
+
return s(), r("div", _, [
|
|
7
|
+
o(e.$slots, "page-top"),
|
|
8
|
+
c(t),
|
|
9
|
+
o(e.$slots, "page-bottom")
|
|
10
|
+
]);
|
|
11
|
+
}
|
|
12
|
+
const i = /* @__PURE__ */ a(p, [["render", l]]);
|
|
5
13
|
export {
|
|
6
|
-
|
|
14
|
+
i as default
|
|
7
15
|
};
|
package/dist/index318.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as i, createElementBlock as t, openBlock as r, createCommentVNode as m, renderSlot as a, Fragment as s, renderList as u, createBlock as o, resolveDynamicComponent as c, mergeProps as d } from "vue";
|
|
2
|
+
import p from "./index268.js";
|
|
3
|
+
import k from "./index330.js";
|
|
4
|
+
const f = { class: "VPMenu rounded-xl p-3 min-w-32 border border-stroke bg-white dark:bg-primary shadow-lg max-h-[calc(100vh-var(--vp-nav-height))] overflow-y-auto" }, h = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "items"
|
|
7
|
+
}, x = /* @__PURE__ */ i({
|
|
8
|
+
__name: "VPMenu",
|
|
9
|
+
props: {
|
|
10
|
+
items: {}
|
|
11
|
+
},
|
|
12
|
+
setup(n) {
|
|
13
|
+
return (l, v) => (r(), t("div", f, [
|
|
14
|
+
n.items ? (r(), t("div", h, [
|
|
15
|
+
(r(!0), t(s, null, u(n.items, (e) => (r(), t(s, {
|
|
16
|
+
key: JSON.stringify(e)
|
|
17
|
+
}, [
|
|
18
|
+
"link" in e ? (r(), o(p, {
|
|
19
|
+
key: 0,
|
|
20
|
+
item: e
|
|
21
|
+
}, null, 8, ["item"])) : "component" in e ? (r(), o(c(e.component), d({
|
|
22
|
+
key: 1,
|
|
23
|
+
ref_for: !0
|
|
24
|
+
}, e.props), null, 16)) : (r(), o(k, {
|
|
25
|
+
key: 2,
|
|
26
|
+
text: e.text,
|
|
27
|
+
items: e.items
|
|
28
|
+
}, null, 8, ["text", "items"]))
|
|
29
|
+
], 64))), 128))
|
|
30
|
+
])) : m("", !0),
|
|
31
|
+
a(l.$slots, "default", {}, void 0, !0)
|
|
32
|
+
]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
x as default
|
|
37
|
+
};
|
package/dist/index320.js
CHANGED
|
@@ -1,30 +1,85 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { defineComponent as g, ref as n, watch as w, createElementBlock as l, openBlock as a, normalizeStyle as T, createVNode as h, normalizeClass as _, createElementVNode as o, toDisplayString as u, unref as i, Transition as L, withCtx as x, createCommentVNode as V, nextTick as b } from "vue";
|
|
2
|
+
import { onKeyStroke as D } from "@vueuse/core";
|
|
3
|
+
import { onContentUpdated as E } from "vitepress";
|
|
4
|
+
import { useData as N } from "./index154.js";
|
|
5
|
+
import { resolveTitle as O } from "./index279.js";
|
|
6
|
+
import H from "./index331.js";
|
|
7
|
+
const P = { class: "menu-text" }, S = { class: "header" }, z = { class: "outline" }, Y = /* @__PURE__ */ g({
|
|
8
|
+
__name: "VPLocalNavOutlineDropdown",
|
|
5
9
|
props: {
|
|
6
|
-
|
|
10
|
+
headers: {},
|
|
11
|
+
navHeight: {}
|
|
7
12
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
setup(s) {
|
|
14
|
+
const k = s, { theme: r } = N(), e = n(!1), m = n(0), f = n(), c = n();
|
|
15
|
+
function v(t) {
|
|
16
|
+
f.value?.contains(t.target) || (e.value = !1);
|
|
17
|
+
}
|
|
18
|
+
w(e, (t) => {
|
|
19
|
+
if (t) {
|
|
20
|
+
document.addEventListener("click", v);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
document.removeEventListener("click", v);
|
|
24
|
+
}), D("Escape", () => {
|
|
25
|
+
e.value = !1;
|
|
26
|
+
}), E(() => {
|
|
27
|
+
e.value = !1;
|
|
28
|
+
});
|
|
29
|
+
function y() {
|
|
30
|
+
e.value = !e.value, m.value = window.innerHeight + Math.min(window.scrollY - k.navHeight, 0);
|
|
31
|
+
}
|
|
32
|
+
function C(t) {
|
|
33
|
+
t.target.classList.contains("outline-link") && (c.value && (c.value.style.transition = "none"), b(() => {
|
|
34
|
+
e.value = !1;
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
function d() {
|
|
38
|
+
e.value = !1, window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
39
|
+
}
|
|
40
|
+
return (t, p) => (a(), l("div", {
|
|
41
|
+
class: "VPLocalNavOutlineDropdown",
|
|
42
|
+
style: T({ "--vp-vh": m.value + "px" }),
|
|
43
|
+
ref_key: "main",
|
|
44
|
+
ref: f
|
|
20
45
|
}, [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
46
|
+
s.headers.length > 0 ? (a(), l("button", {
|
|
47
|
+
key: 0,
|
|
48
|
+
onClick: y,
|
|
49
|
+
class: _({ open: e.value })
|
|
50
|
+
}, [
|
|
51
|
+
o("span", P, u(i(O)(i(r))), 1),
|
|
52
|
+
p[0] || (p[0] = o("span", { class: "vpi-chevron-right icon" }, null, -1))
|
|
53
|
+
], 2)) : (a(), l("button", {
|
|
54
|
+
key: 1,
|
|
55
|
+
onClick: d
|
|
56
|
+
}, u(i(r).returnToTopLabel || "Return to top"), 1)),
|
|
57
|
+
h(L, { name: "flyout" }, {
|
|
58
|
+
default: x(() => [
|
|
59
|
+
e.value ? (a(), l("div", {
|
|
60
|
+
key: 0,
|
|
61
|
+
ref_key: "items",
|
|
62
|
+
ref: c,
|
|
63
|
+
class: "items",
|
|
64
|
+
onClick: C
|
|
65
|
+
}, [
|
|
66
|
+
o("div", S, [
|
|
67
|
+
o("a", {
|
|
68
|
+
class: "top-link",
|
|
69
|
+
href: "#",
|
|
70
|
+
onClick: d
|
|
71
|
+
}, u(i(r).returnToTopLabel || "Return to top"), 1)
|
|
72
|
+
]),
|
|
73
|
+
o("div", z, [
|
|
74
|
+
h(H, { headers: s.headers }, null, 8, ["headers"])
|
|
75
|
+
])
|
|
76
|
+
], 512)) : V("", !0)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
})
|
|
80
|
+
], 4));
|
|
26
81
|
}
|
|
27
82
|
});
|
|
28
83
|
export {
|
|
29
|
-
|
|
84
|
+
Y as default
|
|
30
85
|
};
|
package/dist/index322.js
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import { defineComponent as a, createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { defineComponent as u, ref as a, onMounted as i, onBeforeUnmount as s, createElementBlock as r, openBlock as o, Fragment as m, renderList as c, normalizeClass as p, createVNode as d } from "vue";
|
|
2
|
+
import f from "./index336.js";
|
|
3
|
+
const x = /* @__PURE__ */ u({
|
|
4
|
+
__name: "VPSidebarGroup",
|
|
5
|
+
props: {
|
|
6
|
+
items: {}
|
|
7
|
+
},
|
|
8
|
+
setup(l) {
|
|
9
|
+
const t = a(!0);
|
|
10
|
+
let e = null;
|
|
11
|
+
return i(() => {
|
|
12
|
+
e = setTimeout(() => {
|
|
13
|
+
e = null, t.value = !1;
|
|
14
|
+
}, 300);
|
|
15
|
+
}), s(() => {
|
|
16
|
+
e != null && (clearTimeout(e), e = null);
|
|
17
|
+
}), (_, b) => (o(!0), r(m, null, c(l.items, (n) => (o(), r("div", {
|
|
18
|
+
key: n.text,
|
|
19
|
+
class: p(["group", { "no-transition": t.value }])
|
|
20
|
+
}, [
|
|
21
|
+
d(f, {
|
|
22
|
+
item: n,
|
|
23
|
+
depth: 0
|
|
24
|
+
}, null, 8, ["item"])
|
|
25
|
+
], 2))), 128));
|
|
22
26
|
}
|
|
23
27
|
});
|
|
24
28
|
export {
|
|
25
|
-
|
|
29
|
+
x as default
|
|
26
30
|
};
|