@maxtropy/v-components 0.1.17-beta.26 → 0.1.17-beta.27
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.
|
@@ -13412,12 +13412,12 @@ const fm = $6, pm = Symbol("dialogInjectionKey"), vm = Ie({
|
|
|
13412
13412
|
type: String,
|
|
13413
13413
|
default: ""
|
|
13414
13414
|
}
|
|
13415
|
-
}),
|
|
13415
|
+
}), e3 = {
|
|
13416
13416
|
close: () => !0
|
|
13417
|
-
},
|
|
13418
|
-
...
|
|
13417
|
+
}, t3 = ["aria-label"], n3 = ["id"], o3 = j({ name: "ElDialogContent" }), r3 = /* @__PURE__ */ j({
|
|
13418
|
+
...o3,
|
|
13419
13419
|
props: vm,
|
|
13420
|
-
emits:
|
|
13420
|
+
emits: e3,
|
|
13421
13421
|
setup(e) {
|
|
13422
13422
|
const t = e, { t: n } = ut(), { Close: o } = vv, { dialogRef: r, headerRef: a, bodyId: l, ns: i, style: u } = Ce(pm), { focusTrapRef: c } = Ce(pc), p = Xu(c, r), d = E(() => t.draggable);
|
|
13423
13423
|
return yv(r, a, d), (f, v) => (C(), F("div", {
|
|
@@ -13459,14 +13459,14 @@ const fm = $6, pm = Symbol("dialogInjectionKey"), vm = Ie({
|
|
|
13459
13459
|
]),
|
|
13460
13460
|
_: 1
|
|
13461
13461
|
}, 8, ["class"])
|
|
13462
|
-
], 10,
|
|
13462
|
+
], 10, t3)) : J("v-if", !0)
|
|
13463
13463
|
], 2),
|
|
13464
13464
|
Q("div", {
|
|
13465
13465
|
id: s(l),
|
|
13466
13466
|
class: B(s(i).e("body"))
|
|
13467
13467
|
}, [
|
|
13468
13468
|
ee(f.$slots, "default")
|
|
13469
|
-
], 10,
|
|
13469
|
+
], 10, n3),
|
|
13470
13470
|
f.$slots.footer ? (C(), F("footer", {
|
|
13471
13471
|
key: 0,
|
|
13472
13472
|
class: B(s(i).e("footer"))
|
|
@@ -13476,7 +13476,7 @@ const fm = $6, pm = Symbol("dialogInjectionKey"), vm = Ie({
|
|
|
13476
13476
|
], 6));
|
|
13477
13477
|
}
|
|
13478
13478
|
});
|
|
13479
|
-
var
|
|
13479
|
+
var a3 = /* @__PURE__ */ we(r3, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);
|
|
13480
13480
|
const gm = Ie({
|
|
13481
13481
|
...vm,
|
|
13482
13482
|
appendToBody: {
|
|
@@ -13532,7 +13532,7 @@ const gm = Ie({
|
|
|
13532
13532
|
type: Boolean,
|
|
13533
13533
|
default: !1
|
|
13534
13534
|
}
|
|
13535
|
-
}),
|
|
13535
|
+
}), l3 = {
|
|
13536
13536
|
open: () => !0,
|
|
13537
13537
|
opened: () => !0,
|
|
13538
13538
|
close: () => !0,
|
|
@@ -13540,7 +13540,7 @@ const gm = Ie({
|
|
|
13540
13540
|
[Ye]: (e) => Nt(e),
|
|
13541
13541
|
openAutoFocus: () => !0,
|
|
13542
13542
|
closeAutoFocus: () => !0
|
|
13543
|
-
},
|
|
13543
|
+
}, s3 = (e, t) => {
|
|
13544
13544
|
const o = Ue().emit, { nextZIndex: r } = Ks();
|
|
13545
13545
|
let a = "";
|
|
13546
13546
|
const l = Pn(), i = Pn(), u = M(!1), c = M(!1), p = M(!1), d = M(e.zIndex || r());
|
|
@@ -13622,13 +13622,13 @@ const gm = Ie({
|
|
|
13622
13622
|
visible: u,
|
|
13623
13623
|
zIndex: d
|
|
13624
13624
|
};
|
|
13625
|
-
},
|
|
13625
|
+
}, i3 = ["aria-label", "aria-labelledby", "aria-describedby"], u3 = j({
|
|
13626
13626
|
name: "ElDialog",
|
|
13627
13627
|
inheritAttrs: !1
|
|
13628
|
-
}),
|
|
13629
|
-
...
|
|
13628
|
+
}), c3 = /* @__PURE__ */ j({
|
|
13629
|
+
...u3,
|
|
13630
13630
|
props: gm,
|
|
13631
|
-
emits:
|
|
13631
|
+
emits: l3,
|
|
13632
13632
|
setup(e, { expose: t }) {
|
|
13633
13633
|
const n = e, o = Cn();
|
|
13634
13634
|
jo({
|
|
@@ -13662,7 +13662,7 @@ const gm = Ie({
|
|
|
13662
13662
|
onCloseAutoFocus: S,
|
|
13663
13663
|
onCloseRequested: I,
|
|
13664
13664
|
onFocusoutPrevented: k
|
|
13665
|
-
} =
|
|
13665
|
+
} = s3(n, a);
|
|
13666
13666
|
Ze(pm, {
|
|
13667
13667
|
dialogRef: a,
|
|
13668
13668
|
headerRef: l,
|
|
@@ -13716,7 +13716,7 @@ const gm = Ie({
|
|
|
13716
13716
|
onReleaseRequested: s(I)
|
|
13717
13717
|
}, {
|
|
13718
13718
|
default: K(() => [
|
|
13719
|
-
s(v) ? (C(), Z(
|
|
13719
|
+
s(v) ? (C(), Z(a3, Pe({
|
|
13720
13720
|
key: 0,
|
|
13721
13721
|
ref_key: "dialogContentRef",
|
|
13722
13722
|
ref: i
|
|
@@ -13754,7 +13754,7 @@ const gm = Ie({
|
|
|
13754
13754
|
]),
|
|
13755
13755
|
_: 3
|
|
13756
13756
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
13757
|
-
], 46,
|
|
13757
|
+
], 46, i3)
|
|
13758
13758
|
]),
|
|
13759
13759
|
_: 3
|
|
13760
13760
|
}, 8, ["mask", "overlay-class", "z-index"]), [
|
|
@@ -13766,25 +13766,25 @@ const gm = Ie({
|
|
|
13766
13766
|
], 8, ["disabled"]));
|
|
13767
13767
|
}
|
|
13768
13768
|
});
|
|
13769
|
-
var
|
|
13770
|
-
const
|
|
13769
|
+
var d3 = /* @__PURE__ */ we(c3, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);
|
|
13770
|
+
const f3 = gt(d3), p3 = /* @__PURE__ */ j({
|
|
13771
13771
|
inheritAttrs: !1
|
|
13772
13772
|
});
|
|
13773
|
-
function
|
|
13773
|
+
function v3(e, t, n, o, r, a) {
|
|
13774
13774
|
return ee(e.$slots, "default");
|
|
13775
13775
|
}
|
|
13776
|
-
var
|
|
13777
|
-
const
|
|
13776
|
+
var g3 = /* @__PURE__ */ we(p3, [["render", v3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);
|
|
13777
|
+
const m3 = /* @__PURE__ */ j({
|
|
13778
13778
|
name: "ElCollectionItem",
|
|
13779
13779
|
inheritAttrs: !1
|
|
13780
13780
|
});
|
|
13781
|
-
function
|
|
13781
|
+
function h3(e, t, n, o, r, a) {
|
|
13782
13782
|
return ee(e.$slots, "default");
|
|
13783
13783
|
}
|
|
13784
|
-
var
|
|
13784
|
+
var A3 = /* @__PURE__ */ we(m3, [["render", h3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);
|
|
13785
13785
|
const mm = "data-el-collection-item", hm = (e) => {
|
|
13786
13786
|
const t = `El${e}Collection`, n = `${t}Item`, o = Symbol(t), r = Symbol(n), a = {
|
|
13787
|
-
...
|
|
13787
|
+
...g3,
|
|
13788
13788
|
name: t,
|
|
13789
13789
|
setup() {
|
|
13790
13790
|
const i = M(null), u = /* @__PURE__ */ new Map();
|
|
@@ -13801,7 +13801,7 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13801
13801
|
});
|
|
13802
13802
|
}
|
|
13803
13803
|
}, l = {
|
|
13804
|
-
...
|
|
13804
|
+
...A3,
|
|
13805
13805
|
name: n,
|
|
13806
13806
|
setup(i, { attrs: u }) {
|
|
13807
13807
|
const c = M(null), p = Ce(o, void 0);
|
|
@@ -13825,7 +13825,7 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13825
13825
|
ElCollection: a,
|
|
13826
13826
|
ElCollectionItem: l
|
|
13827
13827
|
};
|
|
13828
|
-
},
|
|
13828
|
+
}, y3 = Ie({
|
|
13829
13829
|
style: { type: pe([String, Array, Object]) },
|
|
13830
13830
|
currentTabId: {
|
|
13831
13831
|
type: pe(String)
|
|
@@ -13844,11 +13844,11 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13844
13844
|
onFocus: Function,
|
|
13845
13845
|
onMousedown: Function
|
|
13846
13846
|
}), {
|
|
13847
|
-
ElCollection:
|
|
13848
|
-
ElCollectionItem:
|
|
13847
|
+
ElCollection: b3,
|
|
13848
|
+
ElCollectionItem: C3,
|
|
13849
13849
|
COLLECTION_INJECTION_KEY: Ic,
|
|
13850
|
-
COLLECTION_ITEM_INJECTION_KEY:
|
|
13851
|
-
} = hm("RovingFocusGroup"), Sc = Symbol("elRovingFocusGroup"), Am = Symbol("elRovingFocusGroupItem"),
|
|
13850
|
+
COLLECTION_ITEM_INJECTION_KEY: w3
|
|
13851
|
+
} = hm("RovingFocusGroup"), Sc = Symbol("elRovingFocusGroup"), Am = Symbol("elRovingFocusGroupItem"), E3 = {
|
|
13852
13852
|
ArrowLeft: "prev",
|
|
13853
13853
|
ArrowUp: "prev",
|
|
13854
13854
|
ArrowRight: "next",
|
|
@@ -13857,7 +13857,7 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13857
13857
|
Home: "first",
|
|
13858
13858
|
PageDown: "last",
|
|
13859
13859
|
End: "last"
|
|
13860
|
-
},
|
|
13860
|
+
}, I3 = (e, t) => {
|
|
13861
13861
|
if (t !== "rtl")
|
|
13862
13862
|
return e;
|
|
13863
13863
|
switch (e) {
|
|
@@ -13868,19 +13868,19 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13868
13868
|
default:
|
|
13869
13869
|
return e;
|
|
13870
13870
|
}
|
|
13871
|
-
},
|
|
13872
|
-
const o =
|
|
13871
|
+
}, S3 = (e, t, n) => {
|
|
13872
|
+
const o = I3(e.key, n);
|
|
13873
13873
|
if (!(t === "vertical" && [Ee.left, Ee.right].includes(o)) && !(t === "horizontal" && [Ee.up, Ee.down].includes(o)))
|
|
13874
|
-
return
|
|
13875
|
-
},
|
|
13874
|
+
return E3[o];
|
|
13875
|
+
}, k3 = (e, t) => e.map((n, o) => e[(o + t) % e.length]), kc = (e) => {
|
|
13876
13876
|
const { activeElement: t } = document;
|
|
13877
13877
|
for (const n of e)
|
|
13878
13878
|
if (n === t || (n.focus(), t !== document.activeElement))
|
|
13879
13879
|
return;
|
|
13880
|
-
}, Mf = "currentTabIdChange", xf = "rovingFocusGroup.entryFocus",
|
|
13880
|
+
}, Mf = "currentTabIdChange", xf = "rovingFocusGroup.entryFocus", B3 = { bubbles: !1, cancelable: !0 }, M3 = j({
|
|
13881
13881
|
name: "ElRovingFocusGroupImpl",
|
|
13882
13882
|
inheritAttrs: !1,
|
|
13883
|
-
props:
|
|
13883
|
+
props: y3,
|
|
13884
13884
|
emits: [Mf, "entryFocus"],
|
|
13885
13885
|
setup(e, { emit: t }) {
|
|
13886
13886
|
var n;
|
|
@@ -13904,7 +13904,7 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13904
13904
|
}, (g) => {
|
|
13905
13905
|
const h = !s(a), { target: A, currentTarget: b } = g;
|
|
13906
13906
|
if (A === b && h && !s(r)) {
|
|
13907
|
-
const w = new Event(xf,
|
|
13907
|
+
const w = new Event(xf, B3);
|
|
13908
13908
|
if (b == null || b.dispatchEvent(w), !w.defaultPrevented) {
|
|
13909
13909
|
const y = i().filter((P) => P.focusable), S = y.find((P) => P.active), I = y.find((P) => P.id === s(o)), O = [S, I, ...y].filter(Boolean).map((P) => P.ref);
|
|
13910
13910
|
kc(O);
|
|
@@ -13937,18 +13937,18 @@ const mm = "data-el-collection-item", hm = (e) => {
|
|
|
13937
13937
|
}), zt(l, xf, m);
|
|
13938
13938
|
}
|
|
13939
13939
|
});
|
|
13940
|
-
function
|
|
13940
|
+
function x3(e, t, n, o, r, a) {
|
|
13941
13941
|
return ee(e.$slots, "default");
|
|
13942
13942
|
}
|
|
13943
|
-
var
|
|
13944
|
-
const
|
|
13943
|
+
var T3 = /* @__PURE__ */ we(M3, [["render", x3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);
|
|
13944
|
+
const O3 = j({
|
|
13945
13945
|
name: "ElRovingFocusGroup",
|
|
13946
13946
|
components: {
|
|
13947
|
-
ElFocusGroupCollection:
|
|
13948
|
-
ElRovingFocusGroupImpl:
|
|
13947
|
+
ElFocusGroupCollection: b3,
|
|
13948
|
+
ElRovingFocusGroupImpl: T3
|
|
13949
13949
|
}
|
|
13950
13950
|
});
|
|
13951
|
-
function
|
|
13951
|
+
function R3(e, t, n, o, r, a) {
|
|
13952
13952
|
const l = be("el-roving-focus-group-impl"), i = be("el-focus-group-collection");
|
|
13953
13953
|
return C(), Z(i, null, {
|
|
13954
13954
|
default: K(() => [
|
|
@@ -13962,10 +13962,10 @@ function RM(e, t, n, o, r, a) {
|
|
|
13962
13962
|
_: 3
|
|
13963
13963
|
});
|
|
13964
13964
|
}
|
|
13965
|
-
var
|
|
13966
|
-
const
|
|
13965
|
+
var P3 = /* @__PURE__ */ we(O3, [["render", R3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);
|
|
13966
|
+
const F3 = j({
|
|
13967
13967
|
components: {
|
|
13968
|
-
ElRovingFocusCollectionItem:
|
|
13968
|
+
ElRovingFocusCollectionItem: C3
|
|
13969
13969
|
},
|
|
13970
13970
|
props: {
|
|
13971
13971
|
focusable: {
|
|
@@ -13997,7 +13997,7 @@ const FM = j({
|
|
|
13997
13997
|
}
|
|
13998
13998
|
if (h !== A)
|
|
13999
13999
|
return;
|
|
14000
|
-
const b =
|
|
14000
|
+
const b = S3(v);
|
|
14001
14001
|
if (b) {
|
|
14002
14002
|
v.preventDefault();
|
|
14003
14003
|
let y = l().filter((S) => S.focusable).map((S) => S.ref);
|
|
@@ -14010,7 +14010,7 @@ const FM = j({
|
|
|
14010
14010
|
case "next": {
|
|
14011
14011
|
b === "prev" && y.reverse();
|
|
14012
14012
|
const S = y.indexOf(A);
|
|
14013
|
-
y = o.value ?
|
|
14013
|
+
y = o.value ? k3(y, S + 1) : y.slice(S + 1);
|
|
14014
14014
|
break;
|
|
14015
14015
|
}
|
|
14016
14016
|
}
|
|
@@ -14033,7 +14033,7 @@ const FM = j({
|
|
|
14033
14033
|
};
|
|
14034
14034
|
}
|
|
14035
14035
|
});
|
|
14036
|
-
function
|
|
14036
|
+
function N3(e, t, n, o, r, a) {
|
|
14037
14037
|
const l = be("el-roving-focus-collection-item");
|
|
14038
14038
|
return C(), Z(l, {
|
|
14039
14039
|
id: e.id,
|
|
@@ -14046,7 +14046,7 @@ function NM(e, t, n, o, r, a) {
|
|
|
14046
14046
|
_: 3
|
|
14047
14047
|
}, 8, ["id", "focusable", "active"]);
|
|
14048
14048
|
}
|
|
14049
|
-
var
|
|
14049
|
+
var D3 = /* @__PURE__ */ we(F3, [["render", N3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);
|
|
14050
14050
|
const ll = Ie({
|
|
14051
14051
|
trigger: ia.trigger,
|
|
14052
14052
|
effect: {
|
|
@@ -14121,26 +14121,26 @@ const ll = Ie({
|
|
|
14121
14121
|
icon: {
|
|
14122
14122
|
type: St
|
|
14123
14123
|
}
|
|
14124
|
-
}),
|
|
14124
|
+
}), K3 = Ie({
|
|
14125
14125
|
onKeydown: { type: pe(Function) }
|
|
14126
|
-
}),
|
|
14126
|
+
}), L3 = [
|
|
14127
14127
|
Ee.down,
|
|
14128
14128
|
Ee.pageDown,
|
|
14129
14129
|
Ee.home
|
|
14130
|
-
], bm = [Ee.up, Ee.pageUp, Ee.end],
|
|
14131
|
-
ElCollection:
|
|
14132
|
-
ElCollectionItem:
|
|
14133
|
-
COLLECTION_INJECTION_KEY:
|
|
14134
|
-
COLLECTION_ITEM_INJECTION_KEY:
|
|
14135
|
-
} = hm("Dropdown"), zs = Symbol("elDropdown"), { ButtonGroup:
|
|
14130
|
+
], bm = [Ee.up, Ee.pageUp, Ee.end], Q3 = [...L3, ...bm], {
|
|
14131
|
+
ElCollection: V3,
|
|
14132
|
+
ElCollectionItem: z3,
|
|
14133
|
+
COLLECTION_INJECTION_KEY: H3,
|
|
14134
|
+
COLLECTION_ITEM_INJECTION_KEY: U3
|
|
14135
|
+
} = hm("Dropdown"), zs = Symbol("elDropdown"), { ButtonGroup: W3 } = mo, j3 = j({
|
|
14136
14136
|
name: "ElDropdown",
|
|
14137
14137
|
components: {
|
|
14138
14138
|
ElButton: mo,
|
|
14139
|
-
ElButtonGroup:
|
|
14139
|
+
ElButtonGroup: W3,
|
|
14140
14140
|
ElScrollbar: Wn,
|
|
14141
|
-
ElDropdownCollection:
|
|
14141
|
+
ElDropdownCollection: V3,
|
|
14142
14142
|
ElTooltip: dn,
|
|
14143
|
-
ElRovingFocusGroup:
|
|
14143
|
+
ElRovingFocusGroup: P3,
|
|
14144
14144
|
ElOnlyChild: ag,
|
|
14145
14145
|
ElIcon: ke,
|
|
14146
14146
|
ArrowDown: Eo
|
|
@@ -14246,7 +14246,7 @@ const ll = Ie({
|
|
|
14246
14246
|
};
|
|
14247
14247
|
}
|
|
14248
14248
|
});
|
|
14249
|
-
function
|
|
14249
|
+
function _3(e, t, n, o, r, a) {
|
|
14250
14250
|
var l;
|
|
14251
14251
|
const i = be("el-dropdown-collection"), u = be("el-roving-focus-group"), c = be("el-scrollbar"), p = be("el-only-child"), d = be("el-tooltip"), f = be("el-button"), v = be("arrow-down"), m = be("el-icon"), g = be("el-button-group");
|
|
14252
14252
|
return C(), F("div", {
|
|
@@ -14371,8 +14371,8 @@ function _M(e, t, n, o, r, a) {
|
|
|
14371
14371
|
})) : J("v-if", !0)
|
|
14372
14372
|
], 2);
|
|
14373
14373
|
}
|
|
14374
|
-
var
|
|
14375
|
-
const
|
|
14374
|
+
var Y3 = /* @__PURE__ */ we(j3, [["render", _3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);
|
|
14375
|
+
const G3 = j({
|
|
14376
14376
|
name: "DropdownItemImpl",
|
|
14377
14377
|
components: {
|
|
14378
14378
|
ElIcon: ke
|
|
@@ -14380,7 +14380,7 @@ const GM = j({
|
|
|
14380
14380
|
props: ym,
|
|
14381
14381
|
emits: ["pointermove", "pointerleave", "click", "clickimpl"],
|
|
14382
14382
|
setup(e, { emit: t }) {
|
|
14383
|
-
const n = ge("dropdown"), { role: o } = Ce(zs, void 0), { collectionItemRef: r } = Ce(
|
|
14383
|
+
const n = ge("dropdown"), { role: o } = Ce(zs, void 0), { collectionItemRef: r } = Ce(U3, void 0), { collectionItemRef: a } = Ce(w3, void 0), {
|
|
14384
14384
|
rovingFocusGroupItemRef: l,
|
|
14385
14385
|
tabIndex: i,
|
|
14386
14386
|
handleFocus: u,
|
|
@@ -14404,8 +14404,8 @@ const GM = j({
|
|
|
14404
14404
|
handleMousedown: p
|
|
14405
14405
|
};
|
|
14406
14406
|
}
|
|
14407
|
-
}),
|
|
14408
|
-
function
|
|
14407
|
+
}), q3 = ["aria-disabled", "tabindex", "role"];
|
|
14408
|
+
function Z3(e, t, n, o, r, a) {
|
|
14409
14409
|
const l = be("el-icon");
|
|
14410
14410
|
return C(), F(xe, null, [
|
|
14411
14411
|
e.divided ? (C(), F("li", Pe({
|
|
@@ -14432,22 +14432,22 @@ function ZM(e, t, n, o, r, a) {
|
|
|
14432
14432
|
_: 1
|
|
14433
14433
|
})) : J("v-if", !0),
|
|
14434
14434
|
ee(e.$slots, "default")
|
|
14435
|
-
], 16,
|
|
14435
|
+
], 16, q3)
|
|
14436
14436
|
], 64);
|
|
14437
14437
|
}
|
|
14438
|
-
var
|
|
14438
|
+
var J3 = /* @__PURE__ */ we(G3, [["render", Z3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);
|
|
14439
14439
|
const Cm = () => {
|
|
14440
14440
|
const e = Ce("elDropdown", {}), t = E(() => e == null ? void 0 : e.dropdownSize);
|
|
14441
14441
|
return {
|
|
14442
14442
|
elDropdown: e,
|
|
14443
14443
|
_elDropdownSize: t
|
|
14444
14444
|
};
|
|
14445
|
-
},
|
|
14445
|
+
}, X3 = j({
|
|
14446
14446
|
name: "ElDropdownItem",
|
|
14447
14447
|
components: {
|
|
14448
|
-
ElDropdownCollectionItem:
|
|
14449
|
-
ElRovingFocusItem:
|
|
14450
|
-
ElDropdownItemImpl:
|
|
14448
|
+
ElDropdownCollectionItem: z3,
|
|
14449
|
+
ElRovingFocusItem: D3,
|
|
14450
|
+
ElDropdownItemImpl: J3
|
|
14451
14451
|
},
|
|
14452
14452
|
inheritAttrs: !1,
|
|
14453
14453
|
props: ym,
|
|
@@ -14485,7 +14485,7 @@ const Cm = () => {
|
|
|
14485
14485
|
};
|
|
14486
14486
|
}
|
|
14487
14487
|
});
|
|
14488
|
-
function $
|
|
14488
|
+
function $3(e, t, n, o, r, a) {
|
|
14489
14489
|
var l;
|
|
14490
14490
|
const i = be("el-dropdown-item-impl"), u = be("el-roving-focus-item"), c = be("el-dropdown-collection-item");
|
|
14491
14491
|
return C(), Z(c, {
|
|
@@ -14514,12 +14514,12 @@ function $M(e, t, n, o, r, a) {
|
|
|
14514
14514
|
_: 3
|
|
14515
14515
|
}, 8, ["disabled", "text-value"]);
|
|
14516
14516
|
}
|
|
14517
|
-
var wm = /* @__PURE__ */ we(
|
|
14518
|
-
const
|
|
14517
|
+
var wm = /* @__PURE__ */ we(X3, [["render", $3], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);
|
|
14518
|
+
const eM = j({
|
|
14519
14519
|
name: "ElDropdownMenu",
|
|
14520
|
-
props:
|
|
14520
|
+
props: K3,
|
|
14521
14521
|
setup(e) {
|
|
14522
|
-
const t = ge("dropdown"), { _elDropdownSize: n } = Cm(), o = n.value, { focusTrapRef: r, onKeydown: a } = Ce(pc, void 0), { contentRef: l, role: i, triggerId: u } = Ce(zs, void 0), { collectionRef: c, getItems: p } = Ce(
|
|
14522
|
+
const t = ge("dropdown"), { _elDropdownSize: n } = Cm(), o = n.value, { focusTrapRef: r, onKeydown: a } = Ce(pc, void 0), { contentRef: l, role: i, triggerId: u } = Ce(zs, void 0), { collectionRef: c, getItems: p } = Ce(H3, void 0), {
|
|
14523
14523
|
rovingFocusGroupRef: d,
|
|
14524
14524
|
rovingFocusGroupRootStyle: f,
|
|
14525
14525
|
tabIndex: v,
|
|
@@ -14531,7 +14531,7 @@ const e3 = j({
|
|
|
14531
14531
|
(k = e.onKeydown) == null || k.call(e, I);
|
|
14532
14532
|
}, (I) => {
|
|
14533
14533
|
const { currentTarget: k, code: O, target: P } = I;
|
|
14534
|
-
if (k.contains(P), Ee.tab === O && I.stopImmediatePropagation(), I.preventDefault(), P !== s(l) || !
|
|
14534
|
+
if (k.contains(P), Ee.tab === O && I.stopImmediatePropagation(), I.preventDefault(), P !== s(l) || !Q3.includes(O))
|
|
14535
14535
|
return;
|
|
14536
14536
|
const z = p().filter((D) => !D.disabled).map((D) => D.ref);
|
|
14537
14537
|
bm.includes(O) && z.reverse(), kc(z);
|
|
@@ -14552,8 +14552,8 @@ const e3 = j({
|
|
|
14552
14552
|
onMousedown: h
|
|
14553
14553
|
};
|
|
14554
14554
|
}
|
|
14555
|
-
}),
|
|
14556
|
-
function
|
|
14555
|
+
}), tM = ["role", "aria-labelledby"];
|
|
14556
|
+
function nM(e, t, n, o, r, a) {
|
|
14557
14557
|
return C(), F("ul", {
|
|
14558
14558
|
ref: e.dropdownListWrapperRef,
|
|
14559
14559
|
class: B(e.dropdownKls),
|
|
@@ -14567,42 +14567,42 @@ function n3(e, t, n, o, r, a) {
|
|
|
14567
14567
|
onMousedown: t[3] || (t[3] = De((...l) => e.onMousedown && e.onMousedown(...l), ["self"]))
|
|
14568
14568
|
}, [
|
|
14569
14569
|
ee(e.$slots, "default")
|
|
14570
|
-
], 46,
|
|
14570
|
+
], 46, tM);
|
|
14571
14571
|
}
|
|
14572
|
-
var Em = /* @__PURE__ */ we(
|
|
14573
|
-
const vu = gt(
|
|
14572
|
+
var Em = /* @__PURE__ */ we(eM, [["render", nM], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);
|
|
14573
|
+
const vu = gt(Y3, {
|
|
14574
14574
|
DropdownItem: wm,
|
|
14575
14575
|
DropdownMenu: Em
|
|
14576
|
-
}), Po = Lt(wm), ms = Lt(Em),
|
|
14576
|
+
}), Po = Lt(wm), ms = Lt(Em), oM = {
|
|
14577
14577
|
viewBox: "0 0 79 86",
|
|
14578
14578
|
version: "1.1",
|
|
14579
14579
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14580
14580
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
14581
|
-
},
|
|
14581
|
+
}, rM = ["id"], aM = ["stop-color"], lM = ["stop-color"], sM = ["id"], iM = ["stop-color"], uM = ["stop-color"], cM = ["id"], dM = {
|
|
14582
14582
|
id: "Illustrations",
|
|
14583
14583
|
stroke: "none",
|
|
14584
14584
|
"stroke-width": "1",
|
|
14585
14585
|
fill: "none",
|
|
14586
14586
|
"fill-rule": "evenodd"
|
|
14587
|
-
},
|
|
14587
|
+
}, fM = {
|
|
14588
14588
|
id: "B-type",
|
|
14589
14589
|
transform: "translate(-1268.000000, -535.000000)"
|
|
14590
|
-
},
|
|
14590
|
+
}, pM = {
|
|
14591
14591
|
id: "Group-2",
|
|
14592
14592
|
transform: "translate(1268.000000, 535.000000)"
|
|
14593
|
-
},
|
|
14593
|
+
}, vM = ["fill"], gM = ["fill"], mM = {
|
|
14594
14594
|
id: "Group-Copy",
|
|
14595
14595
|
transform: "translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"
|
|
14596
|
-
},
|
|
14596
|
+
}, hM = ["fill"], AM = ["fill"], yM = ["fill"], bM = ["fill"], CM = ["fill"], wM = {
|
|
14597
14597
|
id: "Rectangle-Copy-17",
|
|
14598
14598
|
transform: "translate(53.000000, 45.000000)"
|
|
14599
|
-
},
|
|
14599
|
+
}, EM = ["fill", "xlink:href"], IM = ["fill", "mask"], SM = ["fill"], kM = j({
|
|
14600
14600
|
name: "ImgEmpty"
|
|
14601
|
-
}),
|
|
14602
|
-
...
|
|
14601
|
+
}), BM = /* @__PURE__ */ j({
|
|
14602
|
+
...kM,
|
|
14603
14603
|
setup(e) {
|
|
14604
14604
|
const t = ge("empty"), n = Pn();
|
|
14605
|
-
return (o, r) => (C(), F("svg",
|
|
14605
|
+
return (o, r) => (C(), F("svg", oM, [
|
|
14606
14606
|
Q("defs", null, [
|
|
14607
14607
|
Q("linearGradient", {
|
|
14608
14608
|
id: `linearGradient-1-${s(n)}`,
|
|
@@ -14614,12 +14614,12 @@ const vu = gt(YM, {
|
|
|
14614
14614
|
Q("stop", {
|
|
14615
14615
|
"stop-color": `var(${s(t).cssVarBlockName("fill-color-1")})`,
|
|
14616
14616
|
offset: "0%"
|
|
14617
|
-
}, null, 8,
|
|
14617
|
+
}, null, 8, aM),
|
|
14618
14618
|
Q("stop", {
|
|
14619
14619
|
"stop-color": `var(${s(t).cssVarBlockName("fill-color-4")})`,
|
|
14620
14620
|
offset: "100%"
|
|
14621
|
-
}, null, 8,
|
|
14622
|
-
], 8,
|
|
14621
|
+
}, null, 8, lM)
|
|
14622
|
+
], 8, rM),
|
|
14623
14623
|
Q("linearGradient", {
|
|
14624
14624
|
id: `linearGradient-2-${s(n)}`,
|
|
14625
14625
|
x1: "0%",
|
|
@@ -14630,46 +14630,46 @@ const vu = gt(YM, {
|
|
|
14630
14630
|
Q("stop", {
|
|
14631
14631
|
"stop-color": `var(${s(t).cssVarBlockName("fill-color-1")})`,
|
|
14632
14632
|
offset: "0%"
|
|
14633
|
-
}, null, 8,
|
|
14633
|
+
}, null, 8, iM),
|
|
14634
14634
|
Q("stop", {
|
|
14635
14635
|
"stop-color": `var(${s(t).cssVarBlockName("fill-color-6")})`,
|
|
14636
14636
|
offset: "100%"
|
|
14637
|
-
}, null, 8,
|
|
14638
|
-
], 8,
|
|
14637
|
+
}, null, 8, uM)
|
|
14638
|
+
], 8, sM),
|
|
14639
14639
|
Q("rect", {
|
|
14640
14640
|
id: `path-3-${s(n)}`,
|
|
14641
14641
|
x: "0",
|
|
14642
14642
|
y: "0",
|
|
14643
14643
|
width: "17",
|
|
14644
14644
|
height: "36"
|
|
14645
|
-
}, null, 8,
|
|
14645
|
+
}, null, 8, cM)
|
|
14646
14646
|
]),
|
|
14647
|
-
Q("g",
|
|
14648
|
-
Q("g",
|
|
14649
|
-
Q("g",
|
|
14647
|
+
Q("g", dM, [
|
|
14648
|
+
Q("g", fM, [
|
|
14649
|
+
Q("g", pM, [
|
|
14650
14650
|
Q("path", {
|
|
14651
14651
|
id: "Oval-Copy-2",
|
|
14652
14652
|
d: "M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",
|
|
14653
14653
|
fill: `var(${s(t).cssVarBlockName("fill-color-3")})`
|
|
14654
|
-
}, null, 8,
|
|
14654
|
+
}, null, 8, vM),
|
|
14655
14655
|
Q("polygon", {
|
|
14656
14656
|
id: "Rectangle-Copy-14",
|
|
14657
14657
|
fill: `var(${s(t).cssVarBlockName("fill-color-7")})`,
|
|
14658
14658
|
transform: "translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",
|
|
14659
14659
|
points: "13 58 53 58 42 45 2 45"
|
|
14660
|
-
}, null, 8,
|
|
14661
|
-
Q("g",
|
|
14660
|
+
}, null, 8, gM),
|
|
14661
|
+
Q("g", mM, [
|
|
14662
14662
|
Q("polygon", {
|
|
14663
14663
|
id: "Rectangle-Copy-10",
|
|
14664
14664
|
fill: `var(${s(t).cssVarBlockName("fill-color-7")})`,
|
|
14665
14665
|
transform: "translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",
|
|
14666
14666
|
points: "2.84078316e-14 3 18 3 23 7 5 7"
|
|
14667
|
-
}, null, 8,
|
|
14667
|
+
}, null, 8, hM),
|
|
14668
14668
|
Q("polygon", {
|
|
14669
14669
|
id: "Rectangle-Copy-11",
|
|
14670
14670
|
fill: `var(${s(t).cssVarBlockName("fill-color-5")})`,
|
|
14671
14671
|
points: "-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"
|
|
14672
|
-
}, null, 8,
|
|
14672
|
+
}, null, 8, AM),
|
|
14673
14673
|
Q("rect", {
|
|
14674
14674
|
id: "Rectangle-Copy-12",
|
|
14675
14675
|
fill: `url(#linearGradient-1-${s(n)})`,
|
|
@@ -14678,13 +14678,13 @@ const vu = gt(YM, {
|
|
|
14678
14678
|
y: "7",
|
|
14679
14679
|
width: "17",
|
|
14680
14680
|
height: "36"
|
|
14681
|
-
}, null, 8,
|
|
14681
|
+
}, null, 8, yM),
|
|
14682
14682
|
Q("polygon", {
|
|
14683
14683
|
id: "Rectangle-Copy-13",
|
|
14684
14684
|
fill: `var(${s(t).cssVarBlockName("fill-color-2")})`,
|
|
14685
14685
|
transform: "translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",
|
|
14686
14686
|
points: "24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"
|
|
14687
|
-
}, null, 8,
|
|
14687
|
+
}, null, 8, bM)
|
|
14688
14688
|
]),
|
|
14689
14689
|
Q("rect", {
|
|
14690
14690
|
id: "Rectangle-Copy-15",
|
|
@@ -14693,36 +14693,36 @@ const vu = gt(YM, {
|
|
|
14693
14693
|
y: "45",
|
|
14694
14694
|
width: "40",
|
|
14695
14695
|
height: "36"
|
|
14696
|
-
}, null, 8,
|
|
14697
|
-
Q("g",
|
|
14696
|
+
}, null, 8, CM),
|
|
14697
|
+
Q("g", wM, [
|
|
14698
14698
|
Q("use", {
|
|
14699
14699
|
id: "Mask",
|
|
14700
14700
|
fill: `var(${s(t).cssVarBlockName("fill-color-8")})`,
|
|
14701
14701
|
transform: "translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ",
|
|
14702
14702
|
"xlink:href": `#path-3-${s(n)}`
|
|
14703
|
-
}, null, 8,
|
|
14703
|
+
}, null, 8, EM),
|
|
14704
14704
|
Q("polygon", {
|
|
14705
14705
|
id: "Rectangle-Copy",
|
|
14706
14706
|
fill: `var(${s(t).cssVarBlockName("fill-color-9")})`,
|
|
14707
14707
|
mask: `url(#mask-4-${s(n)})`,
|
|
14708
14708
|
transform: "translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",
|
|
14709
14709
|
points: "7 0 24 0 20 18 7 16.5"
|
|
14710
|
-
}, null, 8,
|
|
14710
|
+
}, null, 8, IM)
|
|
14711
14711
|
]),
|
|
14712
14712
|
Q("polygon", {
|
|
14713
14713
|
id: "Rectangle-Copy-18",
|
|
14714
14714
|
fill: `var(${s(t).cssVarBlockName("fill-color-2")})`,
|
|
14715
14715
|
transform: "translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",
|
|
14716
14716
|
points: "62 45 79 45 70 58 53 58"
|
|
14717
|
-
}, null, 8,
|
|
14717
|
+
}, null, 8, SM)
|
|
14718
14718
|
])
|
|
14719
14719
|
])
|
|
14720
14720
|
])
|
|
14721
14721
|
]));
|
|
14722
14722
|
}
|
|
14723
14723
|
});
|
|
14724
|
-
var
|
|
14725
|
-
const
|
|
14724
|
+
var MM = /* @__PURE__ */ we(BM, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);
|
|
14725
|
+
const xM = Ie({
|
|
14726
14726
|
image: {
|
|
14727
14727
|
type: String,
|
|
14728
14728
|
default: ""
|
|
@@ -14732,11 +14732,11 @@ const x3 = Ie({
|
|
|
14732
14732
|
type: String,
|
|
14733
14733
|
default: ""
|
|
14734
14734
|
}
|
|
14735
|
-
}),
|
|
14735
|
+
}), TM = ["src"], OM = { key: 1 }, RM = j({
|
|
14736
14736
|
name: "ElEmpty"
|
|
14737
|
-
}),
|
|
14738
|
-
...
|
|
14739
|
-
props:
|
|
14737
|
+
}), PM = /* @__PURE__ */ j({
|
|
14738
|
+
...RM,
|
|
14739
|
+
props: xM,
|
|
14740
14740
|
setup(e) {
|
|
14741
14741
|
const t = e, { t: n } = ut(), o = ge("empty"), r = E(() => t.description || n("el.table.emptyText")), a = E(() => ({
|
|
14742
14742
|
width: An(t.imageSize)
|
|
@@ -14752,14 +14752,14 @@ const x3 = Ie({
|
|
|
14752
14752
|
key: 0,
|
|
14753
14753
|
src: l.image,
|
|
14754
14754
|
ondragstart: "return false"
|
|
14755
|
-
}, null, 8,
|
|
14756
|
-
G(
|
|
14755
|
+
}, null, 8, TM)) : ee(l.$slots, "image", { key: 1 }, () => [
|
|
14756
|
+
G(MM)
|
|
14757
14757
|
])
|
|
14758
14758
|
], 6),
|
|
14759
14759
|
Q("div", {
|
|
14760
14760
|
class: B(s(o).e("description"))
|
|
14761
14761
|
}, [
|
|
14762
|
-
l.$slots.description ? ee(l.$slots, "description", { key: 0 }) : (C(), F("p",
|
|
14762
|
+
l.$slots.description ? ee(l.$slots, "description", { key: 0 }) : (C(), F("p", OM, ue(s(r)), 1))
|
|
14763
14763
|
], 2),
|
|
14764
14764
|
l.$slots.default ? (C(), F("div", {
|
|
14765
14765
|
key: 0,
|
|
@@ -14770,8 +14770,8 @@ const x3 = Ie({
|
|
|
14770
14770
|
], 2));
|
|
14771
14771
|
}
|
|
14772
14772
|
});
|
|
14773
|
-
var
|
|
14774
|
-
const
|
|
14773
|
+
var FM = /* @__PURE__ */ we(PM, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);
|
|
14774
|
+
const NM = gt(FM), DM = Ie({
|
|
14775
14775
|
id: {
|
|
14776
14776
|
type: String,
|
|
14777
14777
|
default: void 0
|
|
@@ -14818,18 +14818,18 @@ const N3 = gt(F3), D3 = Ie({
|
|
|
14818
14818
|
type: Boolean,
|
|
14819
14819
|
default: !0
|
|
14820
14820
|
}
|
|
14821
|
-
}),
|
|
14821
|
+
}), KM = {
|
|
14822
14822
|
[Rt]: (e, t) => t !== e,
|
|
14823
14823
|
blur: (e) => e instanceof FocusEvent,
|
|
14824
14824
|
focus: (e) => e instanceof FocusEvent,
|
|
14825
14825
|
[un]: (e) => qe(e) || Jt(e),
|
|
14826
14826
|
[Ye]: (e) => qe(e) || Jt(e)
|
|
14827
|
-
},
|
|
14827
|
+
}, LM = ["aria-label", "onKeydown"], QM = ["aria-label", "onKeydown"], VM = j({
|
|
14828
14828
|
name: "ElInputNumber"
|
|
14829
|
-
}),
|
|
14830
|
-
...
|
|
14831
|
-
props:
|
|
14832
|
-
emits:
|
|
14829
|
+
}), zM = /* @__PURE__ */ j({
|
|
14830
|
+
...VM,
|
|
14831
|
+
props: DM,
|
|
14832
|
+
emits: KM,
|
|
14833
14833
|
setup(e, { expose: t, emit: n }) {
|
|
14834
14834
|
const o = e, { t: r } = ut(), a = ge("input-number"), l = M(), i = wt({
|
|
14835
14835
|
currentValue: o.modelValue,
|
|
@@ -14953,7 +14953,7 @@ const N3 = gt(F3), D3 = Ie({
|
|
|
14953
14953
|
]),
|
|
14954
14954
|
_: 1
|
|
14955
14955
|
})
|
|
14956
|
-
], 42,
|
|
14956
|
+
], 42, LM)), [
|
|
14957
14957
|
[s(ps), y]
|
|
14958
14958
|
]) : J("v-if", !0),
|
|
14959
14959
|
x.controls ? Qe((C(), F("span", {
|
|
@@ -14969,7 +14969,7 @@ const N3 = gt(F3), D3 = Ie({
|
|
|
14969
14969
|
]),
|
|
14970
14970
|
_: 1
|
|
14971
14971
|
})
|
|
14972
|
-
], 42,
|
|
14972
|
+
], 42, QM)), [
|
|
14973
14973
|
[s(ps), w]
|
|
14974
14974
|
]) : J("v-if", !0),
|
|
14975
14975
|
G(s(qt), {
|
|
@@ -15002,9 +15002,9 @@ const N3 = gt(F3), D3 = Ie({
|
|
|
15002
15002
|
], 34));
|
|
15003
15003
|
}
|
|
15004
15004
|
});
|
|
15005
|
-
var
|
|
15006
|
-
const Im = gt(
|
|
15007
|
-
let
|
|
15005
|
+
var HM = /* @__PURE__ */ we(zM, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);
|
|
15006
|
+
const Im = gt(HM);
|
|
15007
|
+
let UM = class {
|
|
15008
15008
|
constructor(t, n) {
|
|
15009
15009
|
this.parent = t, this.domNode = n, this.subIndex = 0, this.subIndex = 0, this.init();
|
|
15010
15010
|
}
|
|
@@ -15042,14 +15042,14 @@ let U3 = class {
|
|
|
15042
15042
|
});
|
|
15043
15043
|
});
|
|
15044
15044
|
}
|
|
15045
|
-
},
|
|
15045
|
+
}, WM = class {
|
|
15046
15046
|
constructor(t, n) {
|
|
15047
15047
|
this.domNode = t, this.submenu = null, this.submenu = null, this.init(n);
|
|
15048
15048
|
}
|
|
15049
15049
|
init(t) {
|
|
15050
15050
|
this.domNode.setAttribute("tabindex", "0");
|
|
15051
15051
|
const n = this.domNode.querySelector(`.${t}-menu`);
|
|
15052
|
-
n && (this.submenu = new
|
|
15052
|
+
n && (this.submenu = new UM(this, n)), this.addListeners();
|
|
15053
15053
|
}
|
|
15054
15054
|
addListeners() {
|
|
15055
15055
|
this.domNode.addEventListener("keydown", (t) => {
|
|
@@ -15076,18 +15076,18 @@ let U3 = class {
|
|
|
15076
15076
|
n && t.preventDefault();
|
|
15077
15077
|
});
|
|
15078
15078
|
}
|
|
15079
|
-
},
|
|
15079
|
+
}, jM = class {
|
|
15080
15080
|
constructor(t, n) {
|
|
15081
15081
|
this.domNode = t, this.init(n);
|
|
15082
15082
|
}
|
|
15083
15083
|
init(t) {
|
|
15084
15084
|
const n = this.domNode.childNodes;
|
|
15085
15085
|
Array.from(n).forEach((o) => {
|
|
15086
|
-
o.nodeType === 1 && new
|
|
15086
|
+
o.nodeType === 1 && new WM(o, t);
|
|
15087
15087
|
});
|
|
15088
15088
|
}
|
|
15089
15089
|
};
|
|
15090
|
-
const
|
|
15090
|
+
const _M = j({
|
|
15091
15091
|
name: "ElMenuCollapseTransition",
|
|
15092
15092
|
setup() {
|
|
15093
15093
|
const e = ge("menu");
|
|
@@ -15110,7 +15110,7 @@ const _3 = j({
|
|
|
15110
15110
|
};
|
|
15111
15111
|
}
|
|
15112
15112
|
});
|
|
15113
|
-
function
|
|
15113
|
+
function YM(e, t, n, o, r, a) {
|
|
15114
15114
|
return C(), Z(cn, Pe({ mode: "out-in" }, e.listeners), {
|
|
15115
15115
|
default: K(() => [
|
|
15116
15116
|
ee(e.$slots, "default")
|
|
@@ -15118,7 +15118,7 @@ function Y3(e, t, n, o, r, a) {
|
|
|
15118
15118
|
_: 3
|
|
15119
15119
|
}, 16);
|
|
15120
15120
|
}
|
|
15121
|
-
var
|
|
15121
|
+
var GM = /* @__PURE__ */ we(_M, [["render", YM], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);
|
|
15122
15122
|
function Sm(e, t) {
|
|
15123
15123
|
const n = E(() => {
|
|
15124
15124
|
let r = e.parent;
|
|
@@ -15137,7 +15137,7 @@ function Sm(e, t) {
|
|
|
15137
15137
|
indexPath: n
|
|
15138
15138
|
};
|
|
15139
15139
|
}
|
|
15140
|
-
function
|
|
15140
|
+
function qM(e) {
|
|
15141
15141
|
return E(() => {
|
|
15142
15142
|
const n = e.backgroundColor;
|
|
15143
15143
|
return n ? new gg(n).shade(20).toString() : "";
|
|
@@ -15149,11 +15149,11 @@ const km = (e, t) => {
|
|
|
15149
15149
|
"text-color": e.textColor || "",
|
|
15150
15150
|
"hover-text-color": e.textColor || "",
|
|
15151
15151
|
"bg-color": e.backgroundColor || "",
|
|
15152
|
-
"hover-bg-color":
|
|
15152
|
+
"hover-bg-color": qM(e).value || "",
|
|
15153
15153
|
"active-color": e.activeTextColor || "",
|
|
15154
15154
|
level: `${t}`
|
|
15155
15155
|
}));
|
|
15156
|
-
},
|
|
15156
|
+
}, ZM = Ie({
|
|
15157
15157
|
index: {
|
|
15158
15158
|
type: String,
|
|
15159
15159
|
required: !0
|
|
@@ -15195,7 +15195,7 @@ const km = (e, t) => {
|
|
|
15195
15195
|
}), za = "ElSubMenu";
|
|
15196
15196
|
var Bc = j({
|
|
15197
15197
|
name: za,
|
|
15198
|
-
props:
|
|
15198
|
+
props: ZM,
|
|
15199
15199
|
setup(e, { slots: t, expose: n }) {
|
|
15200
15200
|
jo({
|
|
15201
15201
|
from: "popper-append-to-body",
|
|
@@ -15380,7 +15380,7 @@ var Bc = j({
|
|
|
15380
15380
|
};
|
|
15381
15381
|
}
|
|
15382
15382
|
});
|
|
15383
|
-
const
|
|
15383
|
+
const JM = Ie({
|
|
15384
15384
|
mode: {
|
|
15385
15385
|
type: String,
|
|
15386
15386
|
values: ["horizontal", "vertical"],
|
|
@@ -15418,15 +15418,15 @@ const J3 = Ie({
|
|
|
15418
15418
|
values: ["dark", "light"],
|
|
15419
15419
|
default: "dark"
|
|
15420
15420
|
}
|
|
15421
|
-
}), gi = (e) => Array.isArray(e) && e.every((t) => Je(t)),
|
|
15421
|
+
}), gi = (e) => Array.isArray(e) && e.every((t) => Je(t)), XM = {
|
|
15422
15422
|
close: (e, t) => Je(e) && gi(t),
|
|
15423
15423
|
open: (e, t) => Je(e) && gi(t),
|
|
15424
15424
|
select: (e, t, n, o) => Je(e) && gi(t) && Ot(n) && (o === void 0 || o instanceof Promise)
|
|
15425
15425
|
};
|
|
15426
|
-
var $
|
|
15426
|
+
var $M = j({
|
|
15427
15427
|
name: "ElMenu",
|
|
15428
|
-
props:
|
|
15429
|
-
emits:
|
|
15428
|
+
props: JM,
|
|
15429
|
+
emits: XM,
|
|
15430
15430
|
setup(e, { emit: t, slots: n, expose: o }) {
|
|
15431
15431
|
const r = Ue(), a = r.appContext.config.globalProperties.$router, l = M(), i = ge("menu"), u = ge("sub-menu"), c = M(-1), p = M(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = M(e.defaultActive), f = M({}), v = M({}), m = E(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), g = () => {
|
|
15432
15432
|
const z = d.value && f.value[d.value];
|
|
@@ -15528,7 +15528,7 @@ var $3 = j({
|
|
|
15528
15528
|
});
|
|
15529
15529
|
}
|
|
15530
15530
|
return We(() => {
|
|
15531
|
-
e.mode === "horizontal" && new
|
|
15531
|
+
e.mode === "horizontal" && new jM(r.vnode.el, i.namespace.value);
|
|
15532
15532
|
}), o({
|
|
15533
15533
|
open: (D) => {
|
|
15534
15534
|
const { indexPath: x } = v.value[D];
|
|
@@ -15563,7 +15563,7 @@ var $3 = j({
|
|
|
15563
15563
|
[i.m("collapse")]: e.collapse
|
|
15564
15564
|
}
|
|
15565
15565
|
}, [...x, ...L]);
|
|
15566
|
-
return e.collapseTransition && e.mode === "vertical" ? Te(
|
|
15566
|
+
return e.collapseTransition && e.mode === "vertical" ? Te(GM, () => _) : _;
|
|
15567
15567
|
};
|
|
15568
15568
|
}
|
|
15569
15569
|
});
|
|
@@ -15680,7 +15680,7 @@ function sx(e, t, n, o, r, a) {
|
|
|
15680
15680
|
], 2);
|
|
15681
15681
|
}
|
|
15682
15682
|
var Mm = /* @__PURE__ */ we(lx, [["render", sx], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);
|
|
15683
|
-
const xm = gt($
|
|
15683
|
+
const xm = gt($M, {
|
|
15684
15684
|
MenuItem: Bm,
|
|
15685
15685
|
MenuItemGroup: Mm,
|
|
15686
15686
|
SubMenu: Bc
|
|
@@ -27967,7 +27967,7 @@ const Rl = /* @__PURE__ */ mt(dK, [["__scopeId", "data-v-ccc5eca1"]]), Bh = /* @
|
|
|
27967
27967
|
]), 1040));
|
|
27968
27968
|
}
|
|
27969
27969
|
}), Mh = /* @__PURE__ */ j({
|
|
27970
|
-
__name: "
|
|
27970
|
+
__name: "MxDropDownItem",
|
|
27971
27971
|
setup(e) {
|
|
27972
27972
|
return (t, n) => (C(), Z(s(Po), Pe(t.$attrs, { class: "mx-dropdown-menu" }), et({ _: 2 }, [
|
|
27973
27973
|
Se(t.$slots, (o, r, a) => ({
|
|
@@ -28025,7 +28025,7 @@ const fK = {
|
|
|
28025
28025
|
o.value = n[a], t.bodyScroll && t.size && (r.value = t.size);
|
|
28026
28026
|
},
|
|
28027
28027
|
{ immediate: !0 }
|
|
28028
|
-
), (a, l) => (C(), Z(s(
|
|
28028
|
+
), (a, l) => (C(), Z(s(f3), Pe({ ...t, ...a.$attrs }, {
|
|
28029
28029
|
class: ["mx-dialog", r.value],
|
|
28030
28030
|
width: o.value
|
|
28031
28031
|
}), {
|
|
@@ -29042,7 +29042,7 @@ const qK = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAA
|
|
|
29042
29042
|
setup(e) {
|
|
29043
29043
|
return (t, n) => (C(), Z(s(ko), { locale: s(Bo) }, {
|
|
29044
29044
|
default: K(() => [
|
|
29045
|
-
G(s(
|
|
29045
|
+
G(s(NM), Pe(t.$attrs, {
|
|
29046
29046
|
image: s(qK),
|
|
29047
29047
|
"image-size": 80,
|
|
29048
29048
|
class: "mx-empty"
|
|
@@ -30113,12 +30113,16 @@ function Uh() {
|
|
|
30113
30113
|
pointer-events: none;
|
|
30114
30114
|
}
|
|
30115
30115
|
|
|
30116
|
+
/* 内容包裹容器 - 关键:不破坏布局 */
|
|
30116
30117
|
.mx-loading-content-wrapper {
|
|
30117
30118
|
display: contents;
|
|
30118
30119
|
}
|
|
30119
30120
|
|
|
30121
|
+
/* 子元素模糊效果 */
|
|
30122
|
+
.mx-loading-child-blur {
|
|
30123
|
+
opacity: 0.5;
|
|
30124
|
+
}
|
|
30120
30125
|
/* 内容半透明效果 - 包裹的内容区域 */
|
|
30121
|
-
.mx-loading-content-wrapper,
|
|
30122
30126
|
.mx-fullscreen-content-wrapper {
|
|
30123
30127
|
position: relative;
|
|
30124
30128
|
transition: opacity 0.3s ease;
|
|
@@ -30193,16 +30197,20 @@ const D5 = j({
|
|
|
30193
30197
|
}
|
|
30194
30198
|
}), tp = (e) => {
|
|
30195
30199
|
const t = e._contentWrapper, n = e._loadingMask;
|
|
30196
|
-
t && t.
|
|
30200
|
+
t && Array.from(t.children).forEach((o) => {
|
|
30201
|
+
o.classList.add("mx-loading-child-blur");
|
|
30202
|
+
}), n && (n.style.display = "flex");
|
|
30197
30203
|
}, K5 = (e) => {
|
|
30198
30204
|
const t = e._contentWrapper, n = e._loadingMask;
|
|
30199
|
-
t && t.
|
|
30205
|
+
t && Array.from(t.children).forEach((o) => {
|
|
30206
|
+
o.classList.remove("mx-loading-child-blur");
|
|
30207
|
+
}), n && (n.style.display = "none");
|
|
30200
30208
|
}, L5 = {
|
|
30201
30209
|
beforeMount(e, t) {
|
|
30202
30210
|
const n = document.createElement("div");
|
|
30203
|
-
n.className = "mx-loading-content-wrapper", n.style.display = "contents"
|
|
30204
|
-
n.appendChild(
|
|
30205
|
-
|
|
30211
|
+
for (n.className = "mx-loading-content-wrapper", n.style.display = "contents"; e.firstChild; )
|
|
30212
|
+
n.appendChild(e.firstChild);
|
|
30213
|
+
e.appendChild(n), e._contentWrapper = n;
|
|
30206
30214
|
},
|
|
30207
30215
|
mounted(e, t) {
|
|
30208
30216
|
window.getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
package/package.json
CHANGED
|
File without changes
|