jmash-core 0.0.11 → 0.0.12
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.
- package/dist/401-Do8xnEsN.mjs +101 -0
- package/dist/404-D1L3bBKj.mjs +37 -0
- package/dist/{BarChart-CbBhpMpZ.mjs → BarChart-CfcVJz3-.mjs} +41 -41
- package/dist/{FileSaver.min-CivbhzMe.mjs → FileSaver.min-C3PXR_ER.mjs} +1 -1
- package/dist/{FunnelChart-Czy2TVI1.mjs → FunnelChart-CcCVox9E.mjs} +16 -15
- package/dist/{PieChart-B8Tay-HH.mjs → PieChart-6YLME4bj.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-CH5ME8e4.mjs → PieChart.vue_vue_type_script_setup_true_lang-CzuULwXY.mjs} +25 -24
- package/dist/{RadarChart-BzUQwTnX.mjs → RadarChart-DkmgXM6y.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DC-Ww3Mu.mjs → RadarChart.vue_vue_type_script_setup_true_lang-NTNi_I9_.mjs} +27 -26
- package/dist/{edit-DaxU7bBz.mjs → edit-BUeKYrEZ.mjs} +1 -1
- package/dist/{edit-5ZpeysVY.mjs → edit-CJuMrQ46.mjs} +54 -54
- package/dist/{edit-C0aHXOi3.mjs → edit-CkpeOqrr.mjs} +1 -1
- package/dist/{edit-CR7ZiKuo.mjs → edit-DGe7AWsr.mjs} +53 -53
- package/dist/{edit-B95ajyfH.mjs → edit-DjN392jC.mjs} +1 -1
- package/dist/{edit-BJAAEDVd.mjs → edit-YJP7pN6W.mjs} +1 -1
- package/dist/edit-lwVBGzDE.mjs +4 -0
- package/dist/edit-xlxZjC4R.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CCq_E2KT.mjs → edit.vue_vue_type_script_setup_true_lang-BWtQvmLi.mjs} +14 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D4w7Aa9M.mjs → edit.vue_vue_type_script_setup_true_lang-BtM452jP.mjs} +46 -46
- package/dist/edit.vue_vue_type_script_setup_true_lang-DEydJiSf.mjs +588 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DqqWi384.mjs → edit.vue_vue_type_script_setup_true_lang-DI-oeRPA.mjs} +22 -22
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C-BRxRH6.mjs → edit.vue_vue_type_script_setup_true_lang-RBjkUr1y.mjs} +30 -30
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0Q5XHHkN.mjs → edit.vue_vue_type_script_setup_true_lang-djIfNPqQ.mjs} +24 -24
- package/dist/{el-card-acRFAeYD.mjs → el-card-C861yBJo.mjs} +1 -1
- package/dist/{el-col-BFrxkvh3.mjs → el-col-BBiMr5pm.mjs} +17 -17
- package/dist/{el-date-picker-CjE5H0IY.mjs → el-date-picker-N5aiMKSy.mjs} +372 -372
- package/dist/el-divider-QMj1kMtJ.mjs +45 -0
- package/dist/{el-dropdown-item-SBcx6_kX.mjs → el-dropdown-item-4ws609Gw.mjs} +76 -76
- package/dist/{el-tree-select-RwYP-GEn.mjs → el-tree-select-DdZxfrNV.mjs} +75 -75
- package/dist/{index-DBmv4w5y.mjs → index-9TwUBNc5.mjs} +1 -1
- package/dist/{index-CcXjdXcD.mjs → index-AiS44_Xc.mjs} +64 -64
- package/dist/{index-4UdK9Nb9.mjs → index-B7u0TetV.mjs} +48 -48
- package/dist/{index-hr-nwn6C.mjs → index-BX1Jx_xA.mjs} +1 -1
- package/dist/index-BZBpY0uA.mjs +277 -0
- package/dist/{index-DQtth-qu.mjs → index-Be59bIqU.mjs} +51 -51
- package/dist/{index-BcstP65E.mjs → index-BzT4__Is.mjs} +101 -101
- package/dist/index-C__OmU1O.mjs +272 -0
- package/dist/{index-ChzNa2kp.mjs → index-CkXpK-zH.mjs} +21620 -21401
- package/dist/{index-DQbHbpgW.mjs → index-Cmlc_Bb4.mjs} +4 -4
- package/dist/{index-B-lo0ywJ.mjs → index-CrZPfuW6.mjs} +60 -60
- package/dist/{index-SUlMvdOg.mjs → index-DD1K2w1b.mjs} +71 -71
- package/dist/{index-DvrFzTq2.mjs → index-DFVq4R0u.mjs} +1 -1
- package/dist/{index-B7zhho5d.mjs → index-DOPTH9F2.mjs} +65 -65
- package/dist/{index-u66O7nvc.mjs → index-Dn-psVpr.mjs} +112 -111
- package/dist/index-DnSJxj9r.mjs +3438 -0
- package/dist/{index-CQlxUoOf.mjs → index-DtR1eBZg.mjs} +1 -1
- package/dist/{index-Bqg1CGw2.mjs → index-H7-W4HC2.mjs} +1 -1
- package/dist/{index-Dyn0k8Ib.mjs → index-NVKBuLg_.mjs} +59 -59
- package/dist/{index-DAIdsjwj.mjs → index-hMoSvG6q.mjs} +58 -58
- package/dist/index.mjs +26 -27
- package/dist/index.vue_vue_type_script_setup_true_lang-up5cpReQ.mjs +54 -0
- package/dist/picture-o8CKMR0j.mjs +587 -0
- package/dist/position-BUALjtY9.mjs +23 -0
- package/dist/{profile-BfDHQ_n5.mjs → profile-BLq1IvXt.mjs} +25 -25
- package/dist/style.css +1 -1
- package/dist/{types-D2vHMNqn.mjs → types-JT7Xyhpz.mjs} +13 -13
- package/dist/{updatePwd-Dc31cBOV.mjs → updatePwd-DnT8nEtM.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Do-jRGf0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Dks8j8my.mjs} +9 -9
- package/package.json +1 -1
- package/dist/401-BjFOoJaQ.mjs +0 -101
- package/dist/404-CT8Yk873.mjs +0 -37
- package/dist/anquanrizhi-BMAtNRi-.mjs +0 -4
- package/dist/api-DA2t0sYn.mjs +0 -4
- package/dist/bumenguanli-_DtFk-Tc.mjs +0 -4
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +0 -4
- package/dist/captcha-G9RskXh1.mjs +0 -4
- package/dist/caret-bottom-Lhe9M7aA.mjs +0 -59
- package/dist/cascader-CysbB3DR.mjs +0 -4
- package/dist/client-CmoE5d0v.mjs +0 -4
- package/dist/close-DwiHyvYJ.mjs +0 -4
- package/dist/close_all-ri0Fg4Yg.mjs +0 -4
- package/dist/close_left-DLmFYlJS.mjs +0 -4
- package/dist/close_other-B705ZMV6.mjs +0 -4
- package/dist/close_right-BUdNHbs5.mjs +0 -4
- package/dist/dict-C2cGjFov.mjs +0 -4
- package/dist/document-Bf2gTChB.mjs +0 -4
- package/dist/download-cG3k-vnb.mjs +0 -4
- package/dist/drag-CwjZNuUJ.mjs +0 -4
- package/dist/edit-CIq1RPVx.mjs +0 -4
- package/dist/edit-Di-ksvTh.mjs +0 -4
- package/dist/edit-II1vFfNu.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-VlMd6HAa.mjs +0 -575
- package/dist/email-B2AUCEGq.mjs +0 -4
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +0 -4
- package/dist/eye-DeDz_5CQ.mjs +0 -4
- package/dist/eye-open-Cm0N1Rcz.mjs +0 -4
- package/dist/fullscreen-BFXljl9l.mjs +0 -4
- package/dist/gangweiguanli-bkwyhEXB.mjs +0 -4
- package/dist/github-CL2t8fd5.mjs +0 -4
- package/dist/homepage-IeZtzO8Q.mjs +0 -4
- package/dist/icon-DwZ6Hkfk.mjs +0 -4
- package/dist/index-CF6p3ONN.mjs +0 -319
- package/dist/index-CJvo28Bb.mjs +0 -275
- package/dist/index-CS-ceXqM.mjs +0 -2580
- package/dist/ip-DOLbS1rT.mjs +0 -4
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +0 -4
- package/dist/language-C1tgLxuP.mjs +0 -4
- package/dist/link-Cjm7RVX7.mjs +0 -4
- package/dist/log-ZFSIG9ZQ.mjs +0 -4
- package/dist/menu-B7SOjMUJ.mjs +0 -4
- package/dist/message-Bws5C_1u.mjs +0 -4
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +0 -4
- package/dist/money-DM0ZKWD3.mjs +0 -4
- package/dist/monitor-CxsUJkcx.mjs +0 -4
- package/dist/order-DZ28J7CD.mjs +0 -4
- package/dist/password-BbtiGVLy.mjs +0 -4
- package/dist/peoples-3fyh79uv.mjs +0 -4
- package/dist/phone-CdpLww4_.mjs +0 -4
- package/dist/picture-877nN1qH.mjs +0 -598
- package/dist/project-DgVsw9u_.mjs +0 -4
- package/dist/publish-BCri5HbT.mjs +0 -4
- package/dist/quanxianguanli-Cpcc8C4D.mjs +0 -4
- package/dist/redis-fjUUmFu3.mjs +0 -4
- package/dist/refresh-BWNjEt3t.mjs +0 -4
- package/dist/role-BYKzPG5H.mjs +0 -4
- package/dist/security-BsMRfWoG.mjs +0 -4
- package/dist/shoujihao-BFt1tDJn.mjs +0 -4
- package/dist/shrink-kEdKK3G7.mjs +0 -4
- package/dist/size-jLonAeyJ.mjs +0 -4
- package/dist/system-BlPhikZo.mjs +0 -4
- package/dist/table-CCqA2qBP.mjs +0 -4
- package/dist/todolist-Ul73X2IJ.mjs +0 -4
- package/dist/tree-DrEt7UUZ.mjs +0 -4
- package/dist/user-B9bSWq2E.mjs +0 -4
- package/dist/visit-w_hKTLb6.mjs +0 -4
- package/dist/xingming-DHM4olm-.mjs +0 -4
- package/dist/yonghuguanli-B3vRkdqw.mjs +0 -4
- package/dist/youxiang-D68Zx-02.mjs +0 -4
- package/dist//345/210/227/350/241/250-nphA7BPW.mjs +0 -4
- package/dist//345/233/272/345/256/232_/345/233/276/351/222/211-CXYo1gbQ.mjs +0 -4
- package/dist//346/250/241/345/235/227-D528qA63.mjs +0 -4
- package/dist//347/234/274/347/235/233-BaPHKGgj.mjs +0 -4
- package/dist//351/227/255/347/234/274/347/235/233-D6BjbTd5.mjs +0 -4
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as n, computed as c, openBlock as o, createElementBlock as i, normalizeClass as s, unref as r, normalizeStyle as p, renderSlot as u, createCommentVNode as f } from "vue";
|
|
2
|
+
import { b as v, d as m, u as y, _ as S, w as _ } from "./index-CkXpK-zH.mjs";
|
|
3
|
+
const b = v({
|
|
4
|
+
direction: {
|
|
5
|
+
type: String,
|
|
6
|
+
values: ["horizontal", "vertical"],
|
|
7
|
+
default: "horizontal"
|
|
8
|
+
},
|
|
9
|
+
contentPosition: {
|
|
10
|
+
type: String,
|
|
11
|
+
values: ["left", "center", "right"],
|
|
12
|
+
default: "center"
|
|
13
|
+
},
|
|
14
|
+
borderStyle: {
|
|
15
|
+
type: m(String),
|
|
16
|
+
default: "solid"
|
|
17
|
+
}
|
|
18
|
+
}), h = n({
|
|
19
|
+
name: "ElDivider"
|
|
20
|
+
}), P = /* @__PURE__ */ n({
|
|
21
|
+
...h,
|
|
22
|
+
props: b,
|
|
23
|
+
setup(l) {
|
|
24
|
+
const a = l, e = y("divider"), d = c(() => e.cssVar({
|
|
25
|
+
"border-style": a.borderStyle
|
|
26
|
+
}));
|
|
27
|
+
return (t, z) => (o(), i("div", {
|
|
28
|
+
class: s([r(e).b(), r(e).m(t.direction)]),
|
|
29
|
+
style: p(r(d)),
|
|
30
|
+
role: "separator"
|
|
31
|
+
}, [
|
|
32
|
+
t.$slots.default && t.direction !== "vertical" ? (o(), i("div", {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: s([r(e).e("text"), r(e).is(t.contentPosition)])
|
|
35
|
+
}, [
|
|
36
|
+
u(t.$slots, "default")
|
|
37
|
+
], 2)) : f("v-if", !0)
|
|
38
|
+
], 6));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
var g = /* @__PURE__ */ S(P, [["__file", "divider.vue"]]);
|
|
42
|
+
const C = _(g);
|
|
43
|
+
export {
|
|
44
|
+
C as E
|
|
45
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as A, ref as $, inject as h, computed as C, provide as W, readonly as $e, toRef as
|
|
2
|
-
import { b as Ke,
|
|
1
|
+
import { defineComponent as A, ref as $, inject as h, computed as C, provide as W, readonly as $e, toRef as Y, unref as O, watch as ce, renderSlot as B, resolveComponent as g, openBlock as N, createBlock as U, withCtx as v, createVNode as R, normalizeProps as Te, guardReactiveProps as Fe, nextTick as Re, getCurrentInstance as pe, onBeforeUnmount as Se, createElementBlock as j, normalizeClass as X, createSlots as ke, mergeProps as V, createCommentVNode as Z, Fragment as Oe, createElementVNode as Pe, withModifiers as x, resolveDynamicComponent as De, normalizeStyle as Ne } from "vue";
|
|
2
|
+
import { b as Ke, bA as Be, d as q, A as E, aF as Le, _ as G, bB as P, bC as fe, t as ve, af as Me, bD as Ae, r as Ge, bE as ze, E as me, x as Ue, bF as He, u as ee, k as Ye, e as Ve, bG as Je, m as We, bH as be, bI as je, bJ as Qe, bK as ge, bL as qe, bM as ae, bN as Xe, bO as Ze, bP as xe, bQ as eo, bR as oo, w as no, a as we } from "./index-CkXpK-zH.mjs";
|
|
3
3
|
const to = Ke({
|
|
4
|
-
style: { type:
|
|
4
|
+
style: { type: q([String, Array, Object]) },
|
|
5
5
|
currentTabId: {
|
|
6
|
-
type:
|
|
6
|
+
type: q(String)
|
|
7
7
|
},
|
|
8
8
|
defaultCurrentTabId: String,
|
|
9
9
|
loop: Boolean,
|
|
@@ -13,14 +13,14 @@ const to = Ke({
|
|
|
13
13
|
default: "ltr"
|
|
14
14
|
},
|
|
15
15
|
orientation: {
|
|
16
|
-
type:
|
|
16
|
+
type: q(String)
|
|
17
17
|
},
|
|
18
18
|
onBlur: Function,
|
|
19
19
|
onFocus: Function,
|
|
20
20
|
onMousedown: Function
|
|
21
21
|
}), {
|
|
22
|
-
ElCollection:
|
|
23
|
-
ElCollectionItem:
|
|
22
|
+
ElCollection: ro,
|
|
23
|
+
ElCollectionItem: lo,
|
|
24
24
|
COLLECTION_INJECTION_KEY: oe,
|
|
25
25
|
COLLECTION_ITEM_INJECTION_KEY: so
|
|
26
26
|
} = Be("RovingFocusGroup"), ne = Symbol("elRovingFocusGroup"), Ie = Symbol("elRovingFocusGroupItem"), io = {
|
|
@@ -59,7 +59,7 @@ const to = Ke({
|
|
|
59
59
|
emits: [de, "entryFocus"],
|
|
60
60
|
setup(e, { emit: o }) {
|
|
61
61
|
var a;
|
|
62
|
-
const t = $((a = e.currentTabId || e.defaultCurrentTabId) != null ? a : null), c = $(!1), u = $(!1), s = $(null), { getItems:
|
|
62
|
+
const t = $((a = e.currentTabId || e.defaultCurrentTabId) != null ? a : null), c = $(!1), u = $(!1), s = $(null), { getItems: l } = h(oe, void 0), p = C(() => [
|
|
63
63
|
{
|
|
64
64
|
outline: "none"
|
|
65
65
|
},
|
|
@@ -81,7 +81,7 @@ const to = Ke({
|
|
|
81
81
|
if (K === S && f && !O(c)) {
|
|
82
82
|
const L = new Event(ue, po);
|
|
83
83
|
if (S == null || S.dispatchEvent(L), !L.defaultPrevented) {
|
|
84
|
-
const I =
|
|
84
|
+
const I = l().filter((F) => F.focusable), y = I.find((F) => F.active), T = I.find((F) => F.id === O(t)), M = [y, T, ...I].filter(Boolean).map((F) => F.ref);
|
|
85
85
|
te(M);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -96,12 +96,12 @@ const to = Ke({
|
|
|
96
96
|
};
|
|
97
97
|
W(ne, {
|
|
98
98
|
currentTabbedId: $e(t),
|
|
99
|
-
loop:
|
|
99
|
+
loop: Y(e, "loop"),
|
|
100
100
|
tabIndex: C(() => O(c) ? -1 : 0),
|
|
101
101
|
rovingFocusGroupRef: s,
|
|
102
102
|
rovingFocusGroupRootStyle: p,
|
|
103
|
-
orientation:
|
|
104
|
-
dir:
|
|
103
|
+
orientation: Y(e, "orientation"),
|
|
104
|
+
dir: Y(e, "dir"),
|
|
105
105
|
onItemFocus: m,
|
|
106
106
|
onItemShiftTab: b,
|
|
107
107
|
onBlur: n,
|
|
@@ -119,13 +119,13 @@ var mo = /* @__PURE__ */ G(fo, [["render", vo], ["__file", "roving-focus-group-i
|
|
|
119
119
|
const bo = A({
|
|
120
120
|
name: "ElRovingFocusGroup",
|
|
121
121
|
components: {
|
|
122
|
-
ElFocusGroupCollection:
|
|
122
|
+
ElFocusGroupCollection: ro,
|
|
123
123
|
ElRovingFocusGroupImpl: mo
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
function go(e, o, a, t, c, u) {
|
|
127
|
-
const s = g("el-roving-focus-group-impl"),
|
|
128
|
-
return N(), U(
|
|
127
|
+
const s = g("el-roving-focus-group-impl"), l = g("el-focus-group-collection");
|
|
128
|
+
return N(), U(l, null, {
|
|
129
129
|
default: v(() => [
|
|
130
130
|
R(s, Te(Fe(e.$attrs)), {
|
|
131
131
|
default: v(() => [
|
|
@@ -140,7 +140,7 @@ function go(e, o, a, t, c, u) {
|
|
|
140
140
|
var wo = /* @__PURE__ */ G(bo, [["render", go], ["__file", "roving-focus-group.vue"]]);
|
|
141
141
|
const Io = A({
|
|
142
142
|
components: {
|
|
143
|
-
ElRovingFocusCollectionItem:
|
|
143
|
+
ElRovingFocusCollectionItem: lo
|
|
144
144
|
},
|
|
145
145
|
props: {
|
|
146
146
|
focusable: {
|
|
@@ -154,14 +154,14 @@ const Io = A({
|
|
|
154
154
|
},
|
|
155
155
|
emits: ["mousedown", "focus", "keydown"],
|
|
156
156
|
setup(e, { emit: o }) {
|
|
157
|
-
const { currentTabbedId: a, loop: t, onItemFocus: c, onItemShiftTab: u } = h(ne, void 0), { getItems: s } = h(oe, void 0),
|
|
157
|
+
const { currentTabbedId: a, loop: t, onItemFocus: c, onItemShiftTab: u } = h(ne, void 0), { getItems: s } = h(oe, void 0), l = fe(), p = $(null), m = P((n) => {
|
|
158
158
|
o("mousedown", n);
|
|
159
159
|
}, (n) => {
|
|
160
|
-
e.focusable ? c(O(
|
|
160
|
+
e.focusable ? c(O(l)) : n.preventDefault();
|
|
161
161
|
}), b = P((n) => {
|
|
162
162
|
o("focus", n);
|
|
163
163
|
}, () => {
|
|
164
|
-
c(O(
|
|
164
|
+
c(O(l));
|
|
165
165
|
}), w = P((n) => {
|
|
166
166
|
o("keydown", n);
|
|
167
167
|
}, (n) => {
|
|
@@ -193,7 +193,7 @@ const Io = A({
|
|
|
193
193
|
te(I);
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
}), _ = C(() => a.value === O(
|
|
196
|
+
}), _ = C(() => a.value === O(l));
|
|
197
197
|
return W(Ie, {
|
|
198
198
|
rovingFocusGroupItemRef: p,
|
|
199
199
|
tabIndex: C(() => O(_) ? 0 : -1),
|
|
@@ -201,7 +201,7 @@ const Io = A({
|
|
|
201
201
|
handleFocus: b,
|
|
202
202
|
handleKeydown: w
|
|
203
203
|
}), {
|
|
204
|
-
id:
|
|
204
|
+
id: l,
|
|
205
205
|
handleKeydown: w,
|
|
206
206
|
handleFocus: b,
|
|
207
207
|
handleMousedown: m
|
|
@@ -222,7 +222,7 @@ function Eo(e, o, a, t, c, u) {
|
|
|
222
222
|
}, 8, ["id", "focusable", "active"]);
|
|
223
223
|
}
|
|
224
224
|
var _o = /* @__PURE__ */ G(Io, [["render", Eo], ["__file", "roving-focus-item.vue"]]);
|
|
225
|
-
const
|
|
225
|
+
const Q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = A({
|
|
226
226
|
name: "ElDropdown",
|
|
227
227
|
components: {
|
|
228
228
|
ElButton: ve,
|
|
@@ -235,60 +235,60 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = A({
|
|
|
235
235
|
ElIcon: me,
|
|
236
236
|
ArrowDown: Ue
|
|
237
237
|
},
|
|
238
|
-
props:
|
|
238
|
+
props: He,
|
|
239
239
|
emits: ["visible-change", "click", "command"],
|
|
240
240
|
setup(e, { emit: o }) {
|
|
241
|
-
const a = pe(), t = ee("dropdown"), { t: c } =
|
|
241
|
+
const a = pe(), t = ee("dropdown"), { t: c } = Ye(), u = $(), s = $(), l = $(null), p = $(null), m = $(null), b = $(null), w = $(!1), _ = [E.enter, E.space, E.down], n = C(() => ({
|
|
242
242
|
maxHeight: Ve(e.maxHeight)
|
|
243
243
|
})), d = C(() => [t.m(y.value)]), i = C(() => Je(e.trigger)), f = fe().value, K = C(() => e.id || f);
|
|
244
|
-
ce([u, i], ([
|
|
245
|
-
var
|
|
246
|
-
(
|
|
244
|
+
ce([u, i], ([r, k], [z]) => {
|
|
245
|
+
var le, se, ie;
|
|
246
|
+
(le = z == null ? void 0 : z.$el) != null && le.removeEventListener && z.$el.removeEventListener("pointerenter", D), (se = r == null ? void 0 : r.$el) != null && se.removeEventListener && r.$el.removeEventListener("pointerenter", D), (ie = r == null ? void 0 : r.$el) != null && ie.addEventListener && k.includes("hover") && r.$el.addEventListener("pointerenter", D);
|
|
247
247
|
}, { immediate: !0 }), Se(() => {
|
|
248
|
-
var
|
|
249
|
-
(k = (
|
|
248
|
+
var r, k;
|
|
249
|
+
(k = (r = u.value) == null ? void 0 : r.$el) != null && k.removeEventListener && u.value.$el.removeEventListener("pointerenter", D);
|
|
250
250
|
});
|
|
251
251
|
function S() {
|
|
252
252
|
L();
|
|
253
253
|
}
|
|
254
254
|
function L() {
|
|
255
|
-
var
|
|
256
|
-
(
|
|
255
|
+
var r;
|
|
256
|
+
(r = l.value) == null || r.onClose();
|
|
257
257
|
}
|
|
258
258
|
function I() {
|
|
259
|
-
var
|
|
260
|
-
(
|
|
259
|
+
var r;
|
|
260
|
+
(r = l.value) == null || r.onOpen();
|
|
261
261
|
}
|
|
262
262
|
const y = We();
|
|
263
|
-
function T(...
|
|
264
|
-
o("command", ...
|
|
263
|
+
function T(...r) {
|
|
264
|
+
o("command", ...r);
|
|
265
265
|
}
|
|
266
266
|
function D() {
|
|
267
|
-
var
|
|
268
|
-
(k = (
|
|
267
|
+
var r, k;
|
|
268
|
+
(k = (r = u.value) == null ? void 0 : r.$el) == null || k.focus();
|
|
269
269
|
}
|
|
270
270
|
function M() {
|
|
271
271
|
}
|
|
272
272
|
function F() {
|
|
273
|
-
const
|
|
274
|
-
i.value.includes("hover") && (
|
|
273
|
+
const r = O(p);
|
|
274
|
+
i.value.includes("hover") && (r == null || r.focus()), b.value = null;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
b.value =
|
|
276
|
+
function re(r) {
|
|
277
|
+
b.value = r;
|
|
278
278
|
}
|
|
279
|
-
function J(
|
|
280
|
-
w.value || (
|
|
279
|
+
function J(r) {
|
|
280
|
+
w.value || (r.preventDefault(), r.stopImmediatePropagation());
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function H() {
|
|
283
283
|
o("visible-change", !0);
|
|
284
284
|
}
|
|
285
|
-
function Ce(
|
|
286
|
-
(
|
|
285
|
+
function Ce(r) {
|
|
286
|
+
(r == null ? void 0 : r.type) === "keydown" && p.value.focus();
|
|
287
287
|
}
|
|
288
288
|
function ye() {
|
|
289
289
|
o("visible-change", !1);
|
|
290
290
|
}
|
|
291
|
-
return W(
|
|
291
|
+
return W(Q, {
|
|
292
292
|
contentRef: p,
|
|
293
293
|
role: C(() => e.role),
|
|
294
294
|
triggerId: K,
|
|
@@ -300,8 +300,8 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = A({
|
|
|
300
300
|
dropdownSize: y,
|
|
301
301
|
handleClick: S,
|
|
302
302
|
commandHandler: T,
|
|
303
|
-
trigger:
|
|
304
|
-
hideOnClick:
|
|
303
|
+
trigger: Y(e, "trigger"),
|
|
304
|
+
hideOnClick: Y(e, "hideOnClick")
|
|
305
305
|
}), {
|
|
306
306
|
t: c,
|
|
307
307
|
ns: t,
|
|
@@ -312,23 +312,23 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = A({
|
|
|
312
312
|
triggerId: K,
|
|
313
313
|
triggerKeys: _,
|
|
314
314
|
currentTabId: b,
|
|
315
|
-
handleCurrentTabIdChange:
|
|
316
|
-
handlerMainButtonClick: (
|
|
317
|
-
o("click",
|
|
315
|
+
handleCurrentTabIdChange: re,
|
|
316
|
+
handlerMainButtonClick: (r) => {
|
|
317
|
+
o("click", r);
|
|
318
318
|
},
|
|
319
319
|
handleEntryFocus: J,
|
|
320
320
|
handleClose: L,
|
|
321
321
|
handleOpen: I,
|
|
322
|
-
handleBeforeShowTooltip:
|
|
322
|
+
handleBeforeShowTooltip: H,
|
|
323
323
|
handleShowTooltip: Ce,
|
|
324
324
|
handleBeforeHideTooltip: ye,
|
|
325
|
-
onFocusAfterTrapped: (
|
|
325
|
+
onFocusAfterTrapped: (r) => {
|
|
326
326
|
var k, z;
|
|
327
|
-
|
|
327
|
+
r.preventDefault(), (z = (k = p.value) == null ? void 0 : k.focus) == null || z.call(k, {
|
|
328
328
|
preventScroll: !0
|
|
329
329
|
});
|
|
330
330
|
},
|
|
331
|
-
popperRef:
|
|
331
|
+
popperRef: l,
|
|
332
332
|
contentRef: p,
|
|
333
333
|
triggeringElementRef: u,
|
|
334
334
|
referenceElementRef: s
|
|
@@ -337,7 +337,7 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = A({
|
|
|
337
337
|
});
|
|
338
338
|
function yo(e, o, a, t, c, u) {
|
|
339
339
|
var s;
|
|
340
|
-
const
|
|
340
|
+
const l = g("el-dropdown-collection"), p = g("el-roving-focus-group"), m = g("el-scrollbar"), b = g("el-only-child"), w = g("el-tooltip"), _ = g("el-button"), n = g("arrow-down"), d = g("el-icon"), i = g("el-button-group");
|
|
341
341
|
return N(), j("div", {
|
|
342
342
|
class: X([e.ns.b(), e.ns.is("disabled", e.disabled)])
|
|
343
343
|
}, [
|
|
@@ -385,7 +385,7 @@ function yo(e, o, a, t, c, u) {
|
|
|
385
385
|
onEntryFocus: e.handleEntryFocus
|
|
386
386
|
}, {
|
|
387
387
|
default: v(() => [
|
|
388
|
-
R(
|
|
388
|
+
R(l, null, {
|
|
389
389
|
default: v(() => [
|
|
390
390
|
B(e.$slots, "dropdown")
|
|
391
391
|
]),
|
|
@@ -469,9 +469,9 @@ const To = A({
|
|
|
469
469
|
props: be,
|
|
470
470
|
emits: ["pointermove", "pointerleave", "click", "clickimpl"],
|
|
471
471
|
setup(e, { emit: o }) {
|
|
472
|
-
const a = ee("dropdown"), { role: t } = h(
|
|
472
|
+
const a = ee("dropdown"), { role: t } = h(Q, void 0), { collectionItemRef: c } = h(je, void 0), { collectionItemRef: u } = h(so, void 0), {
|
|
473
473
|
rovingFocusGroupItemRef: s,
|
|
474
|
-
tabIndex:
|
|
474
|
+
tabIndex: l,
|
|
475
475
|
handleFocus: p,
|
|
476
476
|
handleKeydown: m,
|
|
477
477
|
handleMousedown: b
|
|
@@ -484,10 +484,10 @@ const To = A({
|
|
|
484
484
|
ns: a,
|
|
485
485
|
itemRef: w,
|
|
486
486
|
dataset: {
|
|
487
|
-
[
|
|
487
|
+
[Qe]: ""
|
|
488
488
|
},
|
|
489
489
|
role: _,
|
|
490
|
-
tabIndex:
|
|
490
|
+
tabIndex: l,
|
|
491
491
|
handleFocus: p,
|
|
492
492
|
handleKeydown: n,
|
|
493
493
|
handleMousedown: b
|
|
@@ -507,12 +507,12 @@ function Ro(e, o, a, t, c, u) {
|
|
|
507
507
|
class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
|
|
508
508
|
tabindex: e.tabIndex,
|
|
509
509
|
role: e.role,
|
|
510
|
-
onClick: o[0] || (o[0] = (
|
|
511
|
-
onFocus: o[1] || (o[1] = (...
|
|
512
|
-
onKeydown: o[2] || (o[2] = x((...
|
|
513
|
-
onMousedown: o[3] || (o[3] = (...
|
|
514
|
-
onPointermove: o[4] || (o[4] = (
|
|
515
|
-
onPointerleave: o[5] || (o[5] = (
|
|
510
|
+
onClick: o[0] || (o[0] = (l) => e.$emit("clickimpl", l)),
|
|
511
|
+
onFocus: o[1] || (o[1] = (...l) => e.handleFocus && e.handleFocus(...l)),
|
|
512
|
+
onKeydown: o[2] || (o[2] = x((...l) => e.handleKeydown && e.handleKeydown(...l), ["self"])),
|
|
513
|
+
onMousedown: o[3] || (o[3] = (...l) => e.handleMousedown && e.handleMousedown(...l)),
|
|
514
|
+
onPointermove: o[4] || (o[4] = (l) => e.$emit("pointermove", l)),
|
|
515
|
+
onPointerleave: o[5] || (o[5] = (l) => e.$emit("pointerleave", l))
|
|
516
516
|
}), [
|
|
517
517
|
e.icon ? (N(), U(s, { key: 0 }, {
|
|
518
518
|
default: v(() => [
|
|
@@ -534,7 +534,7 @@ const Ee = () => {
|
|
|
534
534
|
}, ko = A({
|
|
535
535
|
name: "ElDropdownItem",
|
|
536
536
|
components: {
|
|
537
|
-
ElDropdownCollectionItem:
|
|
537
|
+
ElDropdownCollectionItem: qe,
|
|
538
538
|
ElRovingFocusItem: _o,
|
|
539
539
|
ElDropdownItemImpl: So
|
|
540
540
|
},
|
|
@@ -545,13 +545,13 @@ const Ee = () => {
|
|
|
545
545
|
const { elDropdown: t } = Ee(), c = pe(), u = $(null), s = C(() => {
|
|
546
546
|
var n, d;
|
|
547
547
|
return (d = (n = O(u)) == null ? void 0 : n.textContent) != null ? d : "";
|
|
548
|
-
}), { onItemEnter:
|
|
548
|
+
}), { onItemEnter: l, onItemLeave: p } = h(Q, void 0), m = P((n) => (o("pointermove", n), n.defaultPrevented), ae((n) => {
|
|
549
549
|
if (e.disabled) {
|
|
550
550
|
p(n);
|
|
551
551
|
return;
|
|
552
552
|
}
|
|
553
553
|
const d = n.currentTarget;
|
|
554
|
-
d === document.activeElement || d.contains(document.activeElement) || (
|
|
554
|
+
d === document.activeElement || d.contains(document.activeElement) || (l(n), n.defaultPrevented || d == null || d.focus());
|
|
555
555
|
})), b = P((n) => (o("pointerleave", n), n.defaultPrevented), ae((n) => {
|
|
556
556
|
p(n);
|
|
557
557
|
})), w = P((n) => {
|
|
@@ -576,7 +576,7 @@ const Ee = () => {
|
|
|
576
576
|
});
|
|
577
577
|
function Oo(e, o, a, t, c, u) {
|
|
578
578
|
var s;
|
|
579
|
-
const
|
|
579
|
+
const l = g("el-dropdown-item-impl"), p = g("el-roving-focus-item"), m = g("el-dropdown-collection-item");
|
|
580
580
|
return N(), U(m, {
|
|
581
581
|
disabled: e.disabled,
|
|
582
582
|
"text-value": (s = e.textValue) != null ? s : e.textContent
|
|
@@ -586,7 +586,7 @@ function Oo(e, o, a, t, c, u) {
|
|
|
586
586
|
focusable: !e.disabled
|
|
587
587
|
}, {
|
|
588
588
|
default: v(() => [
|
|
589
|
-
R(
|
|
589
|
+
R(l, V(e.propsAndAttrs, {
|
|
590
590
|
onPointerleave: e.handlePointerLeave,
|
|
591
591
|
onPointermove: e.handlePointerMove,
|
|
592
592
|
onClickimpl: e.handleClick
|
|
@@ -608,7 +608,7 @@ const Po = A({
|
|
|
608
608
|
name: "ElDropdownMenu",
|
|
609
609
|
props: Xe,
|
|
610
610
|
setup(e) {
|
|
611
|
-
const o = ee("dropdown"), { _elDropdownSize: a } = Ee(), t = a.value, { focusTrapRef: c, onKeydown: u } = h(Ze, void 0), { contentRef: s, role:
|
|
611
|
+
const o = ee("dropdown"), { _elDropdownSize: a } = Ee(), t = a.value, { focusTrapRef: c, onKeydown: u } = h(Ze, void 0), { contentRef: s, role: l, triggerId: p } = h(Q, void 0), { collectionRef: m, getItems: b } = h(xe, void 0), {
|
|
612
612
|
rovingFocusGroupRef: w,
|
|
613
613
|
rovingFocusGroupRootStyle: _,
|
|
614
614
|
tabIndex: n,
|
|
@@ -622,7 +622,7 @@ const Po = A({
|
|
|
622
622
|
const { currentTarget: D, code: M, target: F } = T;
|
|
623
623
|
if (D.contains(F), E.tab === M && T.stopImmediatePropagation(), T.preventDefault(), F !== O(s) || !eo.includes(M))
|
|
624
624
|
return;
|
|
625
|
-
const J = b().filter((
|
|
625
|
+
const J = b().filter((H) => !H.disabled).map((H) => H.ref);
|
|
626
626
|
oo.includes(M) && J.reverse(), te(J);
|
|
627
627
|
});
|
|
628
628
|
return {
|
|
@@ -630,7 +630,7 @@ const Po = A({
|
|
|
630
630
|
rovingFocusGroupRootStyle: _,
|
|
631
631
|
tabIndex: n,
|
|
632
632
|
dropdownKls: S,
|
|
633
|
-
role:
|
|
633
|
+
role: l,
|
|
634
634
|
triggerId: p,
|
|
635
635
|
dropdownListWrapperRef: L,
|
|
636
636
|
handleKeydown: (T) => {
|