@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/index89.js
CHANGED
package/dist/index90.js
CHANGED
package/dist/index91.js
CHANGED
package/dist/index92.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { inject as c, provide as s } from "vue";
|
|
2
|
+
function x(t, r) {
|
|
3
|
+
const e = typeof t == "string" && !r ? `${t}Context` : r, i = Symbol(e);
|
|
4
|
+
return [(n) => {
|
|
5
|
+
const o = c(i, n);
|
|
6
|
+
if (o || o === null) return o;
|
|
7
|
+
throw new Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(t) ? `one of the following components: ${t.join(", ")}` : `\`${t}\``}`);
|
|
8
|
+
}, (n) => (s(i, n), n)];
|
|
9
|
+
}
|
|
2
10
|
export {
|
|
3
|
-
|
|
11
|
+
x as createContext
|
|
4
12
|
};
|
package/dist/index93.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
function t() {
|
|
2
|
+
let e = document.activeElement;
|
|
3
|
+
if (e == null) return null;
|
|
4
|
+
for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) e = e.shadowRoot.activeElement;
|
|
5
|
+
return e;
|
|
6
|
+
}
|
|
2
7
|
export {
|
|
3
|
-
|
|
8
|
+
t as getActiveElement
|
|
4
9
|
};
|
package/dist/index94.js
CHANGED
package/dist/index95.js
CHANGED
package/dist/index96.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { injectConfigProviderContext as o } from "./index95.js";
|
|
2
|
+
import { ref as e, computed as i } from "vue";
|
|
3
|
+
function u(r) {
|
|
4
|
+
const t = o({ dir: e("ltr") });
|
|
5
|
+
return i(() => r?.value || t.dir?.value || "ltr");
|
|
3
6
|
}
|
|
4
7
|
export {
|
|
5
|
-
|
|
8
|
+
u as useDirection
|
|
6
9
|
};
|
package/dist/index97.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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);
|
|
1
|
+
import { getCurrentInstance as l, ref as i, computed as s } from "vue";
|
|
2
|
+
import { unrefElement as a } from "./index98.js";
|
|
3
|
+
function m() {
|
|
4
|
+
const t = l(), r = i(), u = s(() => ["#text", "#comment"].includes(r.value?.$el.nodeName) ? r.value?.$el.nextElementSibling : a(r)), o = Object.assign({}, t.exposed), n = {};
|
|
5
|
+
for (const e in t.props) Object.defineProperty(n, e, {
|
|
6
|
+
enumerable: !0,
|
|
7
|
+
configurable: !0,
|
|
8
|
+
get: () => t.props[e]
|
|
17
9
|
});
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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);
|
|
10
|
+
if (Object.keys(o).length > 0) for (const e in o) Object.defineProperty(n, e, {
|
|
11
|
+
enumerable: !0,
|
|
12
|
+
configurable: !0,
|
|
13
|
+
get: () => o[e]
|
|
28
14
|
});
|
|
15
|
+
Object.defineProperty(n, "$el", {
|
|
16
|
+
enumerable: !0,
|
|
17
|
+
configurable: !0,
|
|
18
|
+
get: () => t.vnode.el
|
|
19
|
+
}), t.exposed = n;
|
|
20
|
+
function c(e) {
|
|
21
|
+
r.value = e, e && (Object.defineProperty(n, "$el", {
|
|
22
|
+
enumerable: !0,
|
|
23
|
+
configurable: !0,
|
|
24
|
+
get: () => e instanceof Element ? e : e.$el
|
|
25
|
+
}), t.exposed = n);
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
forwardRef: c,
|
|
29
|
+
currentRef: r,
|
|
30
|
+
currentElement: u
|
|
31
|
+
};
|
|
29
32
|
}
|
|
30
33
|
export {
|
|
31
|
-
|
|
32
|
-
O as arePluginsEqual,
|
|
33
|
-
p as canUseDOM,
|
|
34
|
-
f as sortAndMapPluginToOptions
|
|
34
|
+
m as useForwardExpose
|
|
35
35
|
};
|