rappel-ui 1.0.14 → 1.0.16

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 (138) hide show
  1. package/cjs/_virtual/_rolldown/runtime.js +1 -1
  2. package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  3. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/cjs/components/colors/src/primary-color.vue.d.ts +4 -1
  6. package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/cjs/components/colors/src/secondary-color.vue.d.ts +7 -1
  8. package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/cjs/components/filter-panel/index.d.ts +9 -9
  10. package/cjs/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
  11. package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  12. package/cjs/components/popconfirm/index.d.ts +28 -5
  13. package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +19 -4
  14. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/cjs/components/popover/index.d.ts +19 -3
  16. package/cjs/components/popover/src/popover.vue.d.ts +10 -1
  17. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  18. package/cjs/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
  19. package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  20. package/cjs/components/tooltip/src/use-tooltip.js +1 -1
  21. package/cjs/composables/use-theme/index.js +1 -1
  22. package/cjs/index.d.ts +72 -19
  23. package/cjs/index.js +1 -1
  24. package/cjs/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
  25. package/cjs/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
  26. package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +1 -0
  27. package/cjs/svg-icons/constants.js +1 -0
  28. package/cjs/svg-icons/dist/es/index.js +1 -1
  29. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
  30. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
  31. package/cjs/svg-icons/dist/es/packages/composables/use-theme/index.js +1 -1
  32. package/cjs/svg-icons/index.js +1 -0
  33. package/cjs/utils/util.d.ts +8 -7
  34. package/cjs/utils/util.js +1 -1
  35. package/es/_virtual/_rolldown/runtime.mjs +2 -2
  36. package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +1 -2
  37. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +1 -2
  38. package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +1 -1
  39. package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +6 -4
  40. package/es/components/colors/src/primary-color.vue.d.ts +4 -1
  41. package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +30 -21
  42. package/es/components/colors/src/secondary-color.vue.d.ts +7 -1
  43. package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +50 -31
  44. package/es/components/filter-panel/index.d.ts +9 -9
  45. package/es/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
  46. package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +4 -6
  47. package/es/components/index.mjs +1 -1
  48. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
  49. package/es/components/popconfirm/index.d.ts +28 -5
  50. package/es/components/popconfirm/src/popconfirm.vue.d.ts +19 -4
  51. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +63 -49
  52. package/es/components/popover/index.d.ts +19 -3
  53. package/es/components/popover/src/popover.vue.d.ts +10 -1
  54. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +27 -22
  55. package/es/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
  56. package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -2
  57. package/es/components/tabs/src/tabs.mjs +1 -1
  58. package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +3 -3
  59. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +4 -4
  60. package/es/components/tooltip/src/use-tooltip.mjs +8 -15
  61. package/es/composables/use-theme/index.mjs +2 -2
  62. package/es/composables/use-time-nodes/index.mjs +1 -1
  63. package/es/index.d.ts +72 -19
  64. package/es/index.mjs +35 -35
  65. package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
  66. package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -2
  67. package/es/node_modules/.pnpm/{@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_ → @vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/core/dist/index.mjs +114 -112
  68. package/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +136 -0
  69. package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +90 -0
  70. package/es/svg-icons/constants.mjs +114 -0
  71. package/es/svg-icons/dist/es/index.mjs +19 -47
  72. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +273 -0
  73. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +88 -0
  74. package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -1
  75. package/es/svg-icons/dist/es/packages/composables/use-theme/index.mjs +1 -1
  76. package/es/svg-icons/index.mjs +77 -0
  77. package/es/utils/util.d.ts +8 -7
  78. package/es/utils/util.mjs +4 -4
  79. package/package.json +1 -1
  80. package/theme-chalk/base.css +1 -231
  81. package/theme-chalk/index.css +1 -1271
  82. package/theme-chalk/re-button-group.css +1 -68
  83. package/theme-chalk/re-button.css +1 -810
  84. package/theme-chalk/re-colors.css +1 -87
  85. package/theme-chalk/re-filter-panel.css +1 -36
  86. package/theme-chalk/re-popconfirm.css +1 -47
  87. package/theme-chalk/re-popover.css +1 -31
  88. package/theme-chalk/re-svg-icon.css +1 -33
  89. package/theme-chalk/re-tooltip.css +1 -62
  90. package/theme-chalk/root-vars.css +1 -201
  91. package/theme-chalk/src/base.scss +3 -4
  92. package/theme-chalk/src/colors.scss +16 -0
  93. package/theme-chalk/src/css-vars/_colors.scss +7 -7
  94. package/theme-chalk/src/function/index.scss +8 -8
  95. package/theme-chalk/src/mixins/_button.scss +1 -1
  96. package/umd/index.css +1 -0
  97. package/umd/index.js +9 -9
  98. package/cjs/components/button/style/index.js +0 -1
  99. package/cjs/components/button-group/style/index.js +0 -1
  100. package/cjs/components/colors/style/index.js +0 -1
  101. package/cjs/components/filter-panel/style/index.js +0 -1
  102. package/cjs/components/svg-icon/style/index.js +0 -1
  103. package/cjs/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -1
  104. package/cjs/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -1
  105. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +0 -1
  106. package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +0 -1
  107. package/cjs/theme-chalk/src/base.css +0 -1
  108. package/cjs/theme-chalk/src/button-group.css +0 -1
  109. package/cjs/theme-chalk/src/button.css +0 -1
  110. package/cjs/theme-chalk/src/colors.css +0 -1
  111. package/cjs/theme-chalk/src/filter-panel.css +0 -1
  112. package/cjs/theme-chalk/src/svg-icon.css +0 -1
  113. package/es/components/button/style/index.mjs +0 -2
  114. package/es/components/button-group/style/index.mjs +0 -2
  115. package/es/components/colors/style/index.mjs +0 -2
  116. package/es/components/filter-panel/style/index.mjs +0 -2
  117. package/es/components/svg-icon/style/index.mjs +0 -2
  118. package/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -121
  119. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +0 -275
  120. package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +0 -88
  121. package/es/theme-chalk/src/base.css +0 -1
  122. package/es/theme-chalk/src/button-group.css +0 -1
  123. package/es/theme-chalk/src/button.css +0 -1
  124. package/es/theme-chalk/src/colors.css +0 -1
  125. package/es/theme-chalk/src/filter-panel.css +0 -1
  126. package/es/theme-chalk/src/svg-icon.css +0 -1
  127. package/theme-chalk/css-vars/_button-group.css +0 -15
  128. package/theme-chalk/css-vars/_button.css +0 -15
  129. package/theme-chalk/css-vars/_colors.css +0 -33
  130. package/theme-chalk/css-vars/_popconfirm.css +0 -15
  131. package/theme-chalk/css-vars/_tooltip.css +0 -15
  132. package/theme-chalk/function/_button.css +0 -15
  133. package/theme-chalk/function/index.css +0 -15
  134. package/theme-chalk/mixins/_base.css +0 -15
  135. package/theme-chalk/mixins/_button.css +0 -18
  136. package/theme-chalk/mixins/_popconfirm.css +0 -18
  137. package/theme-chalk/mixins/_tooltip.css +0 -18
  138. package/theme-chalk/mixins/index.css +0 -18
@@ -1,6 +1,6 @@
1
- import { bypassFilter as e, createFilterWrapper as t, debounceFilter as n, getLifeCycleTarget as r, injectLocal as i, isClient as a, isIOS as o, isObject as s, noop as c, notNullish as l, pausableFilter as u, pausableWatch as d, pxValue as f, toArray as p, toRef as m, tryOnMounted as h, tryOnScopeDispose as g, useDebounceFn as _, useToggle as v, watchImmediate as y, watchPausable as b, watchWithFilter as x } from "../../../../../@vueuse_shared@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
2
- import { computed as S, getCurrentInstance as C, hasInjectionContext as w, nextTick as T, onMounted as E, ref as ee, shallowRef as D, toValue as O, unref as k, watch as A, watchEffect as j } from "vue";
3
- //#region node_modules/.pnpm/@vueuse+core@14.0.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
1
+ import { bypassFilter as e, createFilterWrapper as t, debounceFilter as n, getLifeCycleTarget as r, injectLocal as i, isClient as a, isIOS as o, isObject as s, noop as c, notNullish as l, pausableFilter as u, pxValue as d, toArray as f, toRef as p, tryOnMounted as m, tryOnScopeDispose as h, useDebounceFn as g, useToggle as _, watchImmediate as v, watchPausable as y, watchWithFilter as b } from "../../../../../@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
2
+ import { computed as x, getCurrentInstance as S, hasInjectionContext as C, nextTick as w, onMounted as T, ref as E, shallowRef as D, toValue as O, unref as k, watch as A, watchEffect as j } from "vue";
3
+ //#region node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
4
4
  var M = a ? window : void 0;
5
5
  a && window.document, a && window.navigator, a && window.location;
6
6
  function N(e) {
@@ -9,27 +9,25 @@ function N(e) {
9
9
  return (t = n == null ? void 0 : n.$el) == null ? n : t;
10
10
  }
11
11
  function P(...e) {
12
- let t = [], n = () => {
13
- t.forEach((e) => e()), t.length = 0;
14
- }, r = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), i = S(() => {
15
- let t = p(O(e[0])).filter((e) => e != null);
12
+ let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = x(() => {
13
+ let t = f(O(e[0])).filter((e) => e != null);
16
14
  return t.every((e) => typeof e != "string") ? t : void 0;
17
- }), a = y(() => {
18
- var t, n;
15
+ });
16
+ return v(() => {
17
+ var t, r;
19
18
  return [
20
- (t = (n = i.value) == null ? void 0 : n.map((e) => N(e))) == null ? [M].filter((e) => e != null) : t,
21
- p(O(i.value ? e[1] : e[0])),
22
- p(k(i.value ? e[2] : e[1])),
23
- O(i.value ? e[3] : e[2])
19
+ (t = (r = n.value) == null ? void 0 : r.map((e) => N(e))) == null ? [M].filter((e) => e != null) : t,
20
+ f(O(n.value ? e[1] : e[0])),
21
+ f(k(n.value ? e[2] : e[1])),
22
+ O(n.value ? e[3] : e[2])
24
23
  ];
25
- }, ([e, i, a, o]) => {
26
- if (n(), !(e != null && e.length) || !(i != null && i.length) || !(a != null && a.length)) return;
27
- let c = s(o) ? { ...o } : o;
28
- t.push(...e.flatMap((e) => i.flatMap((t) => a.map((n) => r(e, t, n, c)))));
24
+ }, ([e, n, r, i], a, o) => {
25
+ if (!(e != null && e.length) || !(n != null && n.length) || !(r != null && r.length)) return;
26
+ let c = s(i) ? { ...i } : i, l = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, c))));
27
+ o(() => {
28
+ l.forEach((e) => e());
29
+ });
29
30
  }, { flush: "post" });
