exploria-ui 2026.10.20 → 2026.10.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/dist/components/feedback/EDialog/EDialog.vue.d.ts +7 -7
- package/dist/index.css +1 -1
- package/dist/package.json.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 +81 -60
- 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/package.json +1 -1
package/dist/package.json.js
CHANGED
|
@@ -2,6 +2,6 @@ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EDialog.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/feedback/EDialog/EDialog.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-a8fea7af"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import e from "../../basic/EButton/EButton.vue.js";
|
|
2
2
|
import { useZIndex as t } from "../../hooks/useZIndex.js";
|
|
3
3
|
import { useContainer as n } from "../../hooks/useContainer.js";
|
|
4
|
-
import { Teleport as r,
|
|
4
|
+
import { Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, onUnmounted as m, openBlock as h, ref as g, renderSlot as _, toDisplayString as v, unref as y, useTemplateRef as b, watch as x, withCtx as S } from "vue";
|
|
5
5
|
//#region src/components/feedback/EDialog/EDialog.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var C = { class: "header" }, w = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "title"
|
|
9
|
-
},
|
|
9
|
+
}, T = { class: "header-actions" }, E = ["title"], D = {
|
|
10
10
|
key: 0,
|
|
11
11
|
viewBox: "0 0 24 24",
|
|
12
12
|
fill: "none",
|
|
@@ -14,7 +14,7 @@ var x = { class: "header" }, S = {
|
|
|
14
14
|
"stroke-width": "2",
|
|
15
15
|
"stroke-linecap": "round",
|
|
16
16
|
"stroke-linejoin": "round"
|
|
17
|
-
},
|
|
17
|
+
}, O = {
|
|
18
18
|
key: 1,
|
|
19
19
|
viewBox: "0 0 24 24",
|
|
20
20
|
fill: "none",
|
|
@@ -22,10 +22,10 @@ var x = { class: "header" }, S = {
|
|
|
22
22
|
"stroke-width": "2",
|
|
23
23
|
"stroke-linecap": "round",
|
|
24
24
|
"stroke-linejoin": "round"
|
|
25
|
-
},
|
|
25
|
+
}, k = {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: "btn-box"
|
|
28
|
-
},
|
|
28
|
+
}, A = d({
|
|
29
29
|
__name: "EDialog",
|
|
30
30
|
props: {
|
|
31
31
|
open: { type: Boolean },
|
|
@@ -52,21 +52,43 @@ var x = { class: "header" }, S = {
|
|
|
52
52
|
"cancel",
|
|
53
53
|
"update:open"
|
|
54
54
|
],
|
|
55
|
-
setup(
|
|
56
|
-
let { nextZIndex:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
setup(d, { emit: A }) {
|
|
56
|
+
let { nextZIndex: j } = t(), M = b("modal"), { container: N, coverStyle: P } = n(() => d.mountPoint), F = g(null), I = g(!1), L = null, R = g(""), z, B = () => M.value?.querySelector(".center-box"), V = i(() => {
|
|
57
|
+
if (I.value) return {};
|
|
58
|
+
if (R.value === "enter-freeze" && L) return {
|
|
59
|
+
width: L.width + "px",
|
|
60
|
+
height: L.height + "px"
|
|
61
|
+
};
|
|
62
|
+
if (R.value === "restore" && L) return {
|
|
63
|
+
width: d.normalWidth ?? L.width + "px",
|
|
64
|
+
height: d.normalHeight ?? L.height + "px"
|
|
65
|
+
};
|
|
66
|
+
let e = {};
|
|
67
|
+
return d.normalWidth && (e.width = d.normalWidth), d.normalHeight && (e.height = d.normalHeight), e;
|
|
68
|
+
}), H = () => {
|
|
69
|
+
let e = B();
|
|
70
|
+
e && (window.clearTimeout(z), I.value ? (I.value = !1, R.value = "restore", z = window.setTimeout(() => {
|
|
71
|
+
R.value = "";
|
|
72
|
+
}, 320)) : (L = {
|
|
73
|
+
width: e.offsetWidth,
|
|
74
|
+
height: e.offsetHeight
|
|
75
|
+
}, R.value = "enter-freeze", requestAnimationFrame(() => {
|
|
76
|
+
requestAnimationFrame(() => {
|
|
77
|
+
R.value = "", I.value = !0;
|
|
78
|
+
});
|
|
79
|
+
})));
|
|
80
|
+
}, U = () => d.animationReferenceElement ? d.animationReferenceElement : F.value, W = () => {
|
|
81
|
+
let e = U();
|
|
60
82
|
return !!e && e.isConnected;
|
|
61
|
-
},
|
|
62
|
-
let e =
|
|
83
|
+
}, G = () => {
|
|
84
|
+
let e = U();
|
|
63
85
|
if (!e) return "translate(0,0) scale(0)";
|
|
64
|
-
let t = e.getBoundingClientRect(), n =
|
|
86
|
+
let t = e.getBoundingClientRect(), n = M.value?.querySelector(".center-box");
|
|
65
87
|
if (!n) return "translate(0,0) scale(0)";
|
|
66
88
|
let r = n.getBoundingClientRect(), i = t.width / r.width, a = t.height / r.height;
|
|
67
89
|
return `translate(${t.left + t.width / 2 - (r.left + r.width / 2)}px,${t.top + t.height / 2 - (r.top + r.height / 2)}px) scale(${i},${a})`;
|
|
68
|
-
},
|
|
69
|
-
let t =
|
|
90
|
+
}, K = (e) => {
|
|
91
|
+
let t = M.value, n = parseFloat(getComputedStyle(t).opacity);
|
|
70
92
|
e ? (t.style.opacity = "0", requestAnimationFrame(() => {
|
|
71
93
|
let e = t.animate([{ opacity: 0 }, { opacity: n }], {
|
|
72
94
|
duration: 300,
|
|
@@ -82,11 +104,11 @@ var x = { class: "header" }, S = {
|
|
|
82
104
|
t.style.display = "none", t.style.opacity = "";
|
|
83
105
|
};
|
|
84
106
|
};
|
|
85
|
-
|
|
86
|
-
let t =
|
|
107
|
+
x(() => d.open, (e) => {
|
|
108
|
+
let t = M.value?.querySelector(".center-box");
|
|
87
109
|
if (e) {
|
|
88
|
-
|
|
89
|
-
let e =
|
|
110
|
+
window.clearTimeout(z), R.value = "", d.animationReferenceElement || (F.value = document.activeElement instanceof HTMLElement ? document.activeElement : null), M.value.style.display = "flex", M.value.style.zIndex = String(j()), K(!0);
|
|
111
|
+
let e = G();
|
|
90
112
|
t.style.transformOrigin = "center center", t.style.transform = e, requestAnimationFrame(() => {
|
|
91
113
|
let n = t.animate([
|
|
92
114
|
{
|
|
@@ -111,8 +133,8 @@ var x = { class: "header" }, S = {
|
|
|
111
133
|
n.cancel(), t.style.transform = "";
|
|
112
134
|
};
|
|
113
135
|
});
|
|
114
|
-
} else if (
|
|
115
|
-
let e =
|
|
136
|
+
} else if (K(!1), W()) {
|
|
137
|
+
let e = G(), n = window.getComputedStyle(t).transform;
|
|
116
138
|
t.style.transformOrigin = "center center", t.animate([
|
|
117
139
|
{
|
|
118
140
|
opacity: 1,
|
|
@@ -157,60 +179,59 @@ var x = { class: "header" }, S = {
|
|
|
157
179
|
};
|
|
158
180
|
}
|
|
159
181
|
});
|
|
160
|
-
let
|
|
161
|
-
|
|
162
|
-
},
|
|
163
|
-
|
|
182
|
+
let q = A, J = () => {
|
|
183
|
+
q("close"), q("update:open", !1);
|
|
184
|
+
}, Y = () => {
|
|
185
|
+
q("cancel"), q("update:open", !1);
|
|
164
186
|
};
|
|
165
|
-
return (
|
|
187
|
+
return m(() => {
|
|
188
|
+
window.clearTimeout(z);
|
|
189
|
+
}), (t, n) => (h(), a(r, { to: y(N) }, [c("div", {
|
|
166
190
|
class: "e-dialog",
|
|
167
191
|
ref: "modal",
|
|
168
|
-
style:
|
|
169
|
-
}, [
|
|
170
|
-
class:
|
|
171
|
-
style:
|
|
172
|
-
width: u.normalWidth,
|
|
173
|
-
height: u.normalHeight
|
|
174
|
-
})
|
|
192
|
+
style: p(y(P))
|
|
193
|
+
}, [c("div", {
|
|
194
|
+
class: f(["center-box", [d.size, { fullscreen: I.value }]]),
|
|
195
|
+
style: p(V.value)
|
|
175
196
|
}, [
|
|
176
|
-
|
|
197
|
+
c("div", C, [d.title ? (h(), s("div", w, v(d.title), 1)) : o("", !0), c("div", T, [d.showFullscreen ? (h(), s("span", {
|
|
177
198
|
key: 0,
|
|
178
199
|
class: "fullscreen-btn",
|
|
179
|
-
onClick:
|
|
180
|
-
title:
|
|
181
|
-
}, [
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
]])) : (
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
]]))], 8,
|
|
200
|
+
onClick: H,
|
|
201
|
+
title: I.value ? "退出全屏" : "全屏显示"
|
|
202
|
+
}, [I.value ? (h(), s("svg", O, [...n[2] ||= [
|
|
203
|
+
c("path", { d: "M8 3v3a2 2 0 0 1-2 2H3" }, null, -1),
|
|
204
|
+
c("path", { d: "M21 8h-3a2 2 0 0 1-2-2V3" }, null, -1),
|
|
205
|
+
c("path", { d: "M3 16h3a2 2 0 0 1 2 2v3" }, null, -1),
|
|
206
|
+
c("path", { d: "M16 21v-3a2 2 0 0 1 2-2h3" }, null, -1)
|
|
207
|
+
]])) : (h(), s("svg", D, [...n[1] ||= [
|
|
208
|
+
c("path", { d: "M8 3H5a2 2 0 0 0-2 2v3" }, null, -1),
|
|
209
|
+
c("path", { d: "M21 8V5a2 2 0 0 0-2-2h-3" }, null, -1),
|
|
210
|
+
c("path", { d: "M3 16v3a2 2 0 0 0 2 2h3" }, null, -1),
|
|
211
|
+
c("path", { d: "M16 21h3a2 2 0 0 0 2-2v-3" }, null, -1)
|
|
212
|
+
]]))], 8, E)) : o("", !0), c("span", {
|
|
192
213
|
class: "iconfont icon-guanbi_o",
|
|
193
|
-
onClick:
|
|
214
|
+
onClick: J
|
|
194
215
|
})])]),
|
|
195
|
-
|
|
196
|
-
|
|
216
|
+
_(t.$slots, "default", {}, void 0, !0),
|
|
217
|
+
d.showFooter ? (h(), s("div", k, [u(e, {
|
|
197
218
|
type: "info",
|
|
198
219
|
plain: "",
|
|
199
|
-
size:
|
|
200
|
-
onClick:
|
|
220
|
+
size: d.size,
|
|
221
|
+
onClick: Y
|
|
201
222
|
}, {
|
|
202
|
-
default:
|
|
223
|
+
default: S(() => [l(v(d.cancelText), 1)]),
|
|
203
224
|
_: 1
|
|
204
|
-
}, 8, ["size"]),
|
|
225
|
+
}, 8, ["size"]), u(e, {
|
|
205
226
|
type: "primary",
|
|
206
|
-
size:
|
|
207
|
-
onClick: n[0] ||= (e) =>
|
|
227
|
+
size: d.size,
|
|
228
|
+
onClick: n[0] ||= (e) => q("ok")
|
|
208
229
|
}, {
|
|
209
|
-
default:
|
|
230
|
+
default: S(() => [l(v(d.okText), 1)]),
|
|
210
231
|
_: 1
|
|
211
|
-
}, 8, ["size"])])) :
|
|
232
|
+
}, 8, ["size"])])) : o("", !0)
|
|
212
233
|
], 6)], 4)], 8, ["to"]));
|
|
213
234
|
}
|
|
214
235
|
});
|
|
215
236
|
//#endregion
|
|
216
|
-
export {
|
|
237
|
+
export { A 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 };
|