st-comp 0.0.68 → 0.0.70

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 (78) hide show
  1. package/lib/ChartLayout.cjs.js +1 -0
  2. package/lib/ChartLayout.es.js +72 -0
  3. package/lib/Dialog.cjs.js +1 -0
  4. package/lib/Dialog.es.js +90 -0
  5. package/lib/HeatMap.cjs.js +1 -0
  6. package/lib/HeatMap.es.js +118 -0
  7. package/lib/Kline.cjs.js +1 -0
  8. package/lib/Kline.es.js +2631 -0
  9. package/lib/KlineNew.cjs.js +1 -0
  10. package/lib/KlineNew.es.js +614 -0
  11. package/lib/LinearLegend.cjs.js +1 -0
  12. package/lib/LinearLegend.es.js +63 -0
  13. package/lib/Map.cjs.js +1 -0
  14. package/lib/{bundle.js → Map.es.js} +43 -41503
  15. package/lib/Pagination.cjs.js +1 -0
  16. package/lib/Pagination.es.js +625 -0
  17. package/lib/Pie.cjs.js +2 -0
  18. package/lib/Pie.es.js +160 -0
  19. package/lib/Table.cjs.js +20 -0
  20. package/lib/Table.es.js +4007 -0
  21. package/lib/TreeMap.cjs.js +2 -0
  22. package/lib/TreeMap.es.js +163 -0
  23. package/lib/VarietySearch.cjs.js +12 -0
  24. package/lib/VarietySearch.es.js +3336 -0
  25. package/lib/VirtualTable.cjs.js +13 -0
  26. package/lib/VirtualTable.es.js +2680 -0
  27. package/lib/_commonjsHelpers-10dfc225.js +8 -0
  28. package/lib/_commonjsHelpers-87b0abe8.cjs +1 -0
  29. package/lib/_plugin-vue_export-helper-dad06003.js +9 -0
  30. package/lib/_plugin-vue_export-helper-f246444f.cjs +1 -0
  31. package/lib/base-4865d432.cjs +9 -0
  32. package/lib/base-a240bf62.js +762 -0
  33. package/lib/bundle.cjs.js +1 -0
  34. package/lib/bundle.es.js +46 -0
  35. package/lib/bundle.umd-4967d574.js +16091 -0
  36. package/lib/bundle.umd-c5698c50.cjs +71 -0
  37. package/lib/castArray-3341cbb4.cjs +1 -0
  38. package/lib/castArray-a723a736.js +10 -0
  39. package/lib/config-provider-3db4dac6.js +148 -0
  40. package/lib/config-provider-cf4edc1e.cjs +1 -0
  41. package/lib/el-button-c24606d0.cjs +1 -0
  42. package/lib/el-button-fa6a5742.js +231 -0
  43. package/lib/el-empty-282e5e93.js +204 -0
  44. package/lib/el-empty-608948d9.cjs +1 -0
  45. package/lib/el-icon-7718f55e.cjs +1 -0
  46. package/lib/el-icon-d9ef9ccc.js +592 -0
  47. package/lib/el-overlay-7fceb816.cjs +5 -0
  48. package/lib/el-overlay-9b7bdd18.js +678 -0
  49. package/lib/el-scrollbar-7dc53299.js +248 -0
  50. package/lib/el-scrollbar-bc381e35.cjs +1 -0
  51. package/lib/el-select-85ed2643.js +1894 -0
  52. package/lib/el-select-a50741c1.cjs +9 -0
  53. package/lib/el-tag-308f715a.js +2416 -0
  54. package/lib/el-tag-87fd3960.cjs +1 -0
  55. package/lib/el-tooltip-0ea8fbf8.cjs +1 -0
  56. package/lib/el-tooltip-4ed993c7.js +1 -0
  57. package/lib/focus-trap-2a734f35.cjs +3 -0
  58. package/lib/focus-trap-6922b96b.js +376 -0
  59. package/lib/index-1508a06b.js +556 -0
  60. package/lib/index-48a9f60d.cjs +1 -0
  61. package/lib/index-657047bb.js +513 -0
  62. package/lib/index-eea0bcb3.cjs +1 -0
  63. package/lib/index.esm-8d9a2abe.js +2432 -0
  64. package/lib/index.esm-94a95a2a.cjs +3 -0
  65. package/lib/raf-5e5c53db.cjs +1 -0
  66. package/lib/raf-fc8a56cf.js +6 -0
  67. package/lib/scroll-bb8039ba.cjs +1 -0
  68. package/lib/scroll-cfdae01b.js +35 -0
  69. package/lib/style.css +1 -1
  70. package/lib/typescript-7ae59c4c.js +4 -0
  71. package/lib/typescript-b63f8e83.cjs +1 -0
  72. package/lib/vnode-a9714179.js +14 -0
  73. package/lib/vnode-abafec9e.cjs +1 -0
  74. package/lib/zh-cn-92978806.js +134 -0
  75. package/lib/zh-cn-d4df7172.cjs +1 -0
  76. package/package.json +3 -3
  77. package/packages/Kline/componentsNew/KlineUtils/index.vue +8 -12
  78. package/lib/bundle.umd.cjs +0 -139