30
- return g(n), () => {
31
- a(), n();
32
- };
33
31
  }
34
32
  var F = !1;
35
33
  function I(e, t, n = {}) {
@@ -83,9 +81,9 @@ function I(e, t, n = {}) {
83
81
  }, { passive: !0 }),
84
82
  s && P(r, "blur", (n) => {
85
83
  setTimeout(() => {
86
- var i;
87
- let a = N(e);
88
- ((i = r.document.activeElement) == null ? void 0 : i.tagName) === "IFRAME" && !(a != null && a.contains(r.document.activeElement)) && t(n);
84
+ let i = N(e), a = r.document.activeElement;
85
+ for (; a != null && a.shadowRoot;) a = a.shadowRoot.activeElement;
86
+ (a == null ? void 0 : a.tagName) === "IFRAME" && !(i != null && i.contains(r.document.activeElement)) && t(n);
89
87
  }, 0);
90
88
  }, { passive: !0 })
91
89
  ].filter(Boolean), _ = () => g.forEach((e) => e());
@@ -100,21 +98,20 @@ function I(e, t, n = {}) {
100
98
  } : _;
101
99
  }
102
100
  function L() {
103
- let e = D(!1), t = C();
104
- return t && E(() => {
101
+ let e = D(!1), t = S();
102
+ return t && T(() => {
105
103
  e.value = !0;
106
104
  }, t), e;
107
105
  }
108
- /* @__NO_SIDE_EFFECTS__ */
109
106
  function R(e) {
110
107
  let t = L();
111
- return S(() => (t.value, !!e()));
108
+ return x(() => (t.value, !!e()));
112
109
  }
113
110
  function z(e, t, n = {}) {
114
- let { window: r = M, ...i } = n, a, o = /* @__PURE__ */ R(() => r && "MutationObserver" in r), s = () => {
111
+ let { window: r = M, ...i } = n, a, o = R(() => r && "MutationObserver" in r), s = () => {
115
112
  a && (a.disconnect(), a = void 0);
116
- }, c = A(S(() => {
117
- let t = p(O(e)).map(N).filter(l);
113
+ }, c = A(x(() => {
114
+ let t = f(O(e)).map(N).filter(l);
118
115
  return new Set(t);
119
116
  }), (e) => {
120
117
  s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
@@ -124,7 +121,7 @@ function z(e, t, n = {}) {
124
121
  }), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
125
122
  c(), s();
126
123
  };
127
- return g(d), {
124
+ return h(d), {
128
125
  isSupported: o,
129
126
  stop: d,
130
127
  takeRecords: u
@@ -150,40 +147,41 @@ function B(e, t, n = {}) {
150
147
  }, { flush: a }), u = () => {
151
148
  l(), s();
152
149
  };
153
- return g(u), u;
150
+ return h(u), u;
154
151
  }
155
- var V = Symbol("vueuse-ssr-width");
156
- /* @__NO_SIDE_EFFECTS__ */
157
- function H() {
158
- let e = w() ? i(V, null) : null;
152
+ var ee = Symbol("vueuse-ssr-width");
153
+ function V() {
154
+ let e = C() ? i(ee, null) : null;
159
155
  return typeof e == "number" ? e : void 0;
160
156
  }
161
- function U(e, t = {}) {
162
- let { window: n = M, ssrWidth: r = /* @__PURE__ */ H() } = t, i = /* @__PURE__ */ R(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = D(typeof r == "number"), o = D(), s = D(!1);
157
+ function H(e, t = {}) {
158
+ let { window: n = M, ssrWidth: r = V() } = t, i = R(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = D(typeof r == "number"), o = D(), s = D(!1);
163
159
  return j(() => {
164
160
  if (a.value) {
165
- a.value = !i.value, s.value = O(e).split(",").some((e) => {
161
+ a.value = !i.value;
162
+ let t = O(e).split(",");
163
+ s.value = t.some((e) => {
166
164
  let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
167
- return n && a && (a = r >= f(n[1])), i && a && (a = r <= f(i[1])), t ? !a : a;
165
+ return n && a && (a = r >= d(n[1])), i && a && (a = r <= d(i[1])), t ? !a : a;
168
166
  });
169
167
  return;
170
168
  }
171
169
  i.value && (o.value = n.matchMedia(O(e)), s.value = o.value.matches);
172
170
  }), P(o, "change", (e) => {
173
171
  s.value = e.matches;
174
- }, { passive: !0 }), S(() => s.value);
172
+ }, { passive: !0 }), x(() => s.value);
175
173
  }
176
- var W = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, G = "__vueuse_ssr_handlers__", K = /* @__PURE__ */ te();
177
- function te() {
178
- return G in W || (W[G] = W[G] || {}), W[G];
174
+ var U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__", G = K();
175
+ function K() {
176
+ return W in U || (U[W] = U[W] || {}), U[W];
179
177
  }
180
178
  function q(e, t) {
181
- return K[e] || t;
179
+ return G[e] || t;
182
180
  }
183
181
  function J(e) {
184
- return U("(prefers-color-scheme: dark)", e);
182
+ return H("(prefers-color-scheme: dark)", e);
185
183
  }
186
- function ne(e) {
184
+ function te(e) {
187
185
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
188
186
  }
189
187
  var Y = {
@@ -222,102 +220,102 @@ var Y = {
222
220
  }, X = "vueuse-storage";
223
221
  function Z(e, t, n, r = {}) {
224
222
  var i;
225
- let { flush: a = "pre", deep: o = !0, listenToStorageChanges: s = !0, writeDefaults: c = !0, mergeDefaults: l = !1, shallow: u, window: f = M, eventFilter: p, onError: m = (e) => {
223
+ let { flush: a = "pre", deep: o = !0, listenToStorageChanges: s = !0, writeDefaults: c = !0, mergeDefaults: l = !1, shallow: u, window: d = M, eventFilter: f, onError: p = (e) => {
226
224
  console.error(e);
227
- }, initOnMounted: g } = r, _ = (u ? D : ee)(typeof t == "function" ? t() : t), v = S(() => O(e));
225
+ }, initOnMounted: h } = r, g = (u ? D : E)(typeof t == "function" ? t() : t), _ = x(() => O(e));
228
226
  if (!n) try {
229
227
  n = q("getDefaultStorage", () => M == null ? void 0 : M.localStorage)();
230
228
  } catch (e) {
231
- m(e);
229
+ p(e);
232
230
  }
233
- if (!n) return _;
234
- let y = O(t), b = ne(y), x = (i = r.serializer) == null ? Y[b] : i, { pause: C, resume: w } = d(_, (e) => j(e), {
231
+ if (!n) return g;
232
+ let v = O(t), b = te(v), S = (i = r.serializer) == null ? Y[b] : i, { pause: C, resume: T } = y(g, (e) => N(e), {
235
233
  flush: a,
236
234
  deep: o,
237
- eventFilter: p
235
+ eventFilter: f
238
236
  });
239
- A(v, () => F(), { flush: a });
240
- let E = !1;
241
- f && s && (n instanceof Storage ? P(f, "storage", (e) => {
242
- g && !E || F(e);
243
- }, { passive: !0 }) : P(f, X, (e) => {
244
- g && !E || I(e);
245
- })), g ? h(() => {
246
- E = !0, F();
247
- }) : F();
248
- function k(e, t) {
249
- if (f) {
237
+ A(_, () => I(), { flush: a });
238
+ let k = !1;
239
+ d && s && (n instanceof Storage ? P(d, "storage", (e) => {
240
+ h && !k || I(e);
241
+ }, { passive: !0 }) : P(d, X, (e) => {
242
+ h && !k || L(e);
243
+ })), h ? m(() => {
244
+ k = !0, I();
245
+ }) : I();
246
+ function j(e, t) {
247
+ if (d) {
250
248
  let r = {
251
- key: v.value,
249
+ key: _.value,
252
250
  oldValue: e,
253
251
  newValue: t,
254
252
  storageArea: n
255
253
  };
256
- f.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
254
+ d.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
257
255
  }
258
256
  }
259
- function j(e) {
257
+ function N(e) {
260
258
  try {
261
- let t = n.getItem(v.value);
262
- if (e == null) k(t, null), n.removeItem(v.value);
259
+ let t = n.getItem(_.value);
260
+ if (e == null) j(t, null), n.removeItem(_.value);
263
261
  else {
264
- let r = x.write(e);
265
- t !== r && (n.setItem(v.value, r), k(t, r));
262
+ let r = S.write(e);
263
+ t !== r && (n.setItem(_.value, r), j(t, r));
266
264
  }
267
265
  } catch (e) {
268
- m(e);
266
+ p(e);
269
267
  }
270
268
  }
271
- function N(e) {
272
- let t = e ? e.newValue : n.getItem(v.value);
273
- if (t == null) return c && y != null && n.setItem(v.value, x.write(y)), y;
269
+ function F(e) {
270
+ let t = e ? e.newValue : n.getItem(_.value);
271
+ if (t == null) return c && v != null && n.setItem(_.value, S.write(v)), v;
274
272
  if (!e && l) {
275
- let e = x.read(t);
276
- return typeof l == "function" ? l(e, y) : b === "object" && !Array.isArray(e) ? {
277
- ...y,
273
+ let e = S.read(t);
274
+ return typeof l == "function" ? l(e, v) : b === "object" && !Array.isArray(e) ? {
275
+ ...v,
278
276
  ...e
279
277
  } : e;
280
278
  } else if (typeof t != "string") return t;
281
- else return x.read(t);
279
+ else return S.read(t);
282
280
  }
283
- function F(e) {
281
+ function I(e) {
284
282
  if (!(e && e.storageArea !== n)) {
285
283
  if (e && e.key == null) {
286
- _.value = y;
284
+ g.value = v;
287
285
  return;
288
286
  }
289
- if (!(e && e.key !== v.value)) {
287
+ if (!(e && e.key !== _.value)) {
290
288
  C();
291
289
  try {
292
- let t = x.write(_.value);
293
- (e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (_.value = N(e));
290
+ let t = S.write(g.value);
291
+ (e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (g.value = F(e));
294
292
  } catch (e) {
295
- m(e);
293
+ p(e);
296
294
  } finally {
297
- e ? T(w) : w();
295
+ e ? w(T) : T();
298
296
  }
299
297
  }
300
298
  }
301
299
  }
302
- function I(e) {
303
- F(e.detail);
300
+ function L(e) {
301
+ I(e.detail);
304
302
  }
305
- return _;
303
+ return g;
306
304
  }
307
- var re = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
305
+ var ne = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
308
306
  function Q(e = {}) {
309
307
  let { selector: t = "html", attribute: n = "class", initialValue: r = "auto", window: i = M, storage: a, storageKey: o = "vueuse-color-scheme", listenToStorageChanges: s = !0, storageRef: c, emitAuto: l, disableTransition: u = !0 } = e, d = {
310
308
  auto: "",
311
309
  light: "light",
312
310
  dark: "dark",
313
311
  ...e.modes || {}
314
- }, f = J({ window: i }), p = S(() => f.value ? "dark" : "light"), g = c || (o == null ? m(r) : Z(o, r, a, {
312
+ }, f = J({ window: i }), h = x(() => f.value ? "dark" : "light"), g = c || (o == null ? p(r) : Z(o, r, a, {
315
313
  window: i,
316
314
  listenToStorageChanges: s
317
- })), _ = S(() => g.value === "auto" ? p.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
315
+ })), _ = x(() => g.value === "auto" ? h.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
318
316
  let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : N(e);
319
317
  if (!r) return;
320
- let a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), s = null;
318
+ let a = new Set(), o = new Set(), s = null;
321
319
  if (t === "class") {
322
320
  let e = n.split(/\s/g);
323
321
  Object.values(d).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
@@ -329,7 +327,7 @@ function Q(e = {}) {
329
327
  };
330
328
  if (a.size === 0 && o.size === 0 && s === null) return;
331
329
  let c;
332
- u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(re)), i.document.head.appendChild(c));
330
+ u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(ne)), i.document.head.appendChild(c));
333
331
  for (let e of a) r.classList.add(e);
334
332
  for (let e of o) r.classList.remove(e);
335
333
  s && r.setAttribute(s.key, s.value), u && (i.getComputedStyle(c).opacity, document.head.removeChild(c));
@@ -344,8 +342,8 @@ function Q(e = {}) {
344
342
  A(_, b, {
345
343
  flush: "post",
346
344
  immediate: !0
347
- }), h(() => b(_.value));
348
- let x = S({
345
+ }), m(() => b(_.value));
346
+ let S = x({
349
347
  get() {
350
348
  return l ? g.value : _.value;
351
349
  },
@@ -353,13 +351,13 @@ function Q(e = {}) {
353
351
  g.value = e;
354
352
  }
355
353
  });
356
- return Object.assign(x, {
354
+ return Object.assign(S, {
357
355
  store: g,
358
- system: p,
356
+ system: h,
359
357
  state: _
360
358
  });
361
359
  }
362
- function ie(e = {}) {
360
+ function re(e = {}) {
363
361
  let { valueDark: t = "dark", valueLight: n = "" } = e, r = Q({
364
362
  ...e,
365
363
  onChanged: (t, n) => {
@@ -370,8 +368,8 @@ function ie(e = {}) {
370
368
  dark: t,
371
369
  light: n
372
370
  }
373
- }), i = S(() => r.system.value);
374
- return S({
371
+ }), i = x(() => r.system.value);
372
+ return x({
375
373
  get() {
376
374
  return r.value === "dark";
377
375
  },
@@ -382,9 +380,9 @@ function ie(e = {}) {
382
380
  });
383
381
  }
384
382
  function $(e, t, n = {}) {
385
- let { window: r = M, ...i } = n, a, o = /* @__PURE__ */ R(() => r && "ResizeObserver" in r), s = () => {
383
+ let { window: r = M, ...i } = n, a, o = R(() => r && "ResizeObserver" in r), s = () => {
386
384
  a && (a.disconnect(), a = void 0);
387
- }, c = A(S(() => {
385
+ }, c = A(x(() => {
388
386
  let t = O(e);
389
387
  return Array.isArray(t) ? t.map((e) => N(e)) : [N(t)];
390
388
  }), (e) => {
@@ -398,23 +396,23 @@ function $(e, t, n = {}) {
398
396
  }), l = () => {
399
397
  s(), c();
400
398
  };
401
- return g(l), {
399
+ return h(l), {
402
400
  isSupported: o,
403
401
  stop: l
404
402
  };
405
403
  }
406
- function ae(e, t = {}) {
404
+ function ie(e, t = {}) {
407
405
  let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = M } = t, o = D(!1), s, c = (e) => {
408
406
  let t = e ? n : r;
409
407
  s && (clearTimeout(s), s = void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
410
408
  };
411
- return a ? (P(e, "mouseenter", () => c(!0), { passive: !0 }), P(e, "mouseleave", () => c(!1), { passive: !0 }), i && B(S(() => N(e)), () => c(!1)), o) : o;
409
+ return a ? (P(e, "mouseenter", () => c(!0), { passive: !0 }), P(e, "mouseleave", () => c(!1), { passive: !0 }), i && B(x(() => N(e)), () => c(!1)), o) : o;
412
410
  }
413
- function oe(e, t = {
411
+ function ae(e, t = {
414
412
  width: 0,
415
413
  height: 0
416
414
  }, n = {}) {
417
- let { window: r = M, box: i = "content-box" } = n, a = S(() => {
415
+ let { window: r = M, box: i = "content-box" } = n, a = x(() => {
418
416
  var t;
419
417
  return (t = N(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
420
418
  }), o = D(t.width), s = D(t.height), { stop: c } = $(e, ([t]) => {
@@ -426,13 +424,17 @@ function oe(e, t = {
426
424
  o.value = e.width, s.value = e.height;
427
425
  }
428
426
  } else if (n) {
429
- let e = p(n);
427
+ let e = f(n);
430
428
  o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
431
429
  } else o.value = t.contentRect.width, s.value = t.contentRect.height;
432
430
  }, n);
433
- h(() => {
431
+ m(() => {
434
432
  let n = N(e);
435
- n && (o.value = "offsetWidth" in n ? n.offsetWidth : t.width, s.value = "offsetHeight" in n ? n.offsetHeight : t.height);
433
+ if (n && "offsetWidth" in n) if (i === "content-box" && r) {
434
+ let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), c = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
435
+ o.value = n.offsetWidth - t - a, s.value = n.offsetHeight - i - c;
436
+ } else o.value = n.offsetWidth, s.value = n.offsetHeight;
437
+ else n && (o.value = t.width, s.value = t.height);
436
438
  });
437
439
  let l = A(() => N(e), (e) => {
438
440
  o.value = e ? t.width : 0, s.value = e ? t.height : 0;
@@ -447,4 +449,4 @@ function oe(e, t = {
447
449
  };
448
450
  }
449
451
  //#endregion
450
- export { Y as StorageSerializers, e as bypassFilter, t as createFilterWrapper, X as customStorageEventName, n as debounceFilter, M as defaultWindow, r as getLifeCycleTarget, q as getSSRHandler, i as injectLocal, a as isClient, o as isIOS, s as isObject, c as noop, l as notNullish, I as onClickOutside, B as onElementRemoval, u as pausableFilter, d as pausableWatch, f as pxValue, p as toArray, m as toRef, h as tryOnMounted, g as tryOnScopeDispose, N as unrefElement, Q as useColorMode, ie as useDark, _ as useDebounceFn, ae as useElementHover, oe as useElementSize, P as useEventListener, U as useMediaQuery, L as useMounted, z as useMutationObserver, J as usePreferredDark, $ as useResizeObserver, H as useSSRWidth, Z as useStorage, R as useSupported, v as useToggle, y as watchImmediate, b as watchPausable, x as watchWithFilter };
452
+ export { Y as StorageSerializers, e as bypassFilter, t as createFilterWrapper, X as customStorageEventName, n as debounceFilter, M as defaultWindow, r as getLifeCycleTarget, q as getSSRHandler, i as injectLocal, a as isClient, o as isIOS, s as isObject, c as noop, l as notNullish, I as onClickOutside, B as onElementRemoval, u as pausableFilter, d as pxValue, f as toArray, p as toRef, m as tryOnMounted, h as tryOnScopeDispose, N as unrefElement, Q as useColorMode, re as useDark, g as useDebounceFn, ie as useElementHover, ae as useElementSize, P as useEventListener, H as useMediaQuery, L as useMounted, z as useMutationObserver, J as usePreferredDark, $ as useResizeObserver, V as useSSRWidth, Z as useStorage, R as useSupported, _ as useToggle, v as watchImmediate, y as watchPausable, b as watchWithFilter };
@@ -0,0 +1,136 @@
1
+ import { customRef as e, getCurrentInstance as t, getCurrentScope as n, hasInjectionContext as r, inject as i, isRef as a, nextTick as o, onMounted as s, onScopeDispose as c, readonly as l, ref as u, shallowReadonly as d, shallowRef as f, toRef as p, toValue as m, watch as h } from "vue";
2
+ //#region node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
3
+ function g(e, t) {
4
+ return n() ? (c(e, t), !0) : !1;
5
+ }
6
+ var _ = new WeakMap(), v = (...e) => {
7
+ var a;
8
+ let o = e[0], s = (a = t()) == null ? void 0 : a.proxy, c = s == null ? n() : s;
9
+ if (c == null && !r()) throw Error("injectLocal must be called in setup");
10
+ return c && _.has(c) && o in _.get(c) ? _.get(c)[o] : i(...e);
11
+ }, y = typeof window < "u" && typeof document < "u";
12
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
13
+ var b = (e) => e != null, x = Object.prototype.toString, S = (e) => x.call(e) === "[object Object]", C = () => {}, w = T();
14
+ function T() {
15
+ var e, t, n;
16
+ return y && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test((n = window) == null ? void 0 : n.navigator.userAgent));
17
+ }
18
+ function E(...t) {
19
+ if (t.length !== 1) return p(...t);
20
+ let n = t[0];
21
+ return typeof n == "function" ? l(e(() => ({
22
+ get: n,
23
+ set: C
24
+ }))) : u(n);
25
+ }
26
+ function D(e, t) {
27
+ function n(...n) {
28
+ return new Promise((r, i) => {
29
+ Promise.resolve(e(() => t.apply(this, n), {
30
+ fn: t,
31
+ thisArg: this,
32
+ args: n
33
+ })).then(r).catch(i);
34
+ });
35
+ }
36
+ return "cancel" in e && Object.assign(n, {
37
+ cancel: e.cancel,
38
+ flush: e.flush,
39
+ isPending: e.isPending
40
+ }), n;
41
+ }
42
+ var O = (e) => e();
43
+ function k(e, t = {}) {
44
+ let n, r, i = C, a = C, o = f(!1), s = (e) => {
45
+ clearTimeout(e), i(), i = C;
46
+ }, c;
47
+ return Object.assign((l) => {
48
+ let u = m(e), d = m(t.maxWait);
49
+ return n && s(n), u <= 0 || d !== void 0 && d <= 0 ? (r && (s(r), r = void 0), o.value = !1, Promise.resolve(l())) : (o.value = !0, new Promise((e, f) => {
50
+ i = t.rejectOnCancel ? f : e, a = e, c = l, d && !r && (r = setTimeout(() => {
51
+ n && s(n), r = void 0, o.value = !1, e(c());
52
+ }, d)), n = setTimeout(() => {
53
+ r && s(r), r = void 0, o.value = !1, e(l());
54
+ }, u);
55
+ }));
56
+ }, {
57
+ cancel: () => {
58
+ n && (s(n), n = void 0), r && (s(r), r = void 0), o.value = !1, a = C;
59
+ },
60
+ flush: () => {
61
+ if (o.value) {
62
+ n && (clearTimeout(n), n = void 0), r && (clearTimeout(r), r = void 0), o.value = !1;
63
+ let e = a;
64
+ i = C, a = C, e(c());
65
+ }
66
+ },
67
+ isPending: d(o)
68
+ });
69
+ }
70
+ function A(e = O, t = {}) {
71
+ let { initialState: n = "active" } = t, r = E(n === "active");
72
+ function i() {
73
+ r.value = !1;
74
+ }
75
+ function a() {
76
+ r.value = !0;
77
+ }
78
+ return {
79
+ isActive: d(r),
80
+ pause: i,
81
+ resume: a,
82
+ eventFilter: (...t) => {
83
+ r.value && e(...t);
84
+ }
85
+ };
86
+ }
87
+ function j(e) {
88
+ return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
89
+ }
90
+ function M(e) {
91
+ return Array.isArray(e) ? e : [e];
92
+ }
93
+ function N(e) {
94
+ return e || t();
95
+ }
96
+ function P(e, t = 200, n = {}) {
97
+ return D(k(t, n), e);
98
+ }
99
+ function F(e, t, n = {}) {
100
+ let { eventFilter: r = O, ...i } = n;
101
+ return h(e, D(r, t), i);
102
+ }
103
+ function I(e, t, n = {}) {
104
+ let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = A(r, { initialState: i });
105
+ return {
106
+ stop: F(e, t, {
107
+ ...a,
108
+ eventFilter: o
109
+ }),
110
+ pause: s,
111
+ resume: c,
112
+ isActive: l
113
+ };
114
+ }
115
+ function L(e, t = !0, n) {
116
+ N(n) ? s(e, n) : t ? e() : o(e);
117
+ }
118
+ function R(e = !1, t = {}) {
119
+ let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = a(e), o = f(e);
120
+ function s(e) {
121
+ if (arguments.length) return o.value = e, o.value;
122
+ {
123
+ let e = m(n);
124
+ return o.value = o.value === e ? m(r) : e, o.value;
125
+ }
126
+ }
127
+ return i ? s : [o, s];
128
+ }
129
+ function z(e, t, n) {
130
+ return h(e, t, {
131
+ ...n,
132
+ immediate: !0
133
+ });
134
+ }
135
+ //#endregion
136
+ export { O as bypassFilter, D as createFilterWrapper, k as debounceFilter, N as getLifeCycleTarget, v as injectLocal, y as isClient, w as isIOS, S as isObject, C as noop, b as notNullish, A as pausableFilter, j as pxValue, M as toArray, E as toRef, L as tryOnMounted, g as tryOnScopeDispose, P as useDebounceFn, R as useToggle, z as watchImmediate, I as watchPausable, F as watchWithFilter };
@@ -0,0 +1,90 @@
1
+ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.mjs";
2
+ //#region node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js
3
+ var t = e(((e, t) => {
4
+ var n = t.exports = {}, r, i;
5
+ function a() {
6
+ throw Error("setTimeout has not been defined");
7
+ }
8
+ function o() {
9
+ throw Error("clearTimeout has not been defined");
10
+ }
11
+ (function() {
12
+ try {
13
+ r = typeof setTimeout == "function" ? setTimeout : a;
14
+ } catch {
15
+ r = a;
16
+ }
17
+ try {
18
+ i = typeof clearTimeout == "function" ? clearTimeout : o;
19
+ } catch {
20
+ i = o;
21
+ }
22
+ })();
23
+ function s(e) {
24
+ if (r === setTimeout) return setTimeout(e, 0);
25
+ if ((r === a || !r) && setTimeout) return r = setTimeout, setTimeout(e, 0);
26
+ try {
27
+ return r(e, 0);
28
+ } catch {
29
+ try {
30
+ return r.call(null, e, 0);
31
+ } catch {
32
+ return r.call(this, e, 0);
33
+ }
34
+ }
35
+ }
36
+ function c(e) {
37
+ if (i === clearTimeout) return clearTimeout(e);
38
+ if ((i === o || !i) && clearTimeout) return i = clearTimeout, clearTimeout(e);
39
+ try {
40
+ return i(e);
41
+ } catch {
42
+ try {
43
+ return i.call(null, e);
44
+ } catch {
45
+ return i.call(this, e);
46
+ }
47
+ }
48
+ }
49
+ var l = [], u = !1, d, f = -1;
50
+ function p() {
51
+ !u || !d || (u = !1, d.length ? l = d.concat(l) : f = -1, l.length && m());
52
+ }
53
+ function m() {
54
+ if (!u) {
55
+ var e = s(p);
56
+ u = !0;
57
+ for (var t = l.length; t;) {
58
+ for (d = l, l = []; ++f < t;) d && d[f].run();
59
+ f = -1, t = l.length;
60
+ }
61
+ d = null, u = !1, c(e);
62
+ }
63
+ }
64
+ n.nextTick = function(e) {
65
+ var t = Array(arguments.length - 1);
66
+ if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
67
+ l.push(new h(e, t)), l.length === 1 && !u && s(m);
68
+ };
69
+ function h(e, t) {
70
+ this.fun = e, this.array = t;
71
+ }
72
+ h.prototype.run = function() {
73
+ this.fun.apply(null, this.array);
74
+ }, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {};
75
+ function g() {}
76
+ n.on = g, n.addListener = g, n.once = g, n.off = g, n.removeListener = g, n.removeAllListeners = g, n.emit = g, n.prependListener = g, n.prependOnceListener = g, n.listeners = function(e) {
77
+ return [];
78
+ }, n.binding = function(e) {
79
+ throw Error("process.binding is not supported");
80
+ }, n.cwd = function() {
81
+ return "/";
82
+ }, n.chdir = function(e) {
83
+ throw Error("process.chdir is not supported");
84
+ }, n.umask = function() {
85
+ return 0;
86
+ };
87
+ }));
88
+ //#endregion
89
+ export default t();
90
+ export { t as require_browser };