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.
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var e = "exploria-ui", t = "2026.10.20", n = "《探索UI》组件库", r = [
2
+ var e = "exploria-ui", t = "2026.10.21", n = "《探索UI》组件库", r = [
3
3
  "exploria-ui",
4
4
  "liketype",
5
5
  "vue3"
@@ -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-70728174"]]);
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, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useTemplateRef as v, watch as y, withCtx as b } from "vue";
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 x = { class: "header" }, S = {
6
+ var C = { class: "header" }, w = {
7
7
  key: 0,
8
8
  class: "title"
9
- }, C = { class: "header-actions" }, w = ["title"], T = {
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
- }, E = {
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
- }, D = {
25
+ }, k = {
26
26
  key: 0,
27
27
  class: "btn-box"
28
- }, O = u({
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(u, { emit: O }) {
56
- let { nextZIndex: k } = t(), A = v("modal"), { container: j, coverStyle: M } = n(() => u.mountPoint), N = m(null), P = m(!1), F = () => {
57
- P.value = !P.value;
58
- }, I = () => u.animationReferenceElement ? u.animationReferenceElement : N.value, L = () => {
59
- let e = I();
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
- }, R = () => {
62
- let e = I();
83
+ }, G = () => {
84
+ let e = U();
63
85
  if (!e) return "translate(0,0) scale(0)";
64
- let t = e.getBoundingClientRect(), n = A.value?.querySelector(".center-box");
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
- }, z = (e) => {
69
- let t = A.value, n = parseFloat(getComputedStyle(t).opacity);
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
- y(() => u.open, (e) => {
86
- let t = A.value?.querySelector(".center-box");
107
+ x(() => d.open, (e) => {
108
+ let t = M.value?.querySelector(".center-box");
87
109
  if (e) {
88
- u.animationReferenceElement || (N.value = document.activeElement instanceof HTMLElement ? document.activeElement : null), A.value.style.display = "flex", A.value.style.zIndex = String(k()), z(!0);
89
- let e = R();
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 (z(!1), L()) {
115
- let e = R(), n = window.getComputedStyle(t).transform;
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 B = O, V = () => {
161
- B("close"), B("update:open", !1);
162
- }, H = () => {
163
- B("cancel"), B("update:open", !1);
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 (t, n) => (p(), i(r, { to: _(j) }, [s("div", {
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: f(_(M))
169
- }, [s("div", {
170
- class: d(["center-box", [u.size, { fullscreen: P.value }]]),
171
- style: f(P.value ? {} : {
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
- s("div", x, [u.title ? (p(), o("div", S, g(u.title), 1)) : a("", !0), s("div", C, [u.showFullscreen ? (p(), o("span", {
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: F,
180
- title: P.value ? "退出全屏" : "全屏显示"
181
- }, [P.value ? (p(), o("svg", E, [...n[2] ||= [
182
- s("path", { d: "M8 3v3a2 2 0 0 1-2 2H3" }, null, -1),
183
- s("path", { d: "M21 8h-3a2 2 0 0 1-2-2V3" }, null, -1),
184
- s("path", { d: "M3 16h3a2 2 0 0 1 2 2v3" }, null, -1),
185
- s("path", { d: "M16 21v-3a2 2 0 0 1 2-2h3" }, null, -1)
186
- ]])) : (p(), o("svg", T, [...n[1] ||= [
187
- s("path", { d: "M8 3H5a2 2 0 0 0-2 2v3" }, null, -1),
188
- s("path", { d: "M21 8V5a2 2 0 0 0-2-2h-3" }, null, -1),
189
- s("path", { d: "M3 16v3a2 2 0 0 0 2 2h3" }, null, -1),
190
- s("path", { d: "M16 21h3a2 2 0 0 0 2-2v-3" }, null, -1)
191
- ]]))], 8, w)) : a("", !0), s("span", {
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: V
214
+ onClick: J
194
215
  })])]),
195
- h(t.$slots, "default", {}, void 0, !0),
196
- u.showFooter ? (p(), o("div", D, [l(e, {
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: u.size,
200
- onClick: H
220
+ size: d.size,
221
+ onClick: Y
201
222
  }, {
202
- default: b(() => [c(g(u.cancelText), 1)]),
223
+ default: S(() => [l(v(d.cancelText), 1)]),
203
224
  _: 1
204
- }, 8, ["size"]), l(e, {
225
+ }, 8, ["size"]), u(e, {
205
226
  type: "primary",
206
- size: u.size,
207
- onClick: n[0] ||= (e) => B("ok")
227
+ size: d.size,
228
+ onClick: n[0] ||= (e) => q("ok")
208
229
  }, {
209
- default: b(() => [c(g(u.okText), 1)]),
230
+ default: S(() => [l(v(d.okText), 1)]),
210
231
  _: 1
211
- }, 8, ["size"])])) : a("", !0)
232
+ }, 8, ["size"])])) : o("", !0)
212
233
  ], 6)], 4)], 8, ["to"]));
213
234
  }
214
235
  });
215
236
  //#endregion
216
- export { O as default };
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-402d78ad"]]);
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-690cd4b2"]]);
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-ca20c1eb"]]);
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-d88d59bb"]]);
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-99363d67"]]);
5
+ var n = e(t, [["__scopeId", "data-v-432e0730"]]);
6
6
  //#endregion
7
7
  export { n as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exploria-ui",
3
- "version": "2026.10.20",
3
+ "version": "2026.10.21",
4
4
  "private": false,
5
5
  "description": "《探索UI》组件库",
6
6
  "keywords": [