jmash-core 0.0.4 → 0.0.6
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-DoLCxv3l.mjs → 401-C_qkauQu.mjs} +3 -3
- package/dist/{BarChart-C1VgkGMN.mjs → BarChart-CsSnWnk0.mjs} +3 -3
- package/dist/{FileSaver.min-CbZYb_R2.mjs → FileSaver.min-S6m_zlDZ.mjs} +1 -1
- package/dist/{PieChart-D4hXD0SH.mjs → PieChart-BXbsYR-1.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs → PieChart.vue_vue_type_script_setup_true_lang-DtwPlpFC.mjs} +2 -2
- package/dist/{RadarChart-BIL7VT1H.mjs → RadarChart-zNAewKa0.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs → RadarChart.vue_vue_type_script_setup_true_lang-Dtxsf7KP.mjs} +2 -2
- package/dist/{caret-bottom-Cm1qBSrY.mjs → caret-bottom-B5kASNne.mjs} +8 -8
- package/dist/{debounce-C0G0JMal.mjs → debounce-DVtCzWbd.mjs} +18 -18
- package/dist/{dropdown2-BiRFTrOq.mjs → dropdown2-CMOWvf0C.mjs} +13 -13
- package/dist/{edit-Bpt21Eir.mjs → edit-BcboAnwn.mjs} +74 -75
- package/dist/{edit-D3-EslTs.mjs → edit-BhzWgtiu.mjs} +1 -1
- package/dist/{edit-CYWeo3RE.mjs → edit-Bv8DZG6p.mjs} +1 -1
- package/dist/{edit-Cde8RIRN.mjs → edit-BvWmAEHc.mjs} +1 -1
- package/dist/{edit-NICINRFG.mjs → edit-Cyd9eTU2.mjs} +1 -1
- package/dist/{edit-DLx0iRHQ.mjs → edit-DBR41rYO.mjs} +49 -50
- package/dist/edit-DnXU0M0C.mjs +4 -0
- package/dist/edit-DywfQnD6.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-_tHqd9tg.mjs → edit.vue_vue_type_script_setup_true_lang-BVTIqMtE.mjs} +47 -48
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DBxZMZyS.mjs → edit.vue_vue_type_script_setup_true_lang-Bz1hLu9y.mjs} +19 -20
- package/dist/{edit.vue_vue_type_script_setup_true_lang-mM66jf9N.mjs → edit.vue_vue_type_script_setup_true_lang-CHTaDBkI.mjs} +20 -21
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CFHGaytm.mjs → edit.vue_vue_type_script_setup_true_lang-CaR3fD9U.mjs} +13 -14
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BYoUZaYJ.mjs → edit.vue_vue_type_script_setup_true_lang-DiK3ksvS.mjs} +17 -18
- package/dist/{edit.vue_vue_type_script_setup_true_lang-C_NNjRjK.mjs → edit.vue_vue_type_script_setup_true_lang-fqt8wb5O.mjs} +45 -46
- package/dist/{el-card-BIRVdEQY.mjs → el-card-miLDnNw5.mjs} +4 -4
- package/dist/{el-checkbox-miY6QbQ8.mjs → el-checkbox-CFMqu9KB.mjs} +70 -70
- package/dist/{el-col-BOgRUJYE.mjs → el-col-BEJD7GD1.mjs} +19 -19
- package/dist/{el-date-picker-D9yvdcj2.mjs → el-date-picker-Cr-cX8DW.mjs} +5 -5
- package/dist/{el-dialog-BSTwker5.mjs → el-dialog-DsSLDdfQ.mjs} +72 -72
- package/dist/{el-dropdown-item-YDb2-w9y.mjs → el-dropdown-item-BCmwAt2w.mjs} +68 -68
- package/dist/{el-form-item-BzKoZc6I.mjs → el-form-item-SADwyANR.mjs} +118 -118
- package/dist/{el-popover-DuRdut0P.mjs → el-popover-m-Jq-5BK.mjs} +24 -24
- package/dist/{el-popper-AjIjI4wK.mjs → el-popper-1E2gbMai.mjs} +1 -1
- package/dist/{el-progress-BPv5gfee.mjs → el-progress-BxHkbtFE.mjs} +35 -35
- package/dist/{el-radio-NC-gfUsx.mjs → el-radio-Dx1x2IhO.mjs} +52 -52
- package/dist/{el-scrollbar-p0O6uID0.mjs → el-scrollbar-COsAm83d.mjs} +75 -75
- package/dist/{el-select-DAMII7lv.mjs → el-select-Cge53X_a.mjs} +102 -102
- package/dist/{el-switch-C2AFgHGW.mjs → el-switch-3lruHxge.mjs} +40 -40
- package/dist/{el-table-IQFrP3zv.mjs → el-table-CP25j4nH.mjs} +143 -143
- package/dist/{el-tree-select-CyDKS6nF.mjs → el-tree-select-FIDKYIa1.mjs} +99 -99
- package/dist/{importUpload.vue_vue_type_script_setup_true_lang-DWWbxFGH.mjs → importUpload.vue_vue_type_script_setup_true_lang-CZUq7ixU.mjs} +30 -31
- package/dist/{index-BpAihYhN.mjs → index-82f92F0U.mjs} +35 -36
- package/dist/{index-C0UgbyoZ.mjs → index-BETVnAE-.mjs} +46 -46
- package/dist/{index-CCFtIl_h.mjs → index-BNcw4iMa.mjs} +49 -50
- package/dist/{index-CgNPGcHv.mjs → index-BWHVnG9T.mjs} +58 -59
- package/dist/index-BjNf6_G4.mjs +13179 -0
- package/dist/{index-CBB_r4G5.mjs → index-CPIcbKz7.mjs} +34 -35
- package/dist/{index-Cd3TOW5i.mjs → index-ClV6eGK1.mjs} +9 -9
- package/dist/{index-BWyb1bu2.mjs → index-CtL1ATi2.mjs} +95 -96
- package/dist/{index-A3UILhe-.mjs → index-DCQmWDX4.mjs} +35 -36
- package/dist/{index-C0vV2_4K.mjs → index-DYY5todd.mjs} +7 -7
- package/dist/{index-eT2JltVa.mjs → index-DcpN2fWF.mjs} +8 -8
- package/dist/{index-BWx4KWAY.mjs → index-DfFxhIWV.mjs} +24 -25
- package/dist/{index-mkT_dTWL.mjs → index-DhAGdVI6.mjs} +1 -1
- package/dist/{index-B46NFfoE.mjs → index-Dmv6CYeS.mjs} +27 -28
- package/dist/{index-BnbEfNmI.mjs → index-DpuuXN_M.mjs} +5 -5
- package/dist/{index-BvixCbHl.mjs → index-DuQBVGRw.mjs} +17 -18
- package/dist/{index-Bs3AcT6R.mjs → index-Dx53f_Sb.mjs} +18 -18
- package/dist/{index-CoOFKDgw.mjs → index-FaDQHwL2.mjs} +5 -5
- package/dist/{index-CurzO9C6.mjs → index-FrT5yP_Z.mjs} +26 -27
- package/dist/{index-Url6hMpl.mjs → index-ffGccmy3.mjs} +78 -79
- package/dist/index-g0t1RwR3.mjs +2589 -0
- package/dist/{index-xtDIXRPY.mjs → index-knvasjd6.mjs} +65 -65
- package/dist/index.mjs +16 -11
- package/dist/{index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs → index.vue_vue_type_script_setup_true_lang-f_JnHVJD.mjs} +20 -20
- package/dist/{index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs → index.vue_vue_type_script_setup_true_lang-rl_flY13.mjs} +5 -5
- package/dist/{picture-kPnmHaoS.mjs → picture-Cnt3kRRp.mjs} +18 -18
- package/dist/{profile-RVQuIwXg.mjs → profile-DGSkxplm.mjs} +23 -23
- package/dist/{refs-S3PYDmaW.mjs → refs-DQyMCCl7.mjs} +1 -1
- package/dist/{types-CCG3Dvqs.mjs → types-CzUG0yyM.mjs} +16 -16
- package/dist/{updatePwd-2UsTmJa5.mjs → updatePwd-BMZQn7mh.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Dp-E7ZUt.mjs} +5 -5
- package/dist/{useColumnToggleTable-D_QF8Uy9.mjs → useColumnToggleTable-EJRdhTaG.mjs} +5 -5
- package/dts/src/App.vue.d.ts +1 -1
- package/dts/src/api/auth/index.d.ts +41 -0
- package/dts/src/api/auth/types.d.ts +180 -0
- package/dts/src/api/file/index.d.ts +14 -0
- package/dts/src/api/file/types.d.ts +7 -0
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/icons/index.d.ts +0 -0
- package/dts/src/components/{TheWelcome.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
- package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
- package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
- package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
- package/dts/src/components/{icons/IconEcosystem.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
- package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
- package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
- package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
- package/dts/src/components/{icons/IconCommunity.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +88 -0
- package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
- package/dts/src/components/{icons/IconDocumentation.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
- package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
- package/dts/src/components/Table/index.vue.d.ts +73 -0
- package/dts/src/components/TableSet/index.vue.d.ts +29 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
- package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
- package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
- package/dts/src/components/Upload/index.vue.d.ts +18 -0
- package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
- package/dts/src/directive/index.d.ts +5 -0
- package/dts/src/directive/permission/index.d.ts +9 -0
- package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/index.d.ts +30 -3
- package/dts/src/lang/index.d.ts +534 -0
- package/dts/src/lang/package/en.d.ts +261 -0
- package/dts/src/lang/package/zh-cn.d.ts +275 -0
- package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
- package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
- package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
- package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
- package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
- package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
- package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
- package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
- package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
- package/dts/src/layout/components/index.d.ts +4 -0
- package/dts/src/layout/index.vue.d.ts +2 -0
- package/dts/src/layout/main.vue.d.ts +2 -0
- package/dts/src/main.d.ts +5 -1
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/index.d.ts +10 -0
- package/dts/src/settings.d.ts +13 -0
- package/dts/src/stores/index.d.ts +2 -0
- package/dts/src/stores/modules/tagsView.d.ts +82 -0
- package/dts/src/utils/common.d.ts +6 -0
- package/dts/src/utils/grpc.d.ts +2 -0
- package/dts/src/utils/i18n.d.ts +1 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/utils/request.d.ts +2 -0
- package/dts/src/utils/resize.d.ts +1 -0
- package/dts/src/utils/scroll-to.d.ts +6 -0
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
- package/dts/src/views/dashboard/index.vue.d.ts +2 -0
- package/dts/src/views/error-page/401.vue.d.ts +2 -0
- package/dts/src/views/error-page/404.vue.d.ts +2 -0
- package/dts/src/views/login/components/types.vue.d.ts +2 -0
- package/dts/src/views/login/index.vue.d.ts +2 -0
- package/dts/src/views/my/profile.vue.d.ts +2 -0
- package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
- package/dts/src/views/redirect/index.vue.d.ts +2 -0
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/edit-Vk23bJyE.mjs +0 -4
- package/dist/edit-sqzPOfBX.mjs +0 -4
- package/dist/index-Ax_8ZsXK.mjs +0 -3163
- package/dist/index-CrNYgyNm.mjs +0 -8800
- package/dist/vue-i18n-CE6tUbcO.mjs +0 -3808
- package/dts/src/components/HelloWorld.vue.d.ts +0 -15
- package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
- package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
- package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
- package/dts/src/stores/counter.d.ts +0 -13
- package/dts/src/views/AboutView.vue.d.ts +0 -2
- package/dts/src/views/HomeView.vue.d.ts +0 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as G, ref as $, inject as h, computed as C, provide as W, readonly as $e, toRef as H, unref as
|
|
2
|
-
import {
|
|
3
|
-
import { c as P, E as Ye, O as He, w as ae } from "./el-popper-
|
|
4
|
-
import { E as Ve } from "./el-scrollbar-
|
|
5
|
-
import { c as Je, E as We, d as je, a as be, C as
|
|
6
|
-
import { f as no } from "./el-form-item-
|
|
7
|
-
import { c as we } from "./refs-
|
|
8
|
-
const to =
|
|
9
|
-
style: { type:
|
|
1
|
+
import { defineComponent as G, ref as $, inject as h, computed as C, provide as W, readonly as $e, toRef as H, unref as k, watch as ce, renderSlot as B, resolveComponent as b, 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 Q, createSlots as Oe, mergeProps as V, createCommentVNode as X, Fragment as ke, createElementVNode as Pe, withModifiers as x, resolveDynamicComponent as De, normalizeStyle as Ne } from "vue";
|
|
2
|
+
import { m as Ke, n as q, J as E, I as Be, _ as A, aR as fe, h as ve, z as me, a5 as Le, x as ee, w as Me, bs as Ge, aO as Ae, bM as ze, L as Ue, Z as ge } from "./index-BjNf6_G4.mjs";
|
|
3
|
+
import { c as P, E as Ye, O as He, w as ae } from "./el-popper-1E2gbMai.mjs";
|
|
4
|
+
import { E as Ve } from "./el-scrollbar-COsAm83d.mjs";
|
|
5
|
+
import { c as Je, E as We, d as je, a as be, C as Ze, b as qe, e as Qe, f as Xe, g as xe, F as eo, L as oo } from "./dropdown2-CMOWvf0C.mjs";
|
|
6
|
+
import { f as no } from "./el-form-item-SADwyANR.mjs";
|
|
7
|
+
import { c as we } from "./refs-DQyMCCl7.mjs";
|
|
8
|
+
const to = Ke({
|
|
9
|
+
style: { type: q([String, Array, Object]) },
|
|
10
10
|
currentTabId: {
|
|
11
|
-
type:
|
|
11
|
+
type: q(String)
|
|
12
12
|
},
|
|
13
13
|
defaultCurrentTabId: String,
|
|
14
14
|
loop: Boolean,
|
|
@@ -18,7 +18,7 @@ const to = Ne({
|
|
|
18
18
|
default: "ltr"
|
|
19
19
|
},
|
|
20
20
|
orientation: {
|
|
21
|
-
type:
|
|
21
|
+
type: q(String)
|
|
22
22
|
},
|
|
23
23
|
onBlur: Function,
|
|
24
24
|
onFocus: Function,
|
|
@@ -82,11 +82,11 @@ const to = Ne({
|
|
|
82
82
|
var f;
|
|
83
83
|
(f = e.onFocus) == null || f.call(e, i);
|
|
84
84
|
}, (i) => {
|
|
85
|
-
const f = !
|
|
86
|
-
if (
|
|
85
|
+
const f = !k(u), { target: K, currentTarget: S } = i;
|
|
86
|
+
if (K === S && f && !k(c)) {
|
|
87
87
|
const L = new Event(ue, po);
|
|
88
88
|
if (S == null || S.dispatchEvent(L), !L.defaultPrevented) {
|
|
89
|
-
const I = l().filter((F) => F.focusable), y = I.find((F) => F.active), T = I.find((F) => F.id ===
|
|
89
|
+
const I = l().filter((F) => F.focusable), y = I.find((F) => F.active), T = I.find((F) => F.id === k(t)), M = [y, T, ...I].filter(Boolean).map((F) => F.ref);
|
|
90
90
|
te(M);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -102,7 +102,7 @@ const to = Ne({
|
|
|
102
102
|
W(ne, {
|
|
103
103
|
currentTabbedId: $e(t),
|
|
104
104
|
loop: H(e, "loop"),
|
|
105
|
-
tabIndex: C(() =>
|
|
105
|
+
tabIndex: C(() => k(c) ? -1 : 0),
|
|
106
106
|
rovingFocusGroupRef: s,
|
|
107
107
|
rovingFocusGroupRootStyle: p,
|
|
108
108
|
orientation: H(e, "orientation"),
|
|
@@ -130,7 +130,7 @@ const go = G({
|
|
|
130
130
|
});
|
|
131
131
|
function bo(e, o, a, t, c, u) {
|
|
132
132
|
const s = b("el-roving-focus-group-impl"), l = b("el-focus-group-collection");
|
|
133
|
-
return
|
|
133
|
+
return N(), U(l, null, {
|
|
134
134
|
default: v(() => [
|
|
135
135
|
R(s, Te(Fe(e.$attrs)), {
|
|
136
136
|
default: v(() => [
|
|
@@ -162,20 +162,20 @@ const Io = G({
|
|
|
162
162
|
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) => {
|
|
163
163
|
o("mousedown", n);
|
|
164
164
|
}, (n) => {
|
|
165
|
-
e.focusable ? c(
|
|
165
|
+
e.focusable ? c(k(l)) : n.preventDefault();
|
|
166
166
|
}), g = P((n) => {
|
|
167
167
|
o("focus", n);
|
|
168
168
|
}, () => {
|
|
169
|
-
c(
|
|
169
|
+
c(k(l));
|
|
170
170
|
}), w = P((n) => {
|
|
171
171
|
o("keydown", n);
|
|
172
172
|
}, (n) => {
|
|
173
|
-
const { key: d, shiftKey: i, target: f, currentTarget:
|
|
173
|
+
const { key: d, shiftKey: i, target: f, currentTarget: K } = n;
|
|
174
174
|
if (d === E.tab && i) {
|
|
175
175
|
u();
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
178
|
-
if (f !==
|
|
178
|
+
if (f !== K)
|
|
179
179
|
return;
|
|
180
180
|
const S = uo(n);
|
|
181
181
|
if (S) {
|
|
@@ -189,7 +189,7 @@ const Io = G({
|
|
|
189
189
|
case "prev":
|
|
190
190
|
case "next": {
|
|
191
191
|
S === "prev" && I.reverse();
|
|
192
|
-
const y = I.indexOf(
|
|
192
|
+
const y = I.indexOf(K);
|
|
193
193
|
I = t.value ? co(I, y + 1) : I.slice(y + 1);
|
|
194
194
|
break;
|
|
195
195
|
}
|
|
@@ -198,10 +198,10 @@ const Io = G({
|
|
|
198
198
|
te(I);
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
}), _ = C(() => a.value ===
|
|
201
|
+
}), _ = C(() => a.value === k(l));
|
|
202
202
|
return W(Ie, {
|
|
203
203
|
rovingFocusGroupItemRef: p,
|
|
204
|
-
tabIndex: C(() =>
|
|
204
|
+
tabIndex: C(() => k(_) ? 0 : -1),
|
|
205
205
|
handleMousedown: m,
|
|
206
206
|
handleFocus: g,
|
|
207
207
|
handleKeydown: w
|
|
@@ -215,7 +215,7 @@ const Io = G({
|
|
|
215
215
|
});
|
|
216
216
|
function Eo(e, o, a, t, c, u) {
|
|
217
217
|
const s = b("el-roving-focus-collection-item");
|
|
218
|
-
return
|
|
218
|
+
return N(), U(s, {
|
|
219
219
|
id: e.id,
|
|
220
220
|
focusable: e.focusable,
|
|
221
221
|
active: e.active
|
|
@@ -227,7 +227,7 @@ function Eo(e, o, a, t, c, u) {
|
|
|
227
227
|
}, 8, ["id", "focusable", "active"]);
|
|
228
228
|
}
|
|
229
229
|
var _o = /* @__PURE__ */ A(Io, [["render", Eo], ["__file", "roving-focus-item.vue"]]);
|
|
230
|
-
const
|
|
230
|
+
const Z = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
231
231
|
name: "ElDropdown",
|
|
232
232
|
components: {
|
|
233
233
|
ElButton: ve,
|
|
@@ -245,13 +245,13 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
|
245
245
|
setup(e, { emit: o }) {
|
|
246
246
|
const a = pe(), t = ee("dropdown"), { t: c } = Me(), u = $(), s = $(), l = $(null), p = $(null), m = $(null), g = $(null), w = $(!1), _ = [E.enter, E.space, E.down], n = C(() => ({
|
|
247
247
|
maxHeight: Ge(e.maxHeight)
|
|
248
|
-
})), d = C(() => [t.m(y.value)]), i = C(() => no(e.trigger)), f = fe().value,
|
|
249
|
-
ce([u, i], ([r,
|
|
248
|
+
})), d = C(() => [t.m(y.value)]), i = C(() => no(e.trigger)), f = fe().value, K = C(() => e.id || f);
|
|
249
|
+
ce([u, i], ([r, O], [z]) => {
|
|
250
250
|
var le, se, ie;
|
|
251
|
-
(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 &&
|
|
251
|
+
(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 && O.includes("hover") && r.$el.addEventListener("pointerenter", D);
|
|
252
252
|
}, { immediate: !0 }), Se(() => {
|
|
253
|
-
var r,
|
|
254
|
-
(
|
|
253
|
+
var r, O;
|
|
254
|
+
(O = (r = u.value) == null ? void 0 : r.$el) != null && O.removeEventListener && u.value.$el.removeEventListener("pointerenter", D);
|
|
255
255
|
});
|
|
256
256
|
function S() {
|
|
257
257
|
L();
|
|
@@ -269,13 +269,13 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
|
269
269
|
o("command", ...r);
|
|
270
270
|
}
|
|
271
271
|
function D() {
|
|
272
|
-
var r,
|
|
273
|
-
(
|
|
272
|
+
var r, O;
|
|
273
|
+
(O = (r = u.value) == null ? void 0 : r.$el) == null || O.focus();
|
|
274
274
|
}
|
|
275
275
|
function M() {
|
|
276
276
|
}
|
|
277
277
|
function F() {
|
|
278
|
-
const r =
|
|
278
|
+
const r = k(p);
|
|
279
279
|
i.value.includes("hover") && (r == null || r.focus()), g.value = null;
|
|
280
280
|
}
|
|
281
281
|
function re(r) {
|
|
@@ -293,10 +293,10 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
|
293
293
|
function ye() {
|
|
294
294
|
o("visible-change", !1);
|
|
295
295
|
}
|
|
296
|
-
return W(
|
|
296
|
+
return W(Z, {
|
|
297
297
|
contentRef: p,
|
|
298
298
|
role: C(() => e.role),
|
|
299
|
-
triggerId:
|
|
299
|
+
triggerId: K,
|
|
300
300
|
isUsingKeyboard: w,
|
|
301
301
|
onItemEnter: M,
|
|
302
302
|
onItemLeave: F
|
|
@@ -314,7 +314,7 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
|
314
314
|
wrapStyle: n,
|
|
315
315
|
dropdownTriggerKls: d,
|
|
316
316
|
dropdownSize: y,
|
|
317
|
-
triggerId:
|
|
317
|
+
triggerId: K,
|
|
318
318
|
triggerKeys: _,
|
|
319
319
|
currentTabId: g,
|
|
320
320
|
handleCurrentTabIdChange: re,
|
|
@@ -328,8 +328,8 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
|
328
328
|
handleShowTooltip: Ce,
|
|
329
329
|
handleBeforeHideTooltip: ye,
|
|
330
330
|
onFocusAfterTrapped: (r) => {
|
|
331
|
-
var
|
|
332
|
-
r.preventDefault(), (z = (
|
|
331
|
+
var O, z;
|
|
332
|
+
r.preventDefault(), (z = (O = p.value) == null ? void 0 : O.focus) == null || z.call(O, {
|
|
333
333
|
preventScroll: !0
|
|
334
334
|
});
|
|
335
335
|
},
|
|
@@ -343,8 +343,8 @@ const q = Symbol("elDropdown"), { ButtonGroup: ho } = ve, Co = G({
|
|
|
343
343
|
function yo(e, o, a, t, c, u) {
|
|
344
344
|
var s;
|
|
345
345
|
const l = b("el-dropdown-collection"), p = b("el-roving-focus-group"), m = b("el-scrollbar"), g = b("el-only-child"), w = b("el-tooltip"), _ = b("el-button"), n = b("arrow-down"), d = b("el-icon"), i = b("el-button-group");
|
|
346
|
-
return
|
|
347
|
-
class:
|
|
346
|
+
return N(), j("div", {
|
|
347
|
+
class: Q([e.ns.b(), e.ns.is("disabled", e.disabled)])
|
|
348
348
|
}, [
|
|
349
349
|
R(w, {
|
|
350
350
|
ref: "popperRef",
|
|
@@ -373,7 +373,7 @@ function yo(e, o, a, t, c, u) {
|
|
|
373
373
|
onBeforeShow: e.handleBeforeShowTooltip,
|
|
374
374
|
onShow: e.handleShowTooltip,
|
|
375
375
|
onBeforeHide: e.handleBeforeHideTooltip
|
|
376
|
-
},
|
|
376
|
+
}, Oe({
|
|
377
377
|
content: v(() => [
|
|
378
378
|
R(m, {
|
|
379
379
|
ref: "scrollbar",
|
|
@@ -422,7 +422,7 @@ function yo(e, o, a, t, c, u) {
|
|
|
422
422
|
])
|
|
423
423
|
}
|
|
424
424
|
]), 1032, ["role", "effect", "popper-options", "hide-after", "placement", "popper-class", "reference-element", "trigger", "trigger-keys", "trigger-target-el", "show-after", "virtual-ref", "virtual-triggering", "disabled", "transition", "teleported", "onBeforeShow", "onShow", "onBeforeHide"]),
|
|
425
|
-
e.splitButton ? (
|
|
425
|
+
e.splitButton ? (N(), U(i, { key: 0 }, {
|
|
426
426
|
default: v(() => [
|
|
427
427
|
R(_, V({ ref: "referenceElementRef" }, e.buttonProps, {
|
|
428
428
|
size: e.dropdownSize,
|
|
@@ -450,7 +450,7 @@ function yo(e, o, a, t, c, u) {
|
|
|
450
450
|
}), {
|
|
451
451
|
default: v(() => [
|
|
452
452
|
R(d, {
|
|
453
|
-
class:
|
|
453
|
+
class: Q(e.ns.e("icon"))
|
|
454
454
|
}, {
|
|
455
455
|
default: v(() => [
|
|
456
456
|
R(n)
|
|
@@ -462,7 +462,7 @@ function yo(e, o, a, t, c, u) {
|
|
|
462
462
|
}, 16, ["id", "size", "type", "class", "disabled", "tabindex", "aria-label"])
|
|
463
463
|
]),
|
|
464
464
|
_: 3
|
|
465
|
-
})) :
|
|
465
|
+
})) : X("v-if", !0)
|
|
466
466
|
], 2);
|
|
467
467
|
}
|
|
468
468
|
var $o = /* @__PURE__ */ A(Co, [["render", yo], ["__file", "dropdown.vue"]]);
|
|
@@ -474,7 +474,7 @@ const To = G({
|
|
|
474
474
|
props: be,
|
|
475
475
|
emits: ["pointermove", "pointerleave", "click", "clickimpl"],
|
|
476
476
|
setup(e, { emit: o }) {
|
|
477
|
-
const a = ee("dropdown"), { role: t } = h(
|
|
477
|
+
const a = ee("dropdown"), { role: t } = h(Z, void 0), { collectionItemRef: c } = h(Ze, void 0), { collectionItemRef: u } = h(so, void 0), {
|
|
478
478
|
rovingFocusGroupItemRef: s,
|
|
479
479
|
tabIndex: l,
|
|
480
480
|
handleFocus: p,
|
|
@@ -489,7 +489,7 @@ const To = G({
|
|
|
489
489
|
ns: a,
|
|
490
490
|
itemRef: w,
|
|
491
491
|
dataset: {
|
|
492
|
-
[
|
|
492
|
+
[qe]: ""
|
|
493
493
|
},
|
|
494
494
|
role: _,
|
|
495
495
|
tabIndex: l,
|
|
@@ -501,12 +501,12 @@ const To = G({
|
|
|
501
501
|
}), Fo = ["aria-disabled", "tabindex", "role"];
|
|
502
502
|
function Ro(e, o, a, t, c, u) {
|
|
503
503
|
const s = b("el-icon");
|
|
504
|
-
return
|
|
505
|
-
e.divided ? (
|
|
504
|
+
return N(), j(ke, null, [
|
|
505
|
+
e.divided ? (N(), j("li", V({
|
|
506
506
|
key: 0,
|
|
507
507
|
role: "separator",
|
|
508
508
|
class: e.ns.bem("menu", "item", "divided")
|
|
509
|
-
}, e.$attrs), null, 16)) :
|
|
509
|
+
}, e.$attrs), null, 16)) : X("v-if", !0),
|
|
510
510
|
Pe("li", V({ ref: e.itemRef }, { ...e.dataset, ...e.$attrs }, {
|
|
511
511
|
"aria-disabled": e.disabled,
|
|
512
512
|
class: [e.ns.be("menu", "item"), e.ns.is("disabled", e.disabled)],
|
|
@@ -519,12 +519,12 @@ function Ro(e, o, a, t, c, u) {
|
|
|
519
519
|
onPointermove: o[4] || (o[4] = (l) => e.$emit("pointermove", l)),
|
|
520
520
|
onPointerleave: o[5] || (o[5] = (l) => e.$emit("pointerleave", l))
|
|
521
521
|
}), [
|
|
522
|
-
e.icon ? (
|
|
522
|
+
e.icon ? (N(), U(s, { key: 0 }, {
|
|
523
523
|
default: v(() => [
|
|
524
|
-
(
|
|
524
|
+
(N(), U(De(e.icon)))
|
|
525
525
|
]),
|
|
526
526
|
_: 1
|
|
527
|
-
})) :
|
|
527
|
+
})) : X("v-if", !0),
|
|
528
528
|
B(e.$slots, "default")
|
|
529
529
|
], 16, Fo)
|
|
530
530
|
], 64);
|
|
@@ -536,10 +536,10 @@ const Ee = () => {
|
|
|
536
536
|
elDropdown: e,
|
|
537
537
|
_elDropdownSize: o
|
|
538
538
|
};
|
|
539
|
-
},
|
|
539
|
+
}, Oo = G({
|
|
540
540
|
name: "ElDropdownItem",
|
|
541
541
|
components: {
|
|
542
|
-
ElDropdownCollectionItem:
|
|
542
|
+
ElDropdownCollectionItem: Qe,
|
|
543
543
|
ElRovingFocusItem: _o,
|
|
544
544
|
ElDropdownItemImpl: So
|
|
545
545
|
},
|
|
@@ -549,8 +549,8 @@ const Ee = () => {
|
|
|
549
549
|
setup(e, { emit: o, attrs: a }) {
|
|
550
550
|
const { elDropdown: t } = Ee(), c = pe(), u = $(null), s = C(() => {
|
|
551
551
|
var n, d;
|
|
552
|
-
return (d = (n =
|
|
553
|
-
}), { onItemEnter: l, onItemLeave: p } = h(
|
|
552
|
+
return (d = (n = k(u)) == null ? void 0 : n.textContent) != null ? d : "";
|
|
553
|
+
}), { onItemEnter: l, onItemLeave: p } = h(Z, void 0), m = P((n) => (o("pointermove", n), n.defaultPrevented), ae((n) => {
|
|
554
554
|
if (e.disabled) {
|
|
555
555
|
p(n);
|
|
556
556
|
return;
|
|
@@ -579,10 +579,10 @@ const Ee = () => {
|
|
|
579
579
|
};
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
|
-
function
|
|
582
|
+
function ko(e, o, a, t, c, u) {
|
|
583
583
|
var s;
|
|
584
584
|
const l = b("el-dropdown-item-impl"), p = b("el-roving-focus-item"), m = b("el-dropdown-collection-item");
|
|
585
|
-
return
|
|
585
|
+
return N(), U(m, {
|
|
586
586
|
disabled: e.disabled,
|
|
587
587
|
"text-value": (s = e.textValue) != null ? s : e.textContent
|
|
588
588
|
}, {
|
|
@@ -608,24 +608,24 @@ function Oo(e, o, a, t, c, u) {
|
|
|
608
608
|
_: 3
|
|
609
609
|
}, 8, ["disabled", "text-value"]);
|
|
610
610
|
}
|
|
611
|
-
var _e = /* @__PURE__ */ A(
|
|
611
|
+
var _e = /* @__PURE__ */ A(Oo, [["render", ko], ["__file", "dropdown-item.vue"]]);
|
|
612
612
|
const Po = G({
|
|
613
613
|
name: "ElDropdownMenu",
|
|
614
|
-
props:
|
|
614
|
+
props: Xe,
|
|
615
615
|
setup(e) {
|
|
616
|
-
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(
|
|
616
|
+
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(Z, void 0), { collectionRef: m, getItems: g } = h(xe, void 0), {
|
|
617
617
|
rovingFocusGroupRef: w,
|
|
618
618
|
rovingFocusGroupRootStyle: _,
|
|
619
619
|
tabIndex: n,
|
|
620
620
|
onBlur: d,
|
|
621
621
|
onFocus: i,
|
|
622
622
|
onMousedown: f
|
|
623
|
-
} = h(ne, void 0), { collectionRef:
|
|
623
|
+
} = h(ne, void 0), { collectionRef: K } = h(oe, void 0), S = C(() => [o.b("menu"), o.bm("menu", t == null ? void 0 : t.value)]), L = we(s, m, c, w, K), I = P((T) => {
|
|
624
624
|
var D;
|
|
625
625
|
(D = e.onKeydown) == null || D.call(e, T);
|
|
626
626
|
}, (T) => {
|
|
627
627
|
const { currentTarget: D, code: M, target: F } = T;
|
|
628
|
-
if (D.contains(F), E.tab === M && T.stopImmediatePropagation(), T.preventDefault(), F !==
|
|
628
|
+
if (D.contains(F), E.tab === M && T.stopImmediatePropagation(), T.preventDefault(), F !== k(s) || !eo.includes(M))
|
|
629
629
|
return;
|
|
630
630
|
const J = g().filter((Y) => !Y.disabled).map((Y) => Y.ref);
|
|
631
631
|
oo.includes(M) && J.reverse(), te(J);
|
|
@@ -647,11 +647,11 @@ const Po = G({
|
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
649
|
}), Do = ["role", "aria-labelledby"];
|
|
650
|
-
function
|
|
651
|
-
return
|
|
650
|
+
function No(e, o, a, t, c, u) {
|
|
651
|
+
return N(), j("ul", {
|
|
652
652
|
ref: e.dropdownListWrapperRef,
|
|
653
|
-
class:
|
|
654
|
-
style:
|
|
653
|
+
class: Q(e.dropdownKls),
|
|
654
|
+
style: Ne(e.rovingFocusGroupRootStyle),
|
|
655
655
|
tabindex: -1,
|
|
656
656
|
role: e.role,
|
|
657
657
|
"aria-labelledby": e.triggerId,
|
|
@@ -663,7 +663,7 @@ function Ko(e, o, a, t, c, u) {
|
|
|
663
663
|
B(e.$slots, "default")
|
|
664
664
|
], 46, Do);
|
|
665
665
|
}
|
|
666
|
-
var he = /* @__PURE__ */ A(Po, [["render",
|
|
666
|
+
var he = /* @__PURE__ */ A(Po, [["render", No], ["__file", "dropdown-menu.vue"]]);
|
|
667
667
|
const Ho = Ue($o, {
|
|
668
668
|
DropdownItem: _e,
|
|
669
669
|
DropdownMenu: he
|