@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/index405.js
CHANGED
|
@@ -1,7 +1,30 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ref as o, watch as r, onUnmounted as s, readonly as f } from "vue";
|
|
2
|
+
import { inBrowser as v } from "./index206.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;
|
|
26
|
+
}
|
|
5
27
|
export {
|
|
6
|
-
|
|
28
|
+
u as focusedElement,
|
|
29
|
+
h as useFlyout
|
|
7
30
|
};
|
package/dist/index406.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./index423.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "./index95.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3728b9eb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
package/dist/index407.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { useMediaQuery as s } from "@vueuse/core";
|
|
2
|
+
import { computed as r } from "vue";
|
|
3
|
+
import { useLayout as u } from "./index350.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
|
+
};
|
|
9
|
+
}
|
|
5
10
|
export {
|
|
6
|
-
|
|
11
|
+
m as useAside
|
|
7
12
|
};
|
package/dist/index408.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce7b6295"]]);
|
|
1
|
+
function e(t) {
|
|
2
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
3
|
+
}
|
|
5
4
|
export {
|
|
6
|
-
|
|
5
|
+
e as getDefaultExportFromCjs
|
|
7
6
|
};
|
package/dist/index409.js
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
let s = !1, e = null;
|
|
2
|
+
async function c() {
|
|
3
|
+
return s ? !0 : e || (e = (async () => {
|
|
4
|
+
try {
|
|
5
|
+
return await import("@docsearch/css"), s = !0, !0;
|
|
6
|
+
} catch {
|
|
7
|
+
return console.warn(
|
|
8
|
+
"[VitePress Theme] @docsearch/css not found. If using Algolia search, install: npm install @docsearch/css @docsearch/js"
|
|
9
|
+
), !1;
|
|
10
|
+
}
|
|
11
|
+
})(), e);
|
|
12
|
+
}
|
|
13
|
+
async function t() {
|
|
14
|
+
try {
|
|
15
|
+
return (await import("@docsearch/js")).default;
|
|
16
|
+
} catch {
|
|
17
|
+
return console.error(
|
|
18
|
+
"[VitePress Theme] @docsearch/js not found. Install: npm install @docsearch/css @docsearch/js"
|
|
19
|
+
), null;
|
|
20
|
+
}
|
|
11
21
|
}
|
|
12
|
-
const i = /* @__PURE__ */ a(p, [["render", l]]);
|
|
13
22
|
export {
|
|
14
|
-
|
|
23
|
+
c as loadDocSearchCSS,
|
|
24
|
+
t as loadDocSearchJS
|
|
15
25
|
};
|
package/dist/index410.js
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { inBrowser as s, sanitizeFileName as i } from "./index206.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;
|
|
16
|
+
}
|
|
5
17
|
export {
|
|
6
|
-
|
|
18
|
+
t as pathToFile
|
|
7
19
|
};
|
package/dist/index411.js
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
e
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
+
}
|
|
16
18
|
}
|
|
17
19
|
export {
|
|
18
|
-
|
|
20
|
+
h as LRUCache
|
|
19
21
|
};
|
package/dist/index412.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
let
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { useData as R } from "./index272.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] ?? "";
|
|
17
18
|
}
|
|
19
|
+
return h;
|
|
18
20
|
}
|
|
19
21
|
export {
|
|
20
|
-
|
|
22
|
+
y as createSearchTranslate
|
|
21
23
|
};
|
package/dist/index413.js
CHANGED
|
@@ -1,37 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
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(i.$slots, "default", {}, void 0, !0)
|
|
1
|
+
import { defineComponent as a, createElementBlock as d, openBlock as l, createElementVNode as t, toDisplayString as n, unref as o } from "vue";
|
|
2
|
+
import { withBase as r } from "vitepress";
|
|
3
|
+
import { useData as c } from "./index272.js";
|
|
4
|
+
import { useLangs as u } from "./index294.js";
|
|
5
|
+
const m = { class: "NotFound" }, _ = { class: "code" }, h = { class: "title" }, p = { class: "quote" }, f = { class: "action" }, k = ["href", "aria-label"], B = /* @__PURE__ */ a({
|
|
6
|
+
__name: "NotFound",
|
|
7
|
+
setup(F) {
|
|
8
|
+
const { theme: e } = c(), { currentLang: i } = u();
|
|
9
|
+
return (g, s) => (l(), d("div", m, [
|
|
10
|
+
t("p", _, n(o(e).notFound?.code ?? "404"), 1),
|
|
11
|
+
t("h1", h, n(o(e).notFound?.title ?? "PAGE NOT FOUND"), 1),
|
|
12
|
+
s[0] || (s[0] = t("div", { class: "divider" }, null, -1)),
|
|
13
|
+
t("blockquote", p, n(o(e).notFound?.quote ?? "But if you don't change your direction, and if you keep looking, you may end up where you are heading."), 1),
|
|
14
|
+
t("div", f, [
|
|
15
|
+
t("a", {
|
|
16
|
+
class: "link",
|
|
17
|
+
href: o(r)(o(e).notFound?.link ?? o(i).link),
|
|
18
|
+
"aria-label": o(e).notFound?.linkLabel ?? "go to home"
|
|
19
|
+
}, n(o(e).notFound?.linkText ?? "Take me home"), 9, k)
|
|
20
|
+
])
|
|
32
21
|
]));
|
|
33
22
|
}
|
|
34
23
|
});
|
|
35
24
|
export {
|
|
36
|
-
|
|
25
|
+
B as default
|
|
37
26
|
};
|
package/dist/index415.js
CHANGED
|
@@ -1,85 +1,79 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
__name: "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
|
45
|
-
}, [
|
|
46
|
-
s.headers.length > 0 ? (a(), l("button", {
|
|
47
|
-
key: 0,
|
|
48
|
-
onClick: y,
|
|
49
|
-
class: _({ open: e.value })
|
|
1
|
+
import { defineComponent as h, computed as _, resolveComponent as $, createElementBlock as l, openBlock as c, normalizeClass as i, unref as a, renderSlot as o, createElementVNode as s, createCommentVNode as C, createVNode as d, withCtx as t } from "vue";
|
|
2
|
+
import { useRoute as V } from "vitepress";
|
|
3
|
+
import { useData as k } from "./index272.js";
|
|
4
|
+
import { useLayout as D } from "./index350.js";
|
|
5
|
+
import N from "./index425.js";
|
|
6
|
+
import P from "./index426.js";
|
|
7
|
+
const A = { class: "container" }, g = { class: "aside-container" }, y = { class: "aside-content" }, B = { class: "content" }, E = { class: "content-container" }, L = { class: "main" }, q = /* @__PURE__ */ h({
|
|
8
|
+
__name: "VPDoc",
|
|
9
|
+
setup(S) {
|
|
10
|
+
const { theme: u } = k(), m = V(), { hasSidebar: f, hasAside: r, leftAside: p } = D(), v = _(
|
|
11
|
+
() => m.path.replace(/[./]+/g, "_").replace(/_html$/, "")
|
|
12
|
+
);
|
|
13
|
+
return (e, n) => {
|
|
14
|
+
const b = $("Content");
|
|
15
|
+
return c(), l("div", {
|
|
16
|
+
class: i(["VPDoc", { "has-sidebar": a(f), "has-aside": a(r) }])
|
|
50
17
|
}, [
|
|
51
|
-
o("
|
|
52
|
-
|
|
53
|
-
|
|
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", {
|
|
18
|
+
o(e.$slots, "doc-top", {}, void 0, !0),
|
|
19
|
+
s("div", A, [
|
|
20
|
+
a(r) ? (c(), l("div", {
|
|
60
21
|
key: 0,
|
|
61
|
-
|
|
62
|
-
ref: c,
|
|
63
|
-
class: "items",
|
|
64
|
-
onClick: C
|
|
22
|
+
class: i(["aside", { "left-aside": a(p) }])
|
|
65
23
|
}, [
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
24
|
+
n[0] || (n[0] = s("div", { class: "aside-curtain" }, null, -1)),
|
|
25
|
+
s("div", g, [
|
|
26
|
+
s("div", y, [
|
|
27
|
+
d(N, null, {
|
|
28
|
+
"aside-top": t(() => [
|
|
29
|
+
o(e.$slots, "aside-top", {}, void 0, !0)
|
|
30
|
+
]),
|
|
31
|
+
"aside-bottom": t(() => [
|
|
32
|
+
o(e.$slots, "aside-bottom", {}, void 0, !0)
|
|
33
|
+
]),
|
|
34
|
+
"aside-outline-before": t(() => [
|
|
35
|
+
o(e.$slots, "aside-outline-before", {}, void 0, !0)
|
|
36
|
+
]),
|
|
37
|
+
"aside-outline-after": t(() => [
|
|
38
|
+
o(e.$slots, "aside-outline-after", {}, void 0, !0)
|
|
39
|
+
]),
|
|
40
|
+
"aside-ads-before": t(() => [
|
|
41
|
+
o(e.$slots, "aside-ads-before", {}, void 0, !0)
|
|
42
|
+
]),
|
|
43
|
+
"aside-ads-after": t(() => [
|
|
44
|
+
o(e.$slots, "aside-ads-after", {}, void 0, !0)
|
|
45
|
+
]),
|
|
46
|
+
_: 3
|
|
47
|
+
})
|
|
48
|
+
])
|
|
75
49
|
])
|
|
76
|
-
],
|
|
50
|
+
], 2)) : C("", !0),
|
|
51
|
+
s("div", B, [
|
|
52
|
+
s("div", E, [
|
|
53
|
+
o(e.$slots, "doc-before", {}, void 0, !0),
|
|
54
|
+
s("main", L, [
|
|
55
|
+
d(b, {
|
|
56
|
+
class: i(["vp-doc", [
|
|
57
|
+
v.value,
|
|
58
|
+
a(u).externalLinkIcon && "external-link-icon-enabled"
|
|
59
|
+
]])
|
|
60
|
+
}, null, 8, ["class"])
|
|
61
|
+
]),
|
|
62
|
+
d(P, null, {
|
|
63
|
+
"doc-footer-before": t(() => [
|
|
64
|
+
o(e.$slots, "doc-footer-before", {}, void 0, !0)
|
|
65
|
+
]),
|
|
66
|
+
_: 3
|
|
67
|
+
}),
|
|
68
|
+
o(e.$slots, "doc-after", {}, void 0, !0)
|
|
69
|
+
])
|
|
70
|
+
])
|
|
77
71
|
]),
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
72
|
+
o(e.$slots, "doc-bottom", {}, void 0, !0)
|
|
73
|
+
], 2);
|
|
74
|
+
};
|
|
81
75
|
}
|
|
82
76
|
});
|
|
83
77
|
export {
|
|
84
|
-
|
|
78
|
+
q as default
|
|
85
79
|
};
|
package/dist/index417.js
CHANGED
|
@@ -1,26 +1,52 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { defineComponent as h, resolveComponent as l, createElementBlock as u, openBlock as t, normalizeClass as d, unref as s, renderSlot as o, createVNode as n, createBlock as a, withCtx as r } from "vue";
|
|
2
|
+
import p from "./index7.js";
|
|
3
|
+
import c from "./index6.js";
|
|
4
|
+
import v from "./index12.js";
|
|
5
|
+
import { useData as $ } from "./index272.js";
|
|
6
|
+
const H = /* @__PURE__ */ h({
|
|
7
|
+
__name: "VPHome",
|
|
8
|
+
setup(k) {
|
|
9
|
+
const { frontmatter: i, theme: f } = $();
|
|
10
|
+
return (e, C) => {
|
|
11
|
+
const m = l("Content");
|
|
12
|
+
return t(), u("div", {
|
|
13
|
+
class: d(["VPHome", {
|
|
14
|
+
"external-link-icon-enabled": s(f).externalLinkIcon
|
|
15
|
+
}])
|
|
16
|
+
}, [
|
|
17
|
+
o(e.$slots, "home-hero-before", {}, void 0, !0),
|
|
18
|
+
n(p, null, {
|
|
19
|
+
"home-hero-info-before": r(() => [
|
|
20
|
+
o(e.$slots, "home-hero-info-before", {}, void 0, !0)
|
|
21
|
+
]),
|
|
22
|
+
"home-hero-info": r(() => [
|
|
23
|
+
o(e.$slots, "home-hero-info", {}, void 0, !0)
|
|
24
|
+
]),
|
|
25
|
+
"home-hero-info-after": r(() => [
|
|
26
|
+
o(e.$slots, "home-hero-info-after", {}, void 0, !0)
|
|
27
|
+
]),
|
|
28
|
+
"home-hero-actions-after": r(() => [
|
|
29
|
+
o(e.$slots, "home-hero-actions-after", {}, void 0, !0)
|
|
30
|
+
]),
|
|
31
|
+
"home-hero-image": r(() => [
|
|
32
|
+
o(e.$slots, "home-hero-image", {}, void 0, !0)
|
|
33
|
+
]),
|
|
34
|
+
_: 3
|
|
35
|
+
}),
|
|
36
|
+
o(e.$slots, "home-hero-after", {}, void 0, !0),
|
|
37
|
+
o(e.$slots, "home-features-before", {}, void 0, !0),
|
|
38
|
+
n(c),
|
|
39
|
+
o(e.$slots, "home-features-after", {}, void 0, !0),
|
|
40
|
+
s(i).markdownStyles !== !1 ? (t(), a(v, { key: 0 }, {
|
|
41
|
+
default: r(() => [
|
|
42
|
+
n(m)
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
})) : (t(), a(m, { key: 1 }))
|
|
46
|
+
], 2);
|
|
47
|
+
};
|
|
22
48
|
}
|
|
23
49
|
});
|
|
24
50
|
export {
|
|
25
|
-
|
|
51
|
+
H as default
|
|
26
52
|
};
|