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.
Files changed (48) hide show
  1. package/dist/components/data/ECarousel/ECarousel.vue.d.ts +2 -2
  2. package/dist/components/data/EMediaViewer/EMediaViewer.d.ts +6 -1
  3. package/dist/components/feedback/EDialog/EDialog.vue.d.ts +17 -5
  4. package/dist/components/feedback/EDrawer/EDrawer.vue.d.ts +5 -0
  5. package/dist/components/feedback/EMessage/EMessage.d.ts +20 -7
  6. package/dist/components/feedback/EMessageBox/EMessageBox.d.ts +48 -15
  7. package/dist/components/feedback/EMessageBox/EMessageBox.vue.d.ts +10 -1
  8. package/dist/components/feedback/ENotification/ENotification.d.ts +5 -3
  9. package/dist/components/feedback/EPopover.vue.d.ts +5 -0
  10. package/dist/components/hooks/useContainer.d.ts +104 -0
  11. package/dist/components/index.d.ts +2 -0
  12. package/dist/components/index.js +58 -54
  13. package/dist/components/navigation/ETabs/ETabs.vue.d.ts +4 -0
  14. package/dist/index.css +1 -1
  15. 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
  16. 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
  17. package/dist/node_modules/.pnpm/{@intlify_shared@11.4.9 → @intlify_shared@11.4.10}/node_modules/@intlify/shared/dist/shared.js +38 -34
  18. 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
  19. package/dist/package.json.js +86 -0
  20. package/dist/src/components/data/EMediaViewer/EMediaViewer.js +36 -33
  21. package/dist/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
  22. package/dist/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +1 -1
  23. package/dist/src/components/data/ESteps/EStepItem.vue_vue_type_script_setup_true_lang.js +1 -1
  24. package/dist/src/components/feedback/EDialog/EDialog.vue.js +1 -1
  25. package/dist/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +89 -61
  26. package/dist/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
  27. package/dist/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +77 -49
  28. package/dist/src/components/feedback/EMessage/EMessage.js +76 -64
  29. package/dist/src/components/feedback/EMessageBox/EMessageBox.js +54 -35
  30. package/dist/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
  31. package/dist/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +34 -29
  32. package/dist/src/components/feedback/ENotification/ENotification.js +80 -82
  33. package/dist/src/components/feedback/EPopover.vue.js +1 -1
  34. package/dist/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +56 -47
  35. package/dist/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
  36. package/dist/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +1 -0
  37. package/dist/src/components/form/EForm/EFormItem.vue.js +1 -1
  38. package/dist/src/components/form/ESelect/ESelect.vue.js +1 -1
  39. package/dist/src/components/form/ESlider.vue.js +1 -1
  40. package/dist/src/components/form/ETimePicker.vue.js +1 -1
  41. package/dist/src/components/hooks/useContainer.js +129 -0
  42. package/dist/src/components/layout/EScrollbar.vue.js +1 -1
  43. package/dist/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +30 -19
  44. package/dist/src/components/navigation/ETabs/ETabPane.vue.js +1 -1
  45. package/dist/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +8 -7
  46. package/dist/src/components/navigation/ETabs/ETabs.vue.js +1 -1
  47. package/dist/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +64 -58
  48. package/package.json +3 -3
@@ -1,69 +1,81 @@
1
1
  import { nextZIndex as e } from "../../hooks/useZIndex.js";
2
- import t from "./EMessage.vue.js";
3
- import { createApp as n } from "vue";
2
+ import { createContainerContext as t } from "../../hooks/useContainer.js";
3
+ import n from "./EMessage.vue.js";
4
+ import { createApp as r } from "vue";
4
5
  //#region src/components/feedback/EMessage/EMessage.ts
