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,887 @@
1
+ import { defineComponent as O, renderSlot as $, ref as E, provide as z, inject as F, onMounted as _e, unref as I, onBeforeUnmount as Ee, computed as y, toRef as L, readonly as ye, watch as Te, nextTick as ke, resolveComponent as _, createBlock as B, openBlock as T, withCtx as v, createVNode as k, normalizeProps as $e, guardReactiveProps as Fe, createElementBlock as K, normalizeClass as H, createCommentVNode as j, createSlots as Se, mergeProps as U, getCurrentInstance as se, Fragment as ae, createElementVNode as ie, withModifiers as Q, resolveDynamicComponent as Re, normalizeStyle as Oe, renderList as Me, createTextVNode as Ne, toDisplayString as Be } from "vue";
2
+ import { defineStore as De, storeToRefs as Pe } from "pinia";
3
+ import { g as N, e as ze, f as W, M as Y, aq as S, B as Ke, ar as Ae, E as X, as as Ge, k as Le, h as Z, t as Ve, v as He, at as Ue, ai as Ye, r as ue, N as V, au as ne, w as Je, an as de, _ as qe } from "./index-B8QqTLfg.js";
4
+ import { E as ce } from "./index-CJjljoJG.js";
5
+ import { E as We } from "./index-BfI55Ioc.js";
6
+ import { d as je, a as pe, b as Qe } from "./dropdown-CWvnuJsO.js";
7
+ import { c as fe } from "./refs-DZMysoBI.js";
8
+ import { E as Xe } from "./index-bOWjoplU.js";
9
+ const Ze = O({
10
+ inheritAttrs: !1
11
+ });
12
+ function xe(e, o, s, n, a, i) {
13
+ return $(e.$slots, "default");
14
+ }
15
+ var eo = /* @__PURE__ */ N(Ze, [["render", xe], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);
16
+ const oo = O({
17
+ name: "ElCollectionItem",
18
+ inheritAttrs: !1
19
+ });
20
+ function no(e, o, s, n, a, i) {
21
+ return $(e.$slots, "default");
22
+ }
23
+ var to = /* @__PURE__ */ N(oo, [["render", no], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);
24
+ const me = "data-el-collection-item", ro = (e) => {
25
+ const o = `El${e}Collection`, s = `${o}Item`, n = Symbol(o), a = Symbol(s), i = Object.assign({}, eo, {
26
+ name: o,
27
+ setup() {
28
+ const t = E(), c = /* @__PURE__ */ new Map();
29
+ z(n, {
30
+ itemMap: c,
31
+ getItems: () => {
32
+ const p = I(t);
33
+ if (!p)
34
+ return [];
35
+ const r = Array.from(
36
+ p.querySelectorAll(`[${me}]`)
37
+ );
38
+ return [...c.values()].sort(
39
+ (w, b) => r.indexOf(w.ref) - r.indexOf(b.ref)
40
+ );
41
+ },
42
+ collectionRef: t
43
+ });
44
+ }
45
+ }), l = Object.assign({}, to, {
46
+ name: s,
47
+ setup(t, { attrs: c }) {
48
+ const g = E(), p = F(n, void 0);
49
+ z(a, {
50
+ collectionItemRef: g
51
+ }), _e(() => {
52
+ const r = I(g);
53
+ r && p.itemMap.set(r, {
54
+ ref: r,
55
+ ...c
56
+ });
57
+ }), Ee(() => {
58
+ const r = I(g);
59
+ p.itemMap.delete(r);
60
+ });
61
+ }
62
+ });
63
+ return {
64
+ COLLECTION_INJECTION_KEY: n,
65
+ COLLECTION_ITEM_INJECTION_KEY: a,
66
+ ElCollection: i,
67
+ ElCollectionItem: l
68
+ };
69
+ }, lo = ze({
70
+ style: { type: W([String, Array, Object]) },
71
+ currentTabId: {
72
+ type: W(String)
73
+ },
74
+ defaultCurrentTabId: String,
75
+ loop: Boolean,
76
+ dir: {
77
+ type: String,
78
+ values: ["ltr", "rtl"],
79
+ default: "ltr"
80
+ },
81
+ orientation: {
82
+ type: W(String)
83
+ },
84
+ onBlur: Function,
85
+ onFocus: Function,
86
+ onMousedown: Function
87
+ }), {
88
+ ElCollection: so,
89
+ ElCollectionItem: ao,
90
+ COLLECTION_INJECTION_KEY: ve,
91
+ COLLECTION_ITEM_INJECTION_KEY: io
92
+ } = ro("RovingFocusGroup"), x = Symbol("elRovingFocusGroup"), ge = Symbol("elRovingFocusGroupItem"), uo = {
93
+ ArrowLeft: "prev",
94
+ ArrowUp: "prev",
95
+ ArrowRight: "next",
96
+ ArrowDown: "next",
97
+ PageUp: "first",
98
+ Home: "first",
99
+ PageDown: "last",
100
+ End: "last"
101
+ }, co = (e, o) => e, po = (e, o, s) => {
102
+ const n = Y(e), a = co(n);
103
+ return uo[a];
104
+ }, fo = (e, o) => e.map((s, n) => e[(n + o) % e.length]), te = (e) => {
105
+ const { activeElement: o } = document;
106
+ for (const s of e)
107
+ if (s === o || (s.focus(), o !== document.activeElement))
108
+ return;
109
+ }, re = "currentTabIdChange", le = "rovingFocusGroup.entryFocus", mo = { bubbles: !1, cancelable: !0 }, vo = O({
110
+ name: "ElRovingFocusGroupImpl",
111
+ inheritAttrs: !1,
112
+ props: lo,
113
+ emits: [re, "entryFocus"],
114
+ setup(e, { emit: o }) {
115
+ var s;
116
+ const n = E(
117
+ (s = e.currentTabId || e.defaultCurrentTabId) != null ? s : null
118
+ ), a = E(!1), i = E(!1), l = E(), { getItems: t } = F(
119
+ ve,
120
+ void 0
121
+ ), c = y(() => [
122
+ {
123
+ outline: "none"
124
+ },
125
+ e.style
126
+ ]), g = (d) => {
127
+ o(re, d);
128
+ }, p = () => {
129
+ a.value = !0;
130
+ }, r = S(
131
+ (d) => {
132
+ var h;
133
+ (h = e.onMousedown) == null || h.call(e, d);
134
+ },
135
+ () => {
136
+ i.value = !0;
137
+ }
138
+ ), u = S(
139
+ (d) => {
140
+ var h;
141
+ (h = e.onFocus) == null || h.call(e, d);
142
+ },
143
+ (d) => {
144
+ const h = !I(i), { target: P, currentTarget: C } = d;
145
+ if (P === C && h && !I(a)) {
146
+ const f = new Event(le, mo);
147
+ if (C?.dispatchEvent(f), !f.defaultPrevented) {
148
+ const R = t().filter((M) => M.focusable), A = R.find((M) => M.active), G = R.find(
149
+ (M) => M.id === I(n)
150
+ ), q = [A, G, ...R].filter(
151
+ Boolean
152
+ ).map((M) => M.ref);
153
+ te(q);
154
+ }
155
+ }
156
+ i.value = !1;
157
+ }
158
+ ), w = S(
159
+ (d) => {
160
+ var h;
161
+ (h = e.onBlur) == null || h.call(e, d);
162
+ },
163
+ () => {
164
+ a.value = !1;
165
+ }
166
+ ), b = (...d) => {
167
+ o("entryFocus", ...d);
168
+ }, D = (d) => {
169
+ const h = po(d);
170
+ if (h) {
171
+ d.preventDefault();
172
+ let C = t().filter((f) => f.focusable).map((f) => f.ref);
173
+ switch (h) {
174
+ case "last": {
175
+ C.reverse();
176
+ break;
177
+ }
178
+ case "prev":
179
+ case "next": {
180
+ h === "prev" && C.reverse();
181
+ const f = C.indexOf(d.currentTarget);
182
+ C = e.loop ? fo(C, f + 1) : C.slice(f + 1);
183
+ break;
184
+ }
185
+ }
186
+ ke(() => {
187
+ te(C);
188
+ });
189
+ }
190
+ };
191
+ z(x, {
192
+ currentTabbedId: ye(n),
193
+ loop: L(e, "loop"),
194
+ tabIndex: y(() => I(a) ? -1 : 0),
195
+ rovingFocusGroupRef: l,
196
+ rovingFocusGroupRootStyle: c,
197
+ orientation: L(e, "orientation"),
198
+ dir: L(e, "dir"),
199
+ onItemFocus: g,
200
+ onItemShiftTab: p,
201
+ onBlur: w,
202
+ onFocus: u,
203
+ onMousedown: r,
204
+ onKeydown: D
205
+ }), Te(
206
+ () => e.currentTabId,
207
+ (d) => {
208
+ n.value = d ?? null;
209
+ }
210
+ ), Ke(l, le, b);
211
+ }
212
+ });
213
+ function go(e, o, s, n, a, i) {
214
+ return $(e.$slots, "default");
215
+ }
216
+ var wo = /* @__PURE__ */ N(vo, [["render", go], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);
217
+ const ho = O({
218
+ name: "ElRovingFocusGroup",
219
+ components: {
220
+ ElFocusGroupCollection: so,
221
+ ElRovingFocusGroupImpl: wo
222
+ }
223
+ });
224
+ function bo(e, o, s, n, a, i) {
225
+ const l = _("el-roving-focus-group-impl"), t = _("el-focus-group-collection");
226
+ return T(), B(t, null, {
227
+ default: v(() => [
228
+ k(
229
+ l,
230
+ $e(Fe(e.$attrs)),
231
+ {
232
+ default: v(() => [
233
+ $(e.$slots, "default")
234
+ ]),
235
+ _: 3
236
+ },
237
+ 16
238
+ )
239
+ ]),
240
+ _: 3
241
+ });
242
+ }
243
+ var Io = /* @__PURE__ */ N(ho, [["render", bo], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);
244
+ const J = Symbol("elDropdown"), we = "elDropdown", { ButtonGroup: Co } = ce, _o = O({
245
+ name: "ElDropdown",
246
+ components: {
247
+ ElButton: ce,
248
+ ElButtonGroup: Co,
249
+ ElScrollbar: We,
250
+ ElTooltip: Le,
251
+ ElRovingFocusGroup: Io,
252
+ ElOnlyChild: Ge,
253
+ ElIcon: X,
254
+ ArrowDown: Ae
255
+ },
256
+ props: je,
257
+ emits: ["visible-change", "click", "command"],
258
+ setup(e, { emit: o }) {
259
+ const s = se(), n = Z("dropdown"), { t: a } = Ve(), i = E(), l = E(), t = E(), c = E(), g = E(null), p = E(null), r = E(!1), u = y(() => ({
260
+ maxHeight: He(e.maxHeight)
261
+ })), w = y(() => [n.m(f.value)]), b = y(() => Ye(e.trigger)), D = ue().value, d = y(() => e.id || D);
262
+ function h() {
263
+ var m;
264
+ (m = t.value) == null || m.onClose(void 0, 0);
265
+ }
266
+ function P() {
267
+ var m;
268
+ (m = t.value) == null || m.onClose();
269
+ }
270
+ function C() {
271
+ var m;
272
+ (m = t.value) == null || m.onOpen();
273
+ }
274
+ const f = Ue();
275
+ function R(...m) {
276
+ o("command", ...m);
277
+ }
278
+ function A() {
279
+ }
280
+ function G() {
281
+ const m = I(c);
282
+ b.value.includes("hover") && m?.focus({
283
+ preventScroll: !0
284
+ }), p.value = null;
285
+ }
286
+ function ee(m) {
287
+ p.value = m;
288
+ }
289
+ function q() {
290
+ o("visible-change", !0);
291
+ }
292
+ function M(m) {
293
+ var oe;
294
+ r.value = m?.type === "keydown", (oe = c.value) == null || oe.focus();
295
+ }
296
+ function Ce() {
297
+ o("visible-change", !1);
298
+ }
299
+ return z(J, {
300
+ contentRef: c,
301
+ role: y(() => e.role),
302
+ triggerId: d,
303
+ isUsingKeyboard: r,
304
+ onItemEnter: A,
305
+ onItemLeave: G,
306
+ handleClose: P
307
+ }), z(we, {
308
+ instance: s,
309
+ dropdownSize: f,
310
+ handleClick: h,
311
+ commandHandler: R,
312
+ trigger: L(e, "trigger"),
313
+ hideOnClick: L(e, "hideOnClick")
314
+ }), {
315
+ t: a,
316
+ ns: n,
317
+ scrollbar: g,
318
+ wrapStyle: u,
319
+ dropdownTriggerKls: w,
320
+ dropdownSize: f,
321
+ triggerId: d,
322
+ currentTabId: p,
323
+ handleCurrentTabIdChange: ee,
324
+ handlerMainButtonClick: (m) => {
325
+ o("click", m);
326
+ },
327
+ handleClose: P,
328
+ handleOpen: C,
329
+ handleBeforeShowTooltip: q,
330
+ handleShowTooltip: M,
331
+ handleBeforeHideTooltip: Ce,
332
+ popperRef: t,
333
+ contentRef: c,
334
+ triggeringElementRef: i,
335
+ referenceElementRef: l
336
+ };
337
+ }
338
+ });
339
+ function Eo(e, o, s, n, a, i) {
340
+ var l;
341
+ const t = _("el-roving-focus-group"), c = _("el-scrollbar"), g = _("el-only-child"), p = _("el-tooltip"), r = _("el-button"), u = _("arrow-down"), w = _("el-icon"), b = _("el-button-group");
342
+ return T(), K(
343
+ "div",
344
+ {
345
+ class: H([e.ns.b(), e.ns.is("disabled", e.disabled)])
346
+ },
347
+ [
348
+ k(p, {
349
+ ref: "popperRef",
350
+ role: e.role,
351
+ effect: e.effect,
352
+ "fallback-placements": ["bottom", "top"],
353
+ "popper-options": e.popperOptions,
354
+ "gpu-acceleration": !1,
355
+ placement: e.placement,
356
+ "popper-class": [e.ns.e("popper"), e.popperClass],
357
+ "popper-style": e.popperStyle,
358
+ trigger: e.trigger,
359
+ "trigger-keys": e.triggerKeys,
360
+ "trigger-target-el": e.contentRef,
361
+ "show-arrow": e.showArrow,
362
+ "show-after": e.trigger === "hover" ? e.showTimeout : 0,
363
+ "hide-after": e.trigger === "hover" ? e.hideTimeout : 0,
364
+ "virtual-ref": (l = e.virtualRef) != null ? l : e.triggeringElementRef,
365
+ "virtual-triggering": e.virtualTriggering || e.splitButton,
366
+ disabled: e.disabled,
367
+ transition: `${e.ns.namespace.value}-zoom-in-top`,
368
+ teleported: e.teleported,
369
+ "append-to": e.appendTo,
370
+ pure: "",
371
+ "focus-on-target": "",
372
+ persistent: e.persistent,
373
+ onBeforeShow: e.handleBeforeShowTooltip,
374
+ onShow: e.handleShowTooltip,
375
+ onBeforeHide: e.handleBeforeHideTooltip
376
+ }, Se({
377
+ content: v(() => [
378
+ k(c, {
379
+ ref: "scrollbar",
380
+ "wrap-style": e.wrapStyle,
381
+ tag: "div",
382
+ "view-class": e.ns.e("list")
383
+ }, {
384
+ default: v(() => [
385
+ k(t, {
386
+ loop: e.loop,
387
+ "current-tab-id": e.currentTabId,
388
+ orientation: "horizontal",
389
+ onCurrentTabIdChange: e.handleCurrentTabIdChange
390
+ }, {
391
+ default: v(() => [
392
+ $(e.$slots, "dropdown")
393
+ ]),
394
+ _: 3
395
+ }, 8, ["loop", "current-tab-id", "onCurrentTabIdChange"])
396
+ ]),
397
+ _: 3
398
+ }, 8, ["wrap-style", "view-class"])
399
+ ]),
400
+ _: 2
401
+ }, [
402
+ e.splitButton ? void 0 : {
403
+ name: "default",
404
+ fn: v(() => [
405
+ k(g, {
406
+ id: e.triggerId,
407
+ ref: "triggeringElementRef",
408
+ role: "button",
409
+ tabindex: e.tabindex
410
+ }, {
411
+ default: v(() => [
412
+ $(e.$slots, "default")
413
+ ]),
414
+ _: 3
415
+ }, 8, ["id", "tabindex"])
416
+ ]),
417
+ key: "0"
418
+ }
419
+ ]), 1032, ["role", "effect", "popper-options", "placement", "popper-class", "popper-style", "trigger", "trigger-keys", "trigger-target-el", "show-arrow", "show-after", "hide-after", "virtual-ref", "virtual-triggering", "disabled", "transition", "teleported", "append-to", "persistent", "onBeforeShow", "onShow", "onBeforeHide"]),
420
+ e.splitButton ? (T(), B(b, { key: 0 }, {
421
+ default: v(() => [
422
+ k(r, U({ ref: "referenceElementRef" }, e.buttonProps, {
423
+ size: e.dropdownSize,
424
+ type: e.type,
425
+ disabled: e.disabled,
426
+ tabindex: e.tabindex,
427
+ onClick: e.handlerMainButtonClick
428
+ }), {
429
+ default: v(() => [
430
+ $(e.$slots, "default")
431
+ ]),
432
+ _: 3
433
+ }, 16, ["size", "type", "disabled", "tabindex", "onClick"]),
434
+ k(r, U({
435
+ id: e.triggerId,
436
+ ref: "triggeringElementRef"
437
+ }, e.buttonProps, {
438
+ role: "button",
439
+ size: e.dropdownSize,
440
+ type: e.type,
441
+ class: e.ns.e("caret-button"),
442
+ disabled: e.disabled,
443
+ tabindex: e.tabindex,
444
+ "aria-label": e.t("el.dropdown.toggleDropdown")
445
+ }), {
446
+ default: v(() => [
447
+ k(w, {
448
+ class: H(e.ns.e("icon"))
449
+ }, {
450
+ default: v(() => [
451
+ k(u)
452
+ ]),
453
+ _: 1
454
+ }, 8, ["class"])
455
+ ]),
456
+ _: 1
457
+ }, 16, ["id", "size", "type", "class", "disabled", "tabindex", "aria-label"])
458
+ ]),
459
+ _: 3
460
+ })) : j("v-if", !0)
461
+ ],
462
+ 2
463
+ );
464
+ }
465
+ var yo = /* @__PURE__ */ N(_o, [["render", Eo], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);
466
+ const To = O({
467
+ components: {
468
+ ElRovingFocusCollectionItem: ao
469
+ },
470
+ props: {
471
+ focusable: {
472
+ type: Boolean,
473
+ default: !0
474
+ },
475
+ active: Boolean
476
+ },
477
+ emits: ["mousedown", "focus", "keydown"],
478
+ setup(e, { emit: o }) {
479
+ const { currentTabbedId: s, onItemFocus: n, onItemShiftTab: a, onKeydown: i } = F(
480
+ x,
481
+ void 0
482
+ ), l = ue(), t = E(), c = S(
483
+ (u) => {
484
+ o("mousedown", u);
485
+ },
486
+ (u) => {
487
+ e.focusable ? n(I(l)) : u.preventDefault();
488
+ }
489
+ ), g = S(
490
+ (u) => {
491
+ o("focus", u);
492
+ },
493
+ () => {
494
+ n(I(l));
495
+ }
496
+ ), p = S(
497
+ (u) => {
498
+ o("keydown", u);
499
+ },
500
+ (u) => {
501
+ const { shiftKey: w, target: b, currentTarget: D } = u;
502
+ if (Y(u) === V.tab && w) {
503
+ a();
504
+ return;
505
+ }
506
+ b === D && i(u);
507
+ }
508
+ ), r = y(() => s.value === I(l));
509
+ return z(ge, {
510
+ rovingFocusGroupItemRef: t,
511
+ tabIndex: y(() => I(r) ? 0 : -1),
512
+ handleMousedown: c,
513
+ handleFocus: g,
514
+ handleKeydown: p
515
+ }), {
516
+ id: l,
517
+ handleKeydown: p,
518
+ handleFocus: g,
519
+ handleMousedown: c
520
+ };
521
+ }
522
+ });
523
+ function ko(e, o, s, n, a, i) {
524
+ const l = _("el-roving-focus-collection-item");
525
+ return T(), B(l, {
526
+ id: e.id,
527
+ focusable: e.focusable,
528
+ active: e.active
529
+ }, {
530
+ default: v(() => [
531
+ $(e.$slots, "default")
532
+ ]),
533
+ _: 3
534
+ }, 8, ["id", "focusable", "active"]);
535
+ }
536
+ var $o = /* @__PURE__ */ N(To, [["render", ko], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);
537
+ const Fo = O({
538
+ name: "DropdownItemImpl",
539
+ components: {
540
+ ElIcon: X
541
+ },
542
+ props: pe,
543
+ emits: ["pointermove", "pointerleave", "click", "clickimpl"],
544
+ setup(e, { emit: o }) {
545
+ const s = Z("dropdown"), { role: n } = F(J, void 0), { collectionItemRef: a } = F(
546
+ io,
547
+ void 0
548
+ ), {
549
+ rovingFocusGroupItemRef: i,
550
+ tabIndex: l,
551
+ handleFocus: t,
552
+ handleKeydown: c,
553
+ handleMousedown: g
554
+ } = F(ge, void 0), p = fe(
555
+ a,
556
+ i
557
+ ), r = y(() => n.value === "menu" ? "menuitem" : n.value === "navigation" ? "link" : "button"), u = S((w) => {
558
+ const b = Y(w);
559
+ if ([V.enter, V.numpadEnter, V.space].includes(
560
+ b
561
+ ))
562
+ return w.preventDefault(), w.stopImmediatePropagation(), o("clickimpl", w), !0;
563
+ }, c);
564
+ return {
565
+ ns: s,
566
+ itemRef: p,
567
+ dataset: {
568
+ [me]: ""
569
+ },
570
+ role: r,
571
+ tabIndex: l,
572
+ handleFocus: t,
573
+ handleKeydown: u,
574
+ handleMousedown: g
575
+ };
576
+ }
577
+ }), So = ["aria-disabled", "tabindex", "role"];
578
+ function Ro(e, o, s, n, a, i) {
579
+ const l = _("el-icon");
580
+ return T(), K(
581
+ ae,
582
+ null,
583
+ [
584
+ e.divided ? (T(), K(
585
+ "li",
586
+ {
587
+ key: 0,
588
+ role: "separator",
589
+ class: H(e.ns.bem("menu", "item", "divided"))
590
+ },
591
+ null,
592
+ 2
593
+ )) : j("v-if", !0),
594
+ ie("li", U({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
595
+ "aria-disabled": e.disabled,
596
+ class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
597
+ tabindex: e.tabIndex,
598
+ role: e.role,
599
+ onClick: o[0] || (o[0] = (t) => e.$emit("clickimpl", t)),
600
+ onFocus: o[1] || (o[1] = (...t) => e.handleFocus && e.handleFocus(...t)),
601
+ onKeydown: o[2] || (o[2] = Q((...t) => e.handleKeydown && e.handleKeydown(...t), ["self"])),
602
+ onMousedown: o[3] || (o[3] = (...t) => e.handleMousedown && e.handleMousedown(...t)),
603
+ onPointermove: o[4] || (o[4] = (t) => e.$emit("pointermove", t)),
604
+ onPointerleave: o[5] || (o[5] = (t) => e.$emit("pointerleave", t))
605
+ }), [
606
+ e.icon ? (T(), B(l, { key: 0 }, {
607
+ default: v(() => [
608
+ (T(), B(Re(e.icon)))
609
+ ]),
610
+ _: 1
611
+ })) : j("v-if", !0),
612
+ $(e.$slots, "default")
613
+ ], 16, So)
614
+ ],
615
+ 64
616
+ );
617
+ }
618
+ var Oo = /* @__PURE__ */ N(Fo, [["render", Ro], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);
619
+ const he = () => {
620
+ const e = F(
621
+ we,
622
+ {}
623
+ ), o = y(() => e?.dropdownSize);
624
+ return {
625
+ elDropdown: e,
626
+ _elDropdownSize: o
627
+ };
628
+ }, Mo = O({
629
+ name: "ElDropdownItem",
630
+ components: {
631
+ ElRovingFocusItem: $o,
632
+ ElDropdownItemImpl: Oo
633
+ },
634
+ inheritAttrs: !1,
635
+ props: pe,
636
+ emits: ["pointermove", "pointerleave", "click"],
637
+ setup(e, { emit: o, attrs: s }) {
638
+ const { elDropdown: n } = he(), a = se(), { onItemEnter: i, onItemLeave: l } = F(
639
+ J,
640
+ void 0
641
+ ), t = S(
642
+ (r) => (o("pointermove", r), r.defaultPrevented),
643
+ ne((r) => {
644
+ if (e.disabled) {
645
+ l(r);
646
+ return;
647
+ }
648
+ const u = r.currentTarget;
649
+ u === document.activeElement || u.contains(document.activeElement) || (i(r), r.defaultPrevented || u?.focus({
650
+ preventScroll: !0
651
+ }));
652
+ })
653
+ ), c = S((r) => (o("pointerleave", r), r.defaultPrevented), ne(l)), g = S(
654
+ (r) => {
655
+ if (!e.disabled)
656
+ return o("click", r), r.type !== "keydown" && r.defaultPrevented;
657
+ },
658
+ (r) => {
659
+ var u, w, b;
660
+ if (e.disabled) {
661
+ r.stopImmediatePropagation();
662
+ return;
663
+ }
664
+ (u = n?.hideOnClick) != null && u.value && ((w = n.handleClick) == null || w.call(n)), (b = n.commandHandler) == null || b.call(n, e.command, a, r);
665
+ }
666
+ ), p = y(() => ({ ...e, ...s }));
667
+ return {
668
+ handleClick: g,
669
+ handlePointerMove: t,
670
+ handlePointerLeave: c,
671
+ propsAndAttrs: p
672
+ };
673
+ }
674
+ });
675
+ function No(e, o, s, n, a, i) {
676
+ const l = _("el-dropdown-item-impl"), t = _("el-roving-focus-item");
677
+ return T(), B(t, {
678
+ focusable: !e.disabled
679
+ }, {
680
+ default: v(() => [
681
+ k(l, U(e.propsAndAttrs, {
682
+ onPointerleave: e.handlePointerLeave,
683
+ onPointermove: e.handlePointerMove,
684
+ onClickimpl: e.handleClick
685
+ }), {
686
+ default: v(() => [
687
+ $(e.$slots, "default")
688
+ ]),
689
+ _: 3
690
+ }, 16, ["onPointerleave", "onPointermove", "onClickimpl"])
691
+ ]),
692
+ _: 3
693
+ }, 8, ["focusable"]);
694
+ }
695
+ var be = /* @__PURE__ */ N(Mo, [["render", No], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);
696
+ const Bo = O({
697
+ name: "ElDropdownMenu",
698
+ props: Qe,
699
+ setup(e) {
700
+ const o = Z("dropdown"), { _elDropdownSize: s } = he(), n = s.value, { contentRef: a, role: i, triggerId: l, isUsingKeyboard: t, handleClose: c } = F(J, void 0), {
701
+ rovingFocusGroupRef: g,
702
+ rovingFocusGroupRootStyle: p,
703
+ onBlur: r,
704
+ onFocus: u,
705
+ onKeydown: w,
706
+ onMousedown: b
707
+ } = F(x, void 0), { collectionRef: D } = F(
708
+ ve,
709
+ void 0
710
+ ), d = y(() => [o.b("menu"), o.bm("menu", n?.value)]), h = fe(
711
+ a,
712
+ g,
713
+ D
714
+ ), P = S(
715
+ (f) => {
716
+ var R;
717
+ (R = e.onKeydown) == null || R.call(e, f);
718
+ },
719
+ (f) => {
720
+ const { currentTarget: R, target: A } = f, G = Y(f);
721
+ if (R.contains(
722
+ A
723
+ ), V.tab === G)
724
+ return c();
725
+ w(f);
726
+ }
727
+ );
728
+ function C(f) {
729
+ t.value && u(f);
730
+ }
731
+ return {
732
+ size: n,
733
+ rovingFocusGroupRootStyle: p,
734
+ dropdownKls: d,
735
+ role: i,
736
+ triggerId: l,
737
+ dropdownListWrapperRef: h,
738
+ handleKeydown: P,
739
+ onBlur: r,
740
+ handleFocus: C,
741
+ onMousedown: b
742
+ };
743
+ }
744
+ }), Do = ["role", "aria-labelledby"];
745
+ function Po(e, o, s, n, a, i) {
746
+ return T(), K("ul", {
747
+ ref: e.dropdownListWrapperRef,
748
+ class: H(e.dropdownKls),
749
+ style: Oe(e.rovingFocusGroupRootStyle),
750
+ tabindex: -1,
751
+ role: e.role,
752
+ "aria-labelledby": e.triggerId,
753
+ onFocusin: o[0] || (o[0] = (...l) => e.handleFocus && e.handleFocus(...l)),
754
+ onFocusout: o[1] || (o[1] = (...l) => e.onBlur && e.onBlur(...l)),
755
+ onKeydown: o[2] || (o[2] = Q((...l) => e.handleKeydown && e.handleKeydown(...l), ["self"])),
756
+ onMousedown: o[3] || (o[3] = Q((...l) => e.onMousedown && e.onMousedown(...l), ["self"]))
757
+ }, [
758
+ $(e.$slots, "default")
759
+ ], 46, Do);
760
+ }
761
+ var Ie = /* @__PURE__ */ N(Bo, [["render", Po], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);
762
+ const zo = Je(yo, {
763
+ DropdownItem: be,
764
+ DropdownMenu: Ie
765
+ }), Ko = de(be), Ao = de(Ie), Go = {}, Lo = {
766
+ t: "1629040362588",
767
+ class: "icon",
768
+ viewBox: "0 0 1026 1024",
769
+ version: "1.1",
770
+ xmlns: "http://www.w3.org/2000/svg",
771
+ "p-id": "4043",
772
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
773
+ width: "64.125",
774
+ height: "64"
775
+ };
776
+ function Vo(e, o) {
777
+ return T(), K("svg", Lo, [...o[0] || (o[0] = [
778
+ ie("path", {
779
+ d: "M513.021956 2.043912C231.268663 2.043912 2.043912 231.27275 2.043912 513.021956s229.22475 510.978044 510.978044 510.978044 510.978044-229.228838 510.978044-510.978044S794.77525 2.043912 513.021956 2.043912z m444.366946 559.473948c-0.061317 0.443529-0.163513 0.870707-0.204391 1.314236q-2.697964 23.349653-7.644232 45.988024v0.012263h-154.131417a915.323146 915.323146 0 0 0 0-191.616766h154.131417v0.012263q4.936048 22.6118 7.644232 45.988024c0.040878 0.443529 0.143074 0.870707 0.204391 1.314236a430.721788 430.721788 0 0 1 0 96.98772zM683.688623 926.096607c47.929741-62.096096 84.25006-149.920958 102.808782-253.400144h143.646148a0.028615 0.028615 0 0 1-0.020439 0.022483A449.078164 449.078164 0 0 1 683.688623 926.096607z m246.434491-572.783904a0.030659 0.030659 0 0 1 0.020439 0.016351H786.497405c-18.558723-103.479186-54.879042-191.31018-102.808782-253.400144a449.07612 449.07612 0 0 1 246.434491 253.389924z m-199.117924 63.894738a825.321517 825.321517 0 0 1 0 191.616767h-186.057326v-191.616767h186.057326z m-186.057326-63.872255V71.248735c79.610379 23.999617 146.957285 135.259976 176.062595 282.092582h-176.062595z m0 319.361277h176.062595c-29.105309 146.832607-96.452216 258.090922-176.062595 282.092583V672.702595z m-449.027066 0.022483a0.028615 0.028615 0 0 0-0.020439-0.016351h143.646148c18.558723 103.479186 54.879042 191.31018 102.808782 253.400144A449.078164 449.078164 0 0 1 95.920798 672.725078zM342.355289 99.947305c-47.929741 62.096096-84.25006 149.920958-102.808782 253.400144H95.900359a0.044966 0.044966 0 0 0 0.020439-0.022483A449.07612 449.07612 0 0 1 342.355289 99.947305z m-47.316566 508.889166a825.321517 825.321517 0 0 1 0-191.616766h186.036886v191.616766h-186.036886z m186.036886 63.872256v282.086451c-79.58994-24.001661-146.936846-135.259976-176.042156-282.092583h176.042156z m0-319.361278h-176.042156c29.105309-146.832607 96.452216-258.090922 176.042156-282.092583v282.086451zM68.675449 464.507657c0.040878-0.386299 0.122635-0.762379 0.163513-1.152767a463.820902 463.820902 0 0 1 7.664671-46.129054v-0.012263h154.131417a911.637972 911.637972 0 0 0 0 191.616766H76.503633v-0.012263a463.820902 463.820902 0 0 1-7.664671-46.129054c-0.040878-0.390387-0.122635-0.762379-0.163513-1.152767a427.874619 427.874619 0 0 1 0-97.028598z",
780
+ "p-id": "4044"
781
+ }, null, -1)
782
+ ])]);
783
+ }
784
+ const Ho = /* @__PURE__ */ qe(Go, [["render", Vo]]), Uo = De("themeConfig", {
785
+ state: () => ({
786
+ themeConfig: {
787
+ isDrawer: !1,
788
+ primary: "#1a43f1",
789
+ isIsDark: !1,
790
+ topBar: "#ffffff",
791
+ topBarColor: "#0654F1",
792
+ isTopBarColorGradual: !1,
793
+ menuBar: "#FFFFFF",
794
+ menuBarColor: "#000000",
795
+ isMenuBarColorGradual: !1,
796
+ columnsMenuBar: "#545c64",
797
+ columnsMenuBarColor: "#e6e6e6",
798
+ isColumnsMenuBarColorGradual: !1,
799
+ isCollapse: !1,
800
+ isUniqueOpened: !1,
801
+ isFixedHeader: !1,
802
+ isFixedHeaderChange: !1,
803
+ isClassicSplitMenu: !1,
804
+ isLockScreen: !1,
805
+ lockScreenTime: 30,
806
+ isShowLogo: !0,
807
+ isShowLogoChange: !1,
808
+ isBreadcrumb: !0,
809
+ isTagsview: !1,
810
+ isBreadcrumbIcon: !1,
811
+ isTagsviewIcon: !1,
812
+ isCacheTagsView: !1,
813
+ isSortableTagsView: !0,
814
+ isShareTagsView: !1,
815
+ isFooter: !1,
816
+ isGrayscale: !1,
817
+ isInvert: !1,
818
+ isWartermark: !1,
819
+ wartermarkText: "GFastV3",
820
+ tagsStyle: "tags-style-five",
821
+ animation: "slide-right",
822
+ columnsAsideStyle: "columns-round",
823
+ columnsAsideLayout: "columns-vertical",
824
+ layout: "classic",
825
+ isRequestRoutes: !1,
826
+ globalTitle: "屏显显",
827
+ globalViceTitle: "屏显显-信息发布系统",
828
+ globalI18n: "zh-cn",
829
+ globalComponentSize: "large"
830
+ }
831
+ }),
832
+ actions: {
833
+ setThemeConfig(e) {
834
+ this.themeConfig = e;
835
+ }
836
+ }
837
+ }), en = /* @__PURE__ */ O({
838
+ __name: "index",
839
+ setup(e) {
840
+ const o = Uo(), { themeConfig: s } = Pe(o), n = y(() => [
841
+ { key: "zh-cn", label: "中文" },
842
+ { key: "en", label: "English" },
843
+ { key: "zh-tw", label: "繁體中文" }
844
+ ].map((i) => ({
845
+ ...i,
846
+ disabled: i.key === s.value.globalI18n
847
+ })));
848
+ function a(i) {
849
+ s.value.globalI18n = i, Xe.success("语言设置成功");
850
+ }
851
+ return (i, l) => (T(), B(I(zo), {
852
+ trigger: "click",
853
+ size: "small",
854
+ onCommand: a
855
+ }, {
856
+ dropdown: v(() => [
857
+ k(I(Ao), null, {
858
+ default: v(() => [
859
+ (T(!0), K(ae, null, Me(n.value, (t) => (T(), B(I(Ko), {
860
+ key: t.key,
861
+ command: t.key,
862
+ disabled: t.disabled
863
+ }, {
864
+ default: v(() => [
865
+ Ne(Be(t.label), 1)
866
+ ]),
867
+ _: 2
868
+ }, 1032, ["command", "disabled"]))), 128))
869
+ ]),
870
+ _: 1
871
+ })
872
+ ]),
873
+ default: v(() => [
874
+ k(I(X), null, {
875
+ default: v(() => [
876
+ k(Ho)
877
+ ]),
878
+ _: 1
879
+ })
880
+ ]),
881
+ _: 1
882
+ }));
883
+ }
884
+ });
885
+ export {
886
+ en as default
887
+ };