rappel-ui 1.0.14 → 1.0.15

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 (56) hide show
  1. package/cjs/components/filter-panel/index.d.ts +9 -9
  2. package/cjs/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
  3. package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/cjs/components/popconfirm/index.d.ts +15 -4
  5. package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +10 -3
  6. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/cjs/components/popover/index.d.ts +19 -3
  8. package/cjs/components/popover/src/popover.vue.d.ts +10 -1
  9. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/cjs/components/tooltip/src/use-tooltip.js +1 -1
  11. package/cjs/composables/use-theme/index.js +1 -1
  12. package/cjs/index.d.ts +43 -16
  13. package/cjs/index.js +1 -1
  14. 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
  15. 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
  16. package/cjs/svg-icons/constants.js +1 -0
  17. package/cjs/svg-icons/dist/es/index.js +1 -1
  18. 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
  19. 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
  20. package/cjs/svg-icons/dist/es/packages/composables/use-theme/index.js +1 -1
  21. package/cjs/svg-icons/index.js +1 -0
  22. package/cjs/theme-chalk/src/button.css +1 -1
  23. package/es/components/filter-panel/index.d.ts +9 -9
  24. package/es/components/filter-panel/src/filter-panel.vue.d.ts +3 -3
  25. package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +1 -1
  26. package/es/components/popconfirm/index.d.ts +15 -4
  27. package/es/components/popconfirm/src/popconfirm.vue.d.ts +10 -3
  28. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +53 -49
  29. package/es/components/popover/index.d.ts +19 -3
  30. package/es/components/popover/src/popover.vue.d.ts +10 -1
  31. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +27 -22
  32. package/es/components/tooltip/src/use-tooltip.mjs +8 -15
  33. package/es/composables/use-theme/index.mjs +2 -2
  34. package/es/index.d.ts +43 -16
  35. package/es/index.mjs +35 -35
  36. 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 +111 -107
  37. 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
  38. package/es/svg-icons/constants.mjs +114 -0
  39. package/es/svg-icons/dist/es/index.mjs +19 -47
  40. 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 +275 -0
  41. 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
  42. package/es/svg-icons/dist/es/packages/composables/use-theme/index.mjs +1 -1
  43. package/es/svg-icons/index.mjs +77 -0
  44. package/es/theme-chalk/src/button.css +1 -1
  45. package/package.json +1 -1
  46. package/theme-chalk/index.css +6 -6
  47. package/theme-chalk/re-button.css +6 -6
  48. package/theme-chalk/src/mixins/_button.scss +1 -1
  49. package/umd/index.js +8 -8
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
@@ -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,21 @@ 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
106
  /* @__NO_SIDE_EFFECTS__ */
109
107
  function R(e) {
110
108
  let t = L();
111
- return S(() => (t.value, !!e()));
109
+ return x(() => (t.value, !!e()));
112
110
  }
