rappel-ui 1.0.19 → 1.0.21
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/cjs/components/button/index.js +1 -1
- package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/button/src/types.d.ts +1 -1
- package/cjs/components/button/style/css.js +2 -1
- package/cjs/components/button/style/index.js +2 -1
- package/cjs/components/button-group/style/css.js +2 -0
- package/cjs/components/button-group/style/index.js +2 -0
- package/cjs/components/colors/index.js +1 -1
- package/cjs/components/colors/style/css.js +2 -1
- package/cjs/components/colors/style/index.js +2 -1
- package/cjs/components/filter-panel/index.js +1 -1
- package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/filter-panel/style/css.js +2 -1
- package/cjs/components/filter-panel/style/index.js +2 -1
- package/cjs/components/input/index.js +1 -1
- package/cjs/components/popconfirm/index.d.ts +5 -5
- package/cjs/components/popconfirm/index.js +1 -1
- package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popconfirm/src/types.d.ts +2 -2
- package/cjs/components/popconfirm/style/css.js +2 -1
- package/cjs/components/popconfirm/style/index.js +2 -1
- package/cjs/components/popover/index.d.ts +5 -5
- package/cjs/components/popover/index.js +1 -1
- package/cjs/components/popover/src/popover.vue.d.ts +2 -2
- package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popover/src/types.d.ts +1 -1
- package/cjs/components/popover/style/css.js +2 -1
- package/cjs/components/popover/style/index.js +2 -1
- package/cjs/components/svg-icon/index.js +1 -1
- package/cjs/components/svg-icon/style/css.js +2 -1
- package/cjs/components/svg-icon/style/index.js +2 -1
- package/cjs/components/tabs/index.js +1 -1
- package/cjs/components/tooltip/index.js +1 -1
- package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/tooltip/src/types.d.ts +1 -1
- package/cjs/components/tooltip/src/use-tooltip.js +1 -1
- package/cjs/components/tooltip/style/css.js +2 -1
- package/cjs/components/tooltip/style/index.js +2 -1
- package/cjs/composables/use-theme/index.d.ts +1 -1
- package/cjs/composables/use-theme/index.js +1 -1
- package/cjs/index.d.ts +10 -10
- package/cjs/theme-chalk/index.d.ts +0 -0
- package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +47 -48
- package/es/components/button/src/types.d.ts +1 -1
- package/es/components/button/style/css.mjs +2 -2
- package/es/components/button/style/index.mjs +2 -2
- package/es/components/button-group/style/css.mjs +2 -0
- package/es/components/button-group/style/index.mjs +2 -0
- package/es/components/colors/style/css.mjs +2 -2
- package/es/components/colors/style/index.mjs +2 -2
- package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +45 -46
- package/es/components/filter-panel/style/css.mjs +2 -2
- package/es/components/filter-panel/style/index.mjs +2 -2
- package/es/components/popconfirm/index.d.ts +5 -5
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +105 -108
- package/es/components/popconfirm/src/types.d.ts +2 -2
- package/es/components/popconfirm/style/css.mjs +2 -2
- package/es/components/popconfirm/style/index.mjs +2 -2
- package/es/components/popover/index.d.ts +5 -5
- package/es/components/popover/src/popover.vue.d.ts +2 -2
- package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +1 -4
- package/es/components/popover/src/types.d.ts +1 -1
- package/es/components/popover/style/css.mjs +2 -2
- package/es/components/popover/style/index.mjs +2 -2
- package/es/components/svg-icon/style/css.mjs +2 -2
- package/es/components/svg-icon/style/index.mjs +2 -2
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/tooltip/src/types.d.ts +1 -1
- package/es/components/tooltip/src/use-tooltip.mjs +24 -25
- package/es/components/tooltip/style/css.mjs +2 -2
- package/es/components/tooltip/style/index.mjs +2 -2
- package/es/composables/use-theme/index.d.ts +1 -1
- package/es/composables/use-theme/index.mjs +7 -8
- package/es/index.d.ts +10 -10
- package/es/theme-chalk/index.d.ts +0 -0
- package/package.json +1 -1
- package/cjs/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -1
- package/cjs/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -1
- package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -1
- package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -1
- package/cjs/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +0 -1
- 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 +0 -1
- 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 +0 -1
- package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +0 -1
- package/cjs/svg-icons/dist/es/_virtual/_rolldown_dynamic_import_helper.js +0 -1
- package/cjs/svg-icons/dist/es/create-icon.js +0 -1
- package/cjs/svg-icons/dist/es/icon-names.js +0 -1
- package/cjs/svg-icons/dist/es/index.js +0 -1
- package/cjs/svg-icons/dist/es/packages/components/svg-icon/index.js +0 -1
- package/cjs/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.js +0 -1
- package/cjs/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +0 -1
- package/cjs/svg-icons/dist/es/packages/composables/use-namespace/index.js +0 -1
- package/cjs/svg-icons/dist/es/packages/utils/util.js +0 -1
- package/cjs/svg-icons/dist/es/packages/utils/vue/index.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-backward.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-down.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-downward.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-forward.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-left.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-right.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-up.js +0 -1
- package/cjs/svg-icons/dist/es/src/arrow-upward.js +0 -1
- package/cjs/svg-icons/dist/es/src/check-circle.js +0 -1
- package/cjs/svg-icons/dist/es/src/check.js +0 -1
- package/cjs/svg-icons/dist/es/src/close-short.js +0 -1
- package/cjs/svg-icons/dist/es/src/close.js +0 -1
- package/cjs/svg-icons/dist/es/src/copy-closure.js +0 -1
- package/cjs/svg-icons/dist/es/src/copy.js +0 -1
- package/cjs/svg-icons/dist/es/src/delete.js +0 -1
- package/cjs/svg-icons/dist/es/src/exclam.js +0 -1
- package/cjs/svg-icons/dist/es/src/help.js +0 -1
- package/cjs/svg-icons/dist/es/src/loading.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-dot-circle-horizontal.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-dot-circle-outline-horizontal.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-dot-circle-outline-vertical.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-dot-circle.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-dot-square-horizontal.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-dot-square.js +0 -1
- package/cjs/svg-icons/dist/es/src/more-line.js +0 -1
- package/cjs/svg-icons/dist/es/src/search-bold.js +0 -1
- package/cjs/svg-icons/dist/es/src/search.js +0 -1
- package/cjs/svg-icons/dist/es/src/star-fill.js +0 -1
- package/cjs/svg-icons/dist/es/src/star.js +0 -1
- package/dist/index.css +0 -1
- package/dist/index.umd.js +0 -58
- package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +0 -276
- package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +0 -322
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +0 -99
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +0 -101
- package/es/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +0 -111
- package/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +0 -478
- 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 +0 -136
- package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +0 -90
- package/es/svg-icons/dist/es/_virtual/_rolldown_dynamic_import_helper.mjs +0 -9
- package/es/svg-icons/dist/es/create-icon.mjs +0 -43
- package/es/svg-icons/dist/es/icon-names.mjs +0 -4
- package/es/svg-icons/dist/es/index.mjs +0 -70
- package/es/svg-icons/dist/es/packages/components/svg-icon/index.mjs +0 -6
- package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.mjs +0 -5
- package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +0 -49
- package/es/svg-icons/dist/es/packages/composables/use-namespace/index.mjs +0 -22
- package/es/svg-icons/dist/es/packages/utils/util.mjs +0 -6
- package/es/svg-icons/dist/es/packages/utils/vue/index.mjs +0 -17
- package/es/svg-icons/dist/es/src/arrow-backward.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-down.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-downward.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-forward.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-left.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-right.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-up.mjs +0 -8
- package/es/svg-icons/dist/es/src/arrow-upward.mjs +0 -8
- package/es/svg-icons/dist/es/src/check-circle.mjs +0 -8
- package/es/svg-icons/dist/es/src/check.mjs +0 -8
- package/es/svg-icons/dist/es/src/close-short.mjs +0 -8
- package/es/svg-icons/dist/es/src/close.mjs +0 -8
- package/es/svg-icons/dist/es/src/copy-closure.mjs +0 -8
- package/es/svg-icons/dist/es/src/copy.mjs +0 -8
- package/es/svg-icons/dist/es/src/delete.mjs +0 -8
- package/es/svg-icons/dist/es/src/exclam.mjs +0 -8
- package/es/svg-icons/dist/es/src/help.mjs +0 -8
- package/es/svg-icons/dist/es/src/loading.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-dot-circle-horizontal.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-dot-circle-outline-horizontal.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-dot-circle-outline-vertical.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-dot-circle.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-dot-square-horizontal.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-dot-square.mjs +0 -8
- package/es/svg-icons/dist/es/src/more-line.mjs +0 -8
- package/es/svg-icons/dist/es/src/search-bold.mjs +0 -8
- package/es/svg-icons/dist/es/src/search.mjs +0 -8
- package/es/svg-icons/dist/es/src/star-fill.mjs +0 -9
- package/es/svg-icons/dist/es/src/star.mjs +0 -8
|
@@ -1,478 +0,0 @@
|
|
|
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, isRef as w, nextTick as T, onMounted as E, ref as D, shallowRef as O, toValue as k, unref as A, watch as j, watchEffect as M } 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
|
-
function N(e, t, n) {
|
|
5
|
-
var r;
|
|
6
|
-
let i;
|
|
7
|
-
i = w(n) ? { evaluating: n } : n || {};
|
|
8
|
-
let { lazy: a = !1, flush: o = "sync", evaluating: s = void 0, shallow: l = !0, onError: u = (r = globalThis.reportError) == null ? c : r } = i, d = O(!a), f = l ? O(t) : D(t), p = 0;
|
|
9
|
-
return M(async (t) => {
|
|
10
|
-
if (!d.value) return;
|
|
11
|
-
p++;
|
|
12
|
-
let n = p, r = !1;
|
|
13
|
-
s && Promise.resolve().then(() => {
|
|
14
|
-
s.value = !0;
|
|
15
|
-
});
|
|
16
|
-
try {
|
|
17
|
-
let i = await e((e) => {
|
|
18
|
-
t(() => {
|
|
19
|
-
s && (s.value = !1), r || e();
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
n === p && (f.value = i);
|
|
23
|
-
} catch (e) {
|
|
24
|
-
u(e);
|
|
25
|
-
} finally {
|
|
26
|
-
s && n === p && (s.value = !1), r = !0;
|
|
27
|
-
}
|
|
28
|
-
}, { flush: o }), a ? x(() => (d.value = !0, f.value)) : f;
|
|
29
|
-
}
|
|
30
|
-
var P = a ? window : void 0;
|
|
31
|
-
a && window.document, a && window.navigator, a && window.location;
|
|
32
|
-
function F(e) {
|
|
33
|
-
var t;
|
|
34
|
-
let n = k(e);
|
|
35
|
-
return (t = n == null ? void 0 : n.$el) == null ? n : t;
|
|
36
|
-
}
|
|
37
|
-
function I(...e) {
|
|
38
|
-
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = x(() => {
|
|
39
|
-
let t = f(k(e[0])).filter((e) => e != null);
|
|
40
|
-
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
41
|
-
});
|
|
42
|
-
return v(() => {
|
|
43
|
-
var t, r;
|
|
44
|
-
return [
|
|
45
|
-
(t = (r = n.value) == null ? void 0 : r.map((e) => F(e))) == null ? [P].filter((e) => e != null) : t,
|
|
46
|
-
f(k(n.value ? e[1] : e[0])),
|
|
47
|
-
f(A(n.value ? e[2] : e[1])),
|
|
48
|
-
k(n.value ? e[3] : e[2])
|
|
49
|
-
];
|
|
50
|
-
}, ([e, n, r, i], a, o) => {
|
|
51
|
-
if (!(e != null && e.length) || !(n != null && n.length) || !(r != null && r.length)) return;
|
|
52
|
-
let c = s(i) ? { ...i } : i, l = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, c))));
|
|
53
|
-
o(() => {
|
|
54
|
-
l.forEach((e) => e());
|
|
55
|
-
});
|
|
56
|
-
}, { flush: "post" });
|
|
57
|
-
}
|
|
58
|
-
var L = !1;
|
|
59
|
-
function ee(e, t, n = {}) {
|
|
60
|
-
let { window: r = P, ignore: i = [], capture: a = !0, detectIframe: s = !1, controls: l = !1 } = n;
|
|
61
|
-
if (!r) return l ? {
|
|
62
|
-
stop: c,
|
|
63
|
-
cancel: c,
|
|
64
|
-
trigger: c
|
|
65
|
-
} : c;
|
|
66
|
-
if (o && !L) {
|
|
67
|
-
L = !0;
|
|
68
|
-
let e = { passive: !0 };
|
|
69
|
-
Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", c, e)), r.document.documentElement.addEventListener("click", c, e);
|
|
70
|
-
}
|
|
71
|
-
let u = !0, d = (e) => k(i).some((t) => {
|
|
72
|
-
if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
|
|
73
|
-
{
|
|
74
|
-
let n = F(t);
|
|
75
|
-
return n && (e.target === n || e.composedPath().includes(n));
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
function f(e) {
|
|
79
|
-
let t = k(e);
|
|
80
|
-
return t && t.$.subTree.shapeFlag === 16;
|
|
81
|
-
}
|
|
82
|
-
function p(e, t) {
|
|
83
|
-
let n = k(e), r = n.$.subTree && n.$.subTree.children;
|
|
84
|
-
return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
|
|
85
|
-
}
|
|
86
|
-
let m = (n) => {
|
|
87
|
-
let r = F(e);
|
|
88
|
-
if (n.target != null && !(!(r instanceof Element) && f(e) && p(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
|
|
89
|
-
if ("detail" in n && n.detail === 0 && (u = !d(n)), !u) {
|
|
90
|
-
u = !0;
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
t(n);
|
|
94
|
-
}
|
|
95
|
-
}, h = !1, g = [
|
|
96
|
-
I(r, "click", (e) => {
|
|
97
|
-
h || (h = !0, setTimeout(() => {
|
|
98
|
-
h = !1;
|
|
99
|
-
}, 0), m(e));
|
|
100
|
-
}, {
|
|
101
|
-
passive: !0,
|
|
102
|
-
capture: a
|
|
103
|
-
}),
|
|
104
|
-
I(r, "pointerdown", (t) => {
|
|
105
|
-
let n = F(e);
|
|
106
|
-
u = !d(t) && !!(n && !t.composedPath().includes(n));
|
|
107
|
-
}, { passive: !0 }),
|
|
108
|
-
s && I(r, "blur", (n) => {
|
|
109
|
-
setTimeout(() => {
|
|
110
|
-
let i = F(e), a = r.document.activeElement;
|
|
111
|
-
for (; a != null && a.shadowRoot;) a = a.shadowRoot.activeElement;
|
|
112
|
-
(a == null ? void 0 : a.tagName) === "IFRAME" && !(i != null && i.contains(r.document.activeElement)) && t(n);
|
|
113
|
-
}, 0);
|
|
114
|
-
}, { passive: !0 })
|
|
115
|
-
].filter(Boolean), _ = () => g.forEach((e) => e());
|
|
116
|
-
return l ? {
|
|
117
|
-
stop: _,
|
|
118
|
-
cancel: () => {
|
|
119
|
-
u = !1;
|
|
120
|
-
},
|
|
121
|
-
trigger: (e) => {
|
|
122
|
-
u = !0, m(e), u = !1;
|
|
123
|
-
}
|
|
124
|
-
} : _;
|
|
125
|
-
}
|
|
126
|
-
function R() {
|
|
127
|
-
let e = O(!1), t = S();
|
|
128
|
-
return t && E(() => {
|
|
129
|
-
e.value = !0;
|
|
130
|
-
}, t), e;
|
|
131
|
-
}
|
|
132
|
-
function z(e) {
|
|
133
|
-
let t = R();
|
|
134
|
-
return x(() => (t.value, !!e()));
|
|
135
|
-
}
|
|
136
|
-
function B(e, t, n = {}) {
|
|
137
|
-
let { window: r = P, ...i } = n, a, o = z(() => r && "MutationObserver" in r), s = () => {
|
|
138
|
-
a && (a.disconnect(), a = void 0);
|
|
139
|
-
}, c = j(x(() => {
|
|
140
|
-
let t = f(k(e)).map(F).filter(l);
|
|
141
|
-
return new Set(t);
|
|
142
|
-
}), (e) => {
|
|
143
|
-
s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
|
|
144
|
-
}, {
|
|
145
|
-
immediate: !0,
|
|
146
|
-
flush: "post"
|
|
147
|
-
}), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
|
|
148
|
-
c(), s();
|
|
149
|
-
};
|
|
150
|
-
return h(d), {
|
|
151
|
-
isSupported: o,
|
|
152
|
-
stop: d,
|
|
153
|
-
takeRecords: u
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
function V(e, t, n = {}) {
|
|
157
|
-
let { window: r = P, document: i = r == null ? void 0 : r.document, flush: a = "sync" } = n;
|
|
158
|
-
if (!r || !i) return c;
|
|
159
|
-
let o, s = (e) => {
|
|
160
|
-
o == null || o(), o = e;
|
|
161
|
-
}, l = M(() => {
|
|
162
|
-
let n = F(e);
|
|
163
|
-
if (n) {
|
|
164
|
-
let { stop: e } = B(i, (e) => {
|
|
165
|
-
e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
|
|
166
|
-
}, {
|
|
167
|
-
window: r,
|
|
168
|
-
childList: !0,
|
|
169
|
-
subtree: !0
|
|
170
|
-
});
|
|
171
|
-
s(e);
|
|
172
|
-
}
|
|
173
|
-
}, { flush: a }), u = () => {
|
|
174
|
-
l(), s();
|
|
175
|
-
};
|
|
176
|
-
return h(u), u;
|
|
177
|
-
}
|
|
178
|
-
var H = Symbol("vueuse-ssr-width");
|
|
179
|
-
function U() {
|
|
180
|
-
let e = C() ? i(H, null) : null;
|
|
181
|
-
return typeof e == "number" ? e : void 0;
|
|
182
|
-
}
|
|
183
|
-
function W(e, t = {}) {
|
|
184
|
-
let { window: n = P, ssrWidth: r = U() } = t, i = z(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = O(typeof r == "number"), o = O(), s = O(!1);
|
|
185
|
-
return M(() => {
|
|
186
|
-
if (a.value) {
|
|
187
|
-
a.value = !i.value;
|
|
188
|
-
let t = k(e).split(",");
|
|
189
|
-
s.value = t.some((e) => {
|
|
190
|
-
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);
|
|
191
|
-
return n && a && (a = r >= d(n[1])), i && a && (a = r <= d(i[1])), t ? !a : a;
|
|
192
|
-
});
|
|
193
|
-
return;
|
|
194
|
-
}
|
|
195
|
-
i.value && (o.value = n.matchMedia(k(e)), s.value = o.value.matches);
|
|
196
|
-
}), I(o, "change", (e) => {
|
|
197
|
-
s.value = e.matches;
|
|
198
|
-
}, { passive: !0 }), x(() => s.value);
|
|
199
|
-
}
|
|
200
|
-
var G = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, K = "__vueuse_ssr_handlers__", te = ne();
|
|
201
|
-
function ne() {
|
|
202
|
-
return K in G || (G[K] = G[K] || {}), G[K];
|
|
203
|
-
}
|
|
204
|
-
function q(e, t) {
|
|
205
|
-
return te[e] || t;
|
|
206
|
-
}
|
|
207
|
-
function J(e) {
|
|
208
|
-
return W("(prefers-color-scheme: dark)", e);
|
|
209
|
-
}
|
|
210
|
-
function re(e) {
|
|
211
|
-
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";
|
|
212
|
-
}
|
|
213
|
-
var Y = {
|
|
214
|
-
boolean: {
|
|
215
|
-
read: (e) => e === "true",
|
|
216
|
-
write: (e) => String(e)
|
|
217
|
-
},
|
|
218
|
-
object: {
|
|
219
|
-
read: (e) => JSON.parse(e),
|
|
220
|
-
write: (e) => JSON.stringify(e)
|
|
221
|
-
},
|
|
222
|
-
number: {
|
|
223
|
-
read: (e) => Number.parseFloat(e),
|
|
224
|
-
write: (e) => String(e)
|
|
225
|
-
},
|
|
226
|
-
any: {
|
|
227
|
-
read: (e) => e,
|
|
228
|
-
write: (e) => String(e)
|
|
229
|
-
},
|
|
230
|
-
string: {
|
|
231
|
-
read: (e) => e,
|
|
232
|
-
write: (e) => String(e)
|
|
233
|
-
},
|
|
234
|
-
map: {
|
|
235
|
-
read: (e) => new Map(JSON.parse(e)),
|
|
236
|
-
write: (e) => JSON.stringify(Array.from(e.entries()))
|
|
237
|
-
},
|
|
238
|
-
set: {
|
|
239
|
-
read: (e) => new Set(JSON.parse(e)),
|
|
240
|
-
write: (e) => JSON.stringify(Array.from(e))
|
|
241
|
-
},
|
|
242
|
-
date: {
|
|
243
|
-
read: (e) => new Date(e),
|
|
244
|
-
write: (e) => e.toISOString()
|
|
245
|
-
}
|
|
246
|
-
}, X = "vueuse-storage";
|
|
247
|
-
function Z(e, t, n, r = {}) {
|
|
248
|
-
var i;
|
|
249
|
-
let { flush: a = "pre", deep: o = !0, listenToStorageChanges: s = !0, writeDefaults: c = !0, mergeDefaults: l = !1, shallow: u, window: d = P, eventFilter: f, onError: p = (e) => {
|
|
250
|
-
console.error(e);
|
|
251
|
-
}, initOnMounted: h } = r, g = (u ? O : D)(typeof t == "function" ? t() : t), _ = x(() => k(e));
|
|
252
|
-
if (!n) try {
|
|
253
|
-
n = q("getDefaultStorage", () => P == null ? void 0 : P.localStorage)();
|
|
254
|
-
} catch (e) {
|
|
255
|
-
p(e);
|
|
256
|
-
}
|
|
257
|
-
if (!n) return g;
|
|
258
|
-
let v = k(t), b = re(v), S = (i = r.serializer) == null ? Y[b] : i, { pause: C, resume: w } = y(g, (e) => M(e), {
|
|
259
|
-
flush: a,
|
|
260
|
-
deep: o,
|
|
261
|
-
eventFilter: f
|
|
262
|
-
});
|
|
263
|
-
j(_, () => F(), { flush: a });
|
|
264
|
-
let E = !1;
|
|
265
|
-
d && s && (n instanceof Storage ? I(d, "storage", (e) => {
|
|
266
|
-
h && !E || F(e);
|
|
267
|
-
}, { passive: !0 }) : I(d, X, (e) => {
|
|
268
|
-
h && !E || L(e);
|
|
269
|
-
})), h ? m(() => {
|
|
270
|
-
E = !0, F();
|
|
271
|
-
}) : F();
|
|
272
|
-
function A(e, t) {
|
|
273
|
-
if (d) {
|
|
274
|
-
let r = {
|
|
275
|
-
key: _.value,
|
|
276
|
-
oldValue: e,
|
|
277
|
-
newValue: t,
|
|
278
|
-
storageArea: n
|
|
279
|
-
};
|
|
280
|
-
d.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
function M(e) {
|
|
284
|
-
try {
|
|
285
|
-
let t = n.getItem(_.value);
|
|
286
|
-
if (e == null) A(t, null), n.removeItem(_.value);
|
|
287
|
-
else {
|
|
288
|
-
let r = S.write(e);
|
|
289
|
-
t !== r && (n.setItem(_.value, r), A(t, r));
|
|
290
|
-
}
|
|
291
|
-
} catch (e) {
|
|
292
|
-
p(e);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
function N(e) {
|
|
296
|
-
let t = e ? e.newValue : n.getItem(_.value);
|
|
297
|
-
if (t == null) return c && v != null && n.setItem(_.value, S.write(v)), v;
|
|
298
|
-
if (!e && l) {
|
|
299
|
-
let e = S.read(t);
|
|
300
|
-
return typeof l == "function" ? l(e, v) : b === "object" && !Array.isArray(e) ? {
|
|
301
|
-
...v,
|
|
302
|
-
...e
|
|
303
|
-
} : e;
|
|
304
|
-
} else if (typeof t != "string") return t;
|
|
305
|
-
else return S.read(t);
|
|
306
|
-
}
|
|
307
|
-
function F(e) {
|
|
308
|
-
if (!(e && e.storageArea !== n)) {
|
|
309
|
-
if (e && e.key == null) {
|
|
310
|
-
g.value = v;
|
|
311
|
-
return;
|
|
312
|
-
}
|
|
313
|
-
if (!(e && e.key !== _.value)) {
|
|
314
|
-
C();
|
|
315
|
-
try {
|
|
316
|
-
let t = S.write(g.value);
|
|
317
|
-
(e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (g.value = N(e));
|
|
318
|
-
} catch (e) {
|
|
319
|
-
p(e);
|
|
320
|
-
} finally {
|
|
321
|
-
e ? T(w) : w();
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
function L(e) {
|
|
327
|
-
F(e.detail);
|
|
328
|
-
}
|
|
329
|
-
return g;
|
|
330
|
-
}
|
|
331
|
-
var ie = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
|
|
332
|
-
function Q(e = {}) {
|
|
333
|
-
let { selector: t = "html", attribute: n = "class", initialValue: r = "auto", window: i = P, storage: a, storageKey: o = "vueuse-color-scheme", listenToStorageChanges: s = !0, storageRef: c, emitAuto: l, disableTransition: u = !0 } = e, d = {
|
|
334
|
-
auto: "",
|
|
335
|
-
light: "light",
|
|
336
|
-
dark: "dark",
|
|
337
|
-
...e.modes || {}
|
|
338
|
-
}, f = J({ window: i }), h = x(() => f.value ? "dark" : "light"), g = c || (o == null ? p(r) : Z(o, r, a, {
|
|
339
|
-
window: i,
|
|
340
|
-
listenToStorageChanges: s
|
|
341
|
-
})), _ = x(() => g.value === "auto" ? h.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
|
|
342
|
-
let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : F(e);
|
|
343
|
-
if (!r) return;
|
|
344
|
-
let a = new Set(), o = new Set(), s = null;
|
|
345
|
-
if (t === "class") {
|
|
346
|
-
let e = n.split(/\s/g);
|
|
347
|
-
Object.values(d).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
|
|
348
|
-
e.includes(t) ? a.add(t) : o.add(t);
|
|
349
|
-
});
|
|
350
|
-
} else s = {
|
|
351
|
-
key: t,
|
|
352
|
-
value: n
|
|
353
|
-
};
|
|
354
|
-
if (a.size === 0 && o.size === 0 && s === null) return;
|
|
355
|
-
let c;
|
|
356
|
-
u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(ie)), i.document.head.appendChild(c));
|
|
357
|
-
for (let e of a) r.classList.add(e);
|
|
358
|
-
for (let e of o) r.classList.remove(e);
|
|
359
|
-
s && r.setAttribute(s.key, s.value), u && (i.getComputedStyle(c).opacity, document.head.removeChild(c));
|
|
360
|
-
});
|
|
361
|
-
function y(e) {
|
|
362
|
-
var r;
|
|
363
|
-
v(t, n, (r = d[e]) == null ? e : r);
|
|
364
|
-
}
|
|
365
|
-
function b(t) {
|
|
366
|
-
e.onChanged ? e.onChanged(t, y) : y(t);
|
|
367
|
-
}
|
|
368
|
-
j(_, b, {
|
|
369
|
-
flush: "post",
|
|
370
|
-
immediate: !0
|
|
371
|
-
}), m(() => b(_.value));
|
|
372
|
-
let S = x({
|
|
373
|
-
get() {
|
|
374
|
-
return l ? g.value : _.value;
|
|
375
|
-
},
|
|
376
|
-
set(e) {
|
|
377
|
-
g.value = e;
|
|
378
|
-
}
|
|
379
|
-
});
|
|
380
|
-
return Object.assign(S, {
|
|
381
|
-
store: g,
|
|
382
|
-
system: h,
|
|
383
|
-
state: _
|
|
384
|
-
});
|
|
385
|
-
}
|
|
386
|
-
function ae(e = {}) {
|
|
387
|
-
let { valueDark: t = "dark", valueLight: n = "" } = e, r = Q({
|
|
388
|
-
...e,
|
|
389
|
-
onChanged: (t, n) => {
|
|
390
|
-
var r;
|
|
391
|
-
e.onChanged ? (r = e.onChanged) == null || r.call(e, t === "dark", n, t) : n(t);
|
|
392
|
-
},
|
|
393
|
-
modes: {
|
|
394
|
-
dark: t,
|
|
395
|
-
light: n
|
|
396
|
-
}
|
|
397
|
-
}), i = x(() => r.system.value);
|
|
398
|
-
return x({
|
|
399
|
-
get() {
|
|
400
|
-
return r.value === "dark";
|
|
401
|
-
},
|
|
402
|
-
set(e) {
|
|
403
|
-
let t = e ? "dark" : "light";
|
|
404
|
-
i.value === t ? r.value = "auto" : r.value = t;
|
|
405
|
-
}
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
function $(e, t, n = {}) {
|
|
409
|
-
let { window: r = P, ...i } = n, a, o = z(() => r && "ResizeObserver" in r), s = () => {
|
|
410
|
-
a && (a.disconnect(), a = void 0);
|
|
411
|
-
}, c = j(x(() => {
|
|
412
|
-
let t = k(e);
|
|
413
|
-
return Array.isArray(t) ? t.map((e) => F(e)) : [F(t)];
|
|
414
|
-
}), (e) => {
|
|
415
|
-
if (s(), o.value && r) {
|
|
416
|
-
a = new ResizeObserver(t);
|
|
417
|
-
for (let t of e) t && a.observe(t, i);
|
|
418
|
-
}
|
|
419
|
-
}, {
|
|
420
|
-
immediate: !0,
|
|
421
|
-
flush: "post"
|
|
422
|
-
}), l = () => {
|
|
423
|
-
s(), c();
|
|
424
|
-
};
|
|
425
|
-
return h(l), {
|
|
426
|
-
isSupported: o,
|
|
427
|
-
stop: l
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
function oe(e, t = {}) {
|
|
431
|
-
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = P } = t, o = O(!1), s, c = (e) => {
|
|
432
|
-
let t = e ? n : r;
|
|
433
|
-
s && (clearTimeout(s), s = void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
|
|
434
|
-
};
|
|
435
|
-
return a ? (I(e, "mouseenter", () => c(!0), { passive: !0 }), I(e, "mouseleave", () => c(!1), { passive: !0 }), i && V(x(() => F(e)), () => c(!1)), o) : o;
|
|
436
|
-
}
|
|
437
|
-
function se(e, t = {
|
|
438
|
-
width: 0,
|
|
439
|
-
height: 0
|
|
440
|
-
}, n = {}) {
|
|
441
|
-
let { window: r = P, box: i = "content-box" } = n, a = x(() => {
|
|
442
|
-
var t;
|
|
443
|
-
return (t = F(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
|
|
444
|
-
}), o = O(t.width), s = O(t.height), { stop: c } = $(e, ([t]) => {
|
|
445
|
-
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
446
|
-
if (r && a.value) {
|
|
447
|
-
let t = F(e);
|
|
448
|
-
if (t) {
|
|
449
|
-
let e = t.getBoundingClientRect();
|
|
450
|
-
o.value = e.width, s.value = e.height;
|
|
451
|
-
}
|
|
452
|
-
} else if (n) {
|
|
453
|
-
let e = f(n);
|
|
454
|
-
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
455
|
-
} else o.value = t.contentRect.width, s.value = t.contentRect.height;
|
|
456
|
-
}, n);
|
|
457
|
-
m(() => {
|
|
458
|
-
let n = F(e);
|
|
459
|
-
if (n && "offsetWidth" in n) if (i === "content-box" && r) {
|
|
460
|
-
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);
|
|
461
|
-
o.value = n.offsetWidth - t - a, s.value = n.offsetHeight - i - c;
|
|
462
|
-
} else o.value = n.offsetWidth, s.value = n.offsetHeight;
|
|
463
|
-
else n && (o.value = t.width, s.value = t.height);
|
|
464
|
-
});
|
|
465
|
-
let l = j(() => F(e), (e) => {
|
|
466
|
-
o.value = e ? t.width : 0, s.value = e ? t.height : 0;
|
|
467
|
-
});
|
|
468
|
-
function u() {
|
|
469
|
-
c(), l();
|
|
470
|
-
}
|
|
471
|
-
return {
|
|
472
|
-
width: o,
|
|
473
|
-
height: s,
|
|
474
|
-
stop: u
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
//#endregion
|
|
478
|
-
export { Y as StorageSerializers, e as bypassFilter, N as computedAsync, t as createFilterWrapper, X as customStorageEventName, n as debounceFilter, P 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, ee as onClickOutside, V as onElementRemoval, u as pausableFilter, d as pxValue, f as toArray, p as toRef, m as tryOnMounted, h as tryOnScopeDispose, F as unrefElement, Q as useColorMode, ae as useDark, g as useDebounceFn, oe as useElementHover, se as useElementSize, I as useEventListener, W as useMediaQuery, R as useMounted, B as useMutationObserver, J as usePreferredDark, $ as useResizeObserver, U as useSSRWidth, Z as useStorage, z as useSupported, _ as useToggle, v as watchImmediate, y as watchPausable, b as watchWithFilter };
|
|
@@ -1,136 +0,0 @@
|
|
|
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 };
|
|
@@ -1,90 +0,0 @@
|
|
|
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 };
|