@voidzero-dev/vitepress-theme 0.1.36 → 0.1.41

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 (96) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index100.js +13 -6
  3. package/dist/index101.js +57 -4
  4. package/dist/index102.js +5 -3
  5. package/dist/index103.js +39 -7
  6. package/dist/index104.js +20 -32
  7. package/dist/index105.js +25 -57
  8. package/dist/index106.js +9 -8
  9. package/dist/index107.js +54 -11
  10. package/dist/index108.js +34 -56
  11. package/dist/index109.js +119 -6
  12. package/dist/index110.js +86 -33
  13. package/dist/index111.js +8 -21
  14. package/dist/index112.js +2 -25
  15. package/dist/index113.js +7204 -7
  16. package/dist/index114.js +1730 -52
  17. package/dist/index115.js +434 -31
  18. package/dist/index116.js +12 -117
  19. package/dist/index117.js +5323 -91
  20. package/dist/index118.js +2 -8
  21. package/dist/index119.js +32 -438
  22. package/dist/index120.js +1202 -5
  23. package/dist/index121.js +5 -1735
  24. package/dist/index122.js +4 -2
  25. package/dist/index18.js +2 -2
  26. package/dist/index27.js +1 -1
  27. package/dist/index3.js +3 -3
  28. package/dist/index30.js +8 -8
  29. package/dist/index34.js +12 -12
  30. package/dist/index36.js +7 -7
  31. package/dist/index38.js +40 -40
  32. package/dist/index4.js +10 -10
  33. package/dist/index40.js +84 -18
  34. package/dist/index41.js +66 -18
  35. package/dist/index42.js +53 -18
  36. package/dist/index43.js +74 -23
  37. package/dist/index44.js +26 -2
  38. package/dist/index45.js +26 -30
  39. package/dist/index46.js +26 -2
  40. package/dist/index47.js +26 -2
  41. package/dist/index48.js +26 -2
  42. package/dist/index49.js +26 -2
  43. package/dist/index50.js +1 -1
  44. package/dist/index51.js +1 -1
  45. package/dist/index52.js +18 -2
  46. package/dist/index53.js +18 -2
  47. package/dist/index54.js +18 -2
  48. package/dist/index55.js +2 -2
  49. package/dist/index56.js +34 -2
  50. package/dist/index57.js +2 -2
  51. package/dist/index58.js +2 -2
  52. package/dist/index59.js +2 -2
  53. package/dist/index6.js +29 -29
  54. package/dist/index60.js +2 -2
  55. package/dist/index61.js +1 -1
  56. package/dist/index62.js +2 -2
  57. package/dist/index63.js +2 -2
  58. package/dist/index64.js +2 -2
  59. package/dist/index65.js +2 -2
  60. package/dist/index66.js +2 -2
  61. package/dist/index67.js +2 -84
  62. package/dist/index68.js +21 -65
  63. package/dist/index69.js +123 -52
  64. package/dist/index7.js +1 -1
  65. package/dist/index70.js +2 -76
  66. package/dist/index71.js +2 -26
  67. package/dist/index72.js +3 -30
  68. package/dist/index73.js +52 -26
  69. package/dist/index74.js +43 -26
  70. package/dist/index75.js +49 -22
  71. package/dist/index76.js +2 -26
  72. package/dist/index77.js +2587 -2
  73. package/dist/index78.js +2 -49
  74. package/dist/index79.js +3 -44
  75. package/dist/index8.js +2 -2
  76. package/dist/index80.js +2 -2587
  77. package/dist/index81.js +2 -51
  78. package/dist/index82.js +2 -7207
  79. package/dist/index83.js +2 -14
  80. package/dist/index84.js +2 -2
  81. package/dist/index85.js +2 -22
  82. package/dist/index86.js +2 -124
  83. package/dist/index87.js +2 -2
  84. package/dist/index88.js +2 -5324
  85. package/dist/index89.js +2 -2
  86. package/dist/index90.js +1 -1
  87. package/dist/index91.js +1 -1
  88. package/dist/index92.js +10 -2
  89. package/dist/index93.js +7 -2
  90. package/dist/index94.js +5 -2
  91. package/dist/index95.js +4 -2
  92. package/dist/index96.js +6 -3
  93. package/dist/index97.js +30 -30
  94. package/dist/index98.js +53 -1198
  95. package/dist/index99.js +8 -9
  96. package/package.json +1 -1
