@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/index330.js
CHANGED
|
@@ -1,4 +1,131 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as p, useSlots as h, computed as v, provide as b, resolveComponent as $, createElementBlock as c, createBlock as k, unref as r, openBlock as n, normalizeClass as C, renderSlot as e, createVNode as s, createElementVNode as S, withCtx as t } from "vue";
|
|
2
|
+
import g from "./index351.js";
|
|
3
|
+
import y from "./index352.js";
|
|
4
|
+
import V from "./index353.js";
|
|
5
|
+
import P from "./index354.js";
|
|
6
|
+
import O from "./index57.js";
|
|
7
|
+
import w from "./index355.js";
|
|
8
|
+
import B from "./index356.js";
|
|
9
|
+
import { useData as L } from "./index272.js";
|
|
10
|
+
import { registerWatchers as E, layoutInfoInjectionKey as I } from "./index350.js";
|
|
11
|
+
import { useSidebarControl as N } from "./index357.js";
|
|
12
|
+
const M = { class: "content-wrapper" }, T = /* @__PURE__ */ p({
|
|
13
|
+
__name: "Layout",
|
|
14
|
+
setup(j) {
|
|
15
|
+
const {
|
|
16
|
+
isOpen: a,
|
|
17
|
+
open: l,
|
|
18
|
+
close: i
|
|
19
|
+
} = N();
|
|
20
|
+
E({ closeSidebar: i });
|
|
21
|
+
const { frontmatter: d } = L(), f = h(), m = v(() => !!f["home-hero-image"]);
|
|
22
|
+
return b(I, { heroImageSlotExists: m }), (o, z) => {
|
|
23
|
+
const u = $("Content");
|
|
24
|
+
return r(d).layout !== !1 ? (n(), c("div", {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: C(["Layout", r(d).pageClass])
|
|
27
|
+
}, [
|
|
28
|
+
e(o.$slots, "layout-top", {}, void 0, !0),
|
|
29
|
+
s(B),
|
|
30
|
+
s(g, {
|
|
31
|
+
class: "backdrop",
|
|
32
|
+
show: r(a),
|
|
33
|
+
onClick: r(i)
|
|
34
|
+
}, null, 8, ["show", "onClick"]),
|
|
35
|
+
s(O),
|
|
36
|
+
S("div", M, [
|
|
37
|
+
s(P, {
|
|
38
|
+
open: r(a),
|
|
39
|
+
onOpenMenu: r(l)
|
|
40
|
+
}, null, 8, ["open", "onOpenMenu"]),
|
|
41
|
+
s(w, { open: r(a) }, {
|
|
42
|
+
"sidebar-nav-before": t(() => [
|
|
43
|
+
e(o.$slots, "sidebar-nav-before", {}, void 0, !0)
|
|
44
|
+
]),
|
|
45
|
+
"sidebar-nav-after": t(() => [
|
|
46
|
+
e(o.$slots, "sidebar-nav-after", {}, void 0, !0)
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 8, ["open"]),
|
|
50
|
+
s(y, null, {
|
|
51
|
+
"page-top": t(() => [
|
|
52
|
+
e(o.$slots, "page-top", {}, void 0, !0)
|
|
53
|
+
]),
|
|
54
|
+
"page-bottom": t(() => [
|
|
55
|
+
e(o.$slots, "page-bottom", {}, void 0, !0)
|
|
56
|
+
]),
|
|
57
|
+
"not-found": t(() => [
|
|
58
|
+
e(o.$slots, "not-found", {}, void 0, !0)
|
|
59
|
+
]),
|
|
60
|
+
"home-hero-before": t(() => [
|
|
61
|
+
e(o.$slots, "home-hero-before", {}, void 0, !0)
|
|
62
|
+
]),
|
|
63
|
+
"home-hero-info-before": t(() => [
|
|
64
|
+
e(o.$slots, "home-hero-info-before", {}, void 0, !0)
|
|
65
|
+
]),
|
|
66
|
+
"home-hero-info": t(() => [
|
|
67
|
+
e(o.$slots, "home-hero-info", {}, void 0, !0)
|
|
68
|
+
]),
|
|
69
|
+
"home-hero-info-after": t(() => [
|
|
70
|
+
e(o.$slots, "home-hero-info-after", {}, void 0, !0)
|
|
71
|
+
]),
|
|
72
|
+
"home-hero-actions-after": t(() => [
|
|
73
|
+
e(o.$slots, "home-hero-actions-after", {}, void 0, !0)
|
|
74
|
+
]),
|
|
75
|
+
"home-hero-image": t(() => [
|
|
76
|
+
e(o.$slots, "home-hero-image", {}, void 0, !0)
|
|
77
|
+
]),
|
|
78
|
+
"home-hero-after": t(() => [
|
|
79
|
+
e(o.$slots, "home-hero-after", {}, void 0, !0)
|
|
80
|
+
]),
|
|
81
|
+
"home-features-before": t(() => [
|
|
82
|
+
e(o.$slots, "home-features-before", {}, void 0, !0)
|
|
83
|
+
]),
|
|
84
|
+
"home-features-after": t(() => [
|
|
85
|
+
e(o.$slots, "home-features-after", {}, void 0, !0)
|
|
86
|
+
]),
|
|
87
|
+
"doc-footer-before": t(() => [
|
|
88
|
+
e(o.$slots, "doc-footer-before", {}, void 0, !0)
|
|
89
|
+
]),
|
|
90
|
+
"doc-before": t(() => [
|
|
91
|
+
e(o.$slots, "doc-before", {}, void 0, !0)
|
|
92
|
+
]),
|
|
93
|
+
"doc-after": t(() => [
|
|
94
|
+
e(o.$slots, "doc-after", {}, void 0, !0)
|
|
95
|
+
]),
|
|
96
|
+
"doc-top": t(() => [
|
|
97
|
+
e(o.$slots, "doc-top", {}, void 0, !0)
|
|
98
|
+
]),
|
|
99
|
+
"doc-bottom": t(() => [
|
|
100
|
+
e(o.$slots, "doc-bottom", {}, void 0, !0)
|
|
101
|
+
]),
|
|
102
|
+
"aside-top": t(() => [
|
|
103
|
+
e(o.$slots, "aside-top", {}, void 0, !0)
|
|
104
|
+
]),
|
|
105
|
+
"aside-bottom": t(() => [
|
|
106
|
+
e(o.$slots, "aside-bottom", {}, void 0, !0)
|
|
107
|
+
]),
|
|
108
|
+
"aside-outline-before": t(() => [
|
|
109
|
+
e(o.$slots, "aside-outline-before", {}, void 0, !0)
|
|
110
|
+
]),
|
|
111
|
+
"aside-outline-after": t(() => [
|
|
112
|
+
e(o.$slots, "aside-outline-after", {}, void 0, !0)
|
|
113
|
+
]),
|
|
114
|
+
"aside-ads-before": t(() => [
|
|
115
|
+
e(o.$slots, "aside-ads-before", {}, void 0, !0)
|
|
116
|
+
]),
|
|
117
|
+
"aside-ads-after": t(() => [
|
|
118
|
+
e(o.$slots, "aside-ads-after", {}, void 0, !0)
|
|
119
|
+
]),
|
|
120
|
+
_: 3
|
|
121
|
+
})
|
|
122
|
+
]),
|
|
123
|
+
s(V),
|
|
124
|
+
e(o.$slots, "layout-bottom", {}, void 0, !0)
|
|
125
|
+
], 2)) : (n(), k(u, { key: 1 }));
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
});
|
|
2
129
|
export {
|
|
3
|
-
|
|
130
|
+
T as default
|
|
4
131
|
};
|
package/dist/index332.js
CHANGED
|
@@ -1,73 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import m from "./index8.js";
|
|
4
|
-
const u = { class: "box" }, k = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "icon"
|
|
7
|
-
}, f = ["innerHTML"], x = ["innerHTML"], T = ["innerHTML"], w = {
|
|
8
|
-
key: 4,
|
|
9
|
-
class: "link-text"
|
|
10
|
-
}, y = { class: "link-text-value" }, M = /* @__PURE__ */ h({
|
|
11
|
-
__name: "VPFeature",
|
|
12
|
-
props: {
|
|
13
|
-
icon: {},
|
|
14
|
-
title: {},
|
|
15
|
-
details: {},
|
|
16
|
-
link: {},
|
|
17
|
-
linkText: {},
|
|
18
|
-
rel: {},
|
|
19
|
-
target: {}
|
|
20
|
-
},
|
|
21
|
-
setup(t) {
|
|
22
|
-
return (V, a) => (e(), c(m, {
|
|
23
|
-
class: "VPFeature",
|
|
24
|
-
href: t.link,
|
|
25
|
-
rel: t.rel,
|
|
26
|
-
target: t.target,
|
|
27
|
-
"no-icon": !0,
|
|
28
|
-
tag: t.link ? "a" : "div"
|
|
29
|
-
}, {
|
|
30
|
-
default: d(() => [
|
|
31
|
-
i("article", u, [
|
|
32
|
-
typeof t.icon == "object" && t.icon.wrap ? (e(), n("div", k, [
|
|
33
|
-
r(o, {
|
|
34
|
-
image: t.icon,
|
|
35
|
-
alt: t.icon.alt,
|
|
36
|
-
height: t.icon.height || 48,
|
|
37
|
-
width: t.icon.width || 48
|
|
38
|
-
}, null, 8, ["image", "alt", "height", "width"])
|
|
39
|
-
])) : typeof t.icon == "object" ? (e(), c(o, {
|
|
40
|
-
key: 1,
|
|
41
|
-
image: t.icon,
|
|
42
|
-
alt: t.icon.alt,
|
|
43
|
-
height: t.icon.height || 48,
|
|
44
|
-
width: t.icon.width || 48
|
|
45
|
-
}, null, 8, ["image", "alt", "height", "width"])) : t.icon ? (e(), n("div", {
|
|
46
|
-
key: 2,
|
|
47
|
-
class: "icon",
|
|
48
|
-
innerHTML: t.icon
|
|
49
|
-
}, null, 8, f)) : l("", !0),
|
|
50
|
-
i("h2", {
|
|
51
|
-
class: "title",
|
|
52
|
-
innerHTML: t.title
|
|
53
|
-
}, null, 8, x),
|
|
54
|
-
t.details ? (e(), n("p", {
|
|
55
|
-
key: 3,
|
|
56
|
-
class: "details",
|
|
57
|
-
innerHTML: t.details
|
|
58
|
-
}, null, 8, T)) : l("", !0),
|
|
59
|
-
t.linkText ? (e(), n("div", w, [
|
|
60
|
-
i("p", y, [
|
|
61
|
-
s(g(t.linkText) + " ", 1),
|
|
62
|
-
a[0] || (a[0] = i("span", { class: "vpi-arrow-right link-text-icon" }, null, -1))
|
|
63
|
-
])
|
|
64
|
-
])) : l("", !0)
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["href", "rel", "target", "tag"]));
|
|
69
|
-
}
|
|
70
|
-
});
|
|
1
|
+
import o from "./index214.js";
|
|
2
|
+
/* empty css */
|
|
71
3
|
export {
|
|
72
|
-
|
|
4
|
+
o as default
|
|
73
5
|
};
|
package/dist/index333.js
ADDED
package/dist/index334.js
CHANGED
|
@@ -1,5 +1,84 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
1
|
+
import { defineComponent as d, inject as u, createElementBlock as n, openBlock as t, normalizeClass as h, unref as c, createElementVNode as a, createCommentVNode as o, renderSlot as r, Fragment as g, renderList as f, createVNode as k, createBlock as v } from "vue";
|
|
2
|
+
import { layoutInfoInjectionKey as y } from "./index350.js";
|
|
3
|
+
import H from "./index10.js";
|
|
4
|
+
import L from "./index14.js";
|
|
5
|
+
const V = { class: "container" }, M = { class: "main" }, T = { class: "heading" }, x = ["innerHTML"], $ = ["innerHTML"], B = ["innerHTML"], I = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "actions"
|
|
8
|
+
}, P = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "image"
|
|
11
|
+
}, C = { class: "image-container" }, z = /* @__PURE__ */ d({
|
|
12
|
+
__name: "VPHero",
|
|
13
|
+
props: {
|
|
14
|
+
name: {},
|
|
15
|
+
text: {},
|
|
16
|
+
tagline: {},
|
|
17
|
+
image: {},
|
|
18
|
+
actions: {}
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
const { heroImageSlotExists: l } = u(y);
|
|
22
|
+
return (s, m) => (t(), n("div", {
|
|
23
|
+
class: h(["VPHero", { "has-image": e.image || c(l) }])
|
|
24
|
+
}, [
|
|
25
|
+
a("div", V, [
|
|
26
|
+
a("div", M, [
|
|
27
|
+
r(s.$slots, "home-hero-info-before", {}, void 0, !0),
|
|
28
|
+
r(s.$slots, "home-hero-info", {}, () => [
|
|
29
|
+
a("h1", T, [
|
|
30
|
+
e.name ? (t(), n("span", {
|
|
31
|
+
key: 0,
|
|
32
|
+
innerHTML: e.name,
|
|
33
|
+
class: "name clip"
|
|
34
|
+
}, null, 8, x)) : o("", !0),
|
|
35
|
+
e.text ? (t(), n("span", {
|
|
36
|
+
key: 1,
|
|
37
|
+
innerHTML: e.text,
|
|
38
|
+
class: "text"
|
|
39
|
+
}, null, 8, $)) : o("", !0)
|
|
40
|
+
]),
|
|
41
|
+
e.tagline ? (t(), n("p", {
|
|
42
|
+
key: 0,
|
|
43
|
+
innerHTML: e.tagline,
|
|
44
|
+
class: "tagline"
|
|
45
|
+
}, null, 8, B)) : o("", !0)
|
|
46
|
+
], !0),
|
|
47
|
+
r(s.$slots, "home-hero-info-after", {}, void 0, !0),
|
|
48
|
+
e.actions ? (t(), n("div", I, [
|
|
49
|
+
(t(!0), n(g, null, f(e.actions, (i) => (t(), n("div", {
|
|
50
|
+
key: i.link,
|
|
51
|
+
class: "action"
|
|
52
|
+
}, [
|
|
53
|
+
k(H, {
|
|
54
|
+
tag: "a",
|
|
55
|
+
size: "medium",
|
|
56
|
+
theme: i.theme,
|
|
57
|
+
text: i.text,
|
|
58
|
+
href: i.link,
|
|
59
|
+
target: i.target,
|
|
60
|
+
rel: i.rel
|
|
61
|
+
}, null, 8, ["theme", "text", "href", "target", "rel"])
|
|
62
|
+
]))), 128))
|
|
63
|
+
])) : o("", !0),
|
|
64
|
+
r(s.$slots, "home-hero-actions-after", {}, void 0, !0)
|
|
65
|
+
]),
|
|
66
|
+
e.image || c(l) ? (t(), n("div", P, [
|
|
67
|
+
a("div", C, [
|
|
68
|
+
m[0] || (m[0] = a("div", { class: "image-bg" }, null, -1)),
|
|
69
|
+
r(s.$slots, "home-hero-image", {}, () => [
|
|
70
|
+
e.image ? (t(), v(L, {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "image-src",
|
|
73
|
+
image: e.image
|
|
74
|
+
}, null, 8, ["image"])) : o("", !0)
|
|
75
|
+
], !0)
|
|
76
|
+
])
|
|
77
|
+
])) : o("", !0)
|
|
78
|
+
])
|
|
79
|
+
], 2));
|
|
80
|
+
}
|
|
81
|
+
});
|
|
3
82
|
export {
|
|
4
|
-
|
|
83
|
+
z as default
|
|
5
84
|
};
|
package/dist/index336.js
ADDED
package/dist/index337.js
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import m from "./index279.js";
|
|
4
|
-
const s = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "VPNavBarAppearance"
|
|
7
|
-
}, V = /* @__PURE__ */ r({
|
|
8
|
-
__name: "VPNavBarAppearance",
|
|
9
|
-
setup(_) {
|
|
10
|
-
const { site: e } = n();
|
|
11
|
-
return (f, i) => a(e).appearance && a(e).appearance !== "force-dark" && a(e).appearance !== "force-auto" ? (c(), t("div", s, [
|
|
12
|
-
p(m)
|
|
13
|
-
])) : o("", !0);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
1
|
+
import o from "./index286.js";
|
|
2
|
+
/* empty css */
|
|
16
3
|
export {
|
|
17
|
-
|
|
4
|
+
o as default
|
|
18
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, createElementBlock as a, createCommentVNode as s, unref as l, openBlock as n, createElementVNode as c, Fragment as i, renderList as p, createBlock as r, resolveDynamicComponent as u, mergeProps as f } from "vue";
|
|
2
|
-
import { useData as _ } from "./
|
|
3
|
-
import d from "./
|
|
4
|
-
import v from "./
|
|
2
|
+
import { useData as _ } from "./index272.js";
|
|
3
|
+
import d from "./index362.js";
|
|
4
|
+
import v from "./index363.js";
|
|
5
5
|
const k = {
|
|
6
6
|
key: 0,
|
|
7
7
|
"aria-labelledby": "main-nav-aria-label",
|
package/dist/index340.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as t, createCommentVNode as o, unref as a, openBlock as c, createVNode as p } from "vue";
|
|
2
|
+
import { useData as n } from "./index272.js";
|
|
3
|
+
import m from "./index293.js";
|
|
4
|
+
const s = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "VPNavBarAppearance"
|
|
7
|
+
}, V = /* @__PURE__ */ r({
|
|
8
|
+
__name: "VPNavBarAppearance",
|
|
9
|
+
setup(_) {
|
|
10
|
+
const { site: e } = n();
|
|
11
|
+
return (f, i) => a(e).appearance && a(e).appearance !== "force-dark" && a(e).appearance !== "force-auto" ? (c(), t("div", s, [
|
|
12
|
+
p(m)
|
|
13
|
+
])) : o("", !0);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
V as default
|
|
18
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as s, createBlock as o, createCommentVNode as m, unref as e, openBlock as n, withCtx as c, createElementVNode as l, createElementBlock as u, toDisplayString as g, Fragment as p, renderList as d } from "vue";
|
|
2
|
-
import _ from "./
|
|
3
|
-
import f from "./
|
|
4
|
-
import { useData as k } from "./
|
|
5
|
-
import { useLangs as h } from "./
|
|
2
|
+
import _ from "./index360.js";
|
|
3
|
+
import f from "./index361.js";
|
|
4
|
+
import { useData as k } from "./index272.js";
|
|
5
|
+
import { useLangs as h } from "./index294.js";
|
|
6
6
|
const L = { class: "items" }, V = { class: "title" }, D = /* @__PURE__ */ s({
|
|
7
7
|
__name: "VPNavBarTranslations",
|
|
8
8
|
setup(b) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, createBlock as a, createCommentVNode as r, unref as o, openBlock as s } from "vue";
|
|
2
|
-
import { useData as t } from "./
|
|
2
|
+
import { useData as t } from "./index272.js";
|
|
3
3
|
import i from "./index16.js";
|
|
4
4
|
const _ = /* @__PURE__ */ n({
|
|
5
5
|
__name: "VPNavBarSocialLinks",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as v, computed as u, createBlock as m, createCommentVNode as o, openBlock as t, withCtx as f, createElementBlock as i, unref as e, createElementVNode as a, toDisplayString as d, Fragment as g, renderList as L, createVNode as _ } from "vue";
|
|
2
|
-
import V from "./
|
|
3
|
-
import x from "./
|
|
4
|
-
import y from "./
|
|
2
|
+
import V from "./index360.js";
|
|
3
|
+
import x from "./index361.js";
|
|
4
|
+
import y from "./index293.js";
|
|
5
5
|
import b from "./index16.js";
|
|
6
|
-
import { useData as P } from "./
|
|
7
|
-
import { useLangs as B } from "./
|
|
6
|
+
import { useData as P } from "./index272.js";
|
|
7
|
+
import { useLangs as B } from "./index294.js";
|
|
8
8
|
const E = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "group translations"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as n, inject as r, ref as s, watchPostEffect as p, createBlock as u, openBlock as h, unref as o, withCtx as m, createElementVNode as l } from "vue";
|
|
2
|
-
import { useData as f } from "./
|
|
3
|
-
import d from "./
|
|
2
|
+
import { useData as f } from "./index272.js";
|
|
3
|
+
import d from "./index359.js";
|
|
4
4
|
const g = /* @__PURE__ */ n({
|
|
5
5
|
__name: "VPSwitchAppearance",
|
|
6
6
|
setup(w) {
|
package/dist/index350.js
CHANGED
|
@@ -1,7 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { onContentUpdated as b, inBrowser as w, useRoute as y } from "vitepress";
|
|
2
|
+
import { watch as c, shallowRef as f, computed as t, shallowReadonly as m } from "vue";
|
|
3
|
+
import { getSidebar as g, getSidebarGroups as S } from "./index370.js";
|
|
4
|
+
import { useData as h } from "./index272.js";
|
|
5
|
+
import { getHeaders as E } from "./index371.js";
|
|
6
|
+
import { useCloseSidebarOnEscape as H } from "./index357.js";
|
|
7
|
+
const d = f([]), n = f([]), v = f(!1);
|
|
8
|
+
function G() {
|
|
9
|
+
const { frontmatter: e, theme: u } = h(), r = t(() => !!(e.value.isHome ?? e.value.layout === "home")), a = t(() => e.value.sidebar !== !1 && n.value.length > 0 && !r.value), i = t(() => a.value && v.value), l = t(() => a.value ? S(n.value) : []), s = t(() => r.value ? !1 : e.value.aside != null ? !!e.value.aside : u.value.aside !== !1), o = t(() => s.value ? e.value.aside == null ? u.value.aside === "left" : e.value.aside === "left" : !1), p = t(() => d.value.length > 0);
|
|
10
|
+
return {
|
|
11
|
+
isHome: r,
|
|
12
|
+
sidebar: m(n),
|
|
13
|
+
sidebarGroups: l,
|
|
14
|
+
hasSidebar: a,
|
|
15
|
+
isSidebarEnabled: i,
|
|
16
|
+
hasAside: s,
|
|
17
|
+
leftAside: o,
|
|
18
|
+
headers: m(d),
|
|
19
|
+
hasLocalNav: p
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function I({ closeSidebar: e }) {
|
|
23
|
+
const { frontmatter: u, page: r, theme: a } = h();
|
|
24
|
+
c(
|
|
25
|
+
() => [r.value.relativePath, a.value.sidebar],
|
|
26
|
+
([l, s]) => {
|
|
27
|
+
const o = s ? g(s, l) : [];
|
|
28
|
+
JSON.stringify(o) !== JSON.stringify(n.value) && (n.value = o);
|
|
29
|
+
},
|
|
30
|
+
{ immediate: !0, deep: !0, flush: "sync" }
|
|
31
|
+
), b(() => {
|
|
32
|
+
d.value = E(u.value.outline ?? a.value.outline);
|
|
33
|
+
}), w && (v.value = window.innerWidth >= 960, window.addEventListener(
|
|
34
|
+
"resize",
|
|
35
|
+
() => {
|
|
36
|
+
v.value = window.innerWidth >= 960;
|
|
37
|
+
},
|
|
38
|
+
{ passive: !0 }
|
|
39
|
+
));
|
|
40
|
+
const i = y();
|
|
41
|
+
c(() => i.path, e), H(e);
|
|
42
|
+
}
|
|
43
|
+
const J = Symbol("layout-info");
|
|
5
44
|
export {
|
|
6
|
-
|
|
45
|
+
J as layoutInfoInjectionKey,
|
|
46
|
+
I as registerWatchers,
|
|
47
|
+
G as useLayout
|
|
7
48
|
};
|
package/dist/index351.js
CHANGED
|
@@ -1,48 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { getHeaders as E } from "./index354.js";
|
|
6
|
-
import { useCloseSidebarOnEscape as H } from "./index355.js";
|
|
7
|
-
const d = f([]), n = f([]), v = f(!1);
|
|
8
|
-
function G() {
|
|
9
|
-
const { frontmatter: e, theme: u } = h(), r = t(() => !!(e.value.isHome ?? e.value.layout === "home")), a = t(() => e.value.sidebar !== !1 && n.value.length > 0 && !r.value), i = t(() => a.value && v.value), l = t(() => a.value ? S(n.value) : []), s = t(() => r.value ? !1 : e.value.aside != null ? !!e.value.aside : u.value.aside !== !1), o = t(() => s.value ? e.value.aside == null ? u.value.aside === "left" : e.value.aside === "left" : !1), p = t(() => d.value.length > 0);
|
|
10
|
-
return {
|
|
11
|
-
isHome: r,
|
|
12
|
-
sidebar: m(n),
|
|
13
|
-
sidebarGroups: l,
|
|
14
|
-
hasSidebar: a,
|
|
15
|
-
isSidebarEnabled: i,
|
|
16
|
-
hasAside: s,
|
|
17
|
-
leftAside: o,
|
|
18
|
-
headers: m(d),
|
|
19
|
-
hasLocalNav: p
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function I({ closeSidebar: e }) {
|
|
23
|
-
const { frontmatter: u, page: r, theme: a } = h();
|
|
24
|
-
c(
|
|
25
|
-
() => [r.value.relativePath, a.value.sidebar],
|
|
26
|
-
([l, s]) => {
|
|
27
|
-
const o = s ? g(s, l) : [];
|
|
28
|
-
JSON.stringify(o) !== JSON.stringify(n.value) && (n.value = o);
|
|
29
|
-
},
|
|
30
|
-
{ immediate: !0, deep: !0, flush: "sync" }
|
|
31
|
-
), b(() => {
|
|
32
|
-
d.value = E(u.value.outline ?? a.value.outline);
|
|
33
|
-
}), w && (v.value = window.innerWidth >= 960, window.addEventListener(
|
|
34
|
-
"resize",
|
|
35
|
-
() => {
|
|
36
|
-
v.value = window.innerWidth >= 960;
|
|
37
|
-
},
|
|
38
|
-
{ passive: !0 }
|
|
39
|
-
));
|
|
40
|
-
const i = y();
|
|
41
|
-
c(() => i.path, e), H(e);
|
|
42
|
-
}
|
|
43
|
-
const J = Symbol("layout-info");
|
|
1
|
+
import o from "./index372.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import r from "./index95.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6be01745"]]);
|
|
44
5
|
export {
|
|
45
|
-
|
|
46
|
-
I as registerWatchers,
|
|
47
|
-
G as useLayout
|
|
6
|
+
m as default
|
|
48
7
|
};
|
package/dist/index352.js
CHANGED
|
@@ -1,72 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
mini: [],
|
|
6
|
-
small: [
|
|
7
|
-
[920, 6],
|
|
8
|
-
[768, 5],
|
|
9
|
-
[640, 4],
|
|
10
|
-
[480, 3],
|
|
11
|
-
[0, 2]
|
|
12
|
-
],
|
|
13
|
-
medium: [
|
|
14
|
-
[960, 5],
|
|
15
|
-
[832, 4],
|
|
16
|
-
[640, 3],
|
|
17
|
-
[480, 2]
|
|
18
|
-
],
|
|
19
|
-
big: [
|
|
20
|
-
[832, 3],
|
|
21
|
-
[640, 2]
|
|
22
|
-
]
|
|
23
|
-
};
|
|
24
|
-
function G({
|
|
25
|
-
el: t,
|
|
26
|
-
size: n = "medium"
|
|
27
|
-
}) {
|
|
28
|
-
const e = l(o, 100);
|
|
29
|
-
m(() => {
|
|
30
|
-
o(), window.addEventListener("resize", e);
|
|
31
|
-
}), c(() => {
|
|
32
|
-
window.removeEventListener("resize", e);
|
|
33
|
-
});
|
|
34
|
-
function o() {
|
|
35
|
-
a(t.value, n);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function a(t, n) {
|
|
39
|
-
const e = t.children.length, o = t.querySelectorAll(".vp-sponsor-grid-item:not(.empty)").length, r = f(t, n, o);
|
|
40
|
-
g(t, r, e, o);
|
|
41
|
-
}
|
|
42
|
-
function f(t, n, e) {
|
|
43
|
-
const o = u[n], r = window.innerWidth;
|
|
44
|
-
let i = 1;
|
|
45
|
-
return o.some(([s, d]) => {
|
|
46
|
-
if (r >= s)
|
|
47
|
-
return i = e < d ? e : d, !0;
|
|
48
|
-
}), p(t, i), i;
|
|
49
|
-
}
|
|
50
|
-
function p(t, n) {
|
|
51
|
-
t.dataset.vpGrid = String(n);
|
|
52
|
-
}
|
|
53
|
-
function g(t, n, e, o) {
|
|
54
|
-
const r = e - o, i = o % n, s = i === 0 ? i : n - i;
|
|
55
|
-
v(t, s - r);
|
|
56
|
-
}
|
|
57
|
-
function v(t, n) {
|
|
58
|
-
n !== 0 && (n > 0 ? S(t, n) : h(t, n * -1));
|
|
59
|
-
}
|
|
60
|
-
function S(t, n) {
|
|
61
|
-
for (let e = 0; e < n; e++) {
|
|
62
|
-
const o = document.createElement("div");
|
|
63
|
-
o.classList.add("vp-sponsor-grid-item", "empty"), t.append(o);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function h(t, n) {
|
|
67
|
-
for (let e = 0; e < n; e++)
|
|
68
|
-
t.removeChild(t.lastElementChild);
|
|
69
|
-
}
|
|
1
|
+
import o from "./index374.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "./index95.js";
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d50058da"]]);
|
|
70
5
|
export {
|
|
71
|
-
|
|
6
|
+
p as default
|
|
72
7
|
};
|
package/dist/index353.js
CHANGED
|
@@ -1,49 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (r == null) return [];
|
|
6
|
-
t = o(t);
|
|
7
|
-
const i = Object.keys(r).sort((e, c) => c.split("/").length - e.split("/").length).find((e) => t.startsWith(o(e))), n = i ? r[i] : [];
|
|
8
|
-
return Array.isArray(n) ? s(n) : s(n.items, n.base);
|
|
9
|
-
}
|
|
10
|
-
function k(r) {
|
|
11
|
-
const t = [];
|
|
12
|
-
let i = 0;
|
|
13
|
-
for (const n in r) {
|
|
14
|
-
const e = r[n];
|
|
15
|
-
if (e.items) {
|
|
16
|
-
i = t.push(e);
|
|
17
|
-
continue;
|
|
18
|
-
}
|
|
19
|
-
t[i] || t.push({ items: [] }), t[i].items.push(e);
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
}
|
|
23
|
-
function p(r) {
|
|
24
|
-
const t = [];
|
|
25
|
-
function i(n) {
|
|
26
|
-
for (const e of n)
|
|
27
|
-
e.text && e.link && t.push({
|
|
28
|
-
text: e.text,
|
|
29
|
-
link: e.link,
|
|
30
|
-
docFooterText: e.docFooterText
|
|
31
|
-
}), e.items && i(e.items);
|
|
32
|
-
}
|
|
33
|
-
return i(r), t;
|
|
34
|
-
}
|
|
35
|
-
function u(r, t) {
|
|
36
|
-
return Array.isArray(t) ? t.some((i) => u(r, i)) : f(r, t.link) ? !0 : t.items ? u(r, t.items) : !1;
|
|
37
|
-
}
|
|
38
|
-
function s(r, t) {
|
|
39
|
-
return [...r].map((i) => {
|
|
40
|
-
const n = { ...i }, e = n.base || t;
|
|
41
|
-
return e && n.link && (n.link = e + n.link.replace(/^\//, e.endsWith("/") ? "" : "/")), n.items && (n.items = s(n.items, e)), n;
|
|
42
|
-
});
|
|
43
|
-
}
|
|
1
|
+
import o from "./index376.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "./index95.js";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f7e877bc"]]);
|
|
44
5
|
export {
|
|
45
|
-
|
|
46
|
-
m as getSidebar,
|
|
47
|
-
k as getSidebarGroups,
|
|
48
|
-
u as hasActiveLink
|
|
6
|
+
m as default
|
|
49
7
|
};
|