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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as N, inject as
|
|
2
|
-
import {
|
|
3
|
-
import { c as Oe } from "./refs-
|
|
1
|
+
import { defineComponent as N, inject as q, computed as E, openBlock as B, createElementBlock as K, unref as e, normalizeClass as m, normalizeStyle as J, createElementVNode as O, renderSlot as k, toDisplayString as te, createVNode as M, withCtx as w, createBlock as _, resolveDynamicComponent as ae, createCommentVNode as j, getCurrentInstance as se, ref as D, watch as Q, nextTick as ne, onMounted as re, useSlots as ie, provide as de, Teleport as ue, Transition as ce, withDirectives as fe, mergeProps as ve, createSlots as ye, vShow as pe } from "vue";
|
|
2
|
+
import { m as H, Y as me, w as ge, bM as be, bO as Ce, z as he, _ as W, bP as we, n as Y, aK as X, aL as ke, y as De, aR as Z, bQ as Ee, bs as Ie, bR as Te, bS as Be, a6 as G, j as Se, aQ as Ae, x as Fe, bT as $e, b7 as Le, bU as Pe, L as Re } from "./index-BjNf6_G4.mjs";
|
|
3
|
+
import { c as Oe } from "./refs-DQyMCCl7.mjs";
|
|
4
4
|
import { i as Me } from "./isUndefined-CUQZk6oB.mjs";
|
|
5
|
-
const x = Symbol("dialogInjectionKey"), ee =
|
|
5
|
+
const x = Symbol("dialogInjectionKey"), ee = H({
|
|
6
6
|
center: Boolean,
|
|
7
7
|
alignCenter: Boolean,
|
|
8
8
|
closeIcon: {
|
|
@@ -25,22 +25,22 @@ const x = Symbol("dialogInjectionKey"), ee = Y({
|
|
|
25
25
|
}
|
|
26
26
|
}), Ne = {
|
|
27
27
|
close: () => !0
|
|
28
|
-
}, ze = ["aria-level"], Ve = ["aria-label"],
|
|
29
|
-
...
|
|
28
|
+
}, ze = ["aria-level"], Ve = ["aria-label"], Ue = ["id"], Ke = N({ name: "ElDialogContent" }), _e = /* @__PURE__ */ N({
|
|
29
|
+
...Ke,
|
|
30
30
|
props: ee,
|
|
31
31
|
emits: Ne,
|
|
32
32
|
setup(o) {
|
|
33
|
-
const s = o, { t: u } = ge(), { Close: F } =
|
|
33
|
+
const s = o, { t: u } = ge(), { Close: F } = we, { dialogRef: n, headerRef: c, bodyId: I, ns: a, style: g } = q(x), { focusTrapRef: r } = q(be), f = E(() => [
|
|
34
34
|
a.b(),
|
|
35
35
|
a.is("fullscreen", s.fullscreen),
|
|
36
36
|
a.is("draggable", s.draggable),
|
|
37
37
|
a.is("align-center", s.alignCenter),
|
|
38
38
|
{ [a.m("center")]: s.center }
|
|
39
39
|
]), v = Oe(r, n), b = E(() => s.draggable), d = E(() => s.overflow);
|
|
40
|
-
return Ce(n, c, b, d), (t, T) => (B(),
|
|
40
|
+
return Ce(n, c, b, d), (t, T) => (B(), K("div", {
|
|
41
41
|
ref: e(v),
|
|
42
42
|
class: m(e(f)),
|
|
43
|
-
style:
|
|
43
|
+
style: J(e(g)),
|
|
44
44
|
tabindex: "-1"
|
|
45
45
|
}, [
|
|
46
46
|
O("header", {
|
|
@@ -48,14 +48,14 @@ const x = Symbol("dialogInjectionKey"), ee = Y({
|
|
|
48
48
|
ref: c,
|
|
49
49
|
class: m([e(a).e("header"), { "show-close": t.showClose }])
|
|
50
50
|
}, [
|
|
51
|
-
|
|
51
|
+
k(t.$slots, "header", {}, () => [
|
|
52
52
|
O("span", {
|
|
53
53
|
role: "heading",
|
|
54
54
|
"aria-level": t.ariaLevel,
|
|
55
55
|
class: m(e(a).e("title"))
|
|
56
56
|
}, te(t.title), 11, ze)
|
|
57
57
|
]),
|
|
58
|
-
t.showClose ? (B(),
|
|
58
|
+
t.showClose ? (B(), K("button", {
|
|
59
59
|
key: 0,
|
|
60
60
|
"aria-label": e(u)("el.dialog.close"),
|
|
61
61
|
class: m(e(a).e("headerbtn")),
|
|
@@ -65,38 +65,38 @@ const x = Symbol("dialogInjectionKey"), ee = Y({
|
|
|
65
65
|
M(e(he), {
|
|
66
66
|
class: m(e(a).e("close"))
|
|
67
67
|
}, {
|
|
68
|
-
default:
|
|
69
|
-
(B(),
|
|
68
|
+
default: w(() => [
|
|
69
|
+
(B(), _(ae(t.closeIcon || e(F))))
|
|
70
70
|
]),
|
|
71
71
|
_: 1
|
|
72
72
|
}, 8, ["class"])
|
|
73
|
-
], 10, Ve)) :
|
|
73
|
+
], 10, Ve)) : j("v-if", !0)
|
|
74
74
|
], 2),
|
|
75
75
|
O("div", {
|
|
76
76
|
id: e(I),
|
|
77
77
|
class: m(e(a).e("body"))
|
|
78
78
|
}, [
|
|
79
|
-
|
|
80
|
-
], 10,
|
|
81
|
-
t.$slots.footer ? (B(),
|
|
79
|
+
k(t.$slots, "default")
|
|
80
|
+
], 10, Ue),
|
|
81
|
+
t.$slots.footer ? (B(), K("footer", {
|
|
82
82
|
key: 0,
|
|
83
83
|
class: m(e(a).e("footer"))
|
|
84
84
|
}, [
|
|
85
|
-
|
|
86
|
-
], 2)) :
|
|
85
|
+
k(t.$slots, "footer")
|
|
86
|
+
], 2)) : j("v-if", !0)
|
|
87
87
|
], 6));
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
var
|
|
91
|
-
const
|
|
90
|
+
var je = /* @__PURE__ */ W(_e, [["__file", "dialog-content.vue"]]);
|
|
91
|
+
const qe = H({
|
|
92
92
|
...ee,
|
|
93
93
|
appendToBody: Boolean,
|
|
94
94
|
appendTo: {
|
|
95
|
-
type:
|
|
95
|
+
type: Y(String),
|
|
96
96
|
default: "body"
|
|
97
97
|
},
|
|
98
98
|
beforeClose: {
|
|
99
|
-
type:
|
|
99
|
+
type: Y(Function)
|
|
100
100
|
},
|
|
101
101
|
destroyOnClose: Boolean,
|
|
102
102
|
closeOnClickModal: {
|
|
@@ -142,38 +142,38 @@ const je = Y({
|
|
|
142
142
|
type: String,
|
|
143
143
|
default: "2"
|
|
144
144
|
}
|
|
145
|
-
}),
|
|
145
|
+
}), Qe = {
|
|
146
146
|
open: () => !0,
|
|
147
147
|
opened: () => !0,
|
|
148
148
|
close: () => !0,
|
|
149
149
|
closed: () => !0,
|
|
150
|
-
[
|
|
150
|
+
[X]: (o) => ke(o),
|
|
151
151
|
openAutoFocus: () => !0,
|
|
152
152
|
closeAutoFocus: () => !0
|
|
153
|
-
},
|
|
153
|
+
}, Ye = (o, s) => {
|
|
154
154
|
var u;
|
|
155
155
|
const n = se().emit, { nextZIndex: c } = De();
|
|
156
156
|
let I = "";
|
|
157
|
-
const a =
|
|
157
|
+
const a = Z(), g = Z(), r = D(!1), f = D(!1), v = D(!1), b = D((u = o.zIndex) != null ? u : c());
|
|
158
158
|
let d, t;
|
|
159
159
|
const T = Ee("namespace", Be), $ = E(() => {
|
|
160
160
|
const i = {}, h = `--${T.value}-dialog`;
|
|
161
161
|
return o.fullscreen || (o.top && (i[`${h}-margin-top`] = o.top), o.width && (i[`${h}-width`] = Ie(o.width))), i;
|
|
162
162
|
}), z = E(() => o.alignCenter ? { display: "flex" } : {});
|
|
163
|
-
function
|
|
163
|
+
function L() {
|
|
164
164
|
n("opened");
|
|
165
165
|
}
|
|
166
166
|
function V() {
|
|
167
|
-
n("closed"), n(
|
|
167
|
+
n("closed"), n(X, !1), o.destroyOnClose && (v.value = !1);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function U() {
|
|
170
170
|
n("close");
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
t == null || t(), d == null || d(), o.openDelay && o.openDelay > 0 ? { stop: d } =
|
|
172
|
+
function P() {
|
|
173
|
+
t == null || t(), d == null || d(), o.openDelay && o.openDelay > 0 ? { stop: d } = G(() => R(), o.openDelay) : R();
|
|
174
174
|
}
|
|
175
175
|
function S() {
|
|
176
|
-
d == null || d(), t == null || t(), o.closeDelay && o.closeDelay > 0 ? { stop: t } =
|
|
176
|
+
d == null || d(), t == null || t(), o.closeDelay && o.closeDelay > 0 ? { stop: t } = G(() => l(), o.closeDelay) : l();
|
|
177
177
|
}
|
|
178
178
|
function A() {
|
|
179
179
|
function i(h) {
|
|
@@ -184,7 +184,7 @@ const je = Y({
|
|
|
184
184
|
function y() {
|
|
185
185
|
o.closeOnClickModal && A();
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function R() {
|
|
188
188
|
Se && (r.value = !0);
|
|
189
189
|
}
|
|
190
190
|
function l() {
|
|
@@ -204,18 +204,18 @@ const je = Y({
|
|
|
204
204
|
function le() {
|
|
205
205
|
o.closeOnPressEscape && A();
|
|
206
206
|
}
|
|
207
|
-
return
|
|
208
|
-
i ? (f.value = !1,
|
|
207
|
+
return Q(() => o.modelValue, (i) => {
|
|
208
|
+
i ? (f.value = !1, P(), v.value = !0, b.value = Me(o.zIndex) ? c() : b.value++, ne(() => {
|
|
209
209
|
n("open"), s.value && (s.value.scrollTop = 0);
|
|
210
210
|
})) : r.value && S();
|
|
211
|
-
}),
|
|
211
|
+
}), Q(() => o.fullscreen, (i) => {
|
|
212
212
|
s.value && (i ? (I = s.value.style.transform, s.value.style.transform = "") : s.value.style.transform = I);
|
|
213
213
|
}), re(() => {
|
|
214
|
-
o.modelValue && (r.value = !0, v.value = !0,
|
|
214
|
+
o.modelValue && (r.value = !0, v.value = !0, P());
|
|
215
215
|
}), {
|
|
216
|
-
afterEnter:
|
|
216
|
+
afterEnter: L,
|
|
217
217
|
afterLeave: V,
|
|
218
|
-
beforeLeave:
|
|
218
|
+
beforeLeave: U,
|
|
219
219
|
handleClose: A,
|
|
220
220
|
onModalClick: y,
|
|
221
221
|
close: S,
|
|
@@ -233,13 +233,13 @@ const je = Y({
|
|
|
233
233
|
visible: r,
|
|
234
234
|
zIndex: b
|
|
235
235
|
};
|
|
236
|
-
},
|
|
236
|
+
}, Ze = ["aria-label", "aria-labelledby", "aria-describedby"], Ge = N({
|
|
237
237
|
name: "ElDialog",
|
|
238
238
|
inheritAttrs: !1
|
|
239
|
-
}),
|
|
240
|
-
...
|
|
241
|
-
props:
|
|
242
|
-
emits:
|
|
239
|
+
}), Je = /* @__PURE__ */ N({
|
|
240
|
+
...Ge,
|
|
241
|
+
props: qe,
|
|
242
|
+
emits: Qe,
|
|
243
243
|
setup(o, { expose: s }) {
|
|
244
244
|
const u = o, F = ie();
|
|
245
245
|
Ae({
|
|
@@ -260,13 +260,13 @@ const je = Y({
|
|
|
260
260
|
afterEnter: T,
|
|
261
261
|
afterLeave: $,
|
|
262
262
|
beforeLeave: z,
|
|
263
|
-
handleClose:
|
|
263
|
+
handleClose: L,
|
|
264
264
|
onModalClick: V,
|
|
265
|
-
onOpenAutoFocus:
|
|
266
|
-
onCloseAutoFocus:
|
|
265
|
+
onOpenAutoFocus: U,
|
|
266
|
+
onCloseAutoFocus: P,
|
|
267
267
|
onCloseRequested: S,
|
|
268
268
|
onFocusoutPrevented: A
|
|
269
|
-
} =
|
|
269
|
+
} = Ye(u, c);
|
|
270
270
|
de(x, {
|
|
271
271
|
dialogRef: c,
|
|
272
272
|
headerRef: I,
|
|
@@ -275,11 +275,11 @@ const je = Y({
|
|
|
275
275
|
rendered: d,
|
|
276
276
|
style: v
|
|
277
277
|
});
|
|
278
|
-
const y =
|
|
278
|
+
const y = Pe(V), R = E(() => u.draggable && !u.fullscreen);
|
|
279
279
|
return s({
|
|
280
280
|
visible: g,
|
|
281
281
|
dialogContentRef: a
|
|
282
|
-
}), (l, p) => (B(),
|
|
282
|
+
}), (l, p) => (B(), _(ue, {
|
|
283
283
|
to: l.appendTo,
|
|
284
284
|
disabled: l.appendTo !== "body" ? !1 : !l.appendToBody
|
|
285
285
|
}, [
|
|
@@ -290,14 +290,14 @@ const je = Y({
|
|
|
290
290
|
onBeforeLeave: e(z),
|
|
291
291
|
persisted: ""
|
|
292
292
|
}, {
|
|
293
|
-
default:
|
|
293
|
+
default: w(() => [
|
|
294
294
|
fe(M(e($e), {
|
|
295
295
|
"custom-mask-event": "",
|
|
296
296
|
mask: l.modal,
|
|
297
297
|
"overlay-class": l.modalClass,
|
|
298
298
|
"z-index": e(t)
|
|
299
299
|
}, {
|
|
300
|
-
default:
|
|
300
|
+
default: w(() => [
|
|
301
301
|
O("div", {
|
|
302
302
|
role: "dialog",
|
|
303
303
|
"aria-modal": "true",
|
|
@@ -305,22 +305,22 @@ const je = Y({
|
|
|
305
305
|
"aria-labelledby": l.title ? void 0 : e(r),
|
|
306
306
|
"aria-describedby": e(f),
|
|
307
307
|
class: m(`${e(n).namespace.value}-overlay-dialog`),
|
|
308
|
-
style:
|
|
308
|
+
style: J(e(b)),
|
|
309
309
|
onClick: p[0] || (p[0] = (...C) => e(y).onClick && e(y).onClick(...C)),
|
|
310
310
|
onMousedown: p[1] || (p[1] = (...C) => e(y).onMousedown && e(y).onMousedown(...C)),
|
|
311
311
|
onMouseup: p[2] || (p[2] = (...C) => e(y).onMouseup && e(y).onMouseup(...C))
|
|
312
312
|
}, [
|
|
313
|
-
M(e(
|
|
313
|
+
M(e(Le), {
|
|
314
314
|
loop: "",
|
|
315
315
|
trapped: e(g),
|
|
316
316
|
"focus-start-el": "container",
|
|
317
|
-
onFocusAfterTrapped: e(
|
|
318
|
-
onFocusAfterReleased: e(
|
|
317
|
+
onFocusAfterTrapped: e(U),
|
|
318
|
+
onFocusAfterReleased: e(P),
|
|
319
319
|
onFocusoutPrevented: e(A),
|
|
320
320
|
onReleaseRequested: e(S)
|
|
321
321
|
}, {
|
|
322
|
-
default:
|
|
323
|
-
e(d) ? (B(),
|
|
322
|
+
default: w(() => [
|
|
323
|
+
e(d) ? (B(), _(je, ve({
|
|
324
324
|
key: 0,
|
|
325
325
|
ref_key: "dialogContentRef",
|
|
326
326
|
ref: a
|
|
@@ -328,38 +328,38 @@ const je = Y({
|
|
|
328
328
|
center: l.center,
|
|
329
329
|
"align-center": l.alignCenter,
|
|
330
330
|
"close-icon": l.closeIcon,
|
|
331
|
-
draggable: e(
|
|
331
|
+
draggable: e(R),
|
|
332
332
|
overflow: l.overflow,
|
|
333
333
|
fullscreen: l.fullscreen,
|
|
334
334
|
"show-close": l.showClose,
|
|
335
335
|
title: l.title,
|
|
336
336
|
"aria-level": l.headerAriaLevel,
|
|
337
|
-
onClose: e(
|
|
337
|
+
onClose: e(L)
|
|
338
338
|
}), ye({
|
|
339
|
-
header:
|
|
340
|
-
l.$slots.title ?
|
|
339
|
+
header: w(() => [
|
|
340
|
+
l.$slots.title ? k(l.$slots, "title", { key: 1 }) : k(l.$slots, "header", {
|
|
341
341
|
key: 0,
|
|
342
|
-
close: e(
|
|
342
|
+
close: e(L),
|
|
343
343
|
titleId: e(r),
|
|
344
344
|
titleClass: e(n).e("title")
|
|
345
345
|
})
|
|
346
346
|
]),
|
|
347
|
-
default:
|
|
348
|
-
|
|
347
|
+
default: w(() => [
|
|
348
|
+
k(l.$slots, "default")
|
|
349
349
|
]),
|
|
350
350
|
_: 2
|
|
351
351
|
}, [
|
|
352
352
|
l.$slots.footer ? {
|
|
353
353
|
name: "footer",
|
|
354
|
-
fn:
|
|
355
|
-
|
|
354
|
+
fn: w(() => [
|
|
355
|
+
k(l.$slots, "footer")
|
|
356
356
|
])
|
|
357
357
|
} : void 0
|
|
358
|
-
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) :
|
|
358
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : j("v-if", !0)
|
|
359
359
|
]),
|
|
360
360
|
_: 3
|
|
361
361
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
362
|
-
], 46,
|
|
362
|
+
], 46, Ze)
|
|
363
363
|
]),
|
|
364
364
|
_: 3
|
|
365
365
|
}, 8, ["mask", "overlay-class", "z-index"]), [
|
|
@@ -371,8 +371,8 @@ const je = Y({
|
|
|
371
371
|
], 8, ["to", "disabled"]));
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
|
-
var
|
|
375
|
-
const oo =
|
|
374
|
+
var He = /* @__PURE__ */ W(Je, [["__file", "dialog.vue"]]);
|
|
375
|
+
const oo = Re(He);
|
|
376
376
|
export {
|
|
377
377
|
oo as E
|
|
378
378
|
};
|