exploria-ui 2026.10.19 → 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/components/feedback/EMessageBox/EMessageBox.d.ts +6 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +58 -54
- package/dist/index.css +1 -1
- package/dist/package.json.js +86 -0
- 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/feedback/EMessageBox/EMessageBox.js +18 -18
- 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/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 +49 -49
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region package.json
|
|
2
|
+
var e = "exploria-ui", t = "2026.10.21", n = "《探索UI》组件库", r = [
|
|
3
|
+
"exploria-ui",
|
|
4
|
+
"liketype",
|
|
5
|
+
"vue3"
|
|
6
|
+
], i = "liketype", a = [
|
|
7
|
+
"dist",
|
|
8
|
+
"package.json",
|
|
9
|
+
"README.md"
|
|
10
|
+
], o = "module", s = "./dist/components/index.js", c = "./dist/components/index.d.ts", l = {
|
|
11
|
+
".": {
|
|
12
|
+
import: "./dist/components/index.js",
|
|
13
|
+
types: "./dist/components/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./directives": {
|
|
16
|
+
import: "./dist/directives/index.js",
|
|
17
|
+
types: "./dist/directives/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./plugins": {
|
|
20
|
+
import: "./dist/plugins/index.js",
|
|
21
|
+
types: "./dist/plugins/index.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./utils": {
|
|
24
|
+
import: "./dist/utils/index.js",
|
|
25
|
+
types: "./dist/utils/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./*": "./*"
|
|
28
|
+
}, u = {
|
|
29
|
+
login: "pnpm login --registry https://registry.npmjs.org",
|
|
30
|
+
build: "vite build && pnpm exec rollup src/plugins/index.ts --format esm --file dist/plugins/index.js --plugin @rollup/plugin-node-resolve --plugin @rollup/plugin-commonjs --plugin rollup-plugin-esbuild --external vite,fs,path,os,stream,util && pnpm exec tsc src/plugins/index.ts --target ES2018 --module ESNext --moduleResolution bundler --declaration --emitDeclarationOnly --outDir dist/plugins --skipLibCheck --noEmitOnError",
|
|
31
|
+
"build:watch": "vite build --watch",
|
|
32
|
+
"build:plugins:watch": "node ./scripts/build-plugins.ts",
|
|
33
|
+
pub: "pnpm publish --no-git-checks --registry https://registry.npmjs.org"
|
|
34
|
+
}, d = {
|
|
35
|
+
"animate.css": "^4.1.1",
|
|
36
|
+
"chroma-js": "^3.1.2",
|
|
37
|
+
"fast-glob": "^3.3.3",
|
|
38
|
+
sortablejs: "^1.15.6",
|
|
39
|
+
"vue-i18n": "^11.1.12"
|
|
40
|
+
}, f = {
|
|
41
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
43
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
44
|
+
"@types/chroma-js": "^3.1.1",
|
|
45
|
+
"@types/node": "^24.6.0",
|
|
46
|
+
"@types/sortablejs": "^1.15.8",
|
|
47
|
+
"@types/three": "^0.180.0",
|
|
48
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
49
|
+
"@vue/tsconfig": "^0.8.1",
|
|
50
|
+
chokidar: "^5.0.0",
|
|
51
|
+
esbuild: "^0.27.3",
|
|
52
|
+
oxfmt: "^0.17.0",
|
|
53
|
+
oxlint: "^1.32.0",
|
|
54
|
+
rollup: "^4.59.0",
|
|
55
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
56
|
+
sass: "^1.87.0",
|
|
57
|
+
three: ">=0.184.0",
|
|
58
|
+
tsx: "^4.21.0",
|
|
59
|
+
typescript: "~5.9.3",
|
|
60
|
+
vite: "^8.0.16",
|
|
61
|
+
"vite-plugin-dts": "^4.5.4",
|
|
62
|
+
vue: "^3.5.22",
|
|
63
|
+
"vue-tsc": "^3.1.0"
|
|
64
|
+
}, p = {
|
|
65
|
+
three: ">=0.184.0",
|
|
66
|
+
vue: ">=3.5"
|
|
67
|
+
}, m = {
|
|
68
|
+
name: e,
|
|
69
|
+
version: t,
|
|
70
|
+
private: !1,
|
|
71
|
+
description: n,
|
|
72
|
+
keywords: r,
|
|
73
|
+
license: "MIT",
|
|
74
|
+
author: i,
|
|
75
|
+
files: a,
|
|
76
|
+
type: o,
|
|
77
|
+
main: s,
|
|
78
|
+
types: c,
|
|
79
|
+
exports: l,
|
|
80
|
+
scripts: u,
|
|
81
|
+
dependencies: d,
|
|
82
|
+
devDependencies: f,
|
|
83
|
+
peerDependencies: p
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
export { i as author, m as default, d as dependencies, n as description, f as devDependencies, l as exports, a as files, r as keywords, s as main, e as name, p as peerDependencies, u as scripts, o as type, c as types, t as version };
|
|
@@ -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 };
|
|
@@ -8,20 +8,20 @@ var a = class a {
|
|
|
8
8
|
return new Promise((c) => {
|
|
9
9
|
let l = t(s?.mountPoint), u = l.container.dataset.eContainerPositioned === "true", d = document.createElement("div");
|
|
10
10
|
d.dataset.eMessageBoxMask = "true", d.style.display = "grid", d.style.placeItems = "center", d.style.backgroundColor = "var(--e-message-box-mask-background-color)", d.style.backdropFilter = "blur(5px)", d.style.zIndex = String(e()), d.style.opacity = "0", l.cover(d);
|
|
11
|
-
let f = s?.animationReferenceElement ??
|
|
12
|
-
if (!
|
|
13
|
-
let e =
|
|
11
|
+
let f = document.activeElement, p = f instanceof HTMLElement && f !== document.body && f !== document.documentElement ? f : null, m = s?.animationReferenceElement ?? p, h = () => {
|
|
12
|
+
if (!m) return "translate(0,0) scale(0)";
|
|
13
|
+
let e = m.getBoundingClientRect(), t = d.querySelector(".e-message-box");
|
|
14
14
|
if (!t) return "translate(0,0) scale(0)";
|
|
15
15
|
let n = t.getBoundingClientRect(), r = e.width / n.width, i = e.height / n.height;
|
|
16
16
|
return `translate(${e.left + e.width / 2 - (n.left + n.width / 2)}px,${e.top + e.height / 2 - (n.top + n.height / 2)}px) scale(${r},${i})`;
|
|
17
|
-
},
|
|
17
|
+
}, g = (e, t) => {
|
|
18
18
|
let n = d.querySelector(".e-message-box");
|
|
19
19
|
if (!n) {
|
|
20
20
|
t?.();
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
23
|
if (e === "enter") {
|
|
24
|
-
let e =
|
|
24
|
+
let e = h();
|
|
25
25
|
n.style.transformOrigin = "center center", n.style.transform = e, requestAnimationFrame(() => {
|
|
26
26
|
let t = n.animate([
|
|
27
27
|
{
|
|
@@ -49,7 +49,7 @@ var a = class a {
|
|
|
49
49
|
} else {
|
|
50
50
|
let e = window.getComputedStyle(n).transform;
|
|
51
51
|
n.style.transformOrigin = "center center";
|
|
52
|
-
let r =
|
|
52
|
+
let r = m && m.isConnected ? h() : "translate(0,0) scale(0)", i = n.animate([
|
|
53
53
|
{
|
|
54
54
|
opacity: 1,
|
|
55
55
|
transform: e,
|
|
@@ -70,20 +70,20 @@ var a = class a {
|
|
|
70
70
|
], { duration: 300 });
|
|
71
71
|
t && (i.onfinish = t);
|
|
72
72
|
}
|
|
73
|
-
},
|
|
74
|
-
if (
|
|
75
|
-
|
|
73
|
+
}, _ = l.observe(() => l.cover(d)), v = i({ confirmButtonLoading: !1 }), y = !1, b = (e) => {
|
|
74
|
+
if (y) return;
|
|
75
|
+
y = !0;
|
|
76
76
|
let t = getComputedStyle(d).opacity || "1";
|
|
77
|
-
Promise.all([new Promise((e) =>
|
|
77
|
+
Promise.all([new Promise((e) => g("leave", () => e())), new Promise((e) => {
|
|
78
78
|
d.animate([{ opacity: t }, { opacity: 0 }], {
|
|
79
79
|
duration: 300,
|
|
80
80
|
easing: "linear"
|
|
81
81
|
}).onfinish = () => e();
|
|
82
82
|
})]).then(() => {
|
|
83
|
-
|
|
83
|
+
_(), d.remove(), u && l.container.querySelectorAll("[data-e-message-box-mask]").length === 0 && (l.container.style.position = "", delete l.container.dataset.eContainerPositioned), c(e);
|
|
84
84
|
});
|
|
85
|
-
},
|
|
86
|
-
s?.beforeClose ? s.beforeClose(e,
|
|
85
|
+
}, x = (e, t) => {
|
|
86
|
+
s?.beforeClose ? s.beforeClose(e, v, () => b(t)) : b(t);
|
|
87
87
|
};
|
|
88
88
|
r(n, {
|
|
89
89
|
title: s?.title,
|
|
@@ -92,15 +92,15 @@ var a = class a {
|
|
|
92
92
|
width: s?.width,
|
|
93
93
|
okText: s?.okText,
|
|
94
94
|
cancelText: s?.cancelText,
|
|
95
|
-
instance:
|
|
95
|
+
instance: v,
|
|
96
96
|
onOk: (e) => {
|
|
97
|
-
|
|
97
|
+
x("confirm", o !== "prompt" || e);
|
|
98
98
|
},
|
|
99
99
|
onClose: () => {
|
|
100
|
-
|
|
100
|
+
x("close", !1);
|
|
101
101
|
},
|
|
102
102
|
onCancel: () => {
|
|
103
|
-
|
|
103
|
+
x("cancel", !1);
|
|
104
104
|
}
|
|
105
105
|
}).mount(d), l.container.appendChild(d), requestAnimationFrame(() => {
|
|
106
106
|
d.animate([{ opacity: 0 }, { opacity: 1 }], {
|
|
@@ -109,7 +109,7 @@ var a = class a {
|
|
|
109
109
|
}).onfinish = () => {
|
|
110
110
|
d.style.opacity = "";
|
|
111
111
|
};
|
|
112
|
-
}),
|
|
112
|
+
}), g("enter");
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
static confirm(e, t, n) {
|
|
@@ -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 };
|
|
@@ -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 };
|
package/dist/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { computed as e, createElementBlock as t, defineComponent as n, inject as r, normalizeClass as i, onUnmounted as a, openBlock as o, renderSlot as s } from "vue";
|
|
1
|
+
import { computed as e, createElementBlock as t, defineComponent as n, inject as r, normalizeClass as i, onUnmounted as a, openBlock as o, renderSlot as s, useSlots as c } from "vue";
|
|
2
2
|
//#region src/components/navigation/ETabs/ETabPane.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var l = n({
|
|
4
4
|
__name: "ETabPane",
|
|
5
5
|
props: {
|
|
6
6
|
name: {},
|
|
7
7
|
label: {}
|
|
8
8
|
},
|
|
9
9
|
setup(n) {
|
|
10
|
-
let
|
|
11
|
-
return
|
|
10
|
+
let l = r("registerTabPane"), u = r("unregisterTabPane"), d = c();
|
|
11
|
+
return l({
|
|
12
12
|
label: e(() => n.label),
|
|
13
|
-
name: n.name
|
|
13
|
+
name: n.name,
|
|
14
|
+
labelSlot: d.label
|
|
14
15
|
}), a(() => {
|
|
15
|
-
|
|
16
|
+
u(n.name);
|
|
16
17
|
}), (e, r) => (o(), t("div", { class: i(["e-tab-pane", "e-tab-pane" + n.name]) }, [s(e.$slots, "default", {}, void 0, !0)], 2));
|
|
17
18
|
}
|
|
18
19
|
});
|
|
19
20
|
//#endregion
|
|
20
|
-
export {
|
|
21
|
+
export { l as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETabs.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/navigation/ETabs/ETabs.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-9526d247"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|