exploria-ui 2026.8.28 → 2026.10.2
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/dist/components/data/ECarousel/ECarousel.vue.d.ts +2 -2
- package/dist/components/data/EMediaViewer/EMediaViewer.d.ts +6 -1
- package/dist/components/feedback/EDialog/EDialog.vue.d.ts +17 -5
- package/dist/components/feedback/EDrawer/EDrawer.vue.d.ts +5 -0
- package/dist/components/feedback/EMessage/EMessage.d.ts +20 -7
- package/dist/components/feedback/EMessageBox/EMessageBox.d.ts +48 -15
- package/dist/components/feedback/EMessageBox/EMessageBox.vue.d.ts +10 -1
- package/dist/components/feedback/ENotification/ENotification.d.ts +5 -3
- package/dist/components/feedback/EPopover.vue.d.ts +5 -0
- package/dist/components/hooks/useContainer.d.ts +104 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +58 -54
- package/dist/components/navigation/ETabs/ETabs.vue.d.ts +4 -0
- package/dist/index.css +1 -1
- package/dist/node_modules/.pnpm/{@intlify_core-base@11.4.9 → @intlify_core-base@11.4.10}/node_modules/@intlify/core-base/dist/core-base.js +226 -226
- package/dist/node_modules/.pnpm/{@intlify_message-compiler@11.4.9 → @intlify_message-compiler@11.4.10}/node_modules/@intlify/message-compiler/dist/message-compiler.js +2 -2
- package/dist/node_modules/.pnpm/{@intlify_shared@11.4.9 → @intlify_shared@11.4.10}/node_modules/@intlify/shared/dist/shared.js +38 -34
- package/dist/node_modules/.pnpm/{vue-i18n@11.4.9_vue@3.5.41_typescript@5.9.3_ → vue-i18n@11.4.10_vue@3.5.41_typescript@5.9.3_}/node_modules/vue-i18n/dist/vue-i18n.js +137 -137
- package/dist/package.json.js +86 -0
- package/dist/src/components/data/EMediaViewer/EMediaViewer.js +36 -33
- package/dist/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
- package/dist/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/data/ESteps/EStepItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/src/components/feedback/EDialog/EDialog.vue.js +1 -1
- package/dist/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +89 -61
- package/dist/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
- package/dist/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +77 -49
- package/dist/src/components/feedback/EMessage/EMessage.js +76 -64
- package/dist/src/components/feedback/EMessageBox/EMessageBox.js +54 -35
- package/dist/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
- package/dist/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +34 -29
- package/dist/src/components/feedback/ENotification/ENotification.js +80 -82
- package/dist/src/components/feedback/EPopover.vue.js +1 -1
- package/dist/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +56 -47
- package/dist/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
- package/dist/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/src/components/form/EForm/EFormItem.vue.js +1 -1
- package/dist/src/components/form/ESelect/ESelect.vue.js +1 -1
- package/dist/src/components/form/ESlider.vue.js +1 -1
- package/dist/src/components/form/ETimePicker.vue.js +1 -1
- package/dist/src/components/hooks/useContainer.js +129 -0
- package/dist/src/components/layout/EScrollbar.vue.js +1 -1
- package/dist/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +30 -19
- package/dist/src/components/navigation/ETabs/ETabPane.vue.js +1 -1
- package/dist/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +8 -7
- package/dist/src/components/navigation/ETabs/ETabs.vue.js +1 -1
- package/dist/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +64 -58
- package/package.json +3 -3
|
@@ -1,99 +1,97 @@
|
|
|
1
1
|
import { nextZIndex as e } from "../../hooks/useZIndex.js";
|
|
2
|
-
import t from "
|
|
3
|
-
import
|
|
2
|
+
import { createContainerContext as t } from "../../hooks/useContainer.js";
|
|
3
|
+
import n from "./ENotification.vue.js";
|
|
4
|
+
import { createApp as r } from "vue";
|
|
4
5
|
//#region src/components/feedback/ENotification/ENotification.ts
|
|
5
|
-
var
|
|
6
|
-
"top-start": {
|
|
7
|
-
left: `${a}px`,
|
|
8
|
-
top: `${a}px`
|
|
9
|
-
},
|
|
10
|
-
"top-end": {
|
|
11
|
-
right: `${a}px`,
|
|
12
|
-
top: `${a}px`
|
|
13
|
-
},
|
|
14
|
-
"bottom-start": {
|
|
15
|
-
left: `${a}px`,
|
|
16
|
-
bottom: `${a}px`
|
|
17
|
-
},
|
|
18
|
-
"bottom-end": {
|
|
19
|
-
right: `${a}px`,
|
|
20
|
-
bottom: `${a}px`
|
|
21
|
-
}
|
|
22
|
-
}, s = {
|
|
6
|
+
var i = new Map(), a = 15, o = 15, s = {
|
|
23
7
|
"top-start": "translateX(-100%)",
|
|
24
8
|
"top-end": "translateX(100%)",
|
|
25
9
|
"bottom-start": "translateX(-100%)",
|
|
26
10
|
"bottom-end": "translateX(100%)"
|
|
27
|
-
}, c = new Set(["bottom-start", "bottom-end"]), l = "cubic-bezier(0.4, 0, 0.2, 1)", u = 300, d =
|
|
28
|
-
|
|
29
|
-
|
|
11
|
+
}, c = new Set(["bottom-start", "bottom-end"]), l = "cubic-bezier(0.4, 0, 0.2, 1)", u = 300, d = (e) => {
|
|
12
|
+
let t = i.get(e.container);
|
|
13
|
+
if (t) return t;
|
|
14
|
+
let n = {
|
|
15
|
+
context: e,
|
|
16
|
+
lists: new Map(),
|
|
17
|
+
dispose: () => {}
|
|
18
|
+
};
|
|
19
|
+
return n.dispose = e.observe(() => m(n)), i.set(e.container, n), n;
|
|
20
|
+
}, f = (e, t) => (e.lists.has(t) || e.lists.set(t, []), e.lists.get(t)), p = (e, t, n, r) => {
|
|
21
|
+
let i = t.endsWith("end") ? r.left + r.width - o - n.offsetWidth : r.left + o;
|
|
22
|
+
return e.context.toLocal(i, 0).left;
|
|
23
|
+
}, m = (e, t) => {
|
|
24
|
+
let { context: n } = e, r = n.getBox(), i = t ? [t] : Array.from(e.lists.keys());
|
|
25
|
+
for (let t of i) {
|
|
26
|
+
let i = f(e, t), s = c.has(t), l = o;
|
|
27
|
+
for (let o of i) {
|
|
28
|
+
let i = s ? r.top + r.height - l - o.offsetHeight : r.top + l;
|
|
29
|
+
o.style.top = `${n.toLocal(0, i).top}px`, o.style.left = `${p(e, t, o, r)}px`, l += o.offsetHeight + a;
|
|
30
|
+
}
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
}, h = (e, t, n) => {
|
|
33
|
+
let r = f(e, t), i = c.has(t), a = new Map();
|
|
34
|
+
for (let e of r) {
|
|
35
|
+
if (e === n) continue;
|
|
36
|
+
let t = e.getBoundingClientRect();
|
|
37
|
+
a.set(e, i ? t.bottom : t.top);
|
|
34
38
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
let n = i.get(e);
|
|
46
|
-
if (n === void 0) continue;
|
|
47
|
-
let a = e.getBoundingClientRect(), o = (r ? a.bottom : a.top) - n;
|
|
48
|
-
o !== 0 && e.animate([{ transform: `translateY(${-o}px)` }, { transform: "translateY(0)" }], {
|
|
49
|
-
duration: u,
|
|
50
|
-
easing: l
|
|
51
|
-
});
|
|
52
|
-
}
|
|
39
|
+
m(e, t);
|
|
40
|
+
for (let e of r) {
|
|
41
|
+
if (e === n) continue;
|
|
42
|
+
let t = a.get(e);
|
|
43
|
+
if (t === void 0) continue;
|
|
44
|
+
let r = e.getBoundingClientRect(), o = (i ? r.bottom : r.top) - t;
|
|
45
|
+
o !== 0 && e.animate([{ transform: `translateY(${-o}px)` }, { transform: "translateY(0)" }], {
|
|
46
|
+
duration: u,
|
|
47
|
+
easing: l
|
|
48
|
+
});
|
|
53
49
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
let v =
|
|
60
|
-
|
|
61
|
-
let
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
50
|
+
}, g = (e) => {
|
|
51
|
+
for (let t of e.lists.values()) if (t.length > 0) return;
|
|
52
|
+
e.dispose(), i.delete(e.context.container);
|
|
53
|
+
}, _ = class {
|
|
54
|
+
static show(i) {
|
|
55
|
+
let { title: a, message: o, type: p = "info", duration: _ = 3, placement: v = "top-end", showClose: y = !0, onClick: b, mountPoint: x } = typeof i == "string" ? { message: i } : i, S = t(x), C = d(S), w = document.createElement("div");
|
|
56
|
+
w.style.position = S.positionMode, w.style.zIndex = String(e());
|
|
57
|
+
let T = s[v];
|
|
58
|
+
S.container.append(w);
|
|
59
|
+
let E = r(n, {
|
|
60
|
+
title: a,
|
|
61
|
+
message: o,
|
|
62
|
+
type: p,
|
|
63
|
+
showClose: y,
|
|
64
|
+
duration: _,
|
|
65
|
+
onClick: b,
|
|
66
|
+
onClose: () => A()
|
|
69
67
|
});
|
|
70
|
-
|
|
71
|
-
let
|
|
72
|
-
for (let e of
|
|
68
|
+
E.mount(w);
|
|
69
|
+
let D = f(C, v), O = c.has(v), k = new Map();
|
|
70
|
+
for (let e of D) {
|
|
73
71
|
let t = e.getBoundingClientRect();
|
|
74
|
-
|
|
72
|
+
k.set(e, O ? t.bottom : t.top);
|
|
75
73
|
}
|
|
76
|
-
|
|
77
|
-
for (let e of
|
|
78
|
-
if (e ===
|
|
79
|
-
let t =
|
|
74
|
+
D.unshift(w), m(C, v);
|
|
75
|
+
for (let e of D) {
|
|
76
|
+
if (e === w) continue;
|
|
77
|
+
let t = k.get(e);
|
|
80
78
|
if (t === void 0) continue;
|
|
81
|
-
let n = e.getBoundingClientRect(), r = (
|
|
79
|
+
let n = e.getBoundingClientRect(), r = (O ? n.bottom : n.top) - t;
|
|
82
80
|
r !== 0 && e.animate([{ transform: `translateY(${-r}px)` }, { transform: "translateY(0)" }], {
|
|
83
81
|
duration: u,
|
|
84
82
|
easing: l
|
|
85
83
|
});
|
|
86
84
|
}
|
|
87
|
-
|
|
85
|
+
w.animate([
|
|
88
86
|
{
|
|
89
87
|
opacity: 0,
|
|
90
|
-
transform:
|
|
88
|
+
transform: T,
|
|
91
89
|
offset: 0,
|
|
92
90
|
easing: "linear"
|
|
93
91
|
},
|
|
94
92
|
{
|
|
95
93
|
opacity: 1,
|
|
96
|
-
transform:
|
|
94
|
+
transform: T,
|
|
97
95
|
offset: .15,
|
|
98
96
|
easing: "linear"
|
|
99
97
|
},
|
|
@@ -103,10 +101,10 @@ var r = new Map(), i = 15, a = 15, o = {
|
|
|
103
101
|
offset: 1
|
|
104
102
|
}
|
|
105
103
|
], { duration: u });
|
|
106
|
-
let
|
|
107
|
-
let e =
|
|
108
|
-
e > -1 && (
|
|
109
|
-
let t =
|
|
104
|
+
let A = () => {
|
|
105
|
+
let e = D.indexOf(w);
|
|
106
|
+
e > -1 && (D.splice(e, 1), h(C, v), g(C));
|
|
107
|
+
let t = w.animate([
|
|
110
108
|
{
|
|
111
109
|
opacity: 1,
|
|
112
110
|
transform: "translateX(0)",
|
|
@@ -115,22 +113,22 @@ var r = new Map(), i = 15, a = 15, o = {
|
|
|
115
113
|
},
|
|
116
114
|
{
|
|
117
115
|
opacity: 1,
|
|
118
|
-
transform:
|
|
116
|
+
transform: T,
|
|
119
117
|
offset: .85,
|
|
120
118
|
easing: "linear"
|
|
121
119
|
},
|
|
122
120
|
{
|
|
123
121
|
opacity: 0,
|
|
124
|
-
transform:
|
|
122
|
+
transform: T,
|
|
125
123
|
offset: 1
|
|
126
124
|
}
|
|
127
125
|
], { duration: u });
|
|
128
126
|
t.onfinish = () => {
|
|
129
|
-
|
|
127
|
+
E.unmount(), w.remove();
|
|
130
128
|
};
|
|
131
|
-
},
|
|
132
|
-
return
|
|
133
|
-
|
|
129
|
+
}, j = null;
|
|
130
|
+
return _ > 0 && (j = window.setTimeout(A, _ * 1e3)), { close: () => {
|
|
131
|
+
j &&= (clearTimeout(j), null), A();
|
|
134
132
|
} };
|
|
135
133
|
}
|
|
136
134
|
static success(e) {
|
|
@@ -163,4 +161,4 @@ var r = new Map(), i = 15, a = 15, o = {
|
|
|
163
161
|
}
|
|
164
162
|
};
|
|
165
163
|
//#endregion
|
|
166
|
-
export {
|
|
164
|
+
export { _ as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EPopover.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/feedback/EPopover.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-c2a86f44"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import e from "../../utils/EUUIDUtil.js";
|
|
2
2
|
import { usePosition as t } from "../hooks/usePosition.js";
|
|
3
3
|
import { useZIndex as n } from "../hooks/useZIndex.js";
|
|
4
|
-
import { Teleport as r, Transition as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onMounted as h,
|
|
4
|
+
import { Teleport as r, Transition as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onMounted as h, onUnmounted as g, openBlock as _, ref as v, renderSlot as y, unref as b, useTemplateRef as x, withCtx as S } from "vue";
|
|
5
5
|
//#region src/components/feedback/EPopover.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var C = ["data-id"], w = u({
|
|
7
7
|
__name: "EPopover",
|
|
8
8
|
props: {
|
|
9
9
|
trigger: { default: "click" },
|
|
@@ -16,87 +16,96 @@ var S = ["data-id"], C = u({
|
|
|
16
16
|
showArrow: {
|
|
17
17
|
type: Boolean,
|
|
18
18
|
default: !0
|
|
19
|
-
}
|
|
19
|
+
},
|
|
20
|
+
showDelay: { default: 0 }
|
|
20
21
|
},
|
|
21
22
|
emits: ["update:open"],
|
|
22
|
-
setup(u, { emit:
|
|
23
|
-
let
|
|
24
|
-
|
|
25
|
-
},
|
|
23
|
+
setup(u, { emit: w }) {
|
|
24
|
+
let T = x("ePopoverRef"), E = w, D = v(!1), { zIndex: O, acquireZIndex: k } = n(), { position: A, arrowPosition: j, arrowSize: M, DELAY_TIME: N, resetPosition: P, computePositionByRect: F, trackPosition: I } = t(u.placement, u.size, u.showArrow), L = (e) => {
|
|
25
|
+
D.value = e, E("update:open", e);
|
|
26
|
+
}, R = d()?.uid || e.generate();
|
|
26
27
|
return h(() => {
|
|
27
|
-
let e =
|
|
28
|
+
let e = T.value.children[0];
|
|
28
29
|
if (u.trigger === "hover") {
|
|
29
|
-
let t
|
|
30
|
+
let t, n, r = () => {
|
|
31
|
+
clearTimeout(n);
|
|
32
|
+
};
|
|
30
33
|
e.onmouseenter = () => {
|
|
31
|
-
let
|
|
32
|
-
|
|
33
|
-
let
|
|
34
|
+
let i = e.getBoundingClientRect();
|
|
35
|
+
P(), F(i);
|
|
36
|
+
let a, o = () => {
|
|
34
37
|
clearTimeout(t), t = setTimeout(() => {
|
|
35
|
-
|
|
36
|
-
},
|
|
38
|
+
D.value = !1, a?.(), E("update:open", !1);
|
|
39
|
+
}, N);
|
|
40
|
+
}, s = () => {
|
|
41
|
+
D.value = !0, k(), E("update:open", !0), f(() => {
|
|
42
|
+
let n = document.querySelector(`.e-popover-container[data-id="${R}"]`);
|
|
43
|
+
a = I(e), n.onmouseenter = () => {
|
|
44
|
+
clearTimeout(t), D.value = !0, E("update:open", !0);
|
|
45
|
+
}, n.onmouseleave = o;
|
|
46
|
+
});
|
|
37
47
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
};
|
|
48
|
+
e.onmouseleave = () => {
|
|
49
|
+
r(), o();
|
|
50
|
+
}, u.showDelay > 0 ? n = setTimeout(s, u.showDelay) : s();
|
|
51
|
+
}, g(() => {
|
|
52
|
+
clearTimeout(t), clearTimeout(n);
|
|
53
|
+
});
|
|
45
54
|
} else u.trigger === "contextmenu" ? e.oncontextmenu = (e) => {
|
|
46
|
-
e.preventDefault(),
|
|
55
|
+
e.preventDefault(), A.left = e.pageX, A.top = e.pageY, D.value = !0, k(), E("update:open", !0), f(() => {
|
|
47
56
|
window.onmousedown = () => {
|
|
48
|
-
|
|
57
|
+
L(!1), window.onmousedown = null;
|
|
49
58
|
};
|
|
50
59
|
let e = () => {
|
|
51
|
-
|
|
60
|
+
L(!1), window.removeEventListener("scroll", e, !0);
|
|
52
61
|
};
|
|
53
62
|
window.addEventListener("scroll", e, !0);
|
|
54
63
|
});
|
|
55
64
|
} : u.trigger === "click" && (e.onclick = () => {
|
|
56
|
-
if (
|
|
57
|
-
|
|
65
|
+
if (D.value) {
|
|
66
|
+
D.value = !1, E("update:open", !1);
|
|
58
67
|
return;
|
|
59
68
|
}
|
|
60
69
|
let t = e.getBoundingClientRect();
|
|
61
|
-
|
|
62
|
-
let t = document.querySelector(`.e-popover-container[data-id="${
|
|
70
|
+
P(), F(t), D.value = !0, k(), E("update:open", !0), f(() => {
|
|
71
|
+
let t = document.querySelector(`.e-popover-container[data-id="${R}"]`);
|
|
63
72
|
t.onclick = (e) => e.stopPropagation(), t.onmousedown = (e) => e.stopPropagation();
|
|
64
|
-
let n = () =>
|
|
73
|
+
let n = () => F(e.getBoundingClientRect()), r = new ResizeObserver(n);
|
|
65
74
|
r.observe(e), window.onresize = n, window.addEventListener("scroll", n, !0), window.onmousedown = () => {
|
|
66
|
-
|
|
75
|
+
L(!1), r.disconnect(), window.onresize = null, window.removeEventListener("scroll", n, !0);
|
|
67
76
|
};
|
|
68
77
|
});
|
|
69
78
|
});
|
|
70
|
-
}), (e, t) => (
|
|
79
|
+
}), (e, t) => (_(), s("div", {
|
|
71
80
|
class: "e-popover",
|
|
72
81
|
ref_key: "ePopoverRef",
|
|
73
|
-
ref:
|
|
74
|
-
}, [
|
|
82
|
+
ref: T
|
|
83
|
+
}, [y(e.$slots, "default", {}, void 0, !0), (_(), a(r, { to: "body" }, [l(i, { onEnter: t[0] ||= (e) => {
|
|
75
84
|
e.animate([{ clipPath: "inset(0 0 100% 0)" }, { clipPath: "inset(0 0 0 0)" }], { duration: 0 }).play();
|
|
76
85
|
} }, {
|
|
77
|
-
default:
|
|
86
|
+
default: S(() => [(u.trigger ? D.value : u.open) ? (_(), s("div", {
|
|
78
87
|
key: 0,
|
|
79
88
|
class: p(["e-popover-container", u.size]),
|
|
80
|
-
"data-id":
|
|
89
|
+
"data-id": b(R),
|
|
81
90
|
style: m({
|
|
82
|
-
top:
|
|
83
|
-
left:
|
|
84
|
-
transform: `translateX(${
|
|
85
|
-
zIndex:
|
|
91
|
+
top: b(A).top + "px",
|
|
92
|
+
left: b(A).left + "px",
|
|
93
|
+
transform: `translateX(${b(A).translateX}) translateY(${b(A).translateY})`,
|
|
94
|
+
zIndex: b(O)
|
|
86
95
|
})
|
|
87
|
-
}, [
|
|
96
|
+
}, [y(e.$slots, "content", {}, void 0, !0), c("div", {
|
|
88
97
|
class: "e-popover-arrow",
|
|
89
98
|
style: m({
|
|
90
|
-
height: `${
|
|
91
|
-
width: `${
|
|
92
|
-
left:
|
|
93
|
-
top:
|
|
94
|
-
clipPath:
|
|
99
|
+
height: `${b(M)}px`,
|
|
100
|
+
width: `${b(M)}px`,
|
|
101
|
+
left: b(j).left,
|
|
102
|
+
top: b(j).top,
|
|
103
|
+
clipPath: b(j).clipPath
|
|
95
104
|
})
|
|
96
|
-
}, null, 4)], 14,
|
|
105
|
+
}, null, 4)], 14, C)) : o("", !0)]),
|
|
97
106
|
_: 3
|
|
98
107
|
})]))], 512));
|
|
99
108
|
}
|
|
100
109
|
});
|
|
101
110
|
//#endregion
|
|
102
|
-
export {
|
|
111
|
+
export { w as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EConditionGroup.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EConditionGroup/EConditionGroup.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-1c55a126"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -45,6 +45,7 @@ var x = { class: "e-condition-group" }, S = { class: "e-condition-group__right"
|
|
|
45
45
|
style: f({ rowGap: "16px" })
|
|
46
46
|
}, [(p(!0), o(n, null, g(h, (n, i) => b((p(), o("div", {
|
|
47
47
|
key: `group-${x}-row-${i}`,
|
|
48
|
+
class: "condition-row",
|
|
48
49
|
style: {
|
|
49
50
|
display: "flex",
|
|
50
51
|
"column-gap": "8px"
|
|
@@ -2,6 +2,6 @@ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EFormItem.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EForm/EFormItem.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-3e038b9f"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -3,6 +3,6 @@ import t from "./ESelect.vue_vue_type_script_setup_true_lang.js";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
//#region src/components/form/ESelect/ESelect.vue
|
|
6
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
6
|
+
var n = e(t, [["__scopeId", "data-v-35333005"]]);
|
|
7
7
|
//#endregion
|
|
8
8
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ESlider.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ESlider.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-4eaaba52"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETimePicker.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ETimePicker.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-432e0730"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { onBeforeUnmount as e, ref as t, shallowRef as n, toValue as r, watch as i } from "vue";
|
|
2
|
+
//#region src/components/hooks/useContainer.ts
|
|
3
|
+
var a = () => document.body, o = (e) => e || a(), s = [
|
|
4
|
+
"transform",
|
|
5
|
+
"perspective",
|
|
6
|
+
"filter",
|
|
7
|
+
"backdropFilter"
|
|
8
|
+
], c = (e) => {
|
|
9
|
+
let t = getComputedStyle(e);
|
|
10
|
+
for (let e of s) {
|
|
11
|
+
let n = t[e];
|
|
12
|
+
if (n && n !== "none") return !0;
|
|
13
|
+
}
|
|
14
|
+
return !!(t.contain && /paint|layout|strict|content/.test(t.contain) || t.willChange && /transform|filter|perspective/.test(t.willChange));
|
|
15
|
+
}, l = (e) => {
|
|
16
|
+
let t = e;
|
|
17
|
+
for (; t && t !== document.body;) {
|
|
18
|
+
if (c(t)) return !0;
|
|
19
|
+
t = t.parentElement;
|
|
20
|
+
}
|
|
21
|
+
return !1;
|
|
22
|
+
}, u = (e) => {
|
|
23
|
+
let t = getComputedStyle(e).position;
|
|
24
|
+
t && t !== "static" || (e.style.position = "relative", e.dataset.eContainerPositioned = "true");
|
|
25
|
+
}, d = (e) => {
|
|
26
|
+
let t = o(e), n = t === document.body, r = n ? "fixed" : l(t) ? "absolute" : "fixed";
|
|
27
|
+
!n && r === "absolute" && u(t);
|
|
28
|
+
let i = () => {
|
|
29
|
+
if (n) {
|
|
30
|
+
let e = document.documentElement;
|
|
31
|
+
return {
|
|
32
|
+
left: 0,
|
|
33
|
+
top: 0,
|
|
34
|
+
width: e.clientWidth,
|
|
35
|
+
height: e.clientHeight
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
let e = t.getBoundingClientRect();
|
|
39
|
+
return {
|
|
40
|
+
left: e.left,
|
|
41
|
+
top: e.top,
|
|
42
|
+
width: e.width,
|
|
43
|
+
height: e.height
|
|
44
|
+
};
|
|
45
|
+
}, a = (e, n) => {
|
|
46
|
+
if (r === "fixed") return {
|
|
47
|
+
left: e,
|
|
48
|
+
top: n
|
|
49
|
+
};
|
|
50
|
+
let a = i();
|
|
51
|
+
return {
|
|
52
|
+
left: e - a.left - t.clientLeft,
|
|
53
|
+
top: n - a.top - t.clientTop
|
|
54
|
+
};
|
|
55
|
+
}, s = (e, t) => {
|
|
56
|
+
let n = i();
|
|
57
|
+
return a(n.left + (n.width - e) / 2, n.top + (n.height - t) / 2);
|
|
58
|
+
}, c = () => {
|
|
59
|
+
if (n) return {
|
|
60
|
+
position: "fixed",
|
|
61
|
+
left: "0px",
|
|
62
|
+
top: "0px",
|
|
63
|
+
width: "100%",
|
|
64
|
+
height: "100%"
|
|
65
|
+
};
|
|
66
|
+
if (r === "absolute") return {
|
|
67
|
+
position: "absolute",
|
|
68
|
+
left: "0px",
|
|
69
|
+
top: "0px",
|
|
70
|
+
width: `${t.clientWidth}px`,
|
|
71
|
+
height: `${t.clientHeight}px`
|
|
72
|
+
};
|
|
73
|
+
let e = i();
|
|
74
|
+
return {
|
|
75
|
+
position: "fixed",
|
|
76
|
+
left: `${e.left}px`,
|
|
77
|
+
top: `${e.top}px`,
|
|
78
|
+
width: `${e.width}px`,
|
|
79
|
+
height: `${e.height}px`
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
return {
|
|
83
|
+
container: t,
|
|
84
|
+
isBody: n,
|
|
85
|
+
positionMode: r,
|
|
86
|
+
getBox: i,
|
|
87
|
+
toLocal: a,
|
|
88
|
+
center: s,
|
|
89
|
+
coverStyle: c,
|
|
90
|
+
cover: (e) => {
|
|
91
|
+
e.style.inset = "", e.style.right = "", e.style.bottom = "";
|
|
92
|
+
let t = c();
|
|
93
|
+
e.style.position = t.position, e.style.left = t.left, e.style.top = t.top, e.style.width = t.width, e.style.height = t.height;
|
|
94
|
+
},
|
|
95
|
+
observe: (e) => {
|
|
96
|
+
if (n) return () => {};
|
|
97
|
+
let r = new ResizeObserver(e);
|
|
98
|
+
return r.observe(t), window.addEventListener("resize", e), window.addEventListener("scroll", e, !0), () => {
|
|
99
|
+
r.disconnect(), window.removeEventListener("resize", e), window.removeEventListener("scroll", e, !0);
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}, f = {
|
|
104
|
+
position: "fixed",
|
|
105
|
+
left: "0px",
|
|
106
|
+
top: "0px",
|
|
107
|
+
width: "100%",
|
|
108
|
+
height: "100%"
|
|
109
|
+
}, p = (o) => {
|
|
110
|
+
let s = n(a()), c = t({
|
|
111
|
+
left: 0,
|
|
112
|
+
top: 0,
|
|
113
|
+
width: 0,
|
|
114
|
+
height: 0
|
|
115
|
+
}), l = t("fixed"), u = t({ ...f }), p = null, m = null, h = () => {
|
|
116
|
+
p && (c.value = p.getBox(), l.value = p.positionMode, u.value = p.coverStyle());
|
|
117
|
+
}, g = () => {
|
|
118
|
+
m?.(), p = d(r(o)), s.value = p.container, m = p.observe(h), h();
|
|
119
|
+
};
|
|
120
|
+
return g(), i(() => r(o), g), e(() => m?.()), {
|
|
121
|
+
container: s,
|
|
122
|
+
box: c,
|
|
123
|
+
positionMode: l,
|
|
124
|
+
coverStyle: u,
|
|
125
|
+
refresh: h
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
//#endregion
|
|
129
|
+
export { d as createContainerContext, a as getDefaultContainer, o as normalizeContainer, p as useContainer };
|
|
@@ -2,6 +2,6 @@ import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EScrollbar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/layout/EScrollbar.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-38a6d0ce"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -10,33 +10,44 @@ var u = n({
|
|
|
10
10
|
emits: ["scroll"],
|
|
11
11
|
setup(n, { emit: u }) {
|
|
12
12
|
c((e) => ({
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
v4392167e: e.scrollbarWidth,
|
|
14
|
+
f505e516: e.scrollbarThumbColor
|
|
15
15
|
}));
|
|
16
|
-
let d = s(!1), f = s(0), p = l("scrollbar"), m = u, h, g = (
|
|
16
|
+
let d = s(!1), f = s(0), p = l("scrollbar"), m = u, h, g = null, _ = null, v = null, y = () => {
|
|
17
|
+
g && (f.value = g.scrollHeight);
|
|
18
|
+
}, b = () => {
|
|
19
|
+
if (!(!v || !g)) {
|
|
20
|
+
v.disconnect();
|
|
21
|
+
for (let e of Array.from(g.children)) v.observe(e);
|
|
22
|
+
}
|
|
23
|
+
}, x = (e) => {
|
|
17
24
|
d.value = !0, h && clearTimeout(h), h = setTimeout(() => {
|
|
18
25
|
d.value = !1, clearTimeout(h);
|
|
19
26
|
}, 700);
|
|
20
27
|
let t = e.currentTarget;
|
|
21
|
-
|
|
28
|
+
g && (g.scrollTo({
|
|
29
|
+
top: t.scrollTop,
|
|
30
|
+
behavior: "instant"
|
|
31
|
+
}), m("scroll", t.scrollTop));
|
|
32
|
+
}, S = (e) => {
|
|
33
|
+
let t = p.value;
|
|
34
|
+
if (!t || !g) return;
|
|
35
|
+
let n = e.currentTarget.scrollTop;
|
|
36
|
+
Math.abs(t.scrollTop - n) < 1 || t.scrollTo({
|
|
37
|
+
top: n,
|
|
38
|
+
behavior: "instant"
|
|
39
|
+
});
|
|
22
40
|
};
|
|
23
41
|
return i(() => {
|
|
24
|
-
let e =
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
e();
|
|
29
|
-
let t = p.value, n = t.parentNode.querySelector(".content");
|
|
30
|
-
n.onscroll = (e) => {
|
|
31
|
-
t.scrollTo({ top: e.currentTarget.scrollTop });
|
|
32
|
-
};
|
|
33
|
-
let r = new MutationObserver(e);
|
|
34
|
-
r.observe(n, {
|
|
42
|
+
let e = p.value;
|
|
43
|
+
e && (g = e.parentNode.querySelector(".content"), g && (y(), g.addEventListener("scroll", S, { passive: !0 }), v = new ResizeObserver(y), b(), _ = new MutationObserver(() => {
|
|
44
|
+
y(), b();
|
|
45
|
+
}), _.observe(g, {
|
|
35
46
|
childList: !0,
|
|
36
47
|
subtree: !0
|
|
37
|
-
})
|
|
38
|
-
|
|
39
|
-
|
|
48
|
+
})));
|
|
49
|
+
}), a(() => {
|
|
50
|
+
h && clearTimeout(h), _?.disconnect(), _ = null, v?.disconnect(), v = null, g?.removeEventListener("scroll", S), g = null;
|
|
40
51
|
}), (i, a) => (o(), e("div", {
|
|
41
52
|
class: "scrollbar",
|
|
42
53
|
ref: "scrollbar",
|
|
@@ -45,7 +56,7 @@ var u = n({
|
|
|
45
56
|
width: n.scrollbarWidth,
|
|
46
57
|
right: n.scrollbarThumbMarginRight
|
|
47
58
|
}),
|
|
48
|
-
onScroll:
|
|
59
|
+
onScroll: x
|
|
49
60
|
}, [t("div", { style: r({
|
|
50
61
|
height: `${f.value}px`,
|
|
51
62
|
width: "1px"
|
|
@@ -2,6 +2,6 @@ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETabPane.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/navigation/ETabs/ETabPane.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-aab0da6e"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|