bp-aicc-editor 1.2.521 → 1.2.523

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 (112) hide show
  1. package/lib/{ScreenPreview-CV95NWOd.js → ScreenPreview-yUHo60be.js} +51 -105
  2. package/lib/atlas-BMjKIOwk.js +3891 -0
  3. package/lib/{button-base-DHNVBrQ9.js → button-base-CXl1z-_m.js} +1 -1
  4. package/lib/{cache-lsjsKZHu.js → cache-DbHSDjJy.js} +1 -1
  5. package/lib/config-provider-Bui8m4GV.js +62 -0
  6. package/lib/{container-group-DqAcKEBy.js → container-group-D6Extorz.js} +1 -1
  7. package/lib/{copy-C5Pi6nJh.js → copy-CsCmPy4J.js} +1 -1
  8. package/lib/{datav-BER95ty-.js → datav-BTD-HJhV.js} +27 -27
  9. package/lib/{delete-C2EW4JCs.js → delete-COj0ilHh.js} +1 -1
  10. package/lib/{divider-BazBGRgV.js → divider-B3K_URZc.js} +1 -1
  11. package/lib/dropdown-CWvnuJsO.js +105 -0
  12. package/lib/{edit-B2pfd2q1.js → edit-vdJaEine.js} +1 -1
  13. package/lib/{el-form-item-BDdxk5F5.js → el-form-item-BbaNohQv.js} +51 -51
  14. package/lib/{el-link-D2ol9BHQ.js → el-link-Dq721Q7-.js} +12 -12
  15. package/lib/{el-loading-Cgwgez55.js → el-loading-DOxnN3bm.js} +17 -17
  16. package/lib/{fullscreen-OChDsSnk.js → fullscreen-DXSogbcG.js} +1 -1
  17. package/lib/{image-C5ZAY3yt.js → image-Cu7JTK9-.js} +1 -1
  18. package/lib/{index-Ci8AbyIq.js → index-68soBnbK.js} +8 -8
  19. package/lib/{index-BatyRVpL.js → index-B-d8WIg1.js} +7 -7
  20. package/lib/{index-BfIEunKC.js → index-B4zV3cxV.js} +18 -17
  21. package/lib/{index-CZJriuFt.js → index-B8QqTLfg.js} +4974 -4898
  22. package/lib/index-BBMItxtW.js +619 -0
  23. package/lib/{index-CGrR_i0u.js → index-BMm0MRz5.js} +14 -15
  24. package/lib/index-BMn8EzMD.js +1027 -0
  25. package/lib/index-BNTW8F-9.js +322 -0
  26. package/lib/index-BTI518b1.js +69 -0
  27. package/lib/{index-BWPVi43E.js → index-BZxUAT4z.js} +4 -4
  28. package/lib/{index-Ck7uFsPE.js → index-BdYTc41r.js} +24 -24
  29. package/lib/index-BfI55Ioc.js +404 -0
  30. package/lib/{index-BhP9eBCp.js → index-BmAcetSf.js} +19 -20
  31. package/lib/index-C35Yp3i8.js +545 -0
  32. package/lib/{index-B19lEYui.js → index-C6GUNRx9.js} +2 -2
  33. package/lib/index-CC28_8Jl.js +567 -0
  34. package/lib/index-CDhmvVt8.js +338 -0
  35. package/lib/index-CDx0y0fp.js +144 -0
  36. package/lib/{el-button-DvLKp6Ga.js → index-CJjljoJG.js} +106 -106
  37. package/lib/index-CNCgXPiO.js +235 -0
  38. package/lib/{index-CWbZmzNT.js → index-CPa_MnOD.js} +30 -29
  39. package/lib/index-CW6ljdNf.js +1582 -0
  40. package/lib/index-C_WopEui.js +513 -0
  41. package/lib/{index-CX_Ghcb6.js → index-CejowjGd.js} +56 -53
  42. package/lib/{index-BwCQWH-N.js → index-CfZXOvi-.js} +42 -40
  43. package/lib/{index-CVsy2qTh.js → index-CgzRTmPh.js} +16 -15
  44. package/lib/index-CmzuNM9v.js +32 -0
  45. package/lib/index-CrxcAFt8.js +5343 -0
  46. package/lib/{index-C7k49L2T.js → index-CuHA7QXu.js} +10 -10
  47. package/lib/{index-qVyixI57.js → index-CyBGAB7D.js} +21 -20
  48. package/lib/index-D6J7coU0.js +129 -0
  49. package/lib/index-DDHxrdAo.js +1773 -0
  50. package/lib/index-DDL-yqq0.js +1401 -0
  51. package/lib/{index-BPcvYtHf.js → index-DOxy-bey.js} +6 -6
  52. package/lib/{index-CVE37oE7.js → index-DOyr0BHr.js} +7 -7
  53. package/lib/index-DPOanmXI.js +887 -0
  54. package/lib/{index-3pzVrvby.js → index-DR_husZg.js} +46 -46
  55. package/lib/{el-tab-pane-DD2eM9rB.js → index-DUzOCQrW.js} +125 -124
  56. package/lib/{index-CGFEhUh9.js → index-DVYI-g8Q.js} +53 -52
  57. package/lib/index-DVyjilLy.js +51 -0
  58. package/lib/{index-CJyYGViv.js → index-DWAJ9GyC.js} +9 -9
  59. package/lib/index-Dj2qCwPD.js +178 -0
  60. package/lib/{index-D4X0_jbv.js → index-Dx2Gld1J.js} +32 -32
  61. package/lib/{index-C2XeCqtq.js → index-E9T-y2Yz.js} +3 -3
  62. package/lib/{index-Buoc0ISP.js → index-FlmXAW0Z.js} +60 -58
  63. package/lib/index-NqqOvc6V.js +169 -0
  64. package/lib/{index-BkdiXCRY.js → index-ObKRNOmJ.js} +6 -7
  65. package/lib/index-bOWjoplU.js +448 -0
  66. package/lib/{index-CXQ258ID.js → index-buU8mDzi.js} +15 -16
  67. package/lib/{index-tbhuYbb0.js → index-mGKAWDJZ.js} +11 -12
  68. package/lib/index.es.js +4 -4
  69. package/lib/index.umd.js +46 -40
  70. package/lib/{layer-setting-panel-VvDSQ-cn.js → layer-setting-panel-BGPj32nP.js} +2 -2
  71. package/lib/{line-show-Bp4G-LqO.js → line-show-DUn1bu_P.js} +1 -1
  72. package/lib/{multi-layout-config-drSy7ezf.js → multi-layout-config-BTWxJeuc.js} +7 -8
  73. package/lib/{multiline-text-D89kYrA2.js → multiline-text-CPJdCWJ7.js} +1 -1
  74. package/lib/{navigation-YAGxZ0OT.js → navigation-ZLJaBOUj.js} +1 -1
  75. package/lib/page-config-CHP07Ndf.js +253 -0
  76. package/lib/{page-tabs-wFeNBY4c.js → page-tabs-CKLhgrip.js} +45 -41
  77. package/lib/{plus-3mdO6yXY.js → plus-xgpQU22I.js} +1 -1
  78. package/lib/raf-CJog_tcv.js +6 -0
  79. package/lib/refs-DZMysoBI.js +8 -0
  80. package/lib/{requestOld-DRcjsmRQ.js → requestOld-CaGzCXrV.js} +97 -96
  81. package/lib/{schema-BsnIOGBI.js → schema-BaFWGeFt.js} +1 -1
  82. package/lib/{schema-_APJMUW3.js → schema-CUR-UK2S.js} +44 -41
  83. package/lib/{schema-BavJE-SK.js → schema-WUk7XVq7.js} +58 -54
  84. package/lib/{schema-qKI1F8Bt.js → schema-geZfujv8.js} +1 -1
  85. package/lib/{schema-BflqDw-a.js → schema-iosjRxCC.js} +1 -1
  86. package/lib/{schema-Bo30dbBx.js → schema-tuPllxn6.js} +1 -1
  87. package/lib/scroll-CWfl60Tu.js +58 -0
  88. package/lib/{setting-panel-BgzN3BUP.js → setting-panel-0qLcwYyT.js} +154 -151
  89. package/lib/{show-C4AeWlKj.js → show-BCwE3hGY.js} +1 -1
  90. package/lib/{stepper-D5EFeJWG.js → stepper-Bud1Jppr.js} +1 -1
  91. package/lib/strings-BvUQWzDM.js +6 -0
  92. package/lib/style.css +1 -1
  93. package/lib/{switch-B0dR4LM_.js → switch-VlaUmSpJ.js} +1 -1
  94. package/lib/{unlock-Cq9PLhBA.js → unlock-B2FVPQlm.js} +1 -1
  95. package/lib/{use-env-url-BM9dgwx_.js → use-env-url-D1p8ib2L.js} +1 -1
  96. package/lib/use-global-config-D_yoqf3Q.js +90 -0
  97. package/lib/validator-BOXH2OMA.js +5 -0
  98. package/lib/{vnode-B_Dj8zxu.js → vnode-Bxs1g06p.js} +1 -1
  99. package/package.json +1 -1
  100. package/lib/atlas-DsmLq2V0.js +0 -38
  101. package/lib/el-overlay-BK0_UIU6.js +0 -704
  102. package/lib/index-B1yAU2Cb.js +0 -390
  103. package/lib/index-BCFXuK7k.js +0 -68
  104. package/lib/index-BD4Jwo8Z.js +0 -449
  105. package/lib/index-BMWqf88L.js +0 -356
  106. package/lib/index-Belsn8kt.js +0 -107
  107. package/lib/index-CIADz1i0.js +0 -8494
  108. package/lib/index-DKTrbqcA.js +0 -56
  109. package/lib/index-Ge_d2xqD.js +0 -127
  110. package/lib/page-config-Cmsi8Vpr.js +0 -582
  111. package/lib/strings-_mHAdgA4.js +0 -6
  112. package/lib/use-global-config-CflpFoxU.js +0 -115