package/dist/index85.js CHANGED
@@ -1,24 +1,4 @@
1
- import { isRef as s, shallowRef as m, onMounted as b, onBeforeUnmount as O, watch as v } from "vue";
2
- import { canUseDOM as p, areOptionsEqual as R, arePluginsEqual as E } from "./index97.js";
3
- import c from "./index98.js";
4
- function d(a = {}, l = []) {
5
- const n = s(a), i = s(l);
6
- let o = n ? a.value : a, r = i ? l.value : l;
7
- const u = m(), e = m();
8
- function f() {
9
- e.value && e.value.reInit(o, r);
10
- }
11
- return b(() => {
12
- !p() || !u.value || (c.globalOptions = d.globalOptions, e.value = c(u.value, o, r));
13
- }), O(() => {
14
- e.value && e.value.destroy();
15
- }), n && v(a, (t) => {
16
- R(o, t) || (o = t, f());
17
- }), i && v(l, (t) => {
18
- E(r, t) || (r = t, f());
19
- }), [u, e];
20
- }
21
- d.globalOptions = void 0;
1
+ const C = "data:image/svg+xml,%3csvg%20width='43'%20height='20'%20viewBox='0%200%2043%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.3196%2017.2039C16.3568%2017.2039%2014.4176%2014.8745%2014.4176%2011.9412C14.4176%209.00784%2017.1156%205.29804%2021.0784%205.29804C25.0411%205.29804%2026.9803%207.62745%2026.9803%2010.5608C26.9803%2013.4941%2024.2823%2017.2039%2020.3196%2017.2039ZM20.4882%2013.4941C21.8372%2013.4941%2022.7647%2012.2%2022.7647%2010.8196C22.7647%209.43922%2022.0902%209.09412%2020.9098%209.09412C19.7294%209.09412%2018.6333%2010.3882%2018.6333%2011.7686C18.6333%2013.149%2019.3078%2013.4941%2020.4882%2013.4941ZM31.196%2016.9451H27.0647L30.4372%201.24314H34.5686L31.196%2016.8588V16.9451Z'%20fill='%2309090B'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.09412%2017.2039C6.82941%2017.2039%205.56471%2016.7726%204.8902%2015.7373L4.63725%2016.9451L0%2019.4471L0.505882%2016.9451L3.87843%201.24314H8.0098L6.82941%206.76471C7.75686%205.72941%208.68431%205.29804%209.86471%205.29804C12.3941%205.29804%2013.9961%206.93725%2013.9961%2010.0431C13.9961%2013.149%2012.0569%2017.2039%208.09412%2017.2039ZM9.69608%2010.9059C9.69608%2012.3725%208.68431%2013.4941%207.33529%2013.4941C5.98627%2013.4941%205.90196%2013.2353%205.48039%2012.7176L6.1549%209.87059C6.66078%209.35294%207.16667%209.09412%207.84118%209.09412C8.85294%209.09412%209.69608%209.87059%209.69608%2010.9922V10.9059Z'%20fill='%2309090B'/%3e%3cpath%20d='M38.8687%2017.2039C36.5079%2017.2039%2034.7373%2016.3412%2034.7373%2014.3569C34.7373%2012.3725%2034.7373%2013.7529%2034.8216%2013.4941L35.7491%209.26667H33.8942L34.7373%205.64314H36.5922L37.2667%202.53725L41.904%200.55294L41.3981%202.53725L40.7236%205.64314H43L42.1569%209.26667H39.8804L39.2902%2012.0275V12.5451C39.2902%2013.0627%2039.6275%2013.4941%2040.302%2013.4941C40.9765%2013.4941%2040.8079%2013.4941%2040.8922%2013.4078V16.7725C40.4706%2017.1176%2039.7118%2017.2039%2038.953%2017.2039H38.8687Z'%20fill='%2309090B'/%3e%3c/svg%3e";
22
2
  export {
23
- d as default
3
+ C as default
24
4
  };
