@voidzero-dev/vitepress-theme 0.1.34 → 0.1.36

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 (97) hide show
  1. package/dist/index100.js +9 -0
  2. package/dist/index101.js +7 -0
  3. package/dist/index102.js +6 -0
  4. package/dist/index103.js +9 -0
  5. package/dist/index104.js +35 -0
  6. package/dist/index105.js +59 -0
  7. package/dist/index106.js +11 -0
  8. package/dist/index107.js +16 -0
  9. package/dist/index108.js +60 -0
  10. package/dist/index109.js +8 -0
  11. package/dist/index110.js +41 -0
  12. package/dist/index111.js +23 -0
  13. package/dist/index112.js +27 -0
  14. package/dist/index113.js +12 -0
  15. package/dist/index114.js +59 -0
  16. package/dist/index115.js +38 -0
  17. package/dist/index116.js +121 -0
  18. package/dist/index117.js +94 -0
  19. package/dist/index118.js +10 -0
  20. package/dist/index119.js +441 -0
  21. package/dist/index120.js +7 -0
  22. package/dist/index121.js +1737 -0
  23. package/dist/index122.js +4 -0
  24. package/dist/index123.js +317 -0
  25. package/dist/index124.js +4 -0
  26. package/dist/index125.js +448 -0
  27. package/dist/index27.js +1 -1
  28. package/dist/index3.js +3 -3
  29. package/dist/index30.js +8 -8
  30. package/dist/index34.js +12 -12
  31. package/dist/index36.js +7 -7
  32. package/dist/index38.js +17 -16
  33. package/dist/index4.js +24 -21
  34. package/dist/index40.js +18 -26
  35. package/dist/index41.js +18 -30
  36. package/dist/index42.js +18 -26
  37. package/dist/index43.js +24 -25
  38. package/dist/index44.js +2 -26
  39. package/dist/index45.js +29 -21
  40. package/dist/index46.js +1 -1
  41. package/dist/index47.js +2 -25
  42. package/dist/index48.js +2 -2
  43. package/dist/index49.js +2 -2
  44. package/dist/index50.js +2 -2
  45. package/dist/index51.js +2 -49
  46. package/dist/index52.js +2 -7207
  47. package/dist/index53.js +1 -1
  48. package/dist/index54.js +2 -2
  49. package/dist/index55.js +2 -2
  50. package/dist/index56.js +2 -2
  51. package/dist/index57.js +2 -2
  52. package/dist/index58.js +2 -2
  53. package/dist/index59.js +2 -2
  54. package/dist/index6.js +1 -1
  55. package/dist/index60.js +2 -2
  56. package/dist/index61.js +1 -1
  57. package/dist/index62.js +2 -18
  58. package/dist/index63.js +2 -18
  59. package/dist/index64.js +2 -18
  60. package/dist/index65.js +2 -2
  61. package/dist/index66.js +2 -2
  62. package/dist/index67.js +84 -2
  63. package/dist/index68.js +66 -2
  64. package/dist/index69.js +53 -2
  65. package/dist/index7.js +1 -1
  66. package/dist/index70.js +73 -31
  67. package/dist/index71.js +26 -2
  68. package/dist/index72.js +30 -2
  69. package/dist/index73.js +26 -2
  70. package/dist/index74.js +26 -2
  71. package/dist/index75.js +26 -2
  72. package/dist/index76.js +26 -2
  73. package/dist/index77.js +2 -2
  74. package/dist/index78.js +49 -5324
  75. package/dist/index79.js +44 -3
  76. package/dist/index8.js +2 -2
  77. package/dist/index80.js +2587 -2
  78. package/dist/index81.js +51 -2
  79. package/dist/index82.js +7207 -2
  80. package/dist/index83.js +14 -2
  81. package/dist/index84.js +2 -2
  82. package/dist/index85.js +22 -2
  83. package/dist/index86.js +123 -3
  84. package/dist/index87.js +2 -1735
  85. package/dist/index88.js +5324 -5
  86. package/dist/index89.js +2 -2
  87. package/dist/index90.js +2 -446
  88. package/dist/index91.js +2 -315
  89. package/dist/index92.js +2 -2
  90. package/dist/index93.js +4 -0
  91. package/dist/index94.js +4 -0
  92. package/dist/index95.js +4 -0
  93. package/dist/index96.js +6 -0
  94. package/dist/index97.js +35 -0
  95. package/dist/index98.js +1204 -0
  96. package/dist/index99.js +12 -0
  97. package/package.json +1 -1
package/dist/index85.js CHANGED
@@ -1,4 +1,24 @@
1
- import f from "./index45.js";
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;
2
22
  export {
3
- f as default
23
+ d as default
4
24
  };
package/dist/index86.js CHANGED
@@ -1,6 +1,126 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
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
+ };
3
122
  }
123
+ E.globalOptions = void 0;
4
124
  export {
5
- e as getDefaultExportFromCjs
125
+ E as default
6
126
  };