@@ -0,0 +1,513 @@
1
+ import { defineComponent as ue, inject as ae, computed as u, createElementBlock as W, openBlock as F, normalizeStyle as de, normalizeClass as I, unref as e, createElementVNode as V, createCommentVNode as x, renderSlot as P, toDisplayString as we, createVNode as U, withCtx as A, createBlock as ee, resolveDynamicComponent as ke, getCurrentInstance as De, ref as S, watch as X, nextTick as Ie, onMounted as Ae, useSlots as Se, provide as Te, Transition as _e, mergeProps as ne, withDirectives as Pe, createSlots as Be, vShow as Fe } from "vue";
2
+ import { a as $e, u as Oe, E as Le, b as Ne } from "./index-CDx0y0fp.js";
3
+ import { e as ce, Y as Re, g as fe, t as Me, bG as ze, E as je, bH as Ve, ak as Ue, ah as ve, f as te, bI as qe, z as Ke, r as se, aQ as Ge, v as Je, j as Qe, a5 as Ye, R as Ze, az as re, bJ as ie, Q as We, h as Xe, C as He, D as xe, w as eo } from "./index-B8QqTLfg.js";
4
+ import { c as oo } from "./refs-DZMysoBI.js";
5
+ import { a as lo } from "./use-global-config-D_yoqf3Q.js";
6
+ import { u as ao } from "./index-BZxUAT4z.js";
7
+ const ge = Symbol("dialogInjectionKey"), H = "dialog-fade", me = ce({
8
+ center: Boolean,
9
+ alignCenter: {
10
+ type: Boolean,
11
+ default: void 0
12
+ },
13
+ closeIcon: {
14
+ type: Re
15
+ },
16
+ draggable: {
17
+ type: Boolean,
18
+ default: void 0
19
+ },
20
+ overflow: {
21
+ type: Boolean,
22
+ default: void 0
23
+ },
24
+ fullscreen: Boolean,
25
+ headerClass: String,
26
+ bodyClass: String,
27
+ footerClass: String,
28
+ showClose: {
29
+ type: Boolean,
30
+ default: !0
31
+ },
32
+ title: {
33
+ type: String,
34
+ default: ""
35
+ },
36
+ ariaLevel: {
37
+ type: String,
38
+ default: "2"
39
+ }
40
+ }), no = {
41
+ close: () => !0
42
+ }, to = ["aria-level"], so = ["aria-label"], ro = ["id"], io = ue({
43
+ name: "ElDialogContent",
44
+ __name: "dialog-content",
45
+ props: me,
46
+ emits: no,
47
+ setup(o, { expose: d }) {
48
+ const { t: g } = Me(), { Close: N } = Ve, t = o, { dialogRef: m, headerRef: T, bodyId: _, ns: r, style: c } = ae(ge), { focusTrapRef: C } = ae(ze), h = oo(C, m), E = u(() => !!t.draggable), w = u(() => !!t.overflow), { resetPosition: p, updatePosition: y, isDragging: B } = $e(
49
+ m,
50
+ T,
51
+ E,
52
+ w
53
+ ), $ = u(() => [
54
+ r.b(),
55
+ r.is("fullscreen", t.fullscreen),
56
+ r.is("draggable", E.value),
57
+ r.is("dragging", B.value),
58
+ r.is("align-center", !!t.alignCenter),
59
+ { [r.m("center")]: t.center }
60
+ ]);
61
+ return d({
62
+ resetPosition: p,
63
+ updatePosition: y
64
+ }), (s, k) => (F(), W(
65
+ "div",
66
+ {
67
+ ref: e(h),
68
+ class: I($.value),
69
+ style: de(e(c)),
70
+ tabindex: "-1"
71
+ },
72
+ [
73
+ V(
74
+ "header",
75
+ {
76
+ ref_key: "headerRef",
77
+ ref: T,
78
+ class: I([e(r).e("header"), s.headerClass, { "show-close": s.showClose }])
79
+ },
80
+ [
81
+ P(s.$slots, "header", {}, () => [
82
+ V("span", {
83
+ role: "heading",
84
+ "aria-level": s.ariaLevel,
85
+ class: I(e(r).e("title"))
86
+ }, we(s.title), 11, to)
87
+ ]),
88
+ s.showClose ? (F(), W("button", {
89
+ key: 0,
90
+ "aria-label": e(g)("el.dialog.close"),
91
+ class: I(e(r).e("headerbtn")),
92
+ type: "button",
93
+ onClick: k[0] || (k[0] = (R) => s.$emit("close"))
94
+ }, [
95
+ U(e(je), {
96
+ class: I(e(r).e("close"))
97
+ }, {
98
+ default: A(() => [
99
+ (F(), ee(ke(s.closeIcon || e(N))))
100
+ ]),
101
+ _: 1
102
+ }, 8, ["class"])
103
+ ], 10, so)) : x("v-if", !0)
104
+ ],
105
+ 2
106
+ ),
107
+ V("div", {
108
+ id: e(_),
109
+ class: I([e(r).e("body"), s.bodyClass])
110
+ }, [
111
+ P(s.$slots, "default")
112
+ ], 10, ro),
113
+ s.$slots.footer ? (F(), W(
114
+ "footer",
115
+ {
116
+ key: 0,
117
+ class: I([e(r).e("footer"), s.footerClass])
118
+ },
119
+ [
120
+ P(s.$slots, "footer")
121
+ ],
122
+ 2
123
+ )) : x("v-if", !0)
124
+ ],
125
+ 6
126
+ ));
127
+ }
128
+ });
129
+ var uo = /* @__PURE__ */ fe(io, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);
130
+ const co = ce({
131
+ ...me,
132
+ appendToBody: Boolean,
133
+ appendTo: {
134
+ type: qe.to.type,
135
+ default: "body"
136
+ },
137
+ beforeClose: {
138
+ type: te(Function)
139
+ },
140
+ destroyOnClose: Boolean,
141
+ closeOnClickModal: {
142
+ type: Boolean,
143
+ default: !0
144
+ },
145
+ closeOnPressEscape: {
146
+ type: Boolean,
147
+ default: !0
148
+ },
149
+ lockScroll: {
150
+ type: Boolean,
151
+ default: !0
152
+ },
153
+ modal: {
154
+ type: Boolean,
155
+ default: !0
156
+ },
157
+ modalPenetrable: Boolean,
158
+ openDelay: {
159
+ type: Number,
160
+ default: 0
161
+ },
162
+ closeDelay: {
163
+ type: Number,
164
+ default: 0
165
+ },
166
+ top: {
167
+ type: String
168
+ },
169
+ modelValue: Boolean,
170
+ modalClass: String,
171
+ headerClass: String,
172
+ bodyClass: String,
173
+ footerClass: String,
174
+ width: {
175
+ type: [String, Number]
176
+ },
177
+ zIndex: {
178
+ type: Number
179
+ },
180
+ trapFocus: Boolean,
181
+ headerAriaLevel: {
182
+ type: String,
183
+ default: "2"
184
+ },
185
+ transition: {
186
+ type: te([String, Object]),
187
+ default: void 0
188
+ }
189
+ }), fo = {
190
+ open: () => !0,
191
+ opened: () => !0,
192
+ close: () => !0,
193
+ closed: () => !0,
194
+ [ve]: (o) => Ue(o),
195
+ openAutoFocus: () => !0,
196
+ closeAutoFocus: () => !0
197
+ }, vo = "ElDialog", go = (o, d) => {
198
+ var g;
199
+ const t = De().emit, { nextZIndex: m } = Ke();
200
+ let T = "";
201
+ const _ = se(), r = se(), c = S(!1), C = S(!1), h = S(!1), E = S((g = o.zIndex) != null ? g : m()), w = S(!1);
202
+ let p, y;
203
+ const B = lo(), $ = u(() => {
204
+ var l, n;
205
+ return (n = (l = B.value) == null ? void 0 : l.namespace) != null ? n : Ge;
206
+ }), s = u(() => {
207
+ var l;
208
+ return (l = B.value) == null ? void 0 : l.dialog;
209
+ }), k = u(() => {
210
+ const l = {}, n = `--${$.value}-dialog`;
211
+ if (!o.fullscreen) {
212
+ o.top && (l[`${n}-margin-top`] = o.top);
213
+ const i = Je(o.width);
214
+ i && (l[`${n}-width`] = i);
215
+ }
216
+ return l;
217
+ }), R = u(
218
+ () => {
219
+ var l, n, i;
220
+ return ((i = (n = o.draggable) != null ? n : (l = s.value) == null ? void 0 : l.draggable) != null ? i : !1) && !o.fullscreen;
221
+ }
222
+ ), M = u(
223
+ () => {
224
+ var l, n, i;
225
+ return (i = (n = o.alignCenter) != null ? n : (l = s.value) == null ? void 0 : l.alignCenter) != null ? i : !1;
226
+ }
227
+ ), q = u(
228
+ () => {
229
+ var l, n, i;
230
+ return (i = (n = o.overflow) != null ? n : (l = s.value) == null ? void 0 : l.overflow) != null ? i : !1;
231
+ }
232
+ ), K = u(() => M.value ? { display: "flex" } : {}), G = u(() => {
233
+ var l, n, i;
234
+ const Y = (i = (n = o.transition) != null ? n : (l = s.value) == null ? void 0 : l.transition) != null ? i : H, he = {
235
+ name: Y,
236
+ onAfterEnter: O,
237
+ onBeforeLeave: L,
238
+ onAfterLeave: f
239
+ };
240
+ if (Qe(Y)) {
241
+ const b = { ...Y }, Z = (j, Ee) => (oe) => {
242
+ Ze(j) ? j.forEach((le) => {
243
+ re(le) && le(oe);
244
+ }) : re(j) && j(oe), Ee();
245
+ };
246
+ return b.onAfterEnter = Z(b.onAfterEnter, O), b.onBeforeLeave = Z(b.onBeforeLeave, L), b.onAfterLeave = Z(b.onAfterLeave, f), b.name || (b.name = H, Ye(
247
+ vo,
248
+ `transition.name is missing when using object syntax, fallback to '${H}'`
249
+ )), b;
250
+ }
251
+ return he;
252
+ });
253
+ function O() {
254
+ t("opened");
255
+ }
256
+ function f() {
257
+ t("closed"), t(ve, !1), o.destroyOnClose && (h.value = !1), w.value = !1;
258
+ }
259
+ function L() {
260
+ w.value = !0, t("close");
261
+ }
262
+ function J() {
263
+ y?.(), p?.(), o.openDelay && o.openDelay > 0 ? { stop: p } = ie(() => D(), o.openDelay) : D();
264
+ }
265
+ function a() {
266
+ p?.(), y?.(), o.closeDelay && o.closeDelay > 0 ? { stop: y } = ie(() => Q(), o.closeDelay) : Q();
267
+ }
268
+ function v() {
269
+ function l(n) {
270
+ n || (C.value = !0, c.value = !1);
271
+ }
272
+ o.beforeClose ? o.beforeClose(l) : a();
273
+ }
274
+ function z() {
275
+ o.closeOnClickModal && v();
276
+ }
277
+ function D() {
278
+ We && (c.value = !0);
279
+ }
280
+ function Q() {
281
+ c.value = !1;
282
+ }
283
+ function pe() {
284
+ t("openAutoFocus");
285
+ }
286
+ function ye() {
287
+ t("closeAutoFocus");
288
+ }
289
+ function be(l) {
290
+ var n;
291
+ ((n = l.detail) == null ? void 0 : n.focusReason) === "pointer" && l.preventDefault();
292
+ }
293
+ o.lockScroll && Oe(c);
294
+ function Ce() {
295
+ o.closeOnPressEscape && v();
296
+ }
297
+ return X(
298
+ () => o.zIndex,
299
+ () => {
300
+ var l;
301
+ E.value = (l = o.zIndex) != null ? l : m();
302
+ }
303
+ ), X(
304
+ () => o.modelValue,
305
+ (l) => {
306
+ var n;
307
+ l ? (C.value = !1, J(), h.value = !0, E.value = (n = o.zIndex) != null ? n : m(), Ie(() => {
308
+ t("open"), d.value && (d.value.parentElement.scrollTop = 0, d.value.parentElement.scrollLeft = 0, d.value.scrollTop = 0);
309
+ })) : c.value && a();
310
+ }
311
+ ), X(
312
+ () => o.fullscreen,
313
+ (l) => {
314
+ d.value && (l ? (T = d.value.style.transform, d.value.style.transform = "") : d.value.style.transform = T);
315
+ }
316
+ ), Ae(() => {
317
+ o.modelValue && (c.value = !0, h.value = !0, J());
318
+ }), {
319
+ afterEnter: O,
320
+ afterLeave: f,
321
+ beforeLeave: L,
322
+ handleClose: v,
323
+ onModalClick: z,
324
+ close: a,
325
+ doClose: Q,
326
+ onOpenAutoFocus: pe,
327
+ onCloseAutoFocus: ye,
328
+ onCloseRequested: Ce,
329
+ onFocusoutPrevented: be,
330
+ titleId: _,
331
+ bodyId: r,
332
+ closed: C,
333
+ style: k,
334
+ overlayDialogStyle: K,
335
+ rendered: h,
336
+ visible: c,
337
+ zIndex: E,
338
+ transitionConfig: G,
339
+ _draggable: R,
340
+ _alignCenter: M,
341
+ _overflow: q,
342
+ closing: w
343
+ };
344
+ }, mo = ["aria-label", "aria-labelledby", "aria-describedby"], po = ue({
345
+ name: "ElDialog",
346
+ inheritAttrs: !1,
347
+ __name: "dialog",
348
+ props: co,
349
+ emits: fo,
350
+ setup(o, { expose: d }) {
351
+ const g = o, N = Se();
352
+ ao(
353
+ {
354
+ scope: "el-dialog",
355
+ from: "the title slot",
356
+ replacement: "the header slot",
357
+ version: "3.0.0",
358
+ ref: "https://element-plus.org/en-US/component/dialog.html#slots"
359
+ },
360
+ u(() => !!N.title)
361
+ );
362
+ const t = Xe("dialog"), m = S(), T = S(), _ = S(), {
363
+ visible: r,
364
+ titleId: c,
365
+ bodyId: C,
366
+ style: h,
367
+ overlayDialogStyle: E,
368
+ rendered: w,
369
+ transitionConfig: p,
370
+ zIndex: y,
371
+ _draggable: B,
372
+ _alignCenter: $,
373
+ _overflow: s,
374
+ handleClose: k,
375
+ onModalClick: R,
376
+ onOpenAutoFocus: M,
377
+ onCloseAutoFocus: q,
378
+ onCloseRequested: K,
379
+ onFocusoutPrevented: G,
380
+ closing: O
381
+ } = go(g, m);
382
+ Te(ge, {
383
+ dialogRef: m,
384
+ headerRef: T,
385
+ bodyId: C,
386
+ ns: t,
387
+ rendered: w,
388
+ style: h
389
+ });
390
+ const f = Ne(R), L = u(
391
+ () => g.modalPenetrable && !g.modal && !g.fullscreen
392
+ );
393
+ return d({
394
+ visible: r,
395
+ dialogContentRef: _,
396
+ resetPosition: () => {
397
+ var a;
398
+ (a = _.value) == null || a.resetPosition();
399
+ },
400
+ handleClose: k
401
+ }), (a, v) => (F(), ee(e(He), {
402
+ to: a.appendTo,
403
+ disabled: a.appendTo !== "body" ? !1 : !a.appendToBody
404
+ }, {
405
+ default: A(() => [
406
+ U(
407
+ _e,
408
+ ne(e(p), { persisted: "" }),
409
+ {
410
+ default: A(() => {
411
+ var z;
412
+ return [
413
+ Pe(U(e(Le), {
414
+ "custom-mask-event": "",
415
+ mask: a.modal,
416
+ "overlay-class": [
417
+ (z = a.modalClass) != null ? z : "",
418
+ `${e(t).namespace.value}-modal-dialog`,
419
+ e(t).is("penetrable", L.value)
420
+ ],
421
+ "z-index": e(y)
422
+ }, {
423
+ default: A(() => [
424
+ V("div", {
425
+ role: "dialog",
426
+ "aria-modal": "true",
427
+ "aria-label": a.title || void 0,
428
+ "aria-labelledby": a.title ? void 0 : e(c),
429
+ "aria-describedby": e(C),
430
+ class: I([
431
+ `${e(t).namespace.value}-overlay-dialog`,
432
+ e(t).is("closing", e(O))
433
+ ]),
434
+ style: de(e(E)),
435
+ onClick: v[0] || (v[0] = (...D) => e(f).onClick && e(f).onClick(...D)),
436
+ onMousedown: v[1] || (v[1] = (...D) => e(f).onMousedown && e(f).onMousedown(...D)),
437
+ onMouseup: v[2] || (v[2] = (...D) => e(f).onMouseup && e(f).onMouseup(...D))
438
+ }, [
439
+ U(e(xe), {
440
+ loop: "",
441
+ trapped: e(r),
442
+ "focus-start-el": "container",
443
+ onFocusAfterTrapped: e(M),
444
+ onFocusAfterReleased: e(q),
445
+ onFocusoutPrevented: e(G),
446
+ onReleaseRequested: e(K)
447
+ }, {
448
+ default: A(() => [
449
+ e(w) ? (F(), ee(uo, ne({
450
+ key: 0,
451
+ ref_key: "dialogContentRef",
452
+ ref: _
453
+ }, a.$attrs, {
454
+ center: a.center,
455
+ "align-center": e($),
456
+ "close-icon": a.closeIcon,
457
+ draggable: e(B),
458
+ overflow: e(s),
459
+ fullscreen: a.fullscreen,
460
+ "header-class": a.headerClass,
461
+ "body-class": a.bodyClass,
462
+ "footer-class": a.footerClass,
463
+ "show-close": a.showClose,
464
+ title: a.title,
465
+ "aria-level": a.headerAriaLevel,
466
+ onClose: e(k)
467
+ }), Be({
468
+ header: A(() => [
469
+ a.$slots.title ? P(a.$slots, "title", { key: 1 }) : P(a.$slots, "header", {
470
+ key: 0,
471
+ close: e(k),
472
+ titleId: e(c),
473
+ titleClass: e(t).e("title")
474
+ })
475
+ ]),
476
+ default: A(() => [
477
+ P(a.$slots, "default")
478
+ ]),
479
+ _: 2
480
+ }, [
481
+ a.$slots.footer ? {
482
+ name: "footer",
483
+ fn: A(() => [
484
+ P(a.$slots, "footer")
485
+ ]),
486
+ key: "0"
487
+ } : void 0
488
+ ]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "header-class", "body-class", "footer-class", "show-close", "title", "aria-level", "onClose"])) : x("v-if", !0)
489
+ ]),
490
+ _: 3
491
+ }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
492
+ ], 46, mo)
493
+ ]),
494
+ _: 3
495
+ }, 8, ["mask", "overlay-class", "z-index"]), [
496
+ [Fe, e(r)]
497
+ ])
498
+ ];
499
+ }),
500
+ _: 3
501
+ },
502
+ 16
503
+ )
504
+ ]),
505
+ _: 3
506
+ }, 8, ["to", "disabled"]));
507
+ }
508
+ });
509
+ var yo = /* @__PURE__ */ fe(po, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);
510
+ const Do = eo(yo);
511
+ export {
512
+ Do as E
513
+ };