@voidzero-dev/vitepress-theme 1.1.60 → 1.1.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/dist/index111.js +4 -4
  2. package/dist/index115.js +8 -8
  3. package/dist/index119.js +10 -10
  4. package/dist/index121.js +3 -3
  5. package/dist/index123.js +7 -7
  6. package/dist/index128.js +4 -4
  7. package/dist/index135.js +1 -1
  8. package/dist/index140.js +2 -2
  9. package/dist/index142.js +21 -21
  10. package/dist/index145.js +17 -17
  11. package/dist/index148.js +1 -1
  12. package/dist/index157.js +4 -4
  13. package/dist/index167.js +4 -4
  14. package/dist/index173.js +5 -5
  15. package/dist/index185.js +2 -2
  16. package/dist/index187.js +1 -1
  17. package/dist/index197.js +1 -1
  18. package/dist/index198.js +26 -28
  19. package/dist/index199.js +29 -41
  20. package/dist/index200.js +15 -15
  21. package/dist/index201.js +17 -21
  22. package/dist/index202.js +15 -15
  23. package/dist/index203.js +13 -13
  24. package/dist/index204.js +123 -24
  25. package/dist/index205.js +3 -26
  26. package/dist/index206.js +5 -125
  27. package/dist/index207.js +5 -2
  28. package/dist/index208.js +1 -1
  29. package/dist/index209.js +2 -2
  30. package/dist/index210.js +4 -0
  31. package/dist/index211.js +28 -108
  32. package/dist/index212.js +22 -0
  33. package/dist/index213.js +89 -35
  34. package/dist/index215.js +5 -2
  35. package/dist/index216.js +5 -2
  36. package/dist/index217.js +5 -2
  37. package/dist/index218.js +5 -2
  38. package/dist/index219.js +5 -2
  39. package/dist/index220.js +5 -2
  40. package/dist/index221.js +32 -2
  41. package/dist/index222.js +2 -2
  42. package/dist/index223.js +1 -1
  43. package/dist/index224.js +1 -1
  44. package/dist/index225.js +2 -34
  45. package/dist/index226.js +2 -2
  46. package/dist/index227.js +2 -2
  47. package/dist/index228.js +2 -2
  48. package/dist/index229.js +2 -2
  49. package/dist/index23.js +7 -7
  50. package/dist/index230.js +1 -1
  51. package/dist/index231.js +1 -1
  52. package/dist/index232.js +1 -1
  53. package/dist/index233.js +2 -5
  54. package/dist/index234.js +2 -3
  55. package/dist/index235.js +103 -5
  56. package/dist/index236.js +2 -2
  57. package/dist/index237.js +2 -5
  58. package/dist/index238.js +1 -1
  59. package/dist/index239.js +2 -2
  60. package/dist/index240.js +2 -2
  61. package/dist/index241.js +2 -2
  62. package/dist/index242.js +2 -2
  63. package/dist/index243.js +2 -2
  64. package/dist/index244.js +2 -2
  65. package/dist/index245.js +2 -2
  66. package/dist/index246.js +1 -1
  67. package/dist/index247.js +2 -103
  68. package/dist/index248.js +2 -2
  69. package/dist/index249.js +1 -1
  70. package/dist/index250.js +2 -2
  71. package/dist/index251.js +2 -2
  72. package/dist/index252.js +2 -2
  73. package/dist/index253.js +2 -2
  74. package/dist/index254.js +2 -2
  75. package/dist/index255.js +2 -2
  76. package/dist/index257.js +108 -2
  77. package/dist/index259.js +2 -2
  78. package/dist/index260.js +5 -2
  79. package/dist/index261.js +2 -2
  80. package/dist/index262.js +2 -52
  81. package/dist/index263.js +34 -43
  82. package/dist/index264.js +2 -2587
  83. package/dist/index265.js +1 -1
  84. package/dist/index266.js +2 -2
  85. package/dist/index267.js +2 -2
  86. package/dist/index268.js +2 -2
  87. package/dist/index269.js +2 -2
  88. package/dist/index270.js +2 -2
  89. package/dist/index271.js +2 -20
  90. package/dist/index272.js +2 -92
  91. package/dist/index273.js +4 -0
  92. package/dist/index274.js +42 -5
  93. package/dist/index275.js +2 -5
  94. package/dist/index276.js +2 -5
  95. package/dist/index277.js +47 -5
  96. package/dist/index278.js +2 -5
  97. package/dist/index279.js +38 -5
  98. package/dist/index28.js +1 -1
  99. package/dist/index280.js +52 -32
  100. package/dist/index281.js +44 -3
  101. package/dist/index282.js +2587 -2
  102. package/dist/index283.js +1 -1
  103. package/dist/index284.js +1 -1
  104. package/dist/index285.js +1 -1
  105. package/dist/index286.js +1 -1
  106. package/dist/index287.js +2 -2
  107. package/dist/index288.js +2 -2
  108. package/dist/index289.js +2 -2
  109. package/dist/index290.js +1 -1
  110. package/dist/index291.js +2 -2
  111. package/dist/index292.js +96 -2
  112. package/dist/index293.js +2 -96
  113. package/dist/index294.js +98146 -2
  114. package/dist/index295.js +2 -98146
  115. package/dist/index296.js +1 -1
  116. package/dist/index297.js +9 -2
  117. package/dist/index298.js +2 -9
  118. package/dist/index299.js +2 -2
  119. package/dist/index300.js +2 -2
  120. package/dist/index301.js +1 -1
  121. package/dist/index302.js +2 -47
  122. package/dist/index303.js +1 -1
  123. package/dist/index304.js +1 -1
  124. package/dist/index305.js +2 -2
  125. package/dist/index306.js +1 -1
  126. package/dist/index307.js +2 -2
  127. package/dist/index308.js +2 -2
  128. package/dist/index309.js +1 -1
  129. package/dist/index310.js +1 -1
  130. package/dist/index314.js +1 -1
  131. package/dist/index315.js +1 -1
  132. package/dist/index316.js +1 -1
  133. package/dist/index317.js +1 -1
  134. package/dist/index318.js +1 -1
  135. package/dist/index319.js +1 -1
  136. package/dist/index320.js +1 -1
  137. package/dist/index323.js +63 -75
  138. package/dist/index325.js +83 -2
  139. package/dist/index327.js +1 -1
  140. package/dist/index328.js +3 -7207
  141. package/dist/index329.js +2 -1735
  142. package/dist/index330.js +129 -2
  143. package/dist/index332.js +7205 -69
  144. package/dist/index333.js +1737 -0
  145. package/dist/index334.js +1 -1
  146. package/dist/index335.js +3 -3
  147. package/dist/index337.js +2 -2
  148. package/dist/index339.js +4 -4
  149. package/dist/index341.js +1 -1
  150. package/dist/index343.js +5 -5
  151. package/dist/index345.js +2 -2
  152. package/dist/index347.js +2 -129
  153. package/dist/index348.js +4 -0
  154. package/dist/index349.js +1 -1
  155. package/dist/index350.js +2 -2
  156. package/dist/index351.js +4 -4
  157. package/dist/index352.js +1 -1
  158. package/dist/index353.js +5 -47
  159. package/dist/index354.js +5 -112
  160. package/dist/index355.js +21 -61
  161. package/dist/index356.js +30 -5
  162. package/dist/index357.js +26 -2
  163. package/dist/index358.js +5 -29
  164. package/dist/index359.js +4 -0
  165. package/dist/index360.js +27 -6
  166. package/dist/index362.js +8 -5
  167. package/dist/index363.js +3 -20
  168. package/dist/index364.js +5 -30
  169. package/dist/index365.js +5 -26
  170. package/dist/index366.js +5 -315
  171. package/dist/index367.js +5 -2
  172. package/dist/index368.js +4 -4
  173. package/dist/index369.js +62 -5
  174. package/dist/index370.js +315 -5
  175. package/dist/index371.js +2 -5
  176. package/dist/index372.js +47 -5
  177. package/dist/index373.js +112 -5
  178. package/dist/index374.js +62 -445
  179. package/dist/{index377.js → index376.js} +1 -1
  180. package/dist/index379.js +4 -0
  181. package/dist/index380.js +1 -1
  182. package/dist/index381.js +19 -2
  183. package/dist/{index384.js → index383.js} +5 -5
  184. package/dist/{index386.js → index385.js} +1 -1
  185. package/dist/{index388.js → index387.js} +2 -2
  186. package/dist/{index390.js → index389.js} +1 -1
  187. package/dist/{index392.js → index391.js} +1 -1
  188. package/dist/{index331.js → index393.js} +1 -1
  189. package/dist/index394.js +2 -3
  190. package/dist/index395.js +454 -2
  191. package/dist/index397.js +89 -0
  192. package/dist/index398.js +443 -84
  193. package/dist/index399.js +3 -9
  194. package/dist/index400.js +9 -3
  195. package/dist/index401.js +1 -1
  196. package/dist/index402.js +1 -1
  197. package/dist/index403.js +5 -23
  198. package/dist/index404.js +5 -21
  199. package/dist/index405.js +3 -3
  200. package/dist/index406.js +13 -5
  201. package/dist/index407.js +35 -5
  202. package/dist/index409.js +24 -13
  203. package/dist/index411.js +77 -17
  204. package/dist/index413.js +48 -33
  205. package/dist/index415.js +5 -83
  206. package/dist/index417.js +20 -23
  207. package/dist/index418.js +19 -0
  208. package/dist/index419.js +18 -76
  209. package/dist/index42.js +4 -4
  210. package/dist/index420.js +25 -0
  211. package/dist/index421.js +80 -47
  212. package/dist/index423.js +1 -1
  213. package/dist/index425.js +1 -1
  214. package/dist/index426.js +3 -3
  215. package/dist/index427.js +3 -3
  216. package/dist/index428.js +25 -5
  217. package/dist/index430.js +100 -0
  218. package/dist/index432.js +22 -94
  219. package/dist/index434.js +5 -25
  220. package/dist/{index431.js → index435.js} +2 -2
  221. package/dist/index436.js +26 -95
  222. package/dist/index438.js +92 -23
  223. package/dist/index440.js +1 -1
  224. package/dist/index441.js +3 -3
  225. package/dist/index445.js +1 -1
  226. package/dist/index447.js +3 -3
  227. package/dist/index451.js +2 -2
  228. package/dist/index46.js +1 -1
  229. package/dist/index49.js +4 -4
  230. package/dist/index51.js +4 -4
  231. package/dist/index52.js +1 -1
  232. package/dist/index54.js +1 -1
  233. package/dist/index58.js +55 -56
  234. package/dist/index6.js +1 -1
  235. package/dist/index62.js +1 -1
  236. package/dist/index65.js +1 -1
  237. package/dist/index7.js +2 -2
  238. package/dist/index75.js +1 -1
  239. package/dist/index77.js +2 -2
  240. package/dist/index8.js +2 -2
  241. package/dist/index81.js +2 -2
  242. package/dist/index9.js +1 -1
  243. package/dist/vitepress/components/vitepress-default/VPDocAsideSponsors.vue.d.ts +2 -1
  244. package/dist/vitepress/index.d.ts +2 -0
  245. package/dist/vitepress/types/theme-config.d.ts +68 -0
  246. package/package.json +1 -1
  247. package/dist/index214.js +0 -4
  248. package/dist/index256.js +0 -4
  249. package/dist/index258.js +0 -4
  250. package/dist/index326.js +0 -4
  251. package/dist/index361.js +0 -7
  252. package/dist/index375.js +0 -65
  253. package/dist/index382.js +0 -21
  254. package/dist/index396.js +0 -456
  255. package/dist/index408.js +0 -7
  256. package/dist/index412.js +0 -21
  257. package/dist/index429.js +0 -28
  258. /package/dist/{index410.js → index416.js} +0 -0
