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,322 +0,0 @@
|
|
|
1
|
-
import { createCoords as e, floor as t, max as n, min as r, rectToClientRect as i, round as a } from "../../../../../@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs";
|
|
2
|
-
import { arrow as o, computePosition as s, flip as c, inline as l, offset as u } from "../../../../../@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs";
|
|
3
|
-
import { getComputedStyle as d, getContainingBlock as f, getDocumentElement as p, getFrameElement as m, getNodeName as h, getNodeScroll as g, getOverflowAncestors as _, getParentNode as v, getWindow as y, isContainingBlock as b, isElement as x, isHTMLElement as S, isLastTraversableNode as C, isOverflowElement as w, isTableElement as T, isTopLayer as E, isWebKit as D } from "../../../../../@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs";
|
|
4
|
-
//#region node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
5
|
-
function O(e) {
|
|
6
|
-
let t = d(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = S(e), o = i ? e.offsetWidth : n, s = i ? e.offsetHeight : r, c = a(n) !== o || a(r) !== s;
|
|
7
|
-
return c && (n = o, r = s), {
|
|
8
|
-
width: n,
|
|
9
|
-
height: r,
|
|
10
|
-
$: c
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
function k(e) {
|
|
14
|
-
return x(e) ? e : e.contextElement;
|
|
15
|
-
}
|
|
16
|
-
function A(t) {
|
|
17
|
-
let n = k(t);
|
|
18
|
-
if (!S(n)) return e(1);
|
|
19
|
-
let r = n.getBoundingClientRect(), { width: i, height: o, $: s } = O(n), c = (s ? a(r.width) : r.width) / i, l = (s ? a(r.height) : r.height) / o;
|
|
20
|
-
return (!c || !Number.isFinite(c)) && (c = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
21
|
-
x: c,
|
|
22
|
-
y: l
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
var j = e(0);
|
|
26
|
-
function M(e) {
|
|
27
|
-
let t = y(e);
|
|
28
|
-
return !D() || !t.visualViewport ? j : {
|
|
29
|
-
x: t.visualViewport.offsetLeft,
|
|
30
|
-
y: t.visualViewport.offsetTop
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function N(e, t, n) {
|
|
34
|
-
return t === void 0 && (t = !1), !!n && t && n === y(e);
|
|
35
|
-
}
|
|
36
|
-
function P(t, n, r, a) {
|
|
37
|
-
n === void 0 && (n = !1), r === void 0 && (r = !1);
|
|
38
|
-
let o = t.getBoundingClientRect(), s = k(t), c = e(1);
|
|
39
|
-
n && (a ? x(a) && (c = A(a)) : c = A(t));
|
|
40
|
-
let l = N(s, r, a) ? M(s) : e(0), u = (o.left + l.x) / c.x, f = (o.top + l.y) / c.y, p = o.width / c.x, h = o.height / c.y;
|
|
41
|
-
if (s && a) {
|
|
42
|
-
let e = y(s), t = x(a) ? y(a) : a, n = e, r = m(n);
|
|
43
|
-
for (; r && t !== n;) {
|
|
44
|
-
let e = A(r), t = r.getBoundingClientRect(), i = d(r), a = t.left + (r.clientLeft + parseFloat(i.paddingLeft)) * e.x, o = t.top + (r.clientTop + parseFloat(i.paddingTop)) * e.y;
|
|
45
|
-
u *= e.x, f *= e.y, p *= e.x, h *= e.y, u += a, f += o, n = y(r), r = m(n);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return i({
|
|
49
|
-
width: p,
|
|
50
|
-
height: h,
|
|
51
|
-
x: u,
|
|
52
|
-
y: f
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function F(e, t) {
|
|
56
|
-
let n = g(e).scrollLeft;
|
|
57
|
-
return t ? t.left + n : P(p(e)).left + n;
|
|
58
|
-
}
|
|
59
|
-
function I(e, t) {
|
|
60
|
-
let n = e.getBoundingClientRect();
|
|
61
|
-
return {
|
|
62
|
-
x: n.left + t.scrollLeft - F(e, n),
|
|
63
|
-
y: n.top + t.scrollTop
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function L(t) {
|
|
67
|
-
let { elements: n, rect: r, offsetParent: i, strategy: a } = t, o = a === "fixed", s = p(i), c = n ? E(n.floating) : !1;
|
|
68
|
-
if (i === s || c && o) return r;
|
|
69
|
-
let l = {
|
|
70
|
-
scrollLeft: 0,
|
|
71
|
-
scrollTop: 0
|
|
72
|
-
}, u = e(1), d = e(0), f = S(i);
|
|
73
|
-
if ((f || !o) && ((h(i) !== "body" || w(s)) && (l = g(i)), f)) {
|
|
74
|
-
let e = P(i);
|
|
75
|
-
u = A(i), d.x = e.x + i.clientLeft, d.y = e.y + i.clientTop;
|
|
76
|
-
}
|
|
77
|
-
let m = s && !f && !o ? I(s, l) : e(0);
|
|
78
|
-
return {
|
|
79
|
-
width: r.width * u.x,
|
|
80
|
-
height: r.height * u.y,
|
|
81
|
-
x: r.x * u.x - l.scrollLeft * u.x + d.x + m.x,
|
|
82
|
-
y: r.y * u.y - l.scrollTop * u.y + d.y + m.y
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function R(e) {
|
|
86
|
-
return e.getClientRects ? Array.from(e.getClientRects()) : [];
|
|
87
|
-
}
|
|
88
|
-
function z(e) {
|
|
89
|
-
let t = g(e), r = e.ownerDocument.body, i = n(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), a = n(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight), o = -t.scrollLeft + F(e), s = -t.scrollTop;
|
|
90
|
-
return d(r).direction === "rtl" && (o += n(e.clientWidth, r.clientWidth) - i), {
|
|
91
|
-
width: i,
|
|
92
|
-
height: a,
|
|
93
|
-
x: o,
|
|
94
|
-
y: s
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
var B = 25;
|
|
98
|
-
function V(e, t, n) {
|
|
99
|
-
n === void 0 && (n = "viewport");
|
|
100
|
-
let r = n === "layoutViewport", i = y(e), a = p(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
|
|
101
|
-
if (o) {
|
|
102
|
-
let e = !D() || t === "fixed";
|
|
103
|
-
r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
|
|
104
|
-
}
|
|
105
|
-
if (F(a) <= 0) {
|
|
106
|
-
let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
|
|
107
|
-
o <= B && (s -= o);
|
|
108
|
-
}
|
|
109
|
-
return {
|
|
110
|
-
width: s,
|
|
111
|
-
height: c,
|
|
112
|
-
x: l,
|
|
113
|
-
y: u
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function H(e, t) {
|
|
117
|
-
let n = P(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = A(e);
|
|
118
|
-
return {
|
|
119
|
-
width: e.clientWidth * a.x,
|
|
120
|
-
height: e.clientHeight * a.y,
|
|
121
|
-
x: i * a.x,
|
|
122
|
-
y: r * a.y
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
function U(e, t, n) {
|
|
126
|
-
let r;
|
|
127
|
-
if (t === "viewport" || t === "layoutViewport") r = V(e, n, t);
|
|
128
|
-
else if (t === "document") r = z(p(e));
|
|
129
|
-
else if (x(t)) r = H(t, n);
|
|
130
|
-
else {
|
|
131
|
-
let n = M(e);
|
|
132
|
-
r = {
|
|
133
|
-
x: t.x - n.x,
|
|
134
|
-
y: t.y - n.y,
|
|
135
|
-
width: t.width,
|
|
136
|
-
height: t.height
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
return i(r);
|
|
140
|
-
}
|
|
141
|
-
function W(e, t) {
|
|
142
|
-
let n = t.get(e);
|
|
143
|
-
if (n) return n;
|
|
144
|
-
let r = _(e, [], !1).filter((e) => x(e) && h(e) !== "body"), i = null, a = d(e).position === "fixed", o = a ? v(e) : e;
|
|
145
|
-
for (; x(o) && !C(o);) {
|
|
146
|
-
let e = d(o), t = b(o), n = i ? i.position : a ? "fixed" : "";
|
|
147
|
-
!t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = v(o);
|
|
148
|
-
}
|
|
149
|
-
return t.set(e, r), r;
|
|
150
|
-
}
|
|
151
|
-
function G(e) {
|
|
152
|
-
let { element: t, boundary: i, rootBoundary: a, strategy: o } = e, s = [...i === "clippingAncestors" ? E(t) ? [] : W(t, this._c) : [].concat(i), a], c = U(t, s[0], o), l = c.top, u = c.right, d = c.bottom, f = c.left;
|
|
153
|
-
for (let e = 1; e < s.length; e++) {
|
|
154
|
-
let i = U(t, s[e], o);
|
|
155
|
-
l = n(i.top, l), u = r(i.right, u), d = r(i.bottom, d), f = n(i.left, f);
|
|
156
|
-
}
|
|
157
|
-
return {
|
|
158
|
-
width: u - f,
|
|
159
|
-
height: d - l,
|
|
160
|
-
x: f,
|
|
161
|
-
y: l
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
function K(e) {
|
|
165
|
-
let { width: t, height: n } = O(e);
|
|
166
|
-
return {
|
|
167
|
-
width: t,
|
|
168
|
-
height: n
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
function q(t, n, r) {
|
|
172
|
-
let i = S(n), a = p(n), o = r === "fixed", s = P(t, !0, o, n), c = {
|
|
173
|
-
scrollLeft: 0,
|
|
174
|
-
scrollTop: 0
|
|
175
|
-
}, l = e(0);
|
|
176
|
-
if ((i || !o) && ((h(n) !== "body" || w(a)) && (c = g(n)), i)) {
|
|
177
|
-
let e = P(n, !0, o, n);
|
|
178
|
-
l.x = e.x + n.clientLeft, l.y = e.y + n.clientTop;
|
|
179
|
-
}
|
|
180
|
-
!i && a && (l.x = F(a));
|
|
181
|
-
let u = a && !i && !o ? I(a, c) : e(0);
|
|
182
|
-
return {
|
|
183
|
-
x: s.left + c.scrollLeft - l.x - u.x,
|
|
184
|
-
y: s.top + c.scrollTop - l.y - u.y,
|
|
185
|
-
width: s.width,
|
|
186
|
-
height: s.height
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
function J(e) {
|
|
190
|
-
return d(e).position === "static";
|
|
191
|
-
}
|
|
192
|
-
function Y(e, t) {
|
|
193
|
-
if (!S(e) || d(e).position === "fixed") return null;
|
|
194
|
-
if (t) return t(e);
|
|
195
|
-
let n = e.offsetParent;
|
|
196
|
-
return p(e) === n && (n = n.ownerDocument.body), n;
|
|
197
|
-
}
|
|
198
|
-
function X(e, t) {
|
|
199
|
-
let n = y(e);
|
|
200
|
-
if (E(e)) return n;
|
|
201
|
-
if (!S(e)) {
|
|
202
|
-
let t = v(e);
|
|
203
|
-
for (; t && !C(t);) {
|
|
204
|
-
if (x(t) && !J(t)) return t;
|
|
205
|
-
t = v(t);
|
|
206
|
-
}
|
|
207
|
-
return n;
|
|
208
|
-
}
|
|
209
|
-
let r = Y(e, t);
|
|
210
|
-
for (; r && T(r) && J(r);) r = Y(r, t);
|
|
211
|
-
return r && C(r) && J(r) && !b(r) ? n : r || f(e) || n;
|
|
212
|
-
}
|
|
213
|
-
var Z = async function(e) {
|
|
214
|
-
let t = this.getOffsetParent || X, n = this.getDimensions, r = await n(e.floating);
|
|
215
|
-
return {
|
|
216
|
-
reference: q(e.reference, await t(e.floating), e.strategy),
|
|
217
|
-
floating: {
|
|
218
|
-
x: 0,
|
|
219
|
-
y: 0,
|
|
220
|
-
width: r.width,
|
|
221
|
-
height: r.height
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
function ee(e) {
|
|
226
|
-
return d(e).direction === "rtl";
|
|
227
|
-
}
|
|
228
|
-
var Q = {
|
|
229
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: L,
|
|
230
|
-
getDocumentElement: p,
|
|
231
|
-
getClippingRect: G,
|
|
232
|
-
getOffsetParent: X,
|
|
233
|
-
getElementRects: Z,
|
|
234
|
-
getClientRects: R,
|
|
235
|
-
getDimensions: K,
|
|
236
|
-
getScale: A,
|
|
237
|
-
isElement: x,
|
|
238
|
-
isRTL: ee
|
|
239
|
-
};
|
|
240
|
-
function $(e, t) {
|
|
241
|
-
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
242
|
-
}
|
|
243
|
-
function te(e, i, a) {
|
|
244
|
-
let o = null, s, c = p(e);
|
|
245
|
-
function l() {
|
|
246
|
-
var e;
|
|
247
|
-
clearTimeout(s), (e = o) == null || e.disconnect(), o = null;
|
|
248
|
-
}
|
|
249
|
-
function u(a, d) {
|
|
250
|
-
a === void 0 && (a = !1), d === void 0 && (d = 1), l();
|
|
251
|
-
let f = e.getBoundingClientRect(), { left: p, top: m, width: h, height: g } = f;
|
|
252
|
-
if (a || i(), !h || !g) return;
|
|
253
|
-
let _ = t(m), v = t(c.clientWidth - (p + h)), y = t(c.clientHeight - (m + g)), b = t(p), x = {
|
|
254
|
-
rootMargin: -_ + "px " + -v + "px " + -y + "px " + -b + "px",
|
|
255
|
-
threshold: n(0, r(1, d)) || 1
|
|
256
|
-
}, S = !0;
|
|
257
|
-
function C(t) {
|
|
258
|
-
let n = t[0].intersectionRatio;
|
|
259
|
-
if (!$(f, e.getBoundingClientRect())) return u();
|
|
260
|
-
if (n !== d) {
|
|
261
|
-
if (!S) return u();
|
|
262
|
-
n ? u(!1, n) : s = setTimeout(() => {
|
|
263
|
-
u(!1, 1e-7);
|
|
264
|
-
}, 1e3);
|
|
265
|
-
}
|
|
266
|
-
S = !1;
|
|
267
|
-
}
|
|
268
|
-
try {
|
|
269
|
-
o = new IntersectionObserver(C, {
|
|
270
|
-
...x,
|
|
271
|
-
root: c.ownerDocument
|
|
272
|
-
});
|
|
273
|
-
} catch {
|
|
274
|
-
o = new IntersectionObserver(C, x);
|
|
275
|
-
}
|
|
276
|
-
o.observe(e);
|
|
277
|
-
}
|
|
278
|
-
let d = y(e), f = () => u(a);
|
|
279
|
-
return d.addEventListener("resize", f), u(!0), () => {
|
|
280
|
-
d.removeEventListener("resize", f), l();
|
|
281
|
-
};
|
|
282
|
-
}
|
|
283
|
-
function ne(e, t, n, r) {
|
|
284
|
-
r === void 0 && (r = {});
|
|
285
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = k(e), u = i || a ? [...l ? _(l) : [], ...t ? _(t) : []] : [];
|
|
286
|
-
u.forEach((e) => {
|
|
287
|
-
i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
|
|
288
|
-
});
|
|
289
|
-
let d = l && s ? te(l, n, a) : null, f = -1, p = null;
|
|
290
|
-
o && (p = new ResizeObserver((e) => {
|
|
291
|
-
let [r] = e;
|
|
292
|
-
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
293
|
-
var e;
|
|
294
|
-
(e = p) == null || e.observe(t);
|
|
295
|
-
})), n();
|
|
296
|
-
}), l && !c && p.observe(l), t && p.observe(t));
|
|
297
|
-
let m, h = c ? P(e) : null;
|
|
298
|
-
c && g();
|
|
299
|
-
function g() {
|
|
300
|
-
let t = P(e);
|
|
301
|
-
h && !$(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
302
|
-
}
|
|
303
|
-
return n(), () => {
|
|
304
|
-
var e;
|
|
305
|
-
u.forEach((e) => {
|
|
306
|
-
i && e.removeEventListener("scroll", n), a && e.removeEventListener("resize", n);
|
|
307
|
-
}), d == null || d(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
var re = u, ie = c, ae = o, oe = l, se = (e, t, n) => {
|
|
311
|
-
let r = new Map(), i = n == null ? {} : n, a = {
|
|
312
|
-
...Q,
|
|
313
|
-
...i.platform,
|
|
314
|
-
_c: r
|
|
315
|
-
};
|
|
316
|
-
return s(e, t, {
|
|
317
|
-
...i,
|
|
318
|
-
platform: a
|
|
319
|
-
});
|
|
320
|
-
};
|
|
321
|
-
//#endregion
|
|
322
|
-
export { ae as arrow, ne as autoUpdate, se as computePosition, ie as flip, oe as inline, re as offset, Q as platform };
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
2
|
-
function e() {
|
|
3
|
-
return typeof window < "u";
|
|
4
|
-
}
|
|
5
|
-
function t(e) {
|
|
6
|
-
return i(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
7
|
-
}
|
|
8
|
-
function n(e) {
|
|
9
|
-
var t;
|
|
10
|
-
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
11
|
-
}
|
|
12
|
-
function r(e) {
|
|
13
|
-
var t;
|
|
14
|
-
return (t = (i(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
15
|
-
}
|
|
16
|
-
function i(t) {
|
|
17
|
-
return e() ? t instanceof Node || t instanceof n(t).Node : !1;
|
|
18
|
-
}
|
|
19
|
-
function a(t) {
|
|
20
|
-
return e() ? t instanceof Element || t instanceof n(t).Element : !1;
|
|
21
|
-
}
|
|
22
|
-
function o(t) {
|
|
23
|
-
return e() ? t instanceof HTMLElement || t instanceof n(t).HTMLElement : !1;
|
|
24
|
-
}
|
|
25
|
-
function s(t) {
|
|
26
|
-
return !e() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof n(t).ShadowRoot;
|
|
27
|
-
}
|
|
28
|
-
function c(e) {
|
|
29
|
-
let { overflow: t, overflowX: n, overflowY: r, display: i } = y(e);
|
|
30
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
31
|
-
}
|
|
32
|
-
function l(e) {
|
|
33
|
-
return /^(table|td|th)$/.test(t(e));
|
|
34
|
-
}
|
|
35
|
-
function u(e) {
|
|
36
|
-
try {
|
|
37
|
-
if (e.matches(":popover-open")) return !0;
|
|
38
|
-
} catch {}
|
|
39
|
-
try {
|
|
40
|
-
return e.matches(":modal");
|
|
41
|
-
} catch {
|
|
42
|
-
return !1;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
var d = /transform|translate|scale|rotate|perspective|filter/, f = /paint|layout|strict|content/, p = (e) => !!e && e !== "none", m;
|
|
46
|
-
function h(e) {
|
|
47
|
-
let t = a(e) ? y(e) : e;
|
|
48
|
-
return p(t.transform) || p(t.translate) || p(t.scale) || p(t.rotate) || p(t.perspective) || !_() && (p(t.backdropFilter) || p(t.filter)) || d.test(t.willChange || "") || f.test(t.contain || "");
|
|
49
|
-
}
|
|
50
|
-
function g(e) {
|
|
51
|
-
let t = x(e);
|
|
52
|
-
for (; o(t) && !v(t);) {
|
|
53
|
-
if (h(t)) return t;
|
|
54
|
-
if (u(t)) return null;
|
|
55
|
-
t = x(t);
|
|
56
|
-
}
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
function _() {
|
|
60
|
-
return m == null && (m = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), m;
|
|
61
|
-
}
|
|
62
|
-
function v(e) {
|
|
63
|
-
return /^(html|body|#document)$/.test(t(e));
|
|
64
|
-
}
|
|
65
|
-
function y(e) {
|
|
66
|
-
return n(e).getComputedStyle(e);
|
|
67
|
-
}
|
|
68
|
-
function b(e) {
|
|
69
|
-
return a(e) ? {
|
|
70
|
-
scrollLeft: e.scrollLeft,
|
|
71
|
-
scrollTop: e.scrollTop
|
|
72
|
-
} : {
|
|
73
|
-
scrollLeft: e.scrollX,
|
|
74
|
-
scrollTop: e.scrollY
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function x(e) {
|
|
78
|
-
if (t(e) === "html") return e;
|
|
79
|
-
let n = e.assignedSlot || e.parentNode || s(e) && e.host || r(e);
|
|
80
|
-
return s(n) ? n.host : n;
|
|
81
|
-
}
|
|
82
|
-
function S(e) {
|
|
83
|
-
let t = x(e);
|
|
84
|
-
return v(t) ? (e.ownerDocument || e).body : o(t) && c(t) ? t : S(t);
|
|
85
|
-
}
|
|
86
|
-
function C(e, t, r) {
|
|
87
|
-
var i;
|
|
88
|
-
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
89
|
-
let a = S(e), o = a === ((i = e.ownerDocument) == null ? void 0 : i.body), s = n(a);
|
|
90
|
-
if (o) {
|
|
91
|
-
let e = w(s);
|
|
92
|
-
return t.concat(s, s.visualViewport || [], c(a) ? a : [], e && r ? C(e) : []);
|
|
93
|
-
} else return t.concat(a, C(a, [], r));
|
|
94
|
-
}
|
|
95
|
-
function w(e) {
|
|
96
|
-
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
export { y as getComputedStyle, g as getContainingBlock, r as getDocumentElement, w as getFrameElement, S as getNearestOverflowAncestor, t as getNodeName, b as getNodeScroll, C as getOverflowAncestors, x as getParentNode, n as getWindow, h as isContainingBlock, a as isElement, o as isHTMLElement, v as isLastTraversableNode, i as isNode, c as isOverflowElement, s as isShadowRoot, l as isTableElement, u as isTopLayer, _ as isWebKit };
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
2
|
-
var e = Math.min, t = Math.max, n = Math.round, r = Math.floor, i = (e) => ({
|
|
3
|
-
x: e,
|
|
4
|
-
y: e
|
|
5
|
-
}), a = {
|
|
6
|
-
left: "right",
|
|
7
|
-
right: "left",
|
|
8
|
-
bottom: "top",
|
|
9
|
-
top: "bottom"
|
|
10
|
-
};
|
|
11
|
-
function o(n, r, i) {
|
|
12
|
-
return t(n, e(r, i));
|
|
13
|
-
}
|
|
14
|
-
function s(e, t) {
|
|
15
|
-
return typeof e == "function" ? e(t) : e;
|
|
16
|
-
}
|
|
17
|
-
function c(e) {
|
|
18
|
-
return e.split("-")[0];
|
|
19
|
-
}
|
|
20
|
-
function l(e) {
|
|
21
|
-
return e.split("-")[1];
|
|
22
|
-
}
|
|
23
|
-
function u(e) {
|
|
24
|
-
return e === "x" ? "y" : "x";
|
|
25
|
-
}
|
|
26
|
-
function d(e) {
|
|
27
|
-
return e === "y" ? "height" : "width";
|
|
28
|
-
}
|
|
29
|
-
function f(e) {
|
|
30
|
-
let t = e[0];
|
|
31
|
-
return t === "t" || t === "b" ? "y" : "x";
|
|
32
|
-
}
|
|
33
|
-
function p(e) {
|
|
34
|
-
return u(f(e));
|
|
35
|
-
}
|
|
36
|
-
function m(e, t, n) {
|
|
37
|
-
n === void 0 && (n = !1);
|
|
38
|
-
let r = l(e), i = p(e), a = d(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
39
|
-
return t.reference[a] > t.floating[a] && (o = C(o)), [o, C(o)];
|
|
40
|
-
}
|
|
41
|
-
function h(e) {
|
|
42
|
-
let t = C(e);
|
|
43
|
-
return [
|
|
44
|
-
g(e),
|
|
45
|
-
t,
|
|
46
|
-
g(t)
|
|
47
|
-
];
|
|
48
|
-
}
|
|
49
|
-
function g(e) {
|
|
50
|
-
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
51
|
-
}
|
|
52
|
-
var _ = ["left", "right"], v = ["right", "left"], y = ["top", "bottom"], b = ["bottom", "top"];
|
|
53
|
-
function x(e, t, n) {
|
|
54
|
-
switch (e) {
|
|
55
|
-
case "top":
|
|
56
|
-
case "bottom": return n ? t ? v : _ : t ? _ : v;
|
|
57
|
-
case "left":
|
|
58
|
-
case "right": return t ? y : b;
|
|
59
|
-
default: return [];
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function S(e, t, n, r) {
|
|
63
|
-
let i = l(e), a = x(c(e), n === "start", r);
|
|
64
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(g)))), a;
|
|
65
|
-
}
|
|
66
|
-
function C(e) {
|
|
67
|
-
let t = c(e);
|
|
68
|
-
return a[t] + e.slice(t.length);
|
|
69
|
-
}
|
|
70
|
-
function w(e) {
|
|
71
|
-
var t, n, r, i;
|
|
72
|
-
return {
|
|
73
|
-
top: (t = e.top) == null ? 0 : t,
|
|
74
|
-
right: (n = e.right) == null ? 0 : n,
|
|
75
|
-
bottom: (r = e.bottom) == null ? 0 : r,
|
|
76
|
-
left: (i = e.left) == null ? 0 : i
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
function T(e) {
|
|
80
|
-
return typeof e == "number" ? {
|
|
81
|
-
top: e,
|
|
82
|
-
right: e,
|
|
83
|
-
bottom: e,
|
|
84
|
-
left: e
|
|
85
|
-
} : w(e);
|
|
86
|
-
}
|
|
87
|
-
function E(e) {
|
|
88
|
-
let { x: t, y: n, width: r, height: i } = e;
|
|
89
|
-
return {
|
|
90
|
-
width: r,
|
|
91
|
-
height: i,
|
|
92
|
-
top: n,
|
|
93
|
-
left: t,
|
|
94
|
-
right: t + r,
|
|
95
|
-
bottom: n + i,
|
|
96
|
-
x: t,
|
|
97
|
-
y: n
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
//#endregion
|
|
101
|
-
export { o as clamp, i as createCoords, s as evaluate, w as expandPaddingObject, r as floor, l as getAlignment, p as getAlignmentAxis, m as getAlignmentSides, d as getAxisLength, h as getExpandedPlacements, g as getOppositeAlignmentPlacement, u as getOppositeAxis, S as getOppositeAxisPlacements, C as getOppositePlacement, T as getPaddingObject, c as getSide, f as getSideAxis, t as max, e as min, E as rectToClientRect, n as round };
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { getNodeName as e, isNode as t } from "../../../../../@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs";
|
|
2
|
-
import { arrow as n, autoUpdate as r, computePosition as i, flip as a, inline as o, offset as s } from "../../../../../@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs";
|
|
3
|
-
import { computed as c, getCurrentScope as l, onScopeDispose as u, ref as d, shallowReadonly as f, shallowRef as p, toValue as m, watch as h } from "vue";
|
|
4
|
-
//#region 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
|
|
5
|
-
function g(e) {
|
|
6
|
-
return typeof e == "object" && !!e && "$el" in e;
|
|
7
|
-
}
|
|
8
|
-
function _(n) {
|
|
9
|
-
if (g(n)) {
|
|
10
|
-
let r = n.$el;
|
|
11
|
-
return t(r) && e(r) === "#comment" ? null : r;
|
|
12
|
-
}
|
|
13
|
-
return n;
|
|
14
|
-
}
|
|
15
|
-
function v(e) {
|
|
16
|
-
return {
|
|
17
|
-
name: "arrow",
|
|
18
|
-
options: e,
|
|
19
|
-
fn(t) {
|
|
20
|
-
let r = _(m(e.element));
|
|
21
|
-
return r == null ? {} : n({
|
|
22
|
-
element: r,
|
|
23
|
-
padding: e.padding
|
|
24
|
-
}).fn(t);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
function y(e) {
|
|
29
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
30
|
-
}
|
|
31
|
-
function b(e, t) {
|
|
32
|
-
let n = y(e);
|
|
33
|
-
return Math.round(t * n) / n;
|
|
34
|
-
}
|
|
35
|
-
function x(e, t, n) {
|
|
36
|
-
n === void 0 && (n = {});
|
|
37
|
-
let r = n.whileElementsMounted, a = c(() => {
|
|
38
|
-
var e;
|
|
39
|
-
return (e = m(n.open)) == null || e;
|
|
40
|
-
}), o = c(() => m(n.middleware)), s = c(() => {
|
|
41
|
-
var e;
|
|
42
|
-
return (e = m(n.placement)) == null ? "bottom" : e;
|
|
43
|
-
}), g = c(() => {
|
|
44
|
-
var e;
|
|
45
|
-
return (e = m(n.strategy)) == null ? "absolute" : e;
|
|
46
|
-
}), v = c(() => {
|
|
47
|
-
var e;
|
|
48
|
-
return (e = m(n.transform)) == null || e;
|
|
49
|
-
}), x = c(() => _(e.value)), S = c(() => _(t.value)), C = d(0), w = d(0), T = d(g.value), E = d(s.value), D = p({}), O = d(!1), k = c(() => {
|
|
50
|
-
let e = {
|
|
51
|
-
position: T.value,
|
|
52
|
-
left: "0",
|
|
53
|
-
top: "0"
|
|
54
|
-
};
|
|
55
|
-
if (!S.value) return e;
|
|
56
|
-
let t = b(S.value, C.value), n = b(S.value, w.value);
|
|
57
|
-
return v.value ? {
|
|
58
|
-
...e,
|
|
59
|
-
transform: "translate(" + t + "px, " + n + "px)",
|
|
60
|
-
...y(S.value) >= 1.5 && { willChange: "transform" }
|
|
61
|
-
} : {
|
|
62
|
-
position: T.value,
|
|
63
|
-
left: t + "px",
|
|
64
|
-
top: n + "px"
|
|
65
|
-
};
|
|
66
|
-
}), A;
|
|
67
|
-
function j() {
|
|
68
|
-
if (x.value == null || S.value == null) return;
|
|
69
|
-
let e = a.value;
|
|
70
|
-
i(x.value, S.value, {
|
|
71
|
-
middleware: o.value,
|
|
72
|
-
placement: s.value,
|
|
73
|
-
strategy: g.value
|
|
74
|
-
}).then((t) => {
|
|
75
|
-
C.value = t.x, w.value = t.y, T.value = t.strategy, E.value = t.placement, D.value = t.middlewareData, O.value = e !== !1;
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
function M() {
|
|
79
|
-
typeof A == "function" && (A(), A = void 0);
|
|
80
|
-
}
|
|
81
|
-
function N() {
|
|
82
|
-
if (M(), r === void 0) {
|
|
83
|
-
j();
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
if (x.value != null && S.value != null) {
|
|
87
|
-
A = r(x.value, S.value, j);
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
function P() {
|
|
92
|
-
a.value || (O.value = !1);
|
|
93
|
-
}
|
|
94
|
-
return h([
|
|
95
|
-
o,
|
|
96
|
-
s,
|
|
97
|
-
g,
|
|
98
|
-
a
|
|
99
|
-
], j, { flush: "sync" }), h([x, S], N, { flush: "sync" }), h(a, P, { flush: "sync" }), l() && u(M), {
|
|
100
|
-
x: f(C),
|
|
101
|
-
y: f(w),
|
|
102
|
-
strategy: f(T),
|
|
103
|
-
placement: f(E),
|
|
104
|
-
middlewareData: f(D),
|
|
105
|
-
isPositioned: f(O),
|
|
106
|
-
floatingStyles: k,
|
|
107
|
-
update: j
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
//#endregion
|
|
111
|
-
export { v as arrow, r as autoUpdate, a as flip, o as inline, s as offset, x as useFloating };
|