@voidzero-dev/vitepress-theme 0.1.38 → 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 (95) 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 -2
  24. package/dist/index122.js +3 -1734
  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/index40.js +6 -6
  33. package/dist/index41.js +4 -4
  34. package/dist/index42.js +3 -3
  35. package/dist/index43.js +4 -4
  36. package/dist/index44.js +1 -1
  37. package/dist/index45.js +1 -1
  38. package/dist/index46.js +1 -1
  39. package/dist/index47.js +1 -1
  40. package/dist/index48.js +1 -1
  41. package/dist/index49.js +1 -1
  42. package/dist/index50.js +2 -2
  43. package/dist/index51.js +2 -25
  44. package/dist/index52.js +16 -20
  45. package/dist/index53.js +16 -122
  46. package/dist/index54.js +18 -2
  47. package/dist/index55.js +1 -1
  48. package/dist/index56.js +34 -2
  49. package/dist/index57.js +1 -1
  50. package/dist/index58.js +1 -1
  51. package/dist/index59.js +2 -2
  52. package/dist/index6.js +29 -29
  53. package/dist/index60.js +2 -2
  54. package/dist/index61.js +1 -1
  55. package/dist/index62.js +2 -2
  56. package/dist/index63.js +2 -2
  57. package/dist/index64.js +2 -2
  58. package/dist/index65.js +2 -2
  59. package/dist/index66.js +2 -2
  60. package/dist/index67.js +2 -18
  61. package/dist/index68.js +20 -16
  62. package/dist/index69.js +122 -16
  63. package/dist/index7.js +2 -2
  64. package/dist/index70.js +2 -2
  65. package/dist/index71.js +2 -2
  66. package/dist/index72.js +3 -2
  67. package/dist/index73.js +52 -34
  68. package/dist/index74.js +44 -3
  69. package/dist/index75.js +53 -2
  70. package/dist/index76.js +2 -2
  71. package/dist/index77.js +2587 -2
  72. package/dist/index78.js +2 -2
  73. package/dist/index79.js +2 -2
  74. package/dist/index8.js +3 -3
  75. package/dist/index80.js +2 -2
  76. package/dist/index81.js +2 -2
  77. package/dist/index82.js +2 -49
  78. package/dist/index83.js +3 -44
  79. package/dist/index84.js +2 -2587
  80. package/dist/index85.js +2 -51
  81. package/dist/index86.js +2 -7207
  82. package/dist/index87.js +2 -14
  83. package/dist/index88.js +2 -5324
  84. package/dist/index89.js +2 -2
  85. package/dist/index90.js +1 -1
  86. package/dist/index91.js +1 -1
  87. package/dist/index92.js +10 -2
  88. package/dist/index93.js +7 -2
  89. package/dist/index94.js +5 -2
  90. package/dist/index95.js +4 -2
  91. package/dist/index96.js +6 -32
  92. package/dist/index97.js +31 -1200
  93. package/dist/index98.js +56 -3
  94. package/dist/index99.js +8 -9
  95. package/package.json +1 -1
package/dist/index98.js CHANGED
@@ -1,6 +1,59 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1
+ import { isDef as b, isClient as E } from "./index102.js";
2
+ import { getCurrentInstance as J, ref as O, watch as _, nextTick as h, computed as C, toValue as F } from "vue";
3
+ const T = E ? window : void 0;
4
+ function U(i) {
5
+ var n;
6
+ const l = F(i);
7
+ return (n = l?.$el) != null ? n : l;
8
+ }
9
+ function D(i) {
10
+ return JSON.parse(JSON.stringify(i));
11
+ }
12
+ function W(i, n, l, w = {}) {
13
+ var a, c, d;
14
+ const {
15
+ clone: s = !1,
16
+ passive: N = !1,
17
+ eventName: S,
18
+ deep: m = !1,
19
+ defaultValue: $,
20
+ shouldEmit: v
21
+ } = w, t = J(), g = l || t?.emit || ((a = t?.$emit) == null ? void 0 : a.bind(t)) || ((d = (c = t?.proxy) == null ? void 0 : c.$emit) == null ? void 0 : d.bind(t?.proxy));
22
+ let o = S;
23
+ n || (n = "modelValue"), o = o || `update:${n.toString()}`;
24
+ const p = (e) => s ? typeof s == "function" ? s(e) : D(e) : e, V = () => b(i[n]) ? p(i[n]) : $, x = (e) => {
25
+ v ? v(e) && g(o, e) : g(o, e);
26
+ };
27
+ if (N) {
28
+ const e = V(), f = O(e);
29
+ let u = !1;
30
+ return _(
31
+ () => i[n],
32
+ (r) => {
33
+ u || (u = !0, f.value = p(r), h(() => u = !1));
34
+ }
35
+ ), _(
36
+ f,
37
+ (r) => {
38
+ !u && (r !== i[n] || m) && x(r);
39
+ },
40
+ { deep: m }
41
+ ), f;
42
+ } else
43
+ return C({
44
+ get() {
45
+ return V();
46
+ },
47
+ set(e) {
48
+ x(e);
49
+ }
50
+ });
3
51
  }
4
52
  export {
5
- e as getDefaultExportFromCjs
53
+ D as cloneFnJSON,
54
+ T as defaultWindow,
55
+ E as isClient,
56
+ b as isDef,
57
+ U as unrefElement,
58
+ W as useVModel
6
59
  };
package/dist/index99.js CHANGED
@@ -1,12 +1,11 @@
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)];
1
+ import { injectConfigProviderContext as r } from "./index95.js";
2
+ import * as o from "vue";
3
+ let n = 0;
4
+ function d(i, e = "reka") {
5
+ if ("useId" in o) return `${e}-${o.useId?.()}`;
6
+ const t = r({ useId: void 0 });
7
+ return t.useId ? `${e}-${t.useId()}` : `${e}-${++n}`;
9
8
  }
10
9
  export {
11
- x as createContext
10
+ d as useId
12
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidzero-dev/vitepress-theme",
3
- "version": "0.1.38",
3
+ "version": "0.1.41",
4
4
  "description": "Shared VitePress theme for VoidZero projects",
5
5
  "type": "module",
6
6
  "license": "MIT",