@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.
- package/dist/index.css +1 -1
- package/dist/index100.js +13 -6
- package/dist/index101.js +57 -4
- package/dist/index102.js +5 -3
- package/dist/index103.js +39 -7
- package/dist/index104.js +20 -32
- package/dist/index105.js +25 -57
- package/dist/index106.js +9 -8
- package/dist/index107.js +54 -11
- package/dist/index108.js +34 -56
- package/dist/index109.js +119 -6
- package/dist/index110.js +86 -33
- package/dist/index111.js +8 -21
- package/dist/index112.js +2 -25
- package/dist/index113.js +7204 -7
- package/dist/index114.js +1730 -52
- package/dist/index115.js +434 -31
- package/dist/index116.js +12 -117
- package/dist/index117.js +5323 -91
- package/dist/index118.js +2 -8
- package/dist/index119.js +32 -438
- package/dist/index120.js +1202 -5
- package/dist/index121.js +5 -1735
- package/dist/index122.js +4 -2
- package/dist/index18.js +2 -2
- package/dist/index27.js +1 -1
- package/dist/index3.js +3 -3
- package/dist/index30.js +8 -8
- package/dist/index34.js +12 -12
- package/dist/index36.js +7 -7
- package/dist/index38.js +40 -40
- package/dist/index4.js +10 -10
- package/dist/index40.js +84 -18
- package/dist/index41.js +66 -18
- package/dist/index42.js +53 -18
- package/dist/index43.js +74 -23
- package/dist/index44.js +26 -2
- package/dist/index45.js +26 -30
- package/dist/index46.js +26 -2
- package/dist/index47.js +26 -2
- package/dist/index48.js +26 -2
- package/dist/index49.js +26 -2
- package/dist/index50.js +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.js +18 -2
- package/dist/index53.js +18 -2
- package/dist/index54.js +18 -2
- package/dist/index55.js +2 -2
- package/dist/index56.js +34 -2
- package/dist/index57.js +2 -2
- package/dist/index58.js +2 -2
- package/dist/index59.js +2 -2
- package/dist/index6.js +29 -29
- package/dist/index60.js +2 -2
- package/dist/index61.js +1 -1
- package/dist/index62.js +2 -2
- package/dist/index63.js +2 -2
- package/dist/index64.js +2 -2
- package/dist/index65.js +2 -2
- package/dist/index66.js +2 -2
- package/dist/index67.js +2 -84
- package/dist/index68.js +21 -65
- package/dist/index69.js +123 -52
- package/dist/index7.js +1 -1
- package/dist/index70.js +2 -76
- package/dist/index71.js +2 -26
- package/dist/index72.js +3 -30
- package/dist/index73.js +52 -26
- package/dist/index74.js +43 -26
- package/dist/index75.js +49 -22
- package/dist/index76.js +2 -26
- package/dist/index77.js +2587 -2
- package/dist/index78.js +2 -49
- package/dist/index79.js +3 -44
- package/dist/index8.js +2 -2
- package/dist/index80.js +2 -2587
- package/dist/index81.js +2 -51
- package/dist/index82.js +2 -7207
- package/dist/index83.js +2 -14
- package/dist/index84.js +2 -2
- package/dist/index85.js +2 -22
- package/dist/index86.js +2 -124
- package/dist/index87.js +2 -2
- package/dist/index88.js +2 -5324
- package/dist/index89.js +2 -2
- package/dist/index90.js +1 -1
- package/dist/index91.js +1 -1
- package/dist/index92.js +10 -2
- package/dist/index93.js +7 -2
- package/dist/index94.js +5 -2
- package/dist/index95.js +4 -2
- package/dist/index96.js +6 -3
- package/dist/index97.js +30 -30
- package/dist/index98.js +53 -1198
- package/dist/index99.js +8 -9
- package/package.json +1 -1
package/dist/index85.js
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
3
|
+
C as default
|
|
24
4
|
};
|
package/dist/index86.js
CHANGED
|
@@ -1,126 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
3
|
+
f as default
|
|
126
4
|
};
|
package/dist/index87.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import f from "./index45.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
f as default
|
|
4
4
|
};
|