@@ -0,0 +1,592 @@
1
+ import { d as M, b as Se, a as we, e as Le } from "./config-provider-3db4dac6.js";
2
+ import { a as Ee, v as ne, b as Be, w as Ie, e as $e, m as Oe, x as Pe, U as K, z as Fe, i as Ne } from "./el-tag-308f715a.js";
3
+ import { l as te, S as R, p as Ve, U as Te, V as Ge, W as ze, i as H, k as W, x as N, E as V, j as le, A as E, e as De, u as z, _ as D, b as Ue, d as Ae, w as Me, f as ae } from "./base-a240bf62.js";
4
+ import { inject as B, computed as g, getCurrentInstance as oe, watch as se, nextTick as ie, ref as T, toRaw as q, defineComponent as w, useSlots as re, openBlock as y, createBlock as ue, resolveDynamicComponent as de, unref as r, normalizeClass as x, withCtx as ce, createElementVNode as J, withDirectives as I, createElementBlock as C, isRef as $, withModifiers as O, vModelCheckbox as P, renderSlot as U, Fragment as Ke, createTextVNode as ve, toDisplayString as be, createCommentVNode as G, normalizeStyle as Re, provide as He, toRefs as We } from "vue";
5
+ import { f as fe, U as F, j as qe, k as A, e as Q, l as me } from "./focus-trap-6922b96b.js";
6
+ var X = Object.create, Je = function() {
7
+ function e() {
8
+ }
9
+ return function(n) {
10
+ if (!te(n))
11
+ return {};
12
+ if (X)
13
+ return X(n);
14
+ e.prototype = n;
15
+ var t = new e();
16
+ return e.prototype = void 0, t;
17
+ };
18
+ }();
19
+ const Qe = Je;
20
+ function Xe(e, n, t) {
21
+ switch (t.length) {
22
+ case 0:
23
+ return e.call(n);
24
+ case 1:
25
+ return e.call(n, t[0]);
26
+ case 2:
27
+ return e.call(n, t[0], t[1]);
28
+ case 3:
29
+ return e.call(n, t[0], t[1], t[2]);
30
+ }
31
+ return e.apply(n, t);
32
+ }
33
+ function qn(e, n) {
34
+ var t = -1, l = e.length;
35
+ for (n || (n = Array(l)); ++t < l; )
36
+ n[t] = e[t];
37
+ return n;
38
+ }
39
+ var Ye = 800, Ze = 16, je = Date.now;
40
+ function _e(e) {
41
+ var n = 0, t = 0;
42
+ return function() {
43
+ var l = je(), s = Ze - (l - t);
44
+ if (t = l, s > 0) {
45
+ if (++n >= Ye)
46
+ return arguments[0];
47
+ } else
48
+ n = 0;
49
+ return e.apply(void 0, arguments);
50
+ };
51
+ }
52
+ function en(e) {
53
+ return function() {
54
+ return e;
55
+ };
56
+ }
57
+ var nn = M ? function(e, n) {
58
+ return M(e, "toString", {
59
+ configurable: !0,
60
+ enumerable: !1,
61
+ value: en(n),
62
+ writable: !0
63
+ });
64
+ } : Ee;
65
+ const tn = nn;
66
+ var ln = _e(tn);
67
+ const an = ln;
68
+ function Jn(e, n, t, l) {
69
+ var s = !t;
70
+ t || (t = {});
71
+ for (var d = -1, c = n.length; ++d < c; ) {
72
+ var a = n[d], v = l ? l(t[a], e[a], a, t, e) : void 0;
73
+ v === void 0 && (v = e[a]), s ? Se(t, a, v) : we(t, a, v);
74
+ }
75
+ return t;
76
+ }
77
+ var Y = Math.max;
78
+ function on(e, n, t) {
79
+ return n = Y(n === void 0 ? e.length - 1 : n, 0), function() {
80
+ for (var l = arguments, s = -1, d = Y(l.length - n, 0), c = Array(d); ++s < d; )
81
+ c[s] = l[n + s];
82
+ s = -1;
83
+ for (var a = Array(n + 1); ++s < n; )
84
+ a[s] = l[s];
85
+ return a[n] = t(c), Xe(e, this, a);
86
+ };
87
+ }
88
+ function sn(e) {
89
+ var n = [];
90
+ if (e != null)
91
+ for (var t in Object(e))
92
+ n.push(t);
93
+ return n;
94
+ }
95
+ var rn = Object.prototype, un = rn.hasOwnProperty;
96
+ function dn(e) {
97
+ if (!te(e))
98
+ return sn(e);
99
+ var n = ne(e), t = [];
100
+ for (var l in e)
101
+ l == "constructor" && (n || !un.call(e, l)) || t.push(l);
102
+ return t;
103
+ }
104
+ function Qn(e) {
105
+ return Be(e) ? Ie(e, !0) : dn(e);
106
+ }
107
+ var Z = R ? R.isConcatSpreadable : void 0;
108
+ function cn(e) {
109
+ return Ve(e) || $e(e) || !!(Z && e && e[Z]);
110
+ }
111
+ function pe(e, n, t, l, s) {
112
+ var d = -1, c = e.length;
113
+ for (t || (t = cn), s || (s = []); ++d < c; ) {
114
+ var a = e[d];
115
+ n > 0 && t(a) ? n > 1 ? pe(a, n - 1, t, l, s) : Oe(s, a) : l || (s[s.length] = a);
116
+ }
117
+ return s;
118
+ }
119
+ function vn(e) {
120
+ var n = e == null ? 0 : e.length;
121
+ return n ? pe(e, 1) : [];
122
+ }
123
+ function bn(e) {
124
+ return an(on(e, void 0, vn), e + "");
125
+ }
126
+ var fn = Pe(Object.getPrototypeOf, Object);
127
+ const mn = fn;
128
+ var he = typeof exports == "object" && exports && !exports.nodeType && exports, j = he && typeof module == "object" && module && !module.nodeType && module, pn = j && j.exports === he, _ = pn ? Te.Buffer : void 0, ee = _ ? _.allocUnsafe : void 0;
129
+ function Xn(e, n) {
130
+ if (n)
131
+ return e.slice();
132
+ var t = e.length, l = ee ? ee(t) : new e.constructor(t);
133
+ return e.copy(l), l;
134
+ }
135
+ function hn(e) {
136
+ var n = new e.constructor(e.byteLength);
137
+ return new K(n).set(new K(e)), n;
138
+ }
139
+ function Yn(e, n) {
140
+ var t = n ? hn(e.buffer) : e.buffer;
141
+ return new e.constructor(t, e.byteOffset, e.length);
142
+ }
143
+ function Zn(e) {
144
+ return typeof e.constructor == "function" && !ne(e) ? Qe(mn(e)) : {};
145
+ }
146
+ function gn(e, n, t) {
147
+ for (var l = -1, s = n.length, d = {}; ++l < s; ) {
148
+ var c = n[l], a = Ge(e, c);
149
+ t(a, c) && Le(d, ze(c, e), a);
150
+ }
151
+ return d;
152
+ }
153
+ function kn(e, n) {
154
+ return gn(e, n, function(t, l) {
155
+ return Fe(e, l);
156
+ });
157
+ }
158
+ var xn = bn(function(e, n) {
159
+ return e == null ? {} : kn(e, n);
160
+ });
161
+ const yn = xn, ge = {
162
+ modelValue: {
163
+ type: [Number, String, Boolean],
164
+ default: void 0
165
+ },
166
+ label: {
167
+ type: [String, Boolean, Number, Object]
168
+ },
169
+ indeterminate: Boolean,
170
+ disabled: Boolean,
171
+ checked: Boolean,
172
+ name: {
173
+ type: String,
174
+ default: void 0
175
+ },
176
+ trueLabel: {
177
+ type: [String, Number],
178
+ default: void 0
179
+ },
180
+ falseLabel: {
181
+ type: [String, Number],
182
+ default: void 0
183
+ },
184
+ id: {
185
+ type: String,
186
+ default: void 0
187
+ },
188
+ controls: {
189
+ type: String,
190
+ default: void 0
191
+ },
192
+ border: Boolean,
193
+ size: fe,
194
+ tabindex: [String, Number],
195
+ validateEvent: {
196
+ type: Boolean,
197
+ default: !0
198
+ }
199
+ }, ke = {
200
+ [F]: (e) => H(e) || W(e) || N(e),
201
+ change: (e) => H(e) || W(e) || N(e)
202
+ }, L = Symbol("checkboxGroupContextKey"), Cn = ({
203
+ model: e,
204
+ isChecked: n
205
+ }) => {
206
+ const t = B(L, void 0), l = g(() => {
207
+ var d, c;
208
+ const a = (d = t == null ? void 0 : t.max) == null ? void 0 : d.value, v = (c = t == null ? void 0 : t.min) == null ? void 0 : c.value;
209
+ return !V(a) && e.value.length >= a && !n.value || !V(v) && e.value.length <= v && n.value;
210
+ });
211
+ return {
212
+ isDisabled: qe(g(() => (t == null ? void 0 : t.disabled.value) || l.value)),
213
+ isLimitDisabled: l
214
+ };
215
+ }, Sn = (e, {
216
+ model: n,
217
+ isLimitExceeded: t,
218
+ hasOwnLabel: l,
219
+ isDisabled: s,
220
+ isLabeledByFormItem: d
221
+ }) => {
222
+ const c = B(L, void 0), { formItem: a } = A(), { emit: v } = oe();
223
+ function o(i) {
224
+ var f, m;
225
+ return i === e.trueLabel || i === !0 ? (f = e.trueLabel) != null ? f : !0 : (m = e.falseLabel) != null ? m : !1;
226
+ }
227
+ function p(i, f) {
228
+ v("change", o(i), f);
229
+ }
230
+ function h(i) {
231
+ if (t.value)
232
+ return;
233
+ const f = i.target;
234
+ v("change", o(f.checked), i);
235
+ }
236
+ async function S(i) {
237
+ t.value || !l.value && !s.value && d.value && (i.composedPath().some((b) => b.tagName === "LABEL") || (n.value = o([!1, e.falseLabel].includes(n.value)), await ie(), p(n.value, i)));
238
+ }
239
+ const u = g(() => (c == null ? void 0 : c.validateEvent) || e.validateEvent);
240
+ return se(() => e.modelValue, () => {
241
+ u.value && (a == null || a.validate("change").catch((i) => le(i)));
242
+ }), {
243
+ handleChange: h,
244
+ onClickRoot: S
245
+ };
246
+ }, wn = (e) => {
247
+ const n = T(!1), { emit: t } = oe(), l = B(L, void 0), s = g(() => V(l) === !1), d = T(!1);
248
+ return {
249
+ model: g({
250
+ get() {
251
+ var a, v;
252
+ return s.value ? (a = l == null ? void 0 : l.modelValue) == null ? void 0 : a.value : (v = e.modelValue) != null ? v : n.value;
253
+ },
254
+ set(a) {
255
+ var v, o;
256
+ s.value && E(a) ? (d.value = ((v = l == null ? void 0 : l.max) == null ? void 0 : v.value) !== void 0 && a.length > (l == null ? void 0 : l.max.value), d.value === !1 && ((o = l == null ? void 0 : l.changeEvent) == null || o.call(l, a))) : (t(F, a), n.value = a);
257
+ }
258
+ }),
259
+ isGroup: s,
260
+ isLimitExceeded: d
261
+ };
262
+ }, Ln = (e, n, { model: t }) => {
263
+ const l = B(L, void 0), s = T(!1), d = g(() => {
264
+ const o = t.value;
265
+ return N(o) ? o : E(o) ? De(e.label) ? o.map(q).some((p) => Ne(p, e.label)) : o.map(q).includes(e.label) : o != null ? o === e.trueLabel : !!o;
266
+ }), c = Q(g(() => {
267
+ var o;
268
+ return (o = l == null ? void 0 : l.size) == null ? void 0 : o.value;
269
+ }), {
270
+ prop: !0
271
+ }), a = Q(g(() => {
272
+ var o;
273
+ return (o = l == null ? void 0 : l.size) == null ? void 0 : o.value;
274
+ })), v = g(() => !!(n.default || e.label));
275
+ return {
276
+ checkboxButtonSize: c,
277
+ isChecked: d,
278
+ isFocused: s,
279
+ checkboxSize: a,
280
+ hasOwnLabel: v
281
+ };
282
+ }, En = (e, { model: n }) => {
283
+ function t() {
284
+ E(n.value) && !n.value.includes(e.label) ? n.value.push(e.label) : n.value = e.trueLabel || !0;
285
+ }
286
+ e.checked && t();
287
+ }, xe = (e, n) => {
288
+ const { formItem: t } = A(), { model: l, isGroup: s, isLimitExceeded: d } = wn(e), {
289
+ isFocused: c,
290
+ isChecked: a,
291
+ checkboxButtonSize: v,
292
+ checkboxSize: o,
293
+ hasOwnLabel: p
294
+ } = Ln(e, n, { model: l }), { isDisabled: h } = Cn({ model: l, isChecked: a }), { inputId: S, isLabeledByFormItem: u } = me(e, {
295
+ formItemContext: t,
296
+ disableIdGeneration: p,
297
+ disableIdManagement: s
298
+ }), { handleChange: i, onClickRoot: f } = Sn(e, {
299
+ model: l,
300
+ isLimitExceeded: d,
301
+ hasOwnLabel: p,
302
+ isDisabled: h,
303
+ isLabeledByFormItem: u
304
+ });
305
+ return En(e, { model: l }), {
306
+ inputId: S,
307
+ isLabeledByFormItem: u,
308
+ isChecked: a,
309
+ isDisabled: h,
310
+ isFocused: c,
311
+ checkboxButtonSize: v,
312
+ checkboxSize: o,
313
+ hasOwnLabel: p,
314
+ model: l,
315
+ handleChange: i,
316
+ onClickRoot: f
317
+ };
318
+ }, Bn = ["tabindex", "role", "aria-checked"], In = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"], $n = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"], On = w({
319
+ name: "ElCheckbox"
320
+ }), Pn = /* @__PURE__ */ w({
321
+ ...On,
322
+ props: ge,
323
+ emits: ke,
324
+ setup(e) {
325
+ const n = e, t = re(), {
326
+ inputId: l,
327
+ isLabeledByFormItem: s,
328
+ isChecked: d,
329
+ isDisabled: c,
330
+ isFocused: a,
331
+ checkboxSize: v,
332
+ hasOwnLabel: o,
333
+ model: p,
334
+ handleChange: h,
335
+ onClickRoot: S
336
+ } = xe(n, t), u = z("checkbox"), i = g(() => [
337
+ u.b(),
338
+ u.m(v.value),
339
+ u.is("disabled", c.value),
340
+ u.is("bordered", n.border),
341
+ u.is("checked", d.value)
342
+ ]), f = g(() => [
343
+ u.e("input"),
344
+ u.is("disabled", c.value),
345
+ u.is("checked", d.value),
346
+ u.is("indeterminate", n.indeterminate),
347
+ u.is("focus", a.value)
348
+ ]);
349
+ return (m, b) => (y(), ue(de(!r(o) && r(s) ? "span" : "label"), {
350
+ class: x(r(i)),
351
+ "aria-controls": m.indeterminate ? m.controls : null,
352
+ onClick: r(S)
353
+ }, {
354
+ default: ce(() => [
355
+ J("span", {
356
+ class: x(r(f)),
357
+ tabindex: m.indeterminate ? 0 : void 0,
358
+ role: m.indeterminate ? "checkbox" : void 0,
359
+ "aria-checked": m.indeterminate ? "mixed" : void 0
360
+ }, [
361
+ m.trueLabel || m.falseLabel ? I((y(), C("input", {
362
+ key: 0,
363
+ id: r(l),
364
+ "onUpdate:modelValue": b[0] || (b[0] = (k) => $(p) ? p.value = k : null),
365
+ class: x(r(u).e("original")),
366
+ type: "checkbox",
367
+ "aria-hidden": m.indeterminate ? "true" : "false",
368
+ name: m.name,
369
+ tabindex: m.tabindex,
370
+ disabled: r(c),
371
+ "true-value": m.trueLabel,
372
+ "false-value": m.falseLabel,
373
+ onChange: b[1] || (b[1] = (...k) => r(h) && r(h)(...k)),
374
+ onFocus: b[2] || (b[2] = (k) => a.value = !0),
375
+ onBlur: b[3] || (b[3] = (k) => a.value = !1),
376
+ onClick: b[4] || (b[4] = O(() => {
377
+ }, ["stop"]))
378
+ }, null, 42, In)), [
379
+ [P, r(p)]
380
+ ]) : I((y(), C("input", {
381
+ key: 1,
382
+ id: r(l),
383
+ "onUpdate:modelValue": b[5] || (b[5] = (k) => $(p) ? p.value = k : null),
384
+ class: x(r(u).e("original")),
385
+ type: "checkbox",
386
+ "aria-hidden": m.indeterminate ? "true" : "false",
387
+ disabled: r(c),
388
+ value: m.label,
389
+ name: m.name,
390
+ tabindex: m.tabindex,
391
+ onChange: b[6] || (b[6] = (...k) => r(h) && r(h)(...k)),
392
+ onFocus: b[7] || (b[7] = (k) => a.value = !0),
393
+ onBlur: b[8] || (b[8] = (k) => a.value = !1),
394
+ onClick: b[9] || (b[9] = O(() => {
395
+ }, ["stop"]))
396
+ }, null, 42, $n)), [
397
+ [P, r(p)]
398
+ ]),
399
+ J("span", {
400
+ class: x(r(u).e("inner"))
401
+ }, null, 2)
402
+ ], 10, Bn),
403
+ r(o) ? (y(), C("span", {
404
+ key: 0,
405
+ class: x(r(u).e("label"))
406
+ }, [
407
+ U(m.$slots, "default"),
408
+ m.$slots.default ? G("v-if", !0) : (y(), C(Ke, { key: 0 }, [
409
+ ve(be(m.label), 1)
410
+ ], 64))
411
+ ], 2)) : G("v-if", !0)
412
+ ]),
413
+ _: 3
414
+ }, 8, ["class", "aria-controls", "onClick"]));
415
+ }
416
+ });
417
+ var Fn = /* @__PURE__ */ D(Pn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);
418
+ const Nn = ["name", "tabindex", "disabled", "true-value", "false-value"], Vn = ["name", "tabindex", "disabled", "value"], Tn = w({
419
+ name: "ElCheckboxButton"
420
+ }), Gn = /* @__PURE__ */ w({
421
+ ...Tn,
422
+ props: ge,
423
+ emits: ke,
424
+ setup(e) {
425
+ const n = e, t = re(), {
426
+ isFocused: l,
427
+ isChecked: s,
428
+ isDisabled: d,
429
+ checkboxButtonSize: c,
430
+ model: a,
431
+ handleChange: v
432
+ } = xe(n, t), o = B(L, void 0), p = z("checkbox"), h = g(() => {
433
+ var u, i, f, m;
434
+ const b = (i = (u = o == null ? void 0 : o.fill) == null ? void 0 : u.value) != null ? i : "";
435
+ return {
436
+ backgroundColor: b,
437
+ borderColor: b,
438
+ color: (m = (f = o == null ? void 0 : o.textColor) == null ? void 0 : f.value) != null ? m : "",
439
+ boxShadow: b ? `-1px 0 0 0 ${b}` : void 0
440
+ };
441
+ }), S = g(() => [
442
+ p.b("button"),
443
+ p.bm("button", c.value),
444
+ p.is("disabled", d.value),
445
+ p.is("checked", s.value),
446
+ p.is("focus", l.value)
447
+ ]);
448
+ return (u, i) => (y(), C("label", {
449
+ class: x(r(S))
450
+ }, [
451
+ u.trueLabel || u.falseLabel ? I((y(), C("input", {
452
+ key: 0,
453
+ "onUpdate:modelValue": i[0] || (i[0] = (f) => $(a) ? a.value = f : null),
454
+ class: x(r(p).be("button", "original")),
455
+ type: "checkbox",
456
+ name: u.name,
457
+ tabindex: u.tabindex,
458
+ disabled: r(d),
459
+ "true-value": u.trueLabel,
460
+ "false-value": u.falseLabel,
461
+ onChange: i[1] || (i[1] = (...f) => r(v) && r(v)(...f)),
462
+ onFocus: i[2] || (i[2] = (f) => l.value = !0),
463
+ onBlur: i[3] || (i[3] = (f) => l.value = !1),
464
+ onClick: i[4] || (i[4] = O(() => {
465
+ }, ["stop"]))
466
+ }, null, 42, Nn)), [
467
+ [P, r(a)]
468
+ ]) : I((y(), C("input", {
469
+ key: 1,
470
+ "onUpdate:modelValue": i[5] || (i[5] = (f) => $(a) ? a.value = f : null),
471
+ class: x(r(p).be("button", "original")),
472
+ type: "checkbox",
473
+ name: u.name,
474
+ tabindex: u.tabindex,
475
+ disabled: r(d),
476
+ value: u.label,
477
+ onChange: i[6] || (i[6] = (...f) => r(v) && r(v)(...f)),
478
+ onFocus: i[7] || (i[7] = (f) => l.value = !0),
479
+ onBlur: i[8] || (i[8] = (f) => l.value = !1),
480
+ onClick: i[9] || (i[9] = O(() => {
481
+ }, ["stop"]))
482
+ }, null, 42, Vn)), [
483
+ [P, r(a)]
484
+ ]),
485
+ u.$slots.default || u.label ? (y(), C("span", {
486
+ key: 2,
487
+ class: x(r(p).be("button", "inner")),
488
+ style: Re(r(s) ? r(h) : void 0)
489
+ }, [
490
+ U(u.$slots, "default", {}, () => [
491
+ ve(be(u.label), 1)
492
+ ])
493
+ ], 6)) : G("v-if", !0)
494
+ ], 2));
495
+ }
496
+ });
497
+ var ye = /* @__PURE__ */ D(Gn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);
498
+ const zn = Ue({
499
+ modelValue: {
500
+ type: Ae(Array),
501
+ default: () => []
502
+ },
503
+ disabled: Boolean,
504
+ min: Number,
505
+ max: Number,
506
+ size: fe,
507
+ label: String,
508
+ fill: String,
509
+ textColor: String,
510
+ tag: {
511
+ type: String,
512
+ default: "div"
513
+ },
514
+ validateEvent: {
515
+ type: Boolean,
516
+ default: !0
517
+ }
518
+ }), Dn = {
519
+ [F]: (e) => E(e),
520
+ change: (e) => E(e)
521
+ }, Un = w({
522
+ name: "ElCheckboxGroup"
523
+ }), An = /* @__PURE__ */ w({
524
+ ...Un,
525
+ props: zn,
526
+ emits: Dn,
527
+ setup(e, { emit: n }) {
528
+ const t = e, l = z("checkbox"), { formItem: s } = A(), { inputId: d, isLabeledByFormItem: c } = me(t, {
529
+ formItemContext: s
530
+ }), a = async (o) => {
531
+ n(F, o), await ie(), n("change", o);
532
+ }, v = g({
533
+ get() {
534
+ return t.modelValue;
535
+ },
536
+ set(o) {
537
+ a(o);
538
+ }
539
+ });
540
+ return He(L, {
541
+ ...yn(We(t), [
542
+ "size",
543
+ "min",
544
+ "max",
545
+ "disabled",
546
+ "validateEvent",
547
+ "fill",
548
+ "textColor"
549
+ ]),
550
+ modelValue: v,
551
+ changeEvent: a
552
+ }), se(() => t.modelValue, () => {
553
+ t.validateEvent && (s == null || s.validate("change").catch((o) => le(o)));
554
+ }), (o, p) => {
555
+ var h;
556
+ return y(), ue(de(o.tag), {
557
+ id: r(d),
558
+ class: x(r(l).b("group")),
559
+ role: "group",
560
+ "aria-label": r(c) ? void 0 : o.label || "checkbox-group",
561
+ "aria-labelledby": r(c) ? (h = r(s)) == null ? void 0 : h.labelId : void 0
562
+ }, {
563
+ default: ce(() => [
564
+ U(o.$slots, "default")
565
+ ]),
566
+ _: 3
567
+ }, 8, ["id", "class", "aria-label", "aria-labelledby"]);
568
+ };
569
+ }
570
+ });
571
+ var Ce = /* @__PURE__ */ D(An, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);
572
+ const jn = Me(Fn, {
573
+ CheckboxButton: ye,
574
+ CheckboxGroup: Ce
575
+ });
576
+ ae(ye);
577
+ const _n = ae(Ce);
578
+ export {
579
+ jn as E,
580
+ qn as a,
581
+ Xn as b,
582
+ Jn as c,
583
+ Yn as d,
584
+ pe as e,
585
+ hn as f,
586
+ mn as g,
587
+ _n as h,
588
+ Zn as i,
589
+ Qn as k,
590
+ on as o,
591
+ an as s
592
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";const e=require("vue"),l=require("./base-4865d432.cjs"),A=require("./vnode-abafec9e.cjs"),Z=require("./index-48a9f60d.cjs"),E=require("./focus-trap-2a734f35.cjs"),J=require("./config-provider-cf4edc1e.cjs"),Q=require("./scroll-bb8039ba.cjs"),ee=(...t)=>o=>{t.forEach(s=>{l.isFunction$1(s)?s(o):s.value=o})},te=(t,o,s)=>{let a={offsetX:0,offsetY:0};const n=c=>{const f=c.clientX,v=c.clientY,{offsetX:m,offsetY:y}=a,p=t.value.getBoundingClientRect(),d=p.left,_=p.top,D=p.width,B=p.height,O=document.documentElement.clientWidth,T=document.documentElement.clientHeight,P=-d+m,I=-_+y,k=O-d-D+m,w=T-_-B+y,M=b=>{const u=Math.min(Math.max(m+b.clientX-f,P),k),C=Math.min(Math.max(y+b.clientY-v,I),w);a={offsetX:u,offsetY:C},t.value.style.transform=`translate(${l.addUnit(u)}, ${l.addUnit(C)})`},h=()=>{document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",h)};document.addEventListener("mousemove",M),document.addEventListener("mouseup",h)},r=()=>{o.value&&t.value&&o.value.addEventListener("mousedown",n)},i=()=>{o.value&&t.value&&o.value.removeEventListener("mousedown",n)};e.onMounted(()=>{e.watchEffect(()=>{s.value?r():i()})}),e.onBeforeUnmount(()=>{i()})};/**
2
+ * @vue/reactivity v3.4.19
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/function Y(t,...o){console.warn(`[Vue warn] ${t}`,...o)}let oe;function ne(t,o=oe){o&&o.active&&o.effects.push(t)}let V;class se{constructor(o,s,a,n){this.fn=o,this.trigger=s,this.scheduler=a,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ne(this,n)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,ae();for(let o=0;o<this._depsLength;o++){const s=this.deps[o];if(s.computed&&(le(s.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),re()}return this._dirtyLevel>=4}set dirty(o){this._dirtyLevel=o?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let o=N,s=V;try{return N=!0,V=this,this._runnings++,x(this),this.fn()}finally{q(this),this._runnings--,V=s,N=o}}stop(){var o;this.active&&(x(this),q(this),(o=this.onStop)==null||o.call(this),this.active=!1)}}function le(t){return t.value}function x(t){t._trackId++,t._depsLength=0}function q(t){if(t.deps.length>t._depsLength){for(let o=t._depsLength;o<t.deps.length;o++)U(t.deps[o],t);t.deps.length=t._depsLength}}function U(t,o){const s=t.get(o);s!==void 0&&o._trackId!==s&&(t.delete(o),t.size===0&&t.cleanup())}let N=!0,z=0;const W=[];function ae(){W.push(N),N=!1}function re(){const t=W.pop();N=t===void 0?!0:t}function ie(){z++}function ue(){for(z--;!z&&R.length;)R.shift()()}function ce(t,o,s){var a;if(o.get(t)!==t._trackId){o.set(t,t._trackId);const n=t.deps[t._depsLength];n!==o?(n&&U(n,t),t.deps[t._depsLength++]=o):t._depsLength++,process.env.NODE_ENV!=="production"&&((a=t.onTrack)==null||a.call(t,l.extend({effect:t},s)))}}const R=[];function de(t,o,s){var a;ie();for(const n of t.keys()){let r;n._dirtyLevel<o&&(r??(r=t.get(n)===n._trackId))&&(n._shouldSchedule||(n._shouldSchedule=n._dirtyLevel===0),n._dirtyLevel=o),n._shouldSchedule&&(r??(r=t.get(n)===n._trackId))&&(process.env.NODE_ENV!=="production"&&((a=n.onTrigger)==null||a.call(n,l.extend({effect:n},s))),n.trigger(),(!n._runnings||n.allowRecurse)&&n._dirtyLevel!==2&&(n._shouldSchedule=!1,n.scheduler&&R.push(n.scheduler)))}ue()}const fe=(t,o)=>{const s=new Map;return s.cleanup=t,s.computed=o,s};Symbol(process.env.NODE_ENV!=="production"?"iterate":"");Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(l.isSymbol));function F(t){const o=t&&t.__v_raw;return o?F(o):t}const me="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class j{constructor(o,s,a,n){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new se(()=>o(this._value),()=>$(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=a}get value(){const o=F(this);return(!o._cacheable||o.effect.dirty)&&l.hasChanged(o._value,o._value=o.effect.run())&&$(o,4),ve(o),o.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&Y(me),$(o,2)),o._value}set value(o){this._setter(o)}get _dirty(){return this.effect.dirty}set _dirty(o){this.effect.dirty=o}}function pe(t,o,s=!1){let a,n;const r=l.isFunction$1(t);r?(a=t,n=process.env.NODE_ENV!=="production"?()=>{Y("Write operation failed: computed value is readonly")}:l.NOOP):(a=t.get,n=t.set);const i=new j(a,n,r||!n,s);return process.env.NODE_ENV!=="production"&&o&&!s&&(i.effect.onTrack=o.onTrack,i.effect.onTrigger=o.onTrigger),i}function ve(t){var o;N&&V&&(t=F(t),ce(V,(o=t.dep)!=null?o:t.dep=fe(()=>t.dep=void 0,t instanceof j?t:void 0),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function $(t,o=4,s){t=F(t);const a=t.dep;a&&de(a,o,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:s}:void 0)}const he=(t,o={})=>{e.isRef(t)||l.throwError("[useLockscreen]","You need to pass a ref param to this function");const s=o.ns||l.useNamespace("popup"),a=pe(()=>s.bm("parent","hidden"));if(!l.isClient||l.hasClass(document.body,a.value))return;let n=0,r=!1,i="0";const c=()=>{setTimeout(()=>{l.removeClass(document==null?void 0:document.body,a.value),r&&document&&(document.body.style.width=i)},200)};e.watch(t,f=>{if(!f){c();return}r=!l.hasClass(document.body,a.value),r&&(i=document.body.style.width),n=Q.getScrollBarWidth(s.namespace.value);const v=document.documentElement.clientHeight<document.body.scrollHeight,m=l.getStyle(document.body,"overflowY");n>0&&(v||m==="scroll")&&r&&(document.body.style.width=`calc(100% - ${n}px)`),l.addClass(document.body,a.value)}),e.onScopeDispose(()=>c())},H=t=>{if(!t)return{onClick:l.NOOP,onMousedown:l.NOOP,onMouseup:l.NOOP};let o=!1,s=!1;return{onClick:i=>{o&&s&&t(i),o=s=!1},onMousedown:i=>{o=i.target===i.currentTarget},onMouseup:i=>{s=i.target===i.currentTarget}}},ge=l.buildProps({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:l.definePropType([String,Array,Object])},zIndex:{type:l.definePropType([String,Number])}}),ye={click:t=>t instanceof MouseEvent},Ce="overlay";var _e=e.defineComponent({name:"ElOverlay",props:ge,emits:ye,setup(t,{slots:o,emit:s}){const a=l.useNamespace(Ce),n=f=>{s("click",f)},{onClick:r,onMousedown:i,onMouseup:c}=H(t.customMaskEvent?void 0:n);return()=>t.mask?e.createVNode("div",{class:[a.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:r,onMousedown:i,onMouseup:c},[e.renderSlot(o,"default")],A.PatchFlags.STYLE|A.PatchFlags.CLASS|A.PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):e.h("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[e.renderSlot(o,"default")])}});const Ee=_e,X=Symbol("dialogInjectionKey"),K=l.buildProps({center:Boolean,alignCenter:Boolean,closeIcon:{type:E.iconPropType},customClass:{type:String,default:""},draggable:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),be={close:()=>!0},ke=["aria-level"],we=["aria-label"],Se=["id"],Le=e.defineComponent({name:"ElDialogContent"}),Ne=e.defineComponent({...Le,props:K,emits:be,setup(t){const o=t,{t:s}=l.useLocale(),{Close:a}=E.CloseComponents,{dialogRef:n,headerRef:r,bodyId:i,ns:c,style:f}=e.inject(X),{focusTrapRef:v}=e.inject(E.FOCUS_TRAP_INJECTION_KEY),m=e.computed(()=>[c.b(),c.is("fullscreen",o.fullscreen),c.is("draggable",o.draggable),c.is("align-center",o.alignCenter),{[c.m("center")]:o.center},o.customClass]),y=ee(v,n),p=e.computed(()=>o.draggable);return te(n,r,p),(d,_)=>(e.openBlock(),e.createElementBlock("div",{ref:e.unref(y),class:e.normalizeClass(e.unref(m)),style:e.normalizeStyle(e.unref(f)),tabindex:"-1"},[e.createElementVNode("header",{ref_key:"headerRef",ref:r,class:e.normalizeClass(e.unref(c).e("header"))},[e.renderSlot(d.$slots,"header",{},()=>[e.createElementVNode("span",{role:"heading","aria-level":d.ariaLevel,class:e.normalizeClass(e.unref(c).e("title"))},e.toDisplayString(d.title),11,ke)]),d.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,"aria-label":e.unref(s)("el.dialog.close"),class:e.normalizeClass(e.unref(c).e("headerbtn")),type:"button",onClick:_[0]||(_[0]=D=>d.$emit("close"))},[e.createVNode(e.unref(Z.ElIcon),{class:e.normalizeClass(e.unref(c).e("close"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.closeIcon||e.unref(a))))]),_:1},8,["class"])],10,we)):e.createCommentVNode("v-if",!0)],2),e.createElementVNode("div",{id:e.unref(i),class:e.normalizeClass(e.unref(c).e("body"))},[e.renderSlot(d.$slots,"default")],10,Se),d.$slots.footer?(e.openBlock(),e.createElementBlock("footer",{key:0,class:e.normalizeClass(e.unref(c).e("footer"))},[e.renderSlot(d.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],6))}});var De=l._export_sfc(Ne,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Te=l.buildProps({...K,appendToBody:Boolean,beforeClose:{type:l.definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),Ie={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[E.UPDATE_MODEL_EVENT]:t=>l.isBoolean(t),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Me=(t,o)=>{const a=e.getCurrentInstance().emit,{nextZIndex:n}=E.useZIndex();let r="";const i=l.useId(),c=l.useId(),f=e.ref(!1),v=e.ref(!1),m=e.ref(!1),y=e.ref(t.zIndex||n());let p,d;const _=J.useGlobalConfig("namespace",l.defaultNamespace),D=e.computed(()=>{const g={},L=`--${_.value}-dialog`;return t.fullscreen||(t.top&&(g[`${L}-margin-top`]=t.top),t.width&&(g[`${L}-width`]=l.addUnit(t.width))),g}),B=e.computed(()=>t.alignCenter?{display:"flex"}:{});function O(){a("opened")}function T(){a("closed"),a(E.UPDATE_MODEL_EVENT,!1),t.destroyOnClose&&(m.value=!1)}function P(){a("close")}function I(){d==null||d(),p==null||p(),t.openDelay&&t.openDelay>0?{stop:p}=l.useTimeoutFn(()=>h(),t.openDelay):h()}function k(){p==null||p(),d==null||d(),t.closeDelay&&t.closeDelay>0?{stop:d}=l.useTimeoutFn(()=>b(),t.closeDelay):b()}function w(){function g(L){L||(v.value=!0,f.value=!1)}t.beforeClose?t.beforeClose(g):k()}function M(){t.closeOnClickModal&&w()}function h(){l.isClient&&(f.value=!0)}function b(){f.value=!1}function u(){a("openAutoFocus")}function C(){a("closeAutoFocus")}function S(g){var L;((L=g.detail)==null?void 0:L.focusReason)==="pointer"&&g.preventDefault()}t.lockScroll&&he(f);function G(){t.closeOnPressEscape&&w()}return e.watch(()=>t.modelValue,g=>{g?(v.value=!1,I(),m.value=!0,y.value=t.zIndex?y.value++:n(),e.nextTick(()=>{a("open"),o.value&&(o.value.scrollTop=0)})):f.value&&k()}),e.watch(()=>t.fullscreen,g=>{o.value&&(g?(r=o.value.style.transform,o.value.style.transform=""):o.value.style.transform=r)}),e.onMounted(()=>{t.modelValue&&(f.value=!0,m.value=!0,I())}),{afterEnter:O,afterLeave:T,beforeLeave:P,handleClose:w,onModalClick:M,close:k,doClose:b,onOpenAutoFocus:u,onCloseAutoFocus:C,onCloseRequested:G,onFocusoutPrevented:S,titleId:i,bodyId:c,closed:v,style:D,overlayDialogStyle:B,rendered:m,visible:f,zIndex:y}},Be=["aria-label","aria-labelledby","aria-describedby"],Oe=e.defineComponent({name:"ElDialog",inheritAttrs:!1}),Pe=e.defineComponent({...Oe,props:Te,emits:Ie,setup(t,{expose:o}){const s=t,a=e.useSlots();E.useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},e.computed(()=>!!a.title)),E.useDeprecated({scope:"el-dialog",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/dialog.html#attributes",type:"Attribute"},e.computed(()=>!!s.customClass));const n=l.useNamespace("dialog"),r=e.ref(),i=e.ref(),c=e.ref(),{visible:f,titleId:v,bodyId:m,style:y,overlayDialogStyle:p,rendered:d,zIndex:_,afterEnter:D,afterLeave:B,beforeLeave:O,handleClose:T,onModalClick:P,onOpenAutoFocus:I,onCloseAutoFocus:k,onCloseRequested:w,onFocusoutPrevented:M}=Me(s,r);e.provide(X,{dialogRef:r,headerRef:i,bodyId:m,ns:n,rendered:d,style:y});const h=H(P),b=e.computed(()=>s.draggable&&!s.fullscreen);return o({visible:f,dialogContentRef:c}),(u,C)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body",disabled:!u.appendToBody},[e.createVNode(e.Transition,{name:"dialog-fade",onAfterEnter:e.unref(D),onAfterLeave:e.unref(B),onBeforeLeave:e.unref(O),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(Ee),{"custom-mask-event":"",mask:u.modal,"overlay-class":u.modalClass,"z-index":e.unref(_)},{default:e.withCtx(()=>[e.createElementVNode("div",{role:"dialog","aria-modal":"true","aria-label":u.title||void 0,"aria-labelledby":u.title?void 0:e.unref(v),"aria-describedby":e.unref(m),class:e.normalizeClass(`${e.unref(n).namespace.value}-overlay-dialog`),style:e.normalizeStyle(e.unref(p)),onClick:C[0]||(C[0]=(...S)=>e.unref(h).onClick&&e.unref(h).onClick(...S)),onMousedown:C[1]||(C[1]=(...S)=>e.unref(h).onMousedown&&e.unref(h).onMousedown(...S)),onMouseup:C[2]||(C[2]=(...S)=>e.unref(h).onMouseup&&e.unref(h).onMouseup(...S))},[e.createVNode(e.unref(E.ElFocusTrap),{loop:"",trapped:e.unref(f),"focus-start-el":"container",onFocusAfterTrapped:e.unref(I),onFocusAfterReleased:e.unref(k),onFocusoutPrevented:e.unref(M),onReleaseRequested:e.unref(w)},{default:e.withCtx(()=>[e.unref(d)?(e.openBlock(),e.createBlock(De,e.mergeProps({key:0,ref_key:"dialogContentRef",ref:c},u.$attrs,{"custom-class":u.customClass,center:u.center,"align-center":u.alignCenter,"close-icon":u.closeIcon,draggable:e.unref(b),fullscreen:u.fullscreen,"show-close":u.showClose,title:u.title,"aria-level":u.headerAriaLevel,onClose:e.unref(T)}),e.createSlots({header:e.withCtx(()=>[u.$slots.title?e.renderSlot(u.$slots,"title",{key:1}):e.renderSlot(u.$slots,"header",{key:0,close:e.unref(T),titleId:e.unref(v),titleClass:e.unref(n).e("title")})]),default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:2},[u.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(u.$slots,"footer")])}:void 0]),1040,["custom-class","center","align-center","close-icon","draggable","fullscreen","show-close","title","aria-level","onClose"])):e.createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Be)]),_:3},8,["mask","overlay-class","z-index"]),[[e.vShow,e.unref(f)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Ve=l._export_sfc(Pe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const Fe=l.withInstall(Ve);exports.ElDialog=Fe;