113
111
  function z(e, t, n = {}) {
114
112
  let { window: r = M, ...i } = n, a, o = /* @__PURE__ */ R(() => r && "MutationObserver" in r), s = () => {
115
113
  a && (a.disconnect(), a = void 0);
116
- }, c = A(S(() => {
117
- let t = p(O(e)).map(N).filter(l);
114
+ }, c = A(x(() => {
115
+ let t = f(O(e)).map(N).filter(l);
118
116
  return new Set(t);
119
117
  }), (e) => {
120
118
  s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
@@ -124,7 +122,7 @@ function z(e, t, n = {}) {
124
122
  }), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
125
123
  c(), s();
126
124
  };
127
- return g(d), {
125
+ return h(d), {
128
126
  isSupported: o,
129
127
  stop: d,
130
128
  takeRecords: u
@@ -150,40 +148,42 @@ function B(e, t, n = {}) {
150
148
  }, { flush: a }), u = () => {
151
149
  l(), s();
152
150
  };
153
- return g(u), u;
151
+ return h(u), u;
154
152
  }
155
- var V = Symbol("vueuse-ssr-width");
153
+ var ee = Symbol("vueuse-ssr-width");
156
154
  /* @__NO_SIDE_EFFECTS__ */
157
- function H() {
158
- let e = w() ? i(V, null) : null;
155
+ function V() {
156
+ let e = C() ? i(ee, null) : null;
159
157
  return typeof e == "number" ? e : void 0;
160
158
  }
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);
159
+ function H(e, t = {}) {
160
+ let { window: n = M, ssrWidth: r = /* @__PURE__ */ V() } = t, i = /* @__PURE__ */ R(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = D(typeof r == "number"), o = D(), s = D(!1);
163
161
  return j(() => {
164
162
  if (a.value) {
165
- a.value = !i.value, s.value = O(e).split(",").some((e) => {
163
+ a.value = !i.value;
164
+ let t = O(e).split(",");
165
+ s.value = t.some((e) => {
166
166
  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;
167
+ return n && a && (a = r >= d(n[1])), i && a && (a = r <= d(i[1])), t ? !a : a;
168
168
  });
169
169
  return;
170
170
  }
171
171
  i.value && (o.value = n.matchMedia(O(e)), s.value = o.value.matches);
172
172
  }), P(o, "change", (e) => {
173
173
  s.value = e.matches;
174
- }, { passive: !0 }), S(() => s.value);
174
+ }, { passive: !0 }), x(() => s.value);
175
175
  }
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];
176
+ var U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__", G = /* #__PURE__ */ K();
177
+ function K() {
178
+ return W in U || (U[W] = U[W] || {}), U[W];
179
179
  }
180
180
  function q(e, t) {
181
- return K[e] || t;
181
+ return G[e] || t;
182
182
  }
183
183
  function J(e) {
184
- return U("(prefers-color-scheme: dark)", e);
184
+ return H("(prefers-color-scheme: dark)", e);
185
185
  }
186
- function ne(e) {
186
+ function te(e) {
187
187
  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
188
  }
189
189
  var Y = {
@@ -222,99 +222,99 @@ var Y = {
222
222
  }, X = "vueuse-storage";
223
223
  function Z(e, t, n, r = {}) {
224
224
  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) => {
225
+ 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
226
  console.error(e);
227
- }, initOnMounted: g } = r, _ = (u ? D : ee)(typeof t == "function" ? t() : t), v = S(() => O(e));
227
+ }, initOnMounted: h } = r, g = (u ? D : E)(typeof t == "function" ? t() : t), _ = x(() => O(e));
228
228
  if (!n) try {
229
229
  n = q("getDefaultStorage", () => M == null ? void 0 : M.localStorage)();
230
230
  } catch (e) {
231
- m(e);
231
+ p(e);
232
232
  }
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), {
233
+ if (!n) return g;
234
+ 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
235
  flush: a,
236
236
  deep: o,
237
- eventFilter: p
237
+ eventFilter: f
238
238
  });
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) {
239
+ A(_, () => I(), { flush: a });
240
+ let k = !1;
241
+ d && s && (n instanceof Storage ? P(d, "storage", (e) => {
242
+ h && !k || I(e);
243
+ }, { passive: !0 }) : P(d, X, (e) => {
244
+ h && !k || L(e);
245
+ })), h ? m(() => {
246
+ k = !0, I();
247
+ }) : I();
248
+ function j(e, t) {
249
+ if (d) {
250
250
  let r = {
251
- key: v.value,
251
+ key: _.value,
252
252
  oldValue: e,
253
253
  newValue: t,
254
254
  storageArea: n
255
255
  };
256
- f.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
256
+ d.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
257
257
  }
258
258
  }
259
- function j(e) {
259
+ function N(e) {
260
260
  try {
261
- let t = n.getItem(v.value);
262
- if (e == null) k(t, null), n.removeItem(v.value);
261
+ let t = n.getItem(_.value);
262
+ if (e == null) j(t, null), n.removeItem(_.value);
263
263
  else {
264
- let r = x.write(e);
265
- t !== r && (n.setItem(v.value, r), k(t, r));
264
+ let r = S.write(e);
265
+ t !== r && (n.setItem(_.value, r), j(t, r));
266
266
  }
267
267
  } catch (e) {
268
- m(e);
268
+ p(e);
269
269
  }
270
270
  }
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;
271
+ function F(e) {
272
+ let t = e ? e.newValue : n.getItem(_.value);
273
+ if (t == null) return c && v != null && n.setItem(_.value, S.write(v)), v;
274
274
  if (!e && l) {
275
- let e = x.read(t);
276
- return typeof l == "function" ? l(e, y) : b === "object" && !Array.isArray(e) ? {
277
- ...y,
275
+ let e = S.read(t);
276
+ return typeof l == "function" ? l(e, v) : b === "object" && !Array.isArray(e) ? {
277
+ ...v,
278
278
  ...e
279
279
  } : e;
280
280
  } else if (typeof t != "string") return t;
281
- else return x.read(t);
281
+ else return S.read(t);
282
282
  }
283
- function F(e) {
283
+ function I(e) {
284
284
  if (!(e && e.storageArea !== n)) {
285
285
  if (e && e.key == null) {
286
- _.value = y;
286
+ g.value = v;
287
287
  return;
288
288
  }
289
- if (!(e && e.key !== v.value)) {
289
+ if (!(e && e.key !== _.value)) {
290
290
  C();
291
291
  try {
292
- let t = x.write(_.value);
293
- (e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (_.value = N(e));
292
+ let t = S.write(g.value);
293
+ (e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (g.value = F(e));
294
294
  } catch (e) {
295
- m(e);
295
+ p(e);
296
296
  } finally {
297
- e ? T(w) : w();
297
+ e ? w(T) : T();
298
298
  }
299
299
  }
300
300
  }
301
301
  }
302
- function I(e) {
303
- F(e.detail);
302
+ function L(e) {
303
+ I(e.detail);
304
304
  }
305
- return _;
305
+ return g;
306
306
  }
307
- var re = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
307
+ var ne = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
308
308
  function Q(e = {}) {
309
309
  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
310
  auto: "",
311
311
  light: "light",
312
312
  dark: "dark",
313
313
  ...e.modes || {}
314
- }, f = J({ window: i }), p = S(() => f.value ? "dark" : "light"), g = c || (o == null ? m(r) : Z(o, r, a, {
314
+ }, f = J({ window: i }), h = x(() => f.value ? "dark" : "light"), g = c || (o == null ? p(r) : Z(o, r, a, {
315
315
  window: i,
316
316
  listenToStorageChanges: s
317
- })), _ = S(() => g.value === "auto" ? p.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
317
+ })), _ = x(() => g.value === "auto" ? h.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
318
318
  let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : N(e);
319
319
  if (!r) return;
320
320
  let a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), s = null;
@@ -329,7 +329,7 @@ function Q(e = {}) {
329
329
  };
330
330
  if (a.size === 0 && o.size === 0 && s === null) return;
331
331
  let c;
332
- u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(re)), i.document.head.appendChild(c));
332
+ u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(ne)), i.document.head.appendChild(c));
333
333
  for (let e of a) r.classList.add(e);
334
334
  for (let e of o) r.classList.remove(e);
335
335
  s && r.setAttribute(s.key, s.value), u && (i.getComputedStyle(c).opacity, document.head.removeChild(c));
@@ -344,8 +344,8 @@ function Q(e = {}) {
344
344
  A(_, b, {
345
345
  flush: "post",
346
346
  immediate: !0
347
- }), h(() => b(_.value));
348
- let x = S({
347
+ }), m(() => b(_.value));
348
+ let S = x({
349
349
  get() {
350
350
  return l ? g.value : _.value;
351
351
  },
@@ -353,13 +353,13 @@ function Q(e = {}) {
353
353
  g.value = e;
354
354
  }
355
355
  });
356
- return Object.assign(x, {
356
+ return Object.assign(S, {
357
357
  store: g,
358
- system: p,
358
+ system: h,
359
359
  state: _
360
360
  });
361
361
  }
362
- function ie(e = {}) {
362
+ function re(e = {}) {
363
363
  let { valueDark: t = "dark", valueLight: n = "" } = e, r = Q({
364
364
  ...e,
365
365
  onChanged: (t, n) => {
@@ -370,8 +370,8 @@ function ie(e = {}) {
370
370
  dark: t,
371
371
  light: n
372
372
  }
373
- }), i = S(() => r.system.value);
374
- return S({
373
+ }), i = x(() => r.system.value);
374
+ return x({
375
375
  get() {
376
376
  return r.value === "dark";
377
377
  },
@@ -384,7 +384,7 @@ function ie(e = {}) {
384
384
  function $(e, t, n = {}) {
385
385
  let { window: r = M, ...i } = n, a, o = /* @__PURE__ */ R(() => r && "ResizeObserver" in r), s = () => {
386
386
  a && (a.disconnect(), a = void 0);
387
- }, c = A(S(() => {
387
+ }, c = A(x(() => {
388
388
  let t = O(e);
389
389
  return Array.isArray(t) ? t.map((e) => N(e)) : [N(t)];
390
390
  }), (e) => {
@@ -398,23 +398,23 @@ function $(e, t, n = {}) {
398
398
  }), l = () => {
399
399
  s(), c();
400
400
  };
401
- return g(l), {
401
+ return h(l), {
402
402
  isSupported: o,
403
403
  stop: l
404
404
  };
405
405
  }
406
- function ae(e, t = {}) {
406
+ function ie(e, t = {}) {
407
407
  let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = M } = t, o = D(!1), s, c = (e) => {
408
408
  let t = e ? n : r;
409
409
  s && (clearTimeout(s), s = void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
410
410
  };
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;
411
+ 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
412
  }
413
- function oe(e, t = {
413
+ function ae(e, t = {
414
414
  width: 0,
415
415
  height: 0
416
416
  }, n = {}) {
417
- let { window: r = M, box: i = "content-box" } = n, a = S(() => {
417
+ let { window: r = M, box: i = "content-box" } = n, a = x(() => {
418
418
  var t;
419
419
  return (t = N(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
420
420
  }), o = D(t.width), s = D(t.height), { stop: c } = $(e, ([t]) => {
@@ -426,13 +426,17 @@ function oe(e, t = {
426
426
  o.value = e.width, s.value = e.height;
427
427
  }
428
428
  } else if (n) {
429
- let e = p(n);
429
+ let e = f(n);
430
430
  o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
431
431
  } else o.value = t.contentRect.width, s.value = t.contentRect.height;
432
432
  }, n);
433
- h(() => {
433
+ m(() => {
434
434
  let n = N(e);
435
- n && (o.value = "offsetWidth" in n ? n.offsetWidth : t.width, s.value = "offsetHeight" in n ? n.offsetHeight : t.height);
435
+ if (n && "offsetWidth" in n) if (i === "content-box" && r) {
436
+ 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);
437
+ o.value = n.offsetWidth - t - a, s.value = n.offsetHeight - i - c;
438
+ } else o.value = n.offsetWidth, s.value = n.offsetHeight;
439
+ else n && (o.value = t.width, s.value = t.height);
436
440
  });
437
441
  let l = A(() => N(e), (e) => {
438
442
  o.value = e ? t.width : 0, s.value = e ? t.height : 0;
@@ -447,4 +451,4 @@ function oe(e, t = {
447
451
  };
448
452
  }
449
453
  //#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 };
454
+ 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 _ = /* @__PURE__ */ 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 = /* #__PURE__ */ 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,114 @@
1
+ //#region packages/svg-icons/constants.ts
2
+ var e = [
3
+ {
4
+ name: "arrow-right",
5
+ path: "M4 12h16 M20 12L14 6M20 12L14 18"
6
+ },
7
+ {
8
+ name: "arrow-left",
9
+ path: "M4 12L20 12M10 6L4 12L10 18"
10
+ },
11
+ {
12
+ name: "arrow-up",
13
+ path: "M12 4L12 20M6 10L12 4L18 10"
14
+ },
15
+ {
16
+ name: "arrow-down",
17
+ path: "M12 20L12 4M6 14L12 20L18 14"
18
+ },
19
+ {
20
+ name: "search",
21
+ path: "M4 10A6 6 0 1 0 16 10 A6 6 0 1 0 4 10M20 20 L14.5 14.5"
22
+ },
23
+ {
24
+ name: "search-bold",
25
+ path: "M4 11 A7 7 0 1 0 18 11A7 7 0 1 0 4 11M16 16 L20 20"
26
+ },
27
+ {
28
+ name: "arrow-downward",
29
+ path: "M5 9L12 16L19 9"
30
+ },
31
+ {
32
+ name: "arrow-upward",
33
+ path: "M5 16L12 9L19 16"
34
+ },
35
+ {
36
+ name: "arrow-forward",
37
+ path: "M15 5L8 12L15 19"
38
+ },
39
+ {
40
+ name: "arrow-backward",
41
+ path: "M8 5L15 12L8 19"
42
+ },
43
+ {
44
+ name: "delete",
45
+ path: "M8 4L16 4M8 5L16 5M3 6L21 6M6 8L6 19L18 19L18 8M10 9L10 16M14 16L14 9"
46
+ },
47
+ {
48
+ name: "close",
49
+ path: "M4 4L20 20M20 4L4 20"
50
+ },
51
+ {
52
+ name: "close-short",
53
+ path: "M6 6L18 18M18 6L6 18"
54
+ },
55
+ {
56
+ name: "loading",
57
+ path: "M12 2L12 7M19.54 4.46L16 8M22 12L17 12M19.54 19.54L16 16M12 22L12 17M4.46 19.54L8 16M2 12L7 12M4.47 4.47L8 8"
58
+ },
59
+ {
60
+ name: "more-dot-square",
61
+ path: "M10 4h2v2h-2v-2m0 1h2m0 1h-2M10 11 h2v2h-2v-2m0 1h2m0 1h-2M10 18 h2v2h-2v-2m0 1h2m0 1h-2"
62
+ },
63
+ {
64
+ name: "more-dot-square-horizontal",
65
+ path: "M4 11h2v2h-2v-2m0 1h2m0 1h-2M11 11h2v2h-2v-2m0 1h2m0 1h-2M18 11h2v2h-2v-2m0 1h2m0 1h-2"
66
+ },
67
+ {
68
+ name: "more-line",
69
+ path: "M5 5h14l0 1h-14zM5 11h14l0 1h-14zM5 17h14l0 1h-14z"
70
+ },
71
+ {
72
+ name: "more-dot-circle",
73
+ path: "M11 6a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M11 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M11 18a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1"
74
+ },
75
+ {
76
+ name: "more-dot-circle-horizontal",
77
+ path: "M4 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M11 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1M18 12a1 1 0 0 0 2 0a1 1 0 0 0 -2 0m1 0h1"
78
+ },
79
+ {
80
+ name: "copy",
81
+ path: "M16 4h-11v11M9 8v12h11v-12h-11"
82
+ },
83
+ {
84
+ name: "copy-closure",
85
+ path: "M16 8v-4h-11v11h4M9 8v12h11v-12h-11"
86
+ },
87
+ {
88
+ name: "star",
89
+ path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2"
90
+ },
91
+ {
92
+ name: "star-fill",
93
+ path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2",
94
+ fill: "currentColor"
95
+ },
96
+ {
97
+ name: "help",
98
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12m5.5 -2A3 3 0 1 1 14.5 10c0,2 -2.5,2 -2.5,4m0 3l0 1"
99
+ },
100
+ {
101
+ name: "more-dot-circle-outline-vertical",
102
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12M11.5 7.5a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M11.5 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M11.5 16.5a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0"
103
+ },
104
+ {
105
+ name: "more-dot-circle-outline-horizontal",
106
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12M7.5 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M11.8 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0M16 12a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0"
107
+ },
108
+ {
109
+ name: "exclam",
110
+ path: "M3 12A9 9 0 1 0 21 12A9 9 0 1 0 3 12M11.5 7l1 0l-0.5 6l-0.5 -6m0.5 0l0 6m-0.5 3a0.5 0.5 0 0 0 1 0a0.5 0.5 0 0 0 -1 0"
111
+ }
112
+ ], t = e.map((e) => e.name);
113
+ //#endregion
114
+ export { t as iconNames, e as svgIcons };