@voidzero-dev/vitepress-theme 0.1.36 → 0.1.38
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/index120.js +1 -1
- package/dist/index121.js +2 -1735
- package/dist/index122.js +1735 -2
- package/dist/index27.js +1 -1
- package/dist/index3.js +3 -3
- package/dist/index34.js +12 -12
- package/dist/index36.js +7 -7
- package/dist/index38.js +7 -7
- 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 +2 -2
- package/dist/index51.js +25 -2
- package/dist/index52.js +22 -2
- package/dist/index53.js +124 -2
- package/dist/index54.js +2 -2
- package/dist/index55.js +2 -2
- package/dist/index56.js +2 -2
- package/dist/index57.js +2 -2
- package/dist/index58.js +2 -2
- package/dist/index6.js +1 -1
- package/dist/index67.js +18 -84
- package/dist/index68.js +18 -66
- package/dist/index69.js +18 -53
- package/dist/index7.js +2 -2
- package/dist/index70.js +2 -76
- package/dist/index71.js +2 -26
- package/dist/index72.js +2 -30
- package/dist/index73.js +30 -22
- package/dist/index74.js +2 -26
- package/dist/index75.js +2 -26
- package/dist/index76.js +2 -26
- package/dist/index77.js +2 -2
- package/dist/index78.js +2 -49
- package/dist/index79.js +3 -44
- package/dist/index8.js +3 -3
- package/dist/index80.js +2 -2587
- package/dist/index81.js +2 -51
- package/dist/index82.js +49 -7207
- package/dist/index83.js +43 -14
- package/dist/index84.js +2587 -2
- package/dist/index85.js +50 -21
- package/dist/index86.js +7186 -103
- package/dist/index87.js +14 -2
- package/dist/index90.js +1 -1
- package/dist/index91.js +1 -1
- package/dist/index92.js +1 -1
- package/dist/index93.js +1 -1
- package/dist/index94.js +1 -1
- package/dist/index95.js +1 -1
- package/dist/index96.js +32 -3
- package/dist/index97.js +1201 -32
- package/dist/index98.js +3 -1201
- package/package.json +1 -1
package/dist/index87.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
const
|
|
1
|
+
const u = (t, n) => t == null ? n : n == null ? t : Math.max(t, n), a = /* @__PURE__ */ new WeakMap(), f = {
|
|
2
|
+
onUpdate(t, n, o) {
|
|
3
|
+
if (a.set(o, void 0), !o.computedTrend)
|
|
4
|
+
return;
|
|
5
|
+
const r = n.integer.concat(n.fraction).filter((e) => e.type === "integer" || e.type === "fraction"), i = t.integer.concat(t.fraction).filter((e) => e.type === "integer" || e.type === "fraction"), p = r.find((e) => !i.find((l) => l.pos === e.pos && l.value === e.value)), s = i.find((e) => !r.find((l) => e.pos === l.pos && e.value === l.value));
|
|
6
|
+
a.set(o, u(p?.pos, s?.pos));
|
|
7
|
+
},
|
|
8
|
+
getDelta(t, n, o) {
|
|
9
|
+
const r = t - n, i = a.get(o.flow);
|
|
10
|
+
if (!r && i != null && i >= o.pos)
|
|
11
|
+
return o.length * o.flow.computedTrend;
|
|
12
|
+
}
|
|
13
|
+
};
|
|
2
14
|
export {
|
|
3
|
-
|
|
15
|
+
f as continuous
|
|
4
16
|
};
|
package/dist/index90.js
CHANGED
package/dist/index91.js
CHANGED
package/dist/index92.js
CHANGED
package/dist/index93.js
CHANGED
package/dist/index94.js
CHANGED
package/dist/index95.js
CHANGED
package/dist/index96.js
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
|
-
function
|
|
2
|
-
return
|
|
1
|
+
function y(n) {
|
|
2
|
+
return Object.prototype.toString.call(n) === "[object Object]";
|
|
3
|
+
}
|
|
4
|
+
function a(n) {
|
|
5
|
+
return y(n) || Array.isArray(n);
|
|
6
|
+
}
|
|
7
|
+
function p() {
|
|
8
|
+
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
9
|
+
}
|
|
10
|
+
function l(n, t) {
|
|
11
|
+
const e = Object.keys(n), c = Object.keys(t);
|
|
12
|
+
if (e.length !== c.length) return !1;
|
|
13
|
+
const s = JSON.stringify(Object.keys(n.breakpoints || {})), u = JSON.stringify(Object.keys(t.breakpoints || {}));
|
|
14
|
+
return s !== u ? !1 : e.every((o) => {
|
|
15
|
+
const r = n[o], i = t[o];
|
|
16
|
+
return typeof r == "function" ? `${r}` == `${i}` : !a(r) || !a(i) ? r === i : l(r, i);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function f(n) {
|
|
20
|
+
return n.concat().sort((t, e) => t.name > e.name ? 1 : -1).map((t) => t.options);
|
|
21
|
+
}
|
|
22
|
+
function O(n, t) {
|
|
23
|
+
if (n.length !== t.length) return !1;
|
|
24
|
+
const e = f(n), c = f(t);
|
|
25
|
+
return e.every((s, u) => {
|
|
26
|
+
const o = c[u];
|
|
27
|
+
return l(s, o);
|
|
28
|
+
});
|
|
3
29
|
}
|
|
4
30
|
export {
|
|
5
|
-
|
|
31
|
+
l as areOptionsEqual,
|
|
32
|
+
O as arePluginsEqual,
|
|
33
|
+
p as canUseDOM,
|
|
34
|
+
f as sortAndMapPluginToOptions
|
|
6
35
|
};
|