package/dist/index86.js CHANGED
@@ -1,126 +1,4 @@
1
- const B = {
2
- active: !0,
3
- breakpoints: {},
4
- delay: 4e3,
5
- jump: !1,
6
- playOnInit: !0,
7
- stopOnFocusIn: !0,
8
- stopOnInteraction: !0,
9
- stopOnMouseEnter: !1,
10
- stopOnLastSnap: !1,
11
- rootNode: null
12
- };
13
- function C(l, n) {
14
- const t = l.scrollSnapList();
15
- return typeof n == "number" ? t.map(() => n) : n(t, l);
16
- }
17
- function H(l, n) {
18
- const t = l.rootNode();
19
- return n && n(t) || t;
20
- }
21
- function E(l = {}) {
22
- let n, t, r, y, u = null, c = 0, o = !1, f = !1, g = !1, p = !1;
23
- function x(e, a) {
24
- t = e;
25
- const {
26
- mergeOptions: d,
27
- optionsAtMedia: O
28
- } = a, R = d(B, E.globalOptions), W = d(R, l);
29
- if (n = O(W), t.scrollSnapList().length <= 1) return;
30
- p = n.jump, r = !1, y = C(t, n.delay);
31
- const {
32
- eventStore: m,
33
- ownerDocument: z
34
- } = t.internalEngine(), D = !!t.internalEngine().options.watchDrag, b = H(t, n.rootNode);
35
- m.add(z, "visibilitychange", h), D && t.on("pointerDown", I), D && !n.stopOnInteraction && t.on("pointerUp", w), n.stopOnMouseEnter && m.add(b, "mouseenter", A), n.stopOnMouseEnter && !n.stopOnInteraction && m.add(b, "mouseleave", L), n.stopOnFocusIn && t.on("slideFocusStart", s), n.stopOnFocusIn && !n.stopOnInteraction && m.add(t.containerNode(), "focusout", i), n.playOnInit && i();
36
- }
37
- function T() {
38
- t.off("pointerDown", I).off("pointerUp", w).off("slideFocusStart", s), s(), r = !0, o = !1;
39
- }
40
- function v() {
41
- const {
42
- ownerWindow: e
43
- } = t.internalEngine();
44
- e.clearTimeout(c), c = e.setTimeout(k, y[t.selectedScrollSnap()]), u = (/* @__PURE__ */ new Date()).getTime(), t.emit("autoplay:timerset");
45
- }
46
- function N() {
47
- const {
48
- ownerWindow: e
49
- } = t.internalEngine();
50
- e.clearTimeout(c), c = 0, u = null, t.emit("autoplay:timerstopped");
51
- }
52
- function i() {
53
- if (!r) {
54
- if (S()) {
55
- g = !0;
56
- return;
57
- }
58
- o || t.emit("autoplay:play"), v(), o = !0;
59
- }
60
- }
61
- function s() {
62
- r || (o && t.emit("autoplay:stop"), N(), o = !1);
63
- }
64
- function h() {
65
- if (S())
66
- return g = o, s();
67
- g && i();
68
- }
69
- function S() {
70
- const {
71
- ownerDocument: e
72
- } = t.internalEngine();
73
- return e.visibilityState === "hidden";
74
- }
75
- function I() {
76
- f || s();
77
- }
78
- function w() {
79
- f || i();
80
- }
81
- function A() {
82
- f = !0, s();
83
- }
84
- function L() {
85
- f = !1, i();
86
- }
87
- function F(e) {
88
- typeof e < "u" && (p = e), i();
89
- }
90
- function M() {
91
- o && s();
92
- }
93
- function U() {
94
- o && i();
95
- }
96
- function j() {
97
- return o;
98
- }
99
- function k() {
100
- const {
101
- index: e
102
- } = t.internalEngine(), a = e.clone().add(1).get(), d = t.scrollSnapList().length - 1, O = n.stopOnLastSnap && a === d;
103
- if (t.canScrollNext() ? t.scrollNext(p) : t.scrollTo(0, p), t.emit("autoplay:select"), O) return s();
104
- i();
105
- }
106
- function P() {
107
- if (!u) return null;
108
- const e = y[t.selectedScrollSnap()], a = (/* @__PURE__ */ new Date()).getTime() - u;
109
- return e - a;
110
- }
111
- return {
112
- name: "autoplay",
113
- options: l,
114
- init: x,
115
- destroy: T,
116
- play: F,
117
- stop: M,
118
- reset: U,
119
- isPlaying: j,
120
- timeUntilNext: P
121
- };
122
- }
123
- E.globalOptions = void 0;
1
+ import f from "./index44.js";
124
2
  export {
125
- E as default
3
+ f as default
126
4
  };