package/dist/index421.js CHANGED
@@ -1,52 +1,85 @@
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 "./index234.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
- }])
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 "./index205.js";
5
+ import { resolveTitle as O } from "./index373.js";
6
+ import H from "./index434.js";
7
+ const P = { class: "menu-text" }, S = { class: "header" }, z = { class: "outline" }, Y = /* @__PURE__ */ g({
8
+ __name: "VPLocalNavOutlineDropdown",
9
+ props: {
10
+ headers: {},
11
+ navHeight: {}
12
+ },
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
45
+ }, [
46
+ s.headers.length > 0 ? (a(), l("button", {
47
+ key: 0,
48
+ onClick: y,
49
+ class: _({ open: e.value })
16
50
  }, [
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
- };
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));
48
81
  }
49
82
  });
50
83
  export {
51
- H as default
84
+ Y as default
52
85
  };
package/dist/index423.js CHANGED
@@ -1,5 +1,5 @@
1
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 "./index426.js";
2
+ import f from "./index435.js";
3
3
  const x = /* @__PURE__ */ u({
4
4
  __name: "VPSidebarGroup",
5
5
  props: {
package/dist/index425.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index429.js";
1
+ import o from "./index432.js";
2
2
  /* empty css */
3
3
  import r from "./index95.js";
4
4
  const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-97c4c35d"]]);
package/dist/index426.js CHANGED
@@ -1,7 +1,7 @@
1
- import o from "./index432.js";
1
+ import o from "./index428.js";
2
2
  /* empty css */
3
3
  import t from "./index95.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e8d6d65e"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0cd51bdc"]]);
5
5
  export {
6
- a as default
6
+ m as default
7
7
  };
package/dist/index427.js CHANGED
@@ -1,7 +1,7 @@
1
- import o from "./index434.js";
1
+ import o from "./index430.js";
2
2
  /* empty css */
3
3
  import t from "./index95.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0cd51bdc"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-63303c93"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
package/dist/index428.js CHANGED
@@ -1,7 +1,27 @@
1
- import o from "./index436.js";
2
- /* empty css */
3
- import t from "./index95.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-63303c93"]]);
1
+ import { defineComponent as d, createElementBlock as i, openBlock as r, renderSlot as o, createVNode as n, createElementVNode as l, createBlock as m, createCommentVNode as u, unref as a } from "vue";
2
+ import { useData as c } from "./index205.js";
3
+ import f from "./index443.js";
4
+ import p from "./index444.js";
5
+ const v = { class: "VPDocAside" }, D = /* @__PURE__ */ d({
6
+ __name: "VPDocAside",
7
+ setup(b) {
8
+ const { theme: s } = c();
9
+ return (e, t) => (r(), i("div", v, [
10
+ o(e.$slots, "aside-top", {}, void 0, !0),
11
+ o(e.$slots, "aside-outline-before", {}, void 0, !0),
12
+ n(f),
13
+ o(e.$slots, "aside-outline-after", {}, void 0, !0),
14
+ t[0] || (t[0] = l("div", { class: "spacer" }, null, -1)),
15
+ o(e.$slots, "aside-ads-before", {}, void 0, !0),
16
+ a(s).carbonAds ? (r(), m(p, {
17
+ key: 0,
18
+ "carbon-ads": a(s).carbonAds
19
+ }, null, 8, ["carbon-ads"])) : u("", !0),
20
+ o(e.$slots, "aside-ads-after", {}, void 0, !0),
21
+ o(e.$slots, "aside-bottom", {}, void 0, !0)
22
+ ]));
23
+ }
24
+ });
5
25
  export {
6
- p as default
26
+ D as default
7
27
  };