5
- var r = [], i = 10, a = 10, o = "cubic-bezier(0.4, 0, 0.2, 1)", s = 300, c = class c {
6
- static layout() {
7
- let e = a;
8
- for (let t of r) t.style.top = `${e}px`, e += t.offsetHeight + i;
6
+ var i = new Map(), a = 10, o = 10, s = "cubic-bezier(0.4, 0, 0.2, 1)", c = 300, l = class l {
7
+ static getMessageState(e) {
8
+ let t = i.get(e.container);
9
+ if (t) return t;
10
+ let n = {
11
+ context: e,
12
+ list: [],
13
+ dispose: () => {}
14
+ };
15
+ return n.dispose = e.observe(() => l.layout(n)), i.set(e.container, n), n;
9
16
  }
10
- static centerElement(e) {
11
- let t = e.offsetWidth;
12
- e.style.left = `calc(50% - ${t / 2}px)`;
17
+ static layout(e) {
18
+ let { context: t, list: n } = e, r = t.getBox(), i = o;
19
+ for (let e of n) e.style.top = `${t.toLocal(0, r.top + i).top}px`, e.style.left = `${t.center(e.offsetWidth, e.offsetHeight).left}px`, i += e.offsetHeight + a;
13
20
  }
14
- static flipExisting() {
15
- let e = new Map();
16
- for (let t of r) {
17
- let n = t.getBoundingClientRect();
18
- e.set(t, n.top);
21
+ static flipExisting(e, t) {
22
+ let { list: n } = e, r = new Map();
23
+ for (let e of n) {
24
+ if (e === t) continue;
25
+ let n = e.getBoundingClientRect();
26
+ r.set(e, n.top);
19
27
  }
20
- c.layout();
21
- for (let t of r) {
22
- let n = e.get(t);
28
+ l.layout(e);
29
+ for (let e of n) {
30
+ if (e === t) continue;
31
+ let n = r.get(e);
23
32
  if (n === void 0) continue;
24
- let r = t.getBoundingClientRect().top - n;
25
- r !== 0 && t.animate([{ transform: `translateY(${-r}px)` }, { transform: "translateY(0)" }], {
26
- duration: s,
27
- easing: o
33
+ let i = e.getBoundingClientRect().top - n;
34
+ i !== 0 && e.animate([{ transform: `translateY(${-i}px)` }, { transform: "translateY(0)" }], {
35
+ duration: c,
36
+ easing: s
28
37
  });
29
38
  }
30
39
  }
31
- static show(i, l, u = 1.7) {
32
- let d = document.createElement("div");
33
- d.style.position = "fixed", d.style.userSelect = "none", d.style.zIndex = String(e()), document.body.append(d);
34
- let f = n(t, {
35
- type: l,
40
+ static releaseState(e) {
41
+ e.list.length > 0 || (e.dispose(), i.delete(e.context.container));
42
+ }
43
+ static show(i, a, u = 1.7, d) {
44
+ let f = t(d), p = l.getMessageState(f), m = document.createElement("div");
45
+ m.style.position = f.positionMode, m.style.userSelect = "none", m.style.zIndex = String(e()), f.container.append(m);
46
+ let h = r(n, {
47
+ type: a,
36
48
  msg: i
37
49
  });
38
- f.mount(d), c.centerElement(d);
39
- let p = r.length > 0 ? r[r.length - 1] : null, m = new Map();
40
- for (let e of r) {
50
+ h.mount(m);
51
+ let { list: g } = p, _ = new Map();
52
+ for (let e of g) {
41
53
  let t = e.getBoundingClientRect();
42
- m.set(e, t.top);
54
+ _.set(e, t.top);
43
55
  }
44
- let h = p ? p.getBoundingClientRect().bottom : a;
45
- r.push(d), c.layout();
46
- for (let e of r) {
47
- if (e === d) continue;
48
- let t = m.get(e);
56
+ let v = g.length > 0 ? g[g.length - 1] : null, y = v ? v.getBoundingClientRect().bottom : f.getBox().top + o;
57
+ g.push(m), l.layout(p);
58
+ for (let e of g) {
59
+ if (e === m) continue;
60
+ let t = _.get(e);
49
61
  if (t === void 0) continue;
50
62
  let n = e.getBoundingClientRect().top - t;
51
63
  n !== 0 && e.animate([{ transform: `translateY(${-n}px)` }, { transform: "translateY(0)" }], {
52
- duration: s,
53
- easing: o
64
+ duration: c,
65
+ easing: s
54
66
  });
55
67
  }
56
- let g = d.getBoundingClientRect().top - h;
57
- d.animate([
68
+ let b = m.getBoundingClientRect().top - y;
69
+ m.animate([
58
70
  {
59
71
  opacity: 0,
60
- transform: `translateY(${g}px)`,
72
+ transform: `translateY(${b}px)`,
61
73
  offset: 0,
62
74
  easing: "linear"
63
75
  },
64
76
  {
65
77
  opacity: 1,
66
- transform: `translateY(${g}px)`,
78
+ transform: `translateY(${b}px)`,
67
79
  offset: .15,
68
80
  easing: "linear"
69
81
  },
@@ -72,13 +84,13 @@ var r = [], i = 10, a = 10, o = "cubic-bezier(0.4, 0, 0.2, 1)", s = 300, c = cla
72
84
  transform: "translateY(0)",
73
85
  offset: 1
74
86
  }
75
- ], { duration: s });
76
- let _ = !1, v = () => {
77
- if (_) return;
78
- _ = !0;
79
- let e = r.indexOf(d);
80
- e > -1 && (r.splice(e, 1), c.flipExisting());
81
- let t = d.animate([
87
+ ], { duration: c });
88
+ let x = !1, S = () => {
89
+ if (x) return;
90
+ x = !0;
91
+ let e = g.indexOf(m);
92
+ e > -1 && (g.splice(e, 1), l.flipExisting(p, m), l.releaseState(p));
93
+ let t = m.animate([
82
94
  {
83
95
  opacity: 1,
84
96
  transform: "translateY(0)",
@@ -87,37 +99,37 @@ var r = [], i = 10, a = 10, o = "cubic-bezier(0.4, 0, 0.2, 1)", s = 300, c = cla
87
99
  },
88
100
  {
89
101
  opacity: 1,
90
- transform: `translateY(${g}px)`,
102
+ transform: `translateY(${b}px)`,
91
103
  offset: .85,
92
104
  easing: "linear"
93
105
  },
94
106
  {
95
107
  opacity: 0,
96
- transform: `translateY(${g}px)`,
108
+ transform: `translateY(${b}px)`,
97
109
  offset: 1
98
110
  }
99
- ], { duration: s });
111
+ ], { duration: c });
100
112
  t.onfinish = () => {
101
- f.unmount(), d.remove();
113
+ h.unmount(), m.remove();
102
114
  };
103
115
  };
104
- return u > 0 && setTimeout(v, u * 1e3), v;
116
+ return u > 0 && setTimeout(S, u * 1e3), S;
105
117
  }
106
- static loading(e) {
107
- return c.show(e, "loading", 0);
118
+ static loading(e, t) {
119
+ return l.show(e, "loading", 0, t);
108
120
  }
109
- static success(e, t) {
110
- return c.show(e, "success", t);
121
+ static success(e, t, n) {
122
+ return l.show(e, "success", t, n);
111
123
  }
112
- static error(e, t) {
113
- return c.show(e, "error", t);
124
+ static error(e, t, n) {
125
+ return l.show(e, "error", t, n);
114
126
  }
115
- static info(e, t) {
116
- return c.show(e, "info", t);
127
+ static info(e, t, n) {
128
+ return l.show(e, "info", t, n);
117
129
  }
118
- static warning(e, t) {
119
- return c.show(e, "warning", t);
130
+ static warning(e, t, n) {
131
+ return l.show(e, "warning", t, n);
120
132
  }
121
133
  };
122
134
  //#endregion
123
- export { c as default };
135
+ export { l as default };
@@ -1,26 +1,27 @@
1
1
  import { nextZIndex as e } from "../../hooks/useZIndex.js";
2
- import t from "./EMessageBox.vue.js";
3
- import { createApp as n } from "vue";
2
+ import { createContainerContext as t } from "../../hooks/useContainer.js";
3
+ import n from "./EMessageBox.vue.js";
4
+ import { createApp as r, reactive as i } from "vue";
4
5
  //#region src/components/feedback/EMessageBox/EMessageBox.ts
5
- var r = (e) => e ? "$el" in e ? e.$el : e : null, i = class i {
6
- static show(i, a, o) {
7
- return new Promise((s) => {
8
- let c = document.createElement("div");
9
- c.style.position = "fixed", c.style.inset = "0", c.style.display = "grid", c.style.placeItems = "center", c.style.backgroundColor = "var(--e-message-box-mask-background-color)", c.style.zIndex = String(e());
10
- let l = r(o?.animationReferenceElement), u = () => {
11
- if (!l) return "translate(0,0) scale(0)";
12
- let e = l.getBoundingClientRect(), t = c.querySelector(".e-message-box");
6
+ var a = class a {
7
+ static show(a, o, s) {
8
+ return new Promise((c) => {
9
+ let l = t(s?.mountPoint), u = l.container.dataset.eContainerPositioned === "true", d = document.createElement("div");
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 = 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");
13
14
  if (!t) return "translate(0,0) scale(0)";
14
15
  let n = t.getBoundingClientRect(), r = e.width / n.width, i = e.height / n.height;
15
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})`;
16
- }, d = (e, t) => {
17
- let n = c.querySelector(".e-message-box");
17
+ }, g = (e, t) => {
18
+ let n = d.querySelector(".e-message-box");
18
19
  if (!n) {
19
20
  t?.();
20
21
  return;
21
22
  }
22
23
  if (e === "enter") {
23
- let e = u();
24
+ let e = h();
24
25
  n.style.transformOrigin = "center center", n.style.transform = e, requestAnimationFrame(() => {
25
26
  let t = n.animate([
26
27
  {
@@ -48,7 +49,7 @@ var r = (e) => e ? "$el" in e ? e.$el : e : null, i = class i {
48
49
  } else {
49
50
  let e = window.getComputedStyle(n).transform;
50
51
  n.style.transformOrigin = "center center";
51
- let r = l && l.isConnected ? u() : "translate(0,0) scale(0)", i = n.animate([
52
+ let r = m && m.isConnected ? h() : "translate(0,0) scale(0)", i = n.animate([
52
53
  {
53
54
  opacity: 1,
54
55
  transform: e,
@@ -69,66 +70,84 @@ var r = (e) => e ? "$el" in e ? e.$el : e : null, i = class i {
69
70
  ], { duration: 300 });
70
71
  t && (i.onfinish = t);
71
72
  }
72
- }, f = (e) => {
73
- d("leave", () => {
74
- c.remove(), s(e);
73
+ }, _ = l.observe(() => l.cover(d)), v = i({ confirmButtonLoading: !1 }), y = !1, b = (e) => {
74
+ if (y) return;
75
+ y = !0;
76
+ let t = getComputedStyle(d).opacity || "1";
77
+ Promise.all([new Promise((e) => g("leave", () => e())), new Promise((e) => {
78
+ d.animate([{ opacity: t }, { opacity: 0 }], {
79
+ duration: 300,
80
+ easing: "linear"
81
+ }).onfinish = () => e();
82
+ })]).then(() => {
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);
75
84
  });
85
+ }, x = (e, t) => {
86
+ s?.beforeClose ? s.beforeClose(e, v, () => b(t)) : b(t);
76
87
  };
77
- n(t, {
78
- title: o?.title,
79
- message: i,
80
- type: a,
81
- width: o?.width,
82
- okText: o?.okText,
83
- cancelText: o?.cancelText,
88
+ r(n, {
89
+ title: s?.title,
90
+ message: a,
91
+ type: o,
92
+ width: s?.width,
93
+ okText: s?.okText,
94
+ cancelText: s?.cancelText,
95
+ instance: v,
84
96
  onOk: (e) => {
85
- f(a !== "prompt" || e);
97
+ x("confirm", o !== "prompt" || e);
86
98
  },
87
99
  onClose: () => {
88
- f(!1);
100
+ x("close", !1);
89
101
  },
90
102
  onCancel: () => {
91
- f(!1);
103
+ x("cancel", !1);
92
104
  }
93
- }).mount(c), document.body.appendChild(c), d("enter");
105
+ }).mount(d), l.container.appendChild(d), requestAnimationFrame(() => {
106
+ d.animate([{ opacity: 0 }, { opacity: 1 }], {
107
+ duration: 300,
108
+ easing: "linear"
109
+ }).onfinish = () => {
110
+ d.style.opacity = "";
111
+ };
112
+ }), g("enter");
94
113
  });
95
114
  }
96
115
  static confirm(e, t, n) {
97
- return i.show(e, "confirm", {
116
+ return a.show(e, "confirm", {
98
117
  title: t,
99
118
  ...n
100
119
  });
101
120
  }
102
121
  static prompt(e, t, n) {
103
- return i.show(e, "prompt", {
122
+ return a.show(e, "prompt", {
104
123
  title: t,
105
124
  ...n
106
125
  });
107
126
  }
108
127
  static warning(e, t, n) {
109
- return i.show(e, "warning", {
128
+ return a.show(e, "warning", {
110
129
  title: t,
111
130
  ...n
112
131
  });
113
132
  }
114
133
  static success(e, t, n) {
115
- return i.show(e, "success", {
134
+ return a.show(e, "success", {
116
135
  title: t,
117
136
  ...n
118
137
  });
119
138
  }
120
139
  static error(e, t, n) {
121
- return i.show(e, "error", {
140
+ return a.show(e, "error", {
122
141
  title: t,
123
142
  ...n
124
143
  });
125
144
  }
126
145
  static info(e, t, n) {
127
- return i.show(e, "info", {
146
+ return a.show(e, "info", {
128
147
  title: t,
129
148
  ...n
130
149
  });
131
150
  }
132
151
  };
133
152
  //#endregion
134
- export { i as default };
153
+ export { a as default };
@@ -2,6 +2,6 @@ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
2
2
  import t from "./EMessageBox.vue_vue_type_script_setup_true_lang.js";
3
3
  /* empty css */
4
4
  //#region src/components/feedback/EMessageBox/EMessageBox.vue
5
- var n = e(t, [["__scopeId", "data-v-942dd795"]]);
5
+ var n = e(t, [["__scopeId", "data-v-3278b5ff"]]);
6
6
  //#endregion
7
7
  export { n as default };
@@ -1,10 +1,10 @@
1
1
  import e from "../../form/EInput/EInput.vue.js";
2
- import { createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, normalizeStyle as s, openBlock as c, ref as l, toDisplayString as u, unref as d } from "vue";
2
+ import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, defineComponent as s, isVNode as c, normalizeClass as l, normalizeStyle as u, openBlock as d, ref as f, toDisplayString as p, unref as m, vShow as h, withDirectives as g } from "vue";
3
3
  //#region src/components/feedback/EMessageBox/EMessageBox.vue?vue&type=script&setup=true&lang.ts
4
- var f = { class: "e-message-box__header" }, p = {
4
+ var _ = { class: "e-message-box__header" }, v = {
5
5
  key: 0,
6
6
  class: "e-message-box__title"
7
- }, m = { class: "e-message-box__content" }, h = { class: "e-message-box__message" }, g = { class: "e-message-box__footer" }, _ = a({
7
+ }, y = { class: "e-message-box__content" }, b = { class: "e-message-box__message" }, x = { class: "e-message-box__footer" }, S = ["disabled"], C = { class: "e-message-box__spinner" }, w = s({
8
8
  __name: "EMessageBox",
9
9
  props: {
10
10
  type: {},
@@ -12,58 +12,63 @@ var f = { class: "e-message-box__header" }, p = {
12
12
  message: {},
13
13
  width: {},
14
14
  okText: { default: "确定" },
15
- cancelText: { default: "取消" }
15
+ cancelText: { default: "取消" },
16
+ instance: {}
16
17
  },
17
18
  emits: [
18
19
  "ok",
19
20
  "close",
20
21
  "cancel"
21
22
  ],
22
- setup(a, { emit: _ }) {
23
- let v = _, y = l(""), b = () => {
24
- v("close");
25
- }, x = () => {
26
- v("cancel");
27
- }, S = {
23
+ setup(s, { emit: w }) {
24
+ let T = (e) => e.vnode, E = w, D = f(""), O = () => {
25
+ E("close");
26
+ }, k = () => {
27
+ E("cancel");
28
+ }, A = {
28
29
  success: "icon-chenggong",
29
30
  warning: "icon-jinggao",
30
31
  danger: "icon-guanbi",
31
32
  info: "icon-info",
32
33
  error: "icon-guanbi"
33
- }, C = [
34
+ }, j = [
34
35
  "success",
35
36
  "warning",
36
37
  "danger",
37
38
  "info",
38
39
  "error"
39
- ].includes(a.type);
40
- return (l, _) => (c(), r("div", {
40
+ ].includes(s.type);
41
+ return (f, w) => (d(), i("div", {
41
42
  class: "e-message-box",
42
- style: s({ width: a.width || void 0 })
43
+ style: u({ width: s.width || void 0 })
43
44
  }, [
44
- i("div", f, [a.title ? (c(), r("div", p, u(a.title), 1)) : n("", !0), i("span", {
45
+ a("div", _, [s.title ? (d(), i("div", v, p(s.title), 1)) : r("", !0), a("span", {
45
46
  class: "iconfont icon-guanbi_o e-message-box__close",
46
- onClick: b
47
+ onClick: O
47
48
  })]),
48
- i("div", m, [d(C) ? (c(), r("span", {
49
+ a("div", y, [m(j) ? (d(), i("span", {
49
50
  key: 0,
50
- class: o(["iconfont e-message-box__icon", [S[a.type], `e-message-box__icon--${a.type}`]])
51
- }, null, 2)) : n("", !0), i("div", h, u(a.message), 1)]),
52
- a.type === "prompt" ? (c(), t(e, {
51
+ class: l(["iconfont e-message-box__icon", [A[s.type], `e-message-box__icon--${s.type}`]])
52
+ }, null, 2)) : r("", !0), a("div", b, [c(s.message) ? (d(), n(T, {
53
+ key: 0,
54
+ vnode: s.message
55
+ }, null, 8, ["vnode"])) : (d(), i(t, { key: 1 }, [o(p(s.message), 1)], 64))])]),
56
+ s.type === "prompt" ? (d(), n(e, {
53
57
  key: 0,
54
58
  type: "text",
55
- modelValue: y.value,
56
- "onUpdate:modelValue": _[0] ||= (e) => y.value = e
57
- }, null, 8, ["modelValue"])) : n("", !0),
58
- i("div", g, [i("button", {
59
+ modelValue: D.value,
60
+ "onUpdate:modelValue": w[0] ||= (e) => D.value = e
61
+ }, null, 8, ["modelValue"])) : r("", !0),
62
+ a("div", x, [a("button", {
59
63
  class: "e-message-box__btn e-message-box__btn--cancel",
60
- onClick: x
61
- }, u(a.cancelText), 1), i("button", {
64
+ onClick: k
65
+ }, p(s.cancelText), 1), a("button", {
62
66
  class: "e-message-box__btn e-message-box__btn--ok",
63
- onClick: _[1] ||= (e) => v("ok", y.value)
64
- }, u(a.okText), 1)])
67
+ disabled: !!s.instance?.confirmButtonLoading,
68
+ onClick: w[1] ||= (e) => E("ok", D.value)
69
+ }, [g(a("span", C, null, 512), [[h, s.instance?.confirmButtonLoading]]), o(" " + p(s.okText), 1)], 8, S)])
65
70
  ], 4));
66
71
  }
67
72
  });
68
73
  //#endregion
69
- export { _ as default };
74
+ export { w as default };