package/dist/index87.js CHANGED
@@ -1,4 +1,4 @@
1
- const L = "data:image/svg+xml,%3csvg%20viewBox='0%200%2091%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.9572%201.57215L1.55044%2011.1106L6.57429%2016.2048L15.981%206.66636L10.9572%201.57215ZM17.5314%206.66636L6.57429%2017.777L0%2011.1106L10.9572%200L17.5314%206.66636Z'%20fill='white'/%3e%3cpath%20d='M11.5981%2011.1116L4.38286%203.7953L1.55044%206.66739L8.76572%2013.9837L11.5981%2011.1116ZM4.38286%202.22314L13.1486%2011.1116L8.76572%2015.5559L0%206.66739L4.38286%202.22314Z'%20fill='white'/%3e%3cpath%20d='M11.5981%2015.555L4.38286%208.23865L1.55044%2011.1107L8.76572%2018.4271L11.5981%2015.555ZM9.5382%2019.2159L8.76572%2019.9992L7.99324%2019.2159L8.76572%2018.4326L9.5382%2019.2159ZM4.38286%206.6665L13.1486%2015.555L8.76572%2019.9992L0%2011.1107L4.38286%206.6665Z'%20fill='white'/%3e%3cpath%20d='M9.25331%207.56717C6.6729%208.87267%203.74735%209.13377%201.09572%208.30603V10.6504L8.76572%2018.4278L12.2501%2014.8946L16.0358%207.21719C13.7896%206.40611%2011.3407%206.51167%209.25331%207.56717ZM17.5314%206.66721L13.1486%2015.5557L8.76572%2019.9999L0%2011.1115V6.66721C2.7612%208.06715%206.00452%207.97271%208.76572%206.57277C11.5269%205.17284%2014.7702%205.26728%2017.5314%206.66721Z'%20fill='white'/%3e%3cpath%20d='M33.3325%203.33301H26.7151V16.6657H30.0544V13.3326H33.0487C36.0207%2013.3326%2038.4027%2011.3938%2038.4027%208.33278C38.4027%205.6329%2036.4937%203.33301%2033.3325%203.33301ZM33.1433%209.99937H30.0544V6.66619H33.0876C34.5458%206.66619%2035.4363%207.02728%2035.4363%208.33278H35.453C35.453%209.46606%2034.6015%209.99937%2033.1433%209.99937ZM45.0814%203.33301H41.742V16.6657H50.0903V13.3326H45.0814V3.33301ZM83.9177%203.33301H78.4746V16.6657H83.9177C88.0807%2016.6657%2090.997%2013.7214%2090.997%209.99937C90.997%206.27732%2088.0807%203.33301%2083.9177%203.33301ZM83.9177%2013.3326H81.8139V6.66619H83.9177C86.2997%206.66619%2087.9082%207.65503%2087.9082%209.99937C87.9137%2012.3437%2086.3053%2013.3326%2083.9177%2013.3326ZM70.1263%203.33301H73.4656V16.6657H70.1263V3.33301ZM63.4476%2016.6657H66.7869L61.778%203.33301H58.4386L53.4297%2016.6657H56.769L57.3923%2014.9991H62.8187L63.4476%2016.6657ZM58.6501%2011.666L60.1083%207.77725L61.5665%2011.666H58.6501Z'%20fill='white'/%3e%3c/svg%3e";
1
+ import f from "./index45.js";
2
2
  export {
3
- L as default
3
+ f as default
4
4
  };