@@ -0,0 +1,100 @@
1
+ import { defineComponent as L, computed as c, createElementBlock as r, createCommentVNode as n, openBlock as s, renderSlot as y, createVNode as _, unref as e, withCtx as u, createElementVNode as o, createTextVNode as g, toDisplayString as T, createBlock as f } from "vue";
2
+ import { useData as H } from "./index205.js";
3
+ import { useEditLink as M } from "./index440.js";
4
+ import { usePrevNext as V } from "./index441.js";
5
+ import p from "./index8.js";
6
+ import b from "./index442.js";
7
+ const F = {
8
+ key: 0,
9
+ class: "VPDocFooter"
10
+ }, N = {
11
+ key: 0,
12
+ class: "edit-info"
13
+ }, P = {
14
+ key: 0,
15
+ class: "edit-link"
16
+ }, D = {
17
+ key: 1,
18
+ class: "last-updated"
19
+ }, E = {
20
+ key: 1,
21
+ class: "prev-next",
22
+ "aria-labelledby": "doc-footer-aria-label"
23
+ }, B = { class: "pager" }, C = ["innerHTML"], U = ["innerHTML"], w = { class: "pager" }, S = ["innerHTML"], $ = ["innerHTML"], K = /* @__PURE__ */ L({
24
+ __name: "VPDocFooter",
25
+ setup(q) {
26
+ const { theme: l, page: k, frontmatter: m } = H(), v = M(), t = V(), i = c(
27
+ () => l.value.editLink && m.value.editLink !== !1
28
+ ), d = c(() => k.value.lastUpdated), h = c(
29
+ () => i.value || d.value || t.value.prev || t.value.next
30
+ );
31
+ return (x, a) => h.value ? (s(), r("footer", F, [
32
+ y(x.$slots, "doc-footer-before", {}, void 0, !0),
33
+ i.value || d.value ? (s(), r("div", N, [
34
+ i.value ? (s(), r("div", P, [
35
+ _(p, {
36
+ class: "edit-link-button",
37
+ href: e(v).url,
38
+ "no-icon": !0
39
+ }, {
40
+ default: u(() => [
41
+ a[0] || (a[0] = o("span", { class: "vpi-square-pen edit-link-icon" }, null, -1)),
42
+ g(" " + T(e(v).text), 1)
43
+ ]),
44
+ _: 1
45
+ }, 8, ["href"])
46
+ ])) : n("", !0),
47
+ d.value ? (s(), r("div", D, [
48
+ _(b)
49
+ ])) : n("", !0)
50
+ ])) : n("", !0),
51
+ e(t).prev?.link || e(t).next?.link ? (s(), r("nav", E, [
52
+ a[1] || (a[1] = o("span", {
53
+ class: "visually-hidden",
54
+ id: "doc-footer-aria-label"
55
+ }, "Pager", -1)),
56
+ o("div", B, [
57
+ e(t).prev?.link ? (s(), f(p, {
58
+ key: 0,
59
+ class: "pager-link prev",
60
+ href: e(t).prev.link
61
+ }, {
62
+ default: u(() => [
63
+ o("span", {
64
+ class: "desc",
65
+ innerHTML: e(l).docFooter?.prev || "Previous page"
66
+ }, null, 8, C),
67
+ o("span", {
68
+ class: "title",
69
+ innerHTML: e(t).prev.text
70
+ }, null, 8, U)
71
+ ]),
72
+ _: 1
73
+ }, 8, ["href"])) : n("", !0)
74
+ ]),
75
+ o("div", w, [
76
+ e(t).next?.link ? (s(), f(p, {
77
+ key: 0,
78
+ class: "pager-link next",
79
+ href: e(t).next.link
80
+ }, {
81
+ default: u(() => [
82
+ o("span", {
83
+ class: "desc",
84
+ innerHTML: e(l).docFooter?.next || "Next page"
85
+ }, null, 8, S),
86
+ o("span", {
87
+ class: "title",
88
+ innerHTML: e(t).next.text
89
+ }, null, 8, $)
90
+ ]),
91
+ _: 1
92
+ }, 8, ["href"])) : n("", !0)
93
+ ])
94
+ ])) : n("", !0)
95
+ ])) : n("", !0);
96
+ }
97
+ });
98
+ export {
99
+ K as default
100
+ };
package/dist/index432.js CHANGED
@@ -1,100 +1,28 @@
1
- import { defineComponent as S, computed as n, resolveComponent as w, createBlock as l, openBlock as t, resolveDynamicComponent as c, normalizeClass as M, withCtx as f, createElementBlock as m, createCommentVNode as s, mergeProps as B, toHandlers as E, createElementVNode as b, withKeys as $, Fragment as A, renderList as K } from "vue";
2
- import { useSidebarItemControl as N } from "./index355.js";
3
- import z from "./index8.js";
4
- const D = ["role", "tabindex"], F = {
5
- key: 1,
6
- class: "items"
7
- }, G = /* @__PURE__ */ S({
8
- __name: "VPSidebarItem",
1
+ import { defineComponent as s, createElementBlock as t, openBlock as e, createCommentVNode as o, toDisplayString as c, Fragment as i, renderList as u, createBlock as l } from "vue";
2
+ import a from "./index354.js";
3
+ const m = { class: "VPMenuGroup" }, k = {
4
+ key: 0,
5
+ class: "title"
6
+ }, x = /* @__PURE__ */ s({
7
+ __name: "VPMenuGroup",
9
8
  props: {
10
- item: {},
11
- depth: {}
9
+ text: {},
10
+ items: {}
12
11
  },
13
- setup(e) {
14
- const i = e, {
15
- collapsed: x,
16
- collapsible: y,
17
- isLink: o,
18
- isActiveLink: C,
19
- hasActiveLink: L,
20
- hasChildren: u,
21
- toggle: d
22
- } = N(n(() => i.item)), I = n(() => u.value ? "section" : "div"), T = n(() => o.value ? "a" : "div"), v = n(() => u.value ? i.depth + 2 === 7 ? "p" : `h${i.depth + 2}` : "p"), V = n(() => o.value ? void 0 : "button"), H = n(() => [
23
- [`level-${i.depth}`],
24
- { collapsible: y.value },
25
- { collapsed: x.value },
26
- { "is-link": o.value },
27
- { "is-active": C.value },
28
- { "has-active": L.value }
29
- ]);
30
- function k(r) {
31
- "key" in r && r.key !== "Enter" || !i.item.link && d();
32
- }
33
- function h() {
34
- i.item.link && d();
35
- }
36
- return (r, a) => {
37
- const P = w("VPSidebarItem", !0);
38
- return t(), l(c(I.value), {
39
- class: M(["VPSidebarItem", H.value])
40
- }, {
41
- default: f(() => [
42
- e.item.text ? (t(), m("div", B({
43
- key: 0,
44
- class: "item",
45
- role: V.value
46
- }, E(
47
- e.item.items ? { click: k, keydown: k } : {},
48
- !0
49
- ), {
50
- tabindex: e.item.items && 0
51
- }), [
52
- a[1] || (a[1] = b("div", { class: "indicator" }, null, -1)),
53
- e.item.link ? (t(), l(z, {
54
- key: 0,
55
- tag: T.value,
56
- class: "link",
57
- href: e.item.link,
58
- rel: e.item.rel,
59
- target: e.item.target
60
- }, {
61
- default: f(() => [
62
- (t(), l(c(v.value), {
63
- class: "text",
64
- innerHTML: e.item.text
65
- }, null, 8, ["innerHTML"]))
66
- ]),
67
- _: 1
68
- }, 8, ["tag", "href", "rel", "target"])) : (t(), l(c(v.value), {
69
- key: 1,
70
- class: "text",
71
- innerHTML: e.item.text
72
- }, null, 8, ["innerHTML"])),
73
- e.item.collapsed != null && e.item.items && e.item.items.length ? (t(), m("div", {
74
- key: 2,
75
- class: "caret",
76
- role: "button",
77
- "aria-label": "toggle section",
78
- onClick: h,
79
- onKeydown: $(h, ["enter"]),
80
- tabindex: "0"
81
- }, [...a[0] || (a[0] = [
82
- b("span", { class: "vpi-chevron-right caret-icon" }, null, -1)
83
- ])], 32)) : s("", !0)
84
- ], 16, D)) : s("", !0),
85
- e.item.items && e.item.items.length ? (t(), m("div", F, [
86
- e.depth < 5 ? (t(!0), m(A, { key: 0 }, K(e.item.items, (g) => (t(), l(P, {
87
- key: g.text,
88
- item: g,
89
- depth: e.depth + 1
90
- }, null, 8, ["item", "depth"]))), 128)) : s("", !0)
91
- ])) : s("", !0)
92
- ]),
93
- _: 1
94
- }, 8, ["class"]);
95
- };
12
+ setup(n) {
13
+ return (p, d) => (e(), t("div", m, [
14
+ n.text ? (e(), t("p", k, c(n.text), 1)) : o("", !0),
15
+ (e(!0), t(i, null, u(n.items, (r) => (e(), t(i, {
16
+ key: JSON.stringify(r)
17
+ }, [
18
+ "link" in r ? (e(), l(a, {
19
+ key: 0,
20
+ item: r
21
+ }, null, 8, ["item"])) : o("", !0)
22
+ ], 64))), 128))
23
+ ]));
96
24
  }
97
25
  });
98
26
  export {
99
- G as default
27
+ x as default
100
28
  };
package/dist/index434.js CHANGED
@@ -1,27 +1,7 @@
1
- import { defineComponent as d, createElementBlock as i, openBlock as r, renderSlot as o, createVNode as n, createElementVNode as l, createBlock as m, createCommentVNode as u, unref as a } from "vue";
2
- import { useData as c } from "./index234.js";
3
- import f from "./index443.js";
4
- import p from "./index444.js";
5
- const v = { class: "VPDocAside" }, D = /* @__PURE__ */ d({
6
- __name: "VPDocAside",
7
- setup(b) {
8
- const { theme: s } = c();
9
- return (e, t) => (r(), i("div", v, [
10
- o(e.$slots, "aside-top", {}, void 0, !0),
11
- o(e.$slots, "aside-outline-before", {}, void 0, !0),
12
- n(f),
13
- o(e.$slots, "aside-outline-after", {}, void 0, !0),
14
- t[0] || (t[0] = l("div", { class: "spacer" }, null, -1)),
15
- o(e.$slots, "aside-ads-before", {}, void 0, !0),
16
- a(s).carbonAds ? (r(), m(p, {
17
- key: 0,
18
- "carbon-ads": a(s).carbonAds
19
- }, null, 8, ["carbon-ads"])) : u("", !0),
20
- o(e.$slots, "aside-ads-after", {}, void 0, !0),
21
- o(e.$slots, "aside-bottom", {}, void 0, !0)
22
- ]));
23
- }
24
- });
1
+ import o from "./index436.js";
2
+ /* empty css */
3
+ import t from "./index95.js";
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-88b83d8f"]]);
25
5
  export {
26
- D as default
6
+ f as default
27
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index438.js";
2
2
  /* empty css */
3
3
  import t from "./index95.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-88b83d8f"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e8d6d65e"]]);
5
5
  export {
6
- f as default
6
+ a as default
7
7
  };
package/dist/index436.js CHANGED
@@ -1,100 +1,31 @@
1
- import { defineComponent as L, computed as c, createElementBlock as r, createCommentVNode as n, openBlock as s, renderSlot as y, createVNode as _, unref as e, withCtx as u, createElementVNode as o, createTextVNode as g, toDisplayString as T, createBlock as f } from "vue";
2
- import { useData as H } from "./index234.js";
3
- import { useEditLink as M } from "./index440.js";
4
- import { usePrevNext as V } from "./index441.js";
5
- import p from "./index8.js";
6
- import b from "./index442.js";
7
- const F = {
8
- key: 0,
9
- class: "VPDocFooter"
10
- }, N = {
11
- key: 0,
12
- class: "edit-info"
13
- }, P = {
14
- key: 0,
15
- class: "edit-link"
16
- }, D = {
17
- key: 1,
18
- class: "last-updated"
19
- }, E = {
20
- key: 1,
21
- class: "prev-next",
22
- "aria-labelledby": "doc-footer-aria-label"
23
- }, B = { class: "pager" }, C = ["innerHTML"], U = ["innerHTML"], w = { class: "pager" }, S = ["innerHTML"], $ = ["innerHTML"], K = /* @__PURE__ */ L({
24
- __name: "VPDocFooter",
25
- setup(q) {
26
- const { theme: l, page: k, frontmatter: m } = H(), v = M(), t = V(), i = c(
27
- () => l.value.editLink && m.value.editLink !== !1
28
- ), d = c(() => k.value.lastUpdated), h = c(
29
- () => i.value || d.value || t.value.prev || t.value.next
30
- );
31
- return (x, a) => h.value ? (s(), r("footer", F, [
32
- y(x.$slots, "doc-footer-before", {}, void 0, !0),
33
- i.value || d.value ? (s(), r("div", N, [
34
- i.value ? (s(), r("div", P, [
35
- _(p, {
36
- class: "edit-link-button",
37
- href: e(v).url,
38
- "no-icon": !0
39
- }, {
40
- default: u(() => [
41
- a[0] || (a[0] = o("span", { class: "vpi-square-pen edit-link-icon" }, null, -1)),
42
- g(" " + T(e(v).text), 1)
43
- ]),
44
- _: 1
45
- }, 8, ["href"])
46
- ])) : n("", !0),
47
- d.value ? (s(), r("div", D, [
48
- _(b)
49
- ])) : n("", !0)
50
- ])) : n("", !0),
51
- e(t).prev?.link || e(t).next?.link ? (s(), r("nav", E, [
52
- a[1] || (a[1] = o("span", {
53
- class: "visually-hidden",
54
- id: "doc-footer-aria-label"
55
- }, "Pager", -1)),
56
- o("div", B, [
57
- e(t).prev?.link ? (s(), f(p, {
1
+ import { defineComponent as s, resolveComponent as c, createElementBlock as t, openBlock as e, normalizeClass as m, Fragment as u, renderList as i, createElementVNode as d, createBlock as p, createCommentVNode as h, toDisplayString as _ } from "vue";
2
+ const f = ["href", "title"], B = /* @__PURE__ */ s({
3
+ __name: "VPDocOutlineItem",
4
+ props: {
5
+ headers: {},
6
+ root: { type: Boolean }
7
+ },
8
+ setup(o) {
9
+ return (V, k) => {
10
+ const l = c("VPDocOutlineItem", !0);
11
+ return e(), t("ul", {
12
+ class: m(["VPDocOutlineItem", o.root ? "root" : "nested"])
13
+ }, [
14
+ (e(!0), t(u, null, i(o.headers, ({ children: n, link: a, title: r }) => (e(), t("li", null, [
15
+ d("a", {
16
+ class: "outline-link",
17
+ href: a,
18
+ title: r
19
+ }, _(r), 9, f),
20
+ n?.length ? (e(), p(l, {
58
21
  key: 0,
59
- class: "pager-link prev",
60
- href: e(t).prev.link
61
- }, {
62
- default: u(() => [
63
- o("span", {
64
- class: "desc",
65
- innerHTML: e(l).docFooter?.prev || "Previous page"
66
- }, null, 8, C),
67
- o("span", {
68
- class: "title",
69
- innerHTML: e(t).prev.text
70
- }, null, 8, U)
71
- ]),
72
- _: 1
73
- }, 8, ["href"])) : n("", !0)
74
- ]),
75
- o("div", w, [
76
- e(t).next?.link ? (s(), f(p, {
77
- key: 0,
78
- class: "pager-link next",
79
- href: e(t).next.link
80
- }, {
81
- default: u(() => [
82
- o("span", {
83
- class: "desc",
84
- innerHTML: e(l).docFooter?.next || "Next page"
85
- }, null, 8, S),
86
- o("span", {
87
- class: "title",
88
- innerHTML: e(t).next.text
89
- }, null, 8, $)
90
- ]),
91
- _: 1
92
- }, 8, ["href"])) : n("", !0)
93
- ])
94
- ])) : n("", !0)
95
- ])) : n("", !0);
22
+ headers: n
23
+ }, null, 8, ["headers"])) : h("", !0)
24
+ ]))), 256))
25
+ ], 2);
26
+ };
96
27
  }
97
28
  });
98
29
  export {
99
- K as default
30
+ B as default
100
31
  };