ss-component-new 1.1.650 → 1.1.652
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/{OrbitControls-_OchPPiM.js → OrbitControls-DQKCQqAM.js} +1 -1
- package/dist/{OrbitControls-Bg4B8Cgp.cjs → OrbitControls-RNnt_mcM.cjs} +1 -1
- package/dist/{index-BFEIlehR.js → index-4u-23Xo4.js} +473 -473
- package/dist/{index-Ek40M5wF.cjs → index-AQlYfiDo.cjs} +1 -1
- package/dist/{index-fonjRvDp.cjs → index-B5_rLo35.cjs} +1 -1
- package/dist/{index-DuJ88H2v.js → index-BblcmVmO.js} +1 -1
- package/dist/{index-C7_vKAdv.js → index-BtpXvIA6.js} +2 -2
- package/dist/{index-Dc1Oymj0.cjs → index-C0beLcSH.cjs} +1 -1
- package/dist/{index-99EALz1V.js → index-C3rKctcY.js} +1 -1
- package/dist/{index-RhyWQqr7.js → index-C42OOZRy.js} +1 -1
- package/dist/{index--CQAIixM.js → index-CGPCGRRh.js} +2 -2
- package/dist/{index-DB74RlFp.js → index-CYAUSnqq.js} +4 -4
- package/dist/{index-D6MYmUDV.js → index-Ce2J4d7D.js} +1 -1
- package/dist/{index-2tlC0WSo.js → index-CjMBj5BR.js} +1 -1
- package/dist/{index-Di7JB-TG.js → index-CoVdQV0i.js} +1 -1
- package/dist/{index-BUaCslMJ.js → index-Cz_HbE8e.js} +1 -1
- package/dist/{index-Dw_V6yKW.js → index-CzetAh_D.js} +1 -1
- package/dist/{index-Dr3CYkCo.js → index-D7YhWesS.js} +3 -3
- package/dist/{index-DWzq96q9.js → index-DA3sQfEs.js} +1 -1
- package/dist/{index-AJ-ERxfw.cjs → index-DDzG6c2B.cjs} +1 -1
- package/dist/{index-D0LMLPcN.cjs → index-DJVi8ojh.cjs} +1 -1
- package/dist/{index-BBS2a17j.cjs → index-DQKyxjSf.cjs} +1 -1
- package/dist/{index-Cgru6blF.cjs → index-DhtFD1-B.cjs} +1 -1
- package/dist/{index-mm1iZv-U.cjs → index-DkYoWwCG.cjs} +1 -1
- package/dist/{index-C8PYYQwg.cjs → index-DpYdEBga.cjs} +1 -1
- package/dist/{index-CFbzkHW0.cjs → index-DqWKrP7p.cjs} +1 -1
- package/dist/{index-P35j7PPT.cjs → index-DzjLEJ2G.cjs} +1 -1
- package/dist/{index-C2Ok3w4G.cjs → index-G2O6ETUf.cjs} +1 -1
- package/dist/{index-5_rbXdYz.cjs → index-ZjWIhy36.cjs} +1 -1
- package/dist/{index-BR77jf7K.cjs → index-d9EmloJa.cjs} +12 -12
- package/dist/{index-B6Ml2anh.js → index-dWBhk9Dk.js} +8 -8
- package/dist/{index-DaGbhRQG.cjs → index-he-22_jo.cjs} +1 -1
- package/dist/{index-DE2i0Hrn.js → index-kmklo8FV.js} +5 -5
- package/dist/{index-DmOb4Y3Y.cjs → index-wGULs5QZ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-IayePa4v.cjs → index.vue_vue_type_style_index_0_scoped_264dc673_lang-9D6uXhMg.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_264dc673_lang-DThFTJbG.js → index.vue_vue_type_style_index_0_scoped_264dc673_lang-DsD_HsX5.js} +78 -73
- package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-Cc3pYah2.cjs → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-MGyd1nJE.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-D-l2wgcD.js → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-kQnSo8kS.js} +3 -3
- package/dist/{main-BFSKjZRd.cjs → main-Br1m2nJe.cjs} +1 -1
- package/dist/{main-Dw3o67DJ.js → main-COl_jsOs.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-BKsAhpob.cjs → threeModel-CLfnrscV.cjs} +1 -1
- package/dist/{threeModel-e6llE76r.js → threeModel-y4tbC87W.js} +2 -2
- package/package.json +2 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as Vg, s as Bg, d as Fg, e as zg, f as Kg, g as Hg } from "./index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-
|
|
2
|
-
import { defineComponent as Y, shallowRef as Ft, ref as D, computed as E, watch as de, onMounted as et, watchEffect as $n, createElementBlock as B, openBlock as _, normalizeStyle as Pe, normalizeClass as M, unref as o, createElementVNode as H, renderSlot as ee, nextTick as De, useSlots as on, toRef as Nt, createBlock as ue, Transition as bn, withCtx as Z, withDirectives as Ge, createCommentVNode as se, resolveDynamicComponent as ut, createTextVNode as vt, toDisplayString as ge, Fragment as Ve, createVNode as j, vShow as Ct, inject as Me, onBeforeUnmount as xt, withModifiers as Be, provide as dt, reactive as $t, onActivated as _u, onUpdated as Ia, cloneVNode as Wg, Text as jg, Comment as Vl, mergeProps as lt, getCurrentInstance as ht, Teleport as Yg, onBeforeMount as Mu, readonly as up, onDeactivated as qg, useAttrs as Ya, withKeys as Ot, createSlots as An, renderList as ot, normalizeProps as Fn, guardReactiveProps as Sa, isVNode as
|
|
3
|
-
import { i as Qg, f as Io, h as Ou, j as pp, S as ey, k as vp, l as hp, t as Ru, m as Ut, n as mp, o as ty, q as gp, r as ny, v as yp, w as bp, x as ay, y as ly, z as ai, A as oy, B as Mt, C as xe, D as he, F as te, _ as me, G as fe, H as sy, I as Qc, J as Gt, K as Lt, L as qt, M as qe, N as ry, O as yt, P as Mr, T as lr, Q as Dt, R as Oe, U as iy, V as Kt, W as bt, X as _t, Y as vn, Z as Go, $ as pa, a0 as gn, a1 as Ii, a2 as Xo, a3 as Ee, a4 as _a, a5 as ct, a6 as _e, a7 as uy, a8 as _i, a9 as Pu, aa as je, ab as lo, ac as Pt, ad as qa, ae as wp, af as cy, ag as gt, ah as Vt, ai as Bn, aj as Bl, ak as Ea, al as yn, am as an, an as Rn, ao as Jo, ap as dy, c as Ie, aq as ma, ar as Zo, as as Or, at as _o, au as ml, av as ba, aw as fy, ax as Wt, ay as Xn, az as py, aA as Cp, aB as vy, aC as Za, aD as Rr, aE as qn, aF as Ka, aG as Ha, aH as kp, aI as Sp, aJ as hy, aK as Fl, aL as my, aM as ko, aN as gy, aO as yy, aP as by, aQ as Ep, aR as wy, aS as Cy, aT as ky, aU as $p, aV as Sy, aW as Du, aX as ta, aY as Tn, aZ as Ey, a_ as $y, a$ as Mi, b0 as Oi, b1 as Tp, b2 as ed, b3 as Ty, b4 as Ny, b5 as Iy, b6 as Np, b7 as Ip, b8 as vs, b9 as _y, ba as td, bb as My, bc as Oy, bd as Ry, be as Py, bf as Dy, bg as Ay, bh as xy, bi as Ly, d as Vy, bj as _p, bk as By, bl as Fy, bm as zy, bn as Mp, bo as Ky, bp as Hy, bq as Wy, br as jy, bs as Op, bt as Yy, bu as qy, E as Hn, g as
|
|
1
|
+
import { a as Vg, s as Bg, d as Fg, e as zg, f as Kg, g as Hg } from "./index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-kQnSo8kS.js";
|
|
2
|
+
import { defineComponent as Y, shallowRef as Ft, ref as D, computed as E, watch as de, onMounted as et, watchEffect as $n, createElementBlock as B, openBlock as _, normalizeStyle as Pe, normalizeClass as M, unref as o, createElementVNode as H, renderSlot as ee, nextTick as De, useSlots as on, toRef as Nt, createBlock as ue, Transition as bn, withCtx as Z, withDirectives as Ge, createCommentVNode as se, resolveDynamicComponent as ut, createTextVNode as vt, toDisplayString as ge, Fragment as Ve, createVNode as j, vShow as Ct, inject as Me, onBeforeUnmount as xt, withModifiers as Be, provide as dt, reactive as $t, onActivated as _u, onUpdated as Ia, cloneVNode as Wg, Text as jg, Comment as Vl, mergeProps as lt, getCurrentInstance as ht, Teleport as Yg, onBeforeMount as Mu, readonly as up, onDeactivated as qg, useAttrs as Ya, withKeys as Ot, createSlots as An, renderList as ot, normalizeProps as Fn, guardReactiveProps as Sa, isVNode as un, onUnmounted as hl, toRaw as tr, isRef as On, vModelCheckbox as nr, toRefs as nn, vModelRadio as cp, h as Ae, resolveComponent as st, onBeforeUpdate as Ug, vModelText as Ir, toHandlers as Gg, TransitionGroup as dp, markRaw as Co, effectScope as Xg, resolveDirective as _r, toHandlerKey as Jg, render as ar, createApp as fp, defineProps as Zg } from "vue";
|
|
3
|
+
import { i as Qg, f as Io, h as Ou, j as pp, S as ey, k as vp, l as hp, t as Ru, m as Ut, n as mp, o as ty, q as gp, r as ny, v as yp, w as bp, x as ay, y as ly, z as ai, A as oy, B as Mt, C as xe, D as he, F as te, _ as me, G as fe, H as sy, I as Qc, J as Gt, K as Lt, L as qt, M as qe, N as ry, O as yt, P as Mr, T as lr, Q as Dt, R as Oe, U as iy, V as Kt, W as bt, X as _t, Y as vn, Z as Go, $ as pa, a0 as gn, a1 as Ii, a2 as Xo, a3 as Ee, a4 as _a, a5 as ct, a6 as _e, a7 as uy, a8 as _i, a9 as Pu, aa as je, ab as lo, ac as Pt, ad as qa, ae as wp, af as cy, ag as gt, ah as Vt, ai as Bn, aj as Bl, ak as Ea, al as yn, am as an, an as Rn, ao as Jo, ap as dy, c as Ie, aq as ma, ar as Zo, as as Or, at as _o, au as ml, av as ba, aw as fy, ax as Wt, ay as Xn, az as py, aA as Cp, aB as vy, aC as Za, aD as Rr, aE as qn, aF as Ka, aG as Ha, aH as kp, aI as Sp, aJ as hy, aK as Fl, aL as my, aM as ko, aN as gy, aO as yy, aP as by, aQ as Ep, aR as wy, aS as Cy, aT as ky, aU as $p, aV as Sy, aW as Du, aX as ta, aY as Tn, aZ as Ey, a_ as $y, a$ as Mi, b0 as Oi, b1 as Tp, b2 as ed, b3 as Ty, b4 as Ny, b5 as Iy, b6 as Np, b7 as Ip, b8 as vs, b9 as _y, ba as td, bb as My, bc as Oy, bd as Ry, be as Py, bf as Dy, bg as Ay, bh as xy, bi as Ly, d as Vy, bj as _p, bk as By, bl as Fy, bm as zy, bn as Mp, bo as Ky, bp as Hy, bq as Wy, br as jy, bs as Op, bt as Yy, bu as qy, E as Hn, g as rn, u as Pr, e as Qo, bv as Mo, bw as Oo, bx as Uy, by as Au, bz as Rp, p as es, s as zl } from "./menu-Bj0eSg6d.js";
|
|
4
4
|
import { useRouter as Gy } from "vue-router";
|
|
5
5
|
import { u as Pp, c as Xy } from "./login-Ct7wC1jE.js";
|
|
6
|
-
import { c as Jy, a as Zy, g as nd } from "./index-
|
|
6
|
+
import { c as Jy, a as Zy, g as nd } from "./index-4u-23Xo4.js";
|
|
7
7
|
import { b as Dp, c as Qy, i as eb, s as Ap, S as tb, d as nb, e as ab, f as lb, h as Ye, j as Ua, k as tn, m as xp, n as ob, t as Lp, o as Va, p as ad, a as Ri, q as ld, r as sb, u as hs, g as Ro, v as rb, w as ib, x as ub, y as cb, I as xu } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-uJF9vYMQ.js";
|
|
8
8
|
import { _ as db } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { h as fb, b as Lu, f as pb, C as nt, g as Vu, u as fn, i as od, a as Wa, c as ts, d as Vp, t as vb, e as Nn, I as Qt, U as We, j as Dr, k as Ln, l as En, m as Bp, n as
|
|
9
|
+
import { h as fb, b as Lu, f as pb, C as nt, g as Vu, u as fn, i as od, a as Wa, c as ts, d as Vp, t as vb, e as Nn, I as Qt, U as We, j as Dr, k as Ln, l as En, m as Bp, n as cn, o as oo, p as In, q as Zt, r as oa, s as Fa, v as da, w as hb, x as Bu, y as Is, z as Fp, A as Ar, T as mo, B as gl, D as mb, F as gb, G as zp, H as yb, J as Kp, K as Hp, L as bb, M as xr, N as _s, O as sd, P as Kl, Q as Wp, R as cl, S as xa, V as rd, W as wb, X as Cb, Y as kb, Z as Sb, _ as id, $ as Eb, a0 as ud, a1 as jp, E as $b } from "./index-CL7Kg1Kn.js";
|
|
10
10
|
import { u as Tb, a as Nb, g as Pi, b as Ib } from "./index.vue_vue_type_script_setup_true_lang-D32wqX6B.js";
|
|
11
11
|
import { g as _b, d as Mb } from "./crypto-BRyGpjGR.js";
|
|
12
12
|
import { u as Ob, e as cd } from "./index--UImh9jo.js";
|
|
13
13
|
import "./index-BmKUUO5G.js";
|
|
14
14
|
import "./index-C9dpcELX.js";
|
|
15
|
-
import { t as Rb } from "./index-
|
|
15
|
+
import { t as Rb } from "./index-BblcmVmO.js";
|
|
16
16
|
import { t as Pb } from "./index-B074Qw5U.js";
|
|
17
17
|
import { u as Yp } from "./modelComp-CUCWitDo.js";
|
|
18
|
-
import { g as Db, c as Ab, a as xb, b as Lb } from "./index-
|
|
19
|
-
import { u as Vb } from "./index-
|
|
18
|
+
import { g as Db, c as Ab, a as xb, b as Lb } from "./index-kmklo8FV.js";
|
|
19
|
+
import { u as Vb } from "./index-CzetAh_D.js";
|
|
20
20
|
import { c as Bb, m as Fb, g as zb, b as Kb, p as Hb } from "./array-CrFbJF1B.js";
|
|
21
21
|
var Wb = /\s/;
|
|
22
22
|
function jb(e) {
|
|
@@ -3416,7 +3416,7 @@ const Xk = (e, t) => {
|
|
|
3416
3416
|
}, [
|
|
3417
3417
|
j(o(Bp), null, {
|
|
3418
3418
|
default: Z(() => [
|
|
3419
|
-
j(o(
|
|
3419
|
+
j(o(cn), {
|
|
3420
3420
|
size: "small",
|
|
3421
3421
|
onClick: (v) => o(c)("prev-month")
|
|
3422
3422
|
}, {
|
|
@@ -3425,7 +3425,7 @@ const Xk = (e, t) => {
|
|
|
3425
3425
|
]),
|
|
3426
3426
|
_: 1
|
|
3427
3427
|
}, 8, ["onClick"]),
|
|
3428
|
-
j(o(
|
|
3428
|
+
j(o(cn), {
|
|
3429
3429
|
size: "small",
|
|
3430
3430
|
onClick: (v) => o(c)("today")
|
|
3431
3431
|
}, {
|
|
@@ -3434,7 +3434,7 @@ const Xk = (e, t) => {
|
|
|
3434
3434
|
]),
|
|
3435
3435
|
_: 1
|
|
3436
3436
|
}, 8, ["onClick"]),
|
|
3437
|
-
j(o(
|
|
3437
|
+
j(o(cn), {
|
|
3438
3438
|
size: "small",
|
|
3439
3439
|
onClick: (v) => o(c)("next-month")
|
|
3440
3440
|
}, {
|
|
@@ -3609,7 +3609,7 @@ const cS = qe(uS), dS = he({
|
|
|
3609
3609
|
change: (e, t) => [e, t].every(xe)
|
|
3610
3610
|
}, Pv = Symbol("carouselContextKey"), Ao = "ElCarouselItem", pS = (e, t, n) => oo(e.subTree).filter((s) => {
|
|
3611
3611
|
var r;
|
|
3612
|
-
return
|
|
3612
|
+
return un(s) && ((r = s.type) == null ? void 0 : r.name) === t && !!s.component;
|
|
3613
3613
|
}).map((s) => s.component.uid).map((s) => n[s]).filter((s) => !!s), Fr = (e, t) => {
|
|
3614
3614
|
const n = {}, a = Ft([]);
|
|
3615
3615
|
return {
|
|
@@ -3709,7 +3709,7 @@ const cS = qe(uS), dS = he({
|
|
|
3709
3709
|
const oe = (K = r.default) == null ? void 0 : K.call(r);
|
|
3710
3710
|
if (!oe)
|
|
3711
3711
|
return null;
|
|
3712
|
-
const re = oo(oe).filter((ae) =>
|
|
3712
|
+
const re = oo(oe).filter((ae) => un(ae) && ae.type.name === Ao);
|
|
3713
3713
|
return (re == null ? void 0 : re.length) === 2 && e.loop && !v.value ? (h.value = !0, re) : (h.value = !1, null);
|
|
3714
3714
|
}
|
|
3715
3715
|
de(() => i.value, (K, oe) => {
|
|
@@ -7050,7 +7050,7 @@ const yE = Y({
|
|
|
7050
7050
|
onChange: F
|
|
7051
7051
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
7052
7052
|
], 2),
|
|
7053
|
-
j(o(
|
|
7053
|
+
j(o(cn), {
|
|
7054
7054
|
class: M(o(s).be("dropdown", "link-btn")),
|
|
7055
7055
|
text: "",
|
|
7056
7056
|
size: "small",
|
|
@@ -7061,7 +7061,7 @@ const yE = Y({
|
|
|
7061
7061
|
]),
|
|
7062
7062
|
_: 1
|
|
7063
7063
|
}, 8, ["class"]),
|
|
7064
|
-
j(o(
|
|
7064
|
+
j(o(cn), {
|
|
7065
7065
|
plain: "",
|
|
7066
7066
|
size: "small",
|
|
7067
7067
|
class: M(o(s).be("dropdown", "btn")),
|
|
@@ -9803,7 +9803,7 @@ const W$ = /* @__PURE__ */ Y({
|
|
|
9803
9803
|
Ge(H("div", {
|
|
9804
9804
|
class: M(o(l).e("footer"))
|
|
9805
9805
|
}, [
|
|
9806
|
-
Ge(j(o(
|
|
9806
|
+
Ge(j(o(cn), {
|
|
9807
9807
|
text: "",
|
|
9808
9808
|
size: "small",
|
|
9809
9809
|
class: M(o(l).e("link-btn")),
|
|
@@ -9817,7 +9817,7 @@ const W$ = /* @__PURE__ */ Y({
|
|
|
9817
9817
|
}, 8, ["class", "disabled"]), [
|
|
9818
9818
|
[Ct, !o(ne) && X.showNow]
|
|
9819
9819
|
]),
|
|
9820
|
-
j(o(
|
|
9820
|
+
j(o(cn), {
|
|
9821
9821
|
plain: "",
|
|
9822
9822
|
size: "small",
|
|
9823
9823
|
class: M(o(l).e("link-btn")),
|
|
@@ -10496,7 +10496,7 @@ const Y$ = he({
|
|
|
10496
10496
|
key: 0,
|
|
10497
10497
|
class: M(o(S).e("footer"))
|
|
10498
10498
|
}, [
|
|
10499
|
-
o(u) ? (_(), ue(o(
|
|
10499
|
+
o(u) ? (_(), ue(o(cn), {
|
|
10500
10500
|
key: 0,
|
|
10501
10501
|
text: "",
|
|
10502
10502
|
size: "small",
|
|
@@ -10508,7 +10508,7 @@ const Y$ = he({
|
|
|
10508
10508
|
]),
|
|
10509
10509
|
_: 1
|
|
10510
10510
|
}, 8, ["class"])) : se("v-if", !0),
|
|
10511
|
-
j(o(
|
|
10511
|
+
j(o(cn), {
|
|
10512
10512
|
plain: "",
|
|
10513
10513
|
size: "small",
|
|
10514
10514
|
class: M(o(S).e("link-btn")),
|
|
@@ -12246,10 +12246,10 @@ const Bs = he({
|
|
|
12246
12246
|
ElCollectionItem: fN,
|
|
12247
12247
|
COLLECTION_INJECTION_KEY: pN,
|
|
12248
12248
|
COLLECTION_ITEM_INJECTION_KEY: vN
|
|
12249
|
-
} = kh("Dropdown"), Wr = Symbol("elDropdown"), Th = "elDropdown", { ButtonGroup: hN } =
|
|
12249
|
+
} = kh("Dropdown"), Wr = Symbol("elDropdown"), Th = "elDropdown", { ButtonGroup: hN } = cn, mN = Y({
|
|
12250
12250
|
name: "ElDropdown",
|
|
12251
12251
|
components: {
|
|
12252
|
-
ElButton:
|
|
12252
|
+
ElButton: cn,
|
|
12253
12253
|
ElButtonGroup: hN,
|
|
12254
12254
|
ElScrollbar: na,
|
|
12255
12255
|
ElDropdownCollection: dN,
|
|
@@ -17409,7 +17409,7 @@ const oM = Y({
|
|
|
17409
17409
|
const f = hn(c), d = [];
|
|
17410
17410
|
return f.forEach((h) => {
|
|
17411
17411
|
var p;
|
|
17412
|
-
|
|
17412
|
+
un(h) && (r(h) ? d.push(h.component.proxy) : _e(h.children) && h.children.length ? d.push(...i(h.children)) : (p = h.component) != null && p.subTree && d.push(...i(h.component.subTree)));
|
|
17413
17413
|
}), d;
|
|
17414
17414
|
}, u = () => {
|
|
17415
17415
|
l.value = i(a.subTree);
|
|
@@ -18014,7 +18014,7 @@ const NM = qe(TM), IM = he({
|
|
|
18014
18014
|
confirm: u,
|
|
18015
18015
|
cancel: c
|
|
18016
18016
|
}, () => [
|
|
18017
|
-
j(o(
|
|
18017
|
+
j(o(cn), {
|
|
18018
18018
|
size: "small",
|
|
18019
18019
|
type: h.cancelButtonType === "text" ? "" : h.cancelButtonType,
|
|
18020
18020
|
text: h.cancelButtonType === "text",
|
|
@@ -18025,7 +18025,7 @@ const NM = qe(TM), IM = he({
|
|
|
18025
18025
|
]),
|
|
18026
18026
|
_: 1
|
|
18027
18027
|
}, 8, ["type", "text"]),
|
|
18028
|
-
j(o(
|
|
18028
|
+
j(o(cn), {
|
|
18029
18029
|
size: "small",
|
|
18030
18030
|
type: h.confirmButtonType === "text" ? "" : h.confirmButtonType,
|
|
18031
18031
|
text: h.confirmButtonType === "text",
|
|
@@ -21412,7 +21412,7 @@ const CR = he({
|
|
|
21412
21412
|
spacer: {
|
|
21413
21413
|
type: te([Object, String, Number, Array]),
|
|
21414
21414
|
default: null,
|
|
21415
|
-
validator: (e) =>
|
|
21415
|
+
validator: (e) => un(e) || xe(e) || je(e)
|
|
21416
21416
|
},
|
|
21417
21417
|
wrap: Boolean,
|
|
21418
21418
|
fill: Boolean,
|
|
@@ -21434,7 +21434,7 @@ const CR = he({
|
|
|
21434
21434
|
const { prefixCls: c } = e;
|
|
21435
21435
|
return r.forEach((f, d) => {
|
|
21436
21436
|
rd(f) ? _e(f.children) && f.children.forEach((h, p) => {
|
|
21437
|
-
rd(h) && _e(h.children) ? s(h.children, `${i + p}-`, u) :
|
|
21437
|
+
rd(h) && _e(h.children) ? s(h.children, `${i + p}-`, u) : un(h) && (h == null ? void 0 : h.type) === Vl ? u.push(h) : u.push(j(vf, {
|
|
21438
21438
|
style: l.value,
|
|
21439
21439
|
prefixCls: c,
|
|
21440
21440
|
key: `nested-${i + p}`
|
|
@@ -21447,7 +21447,7 @@ const CR = he({
|
|
|
21447
21447
|
key: `LoopKey${i + d}`
|
|
21448
21448
|
}, {
|
|
21449
21449
|
default: () => [f]
|
|
21450
|
-
}, xa.PROPS | xa.STYLE, ["style", "prefixCls"])) :
|
|
21450
|
+
}, xa.PROPS | xa.STYLE, ["style", "prefixCls"])) : un(f) && f.type === Vl && u.push(f);
|
|
21451
21451
|
}), u;
|
|
21452
21452
|
}
|
|
21453
21453
|
return () => {
|
|
@@ -21468,7 +21468,7 @@ const CR = he({
|
|
|
21468
21468
|
],
|
|
21469
21469
|
key: m
|
|
21470
21470
|
}, [
|
|
21471
|
-
|
|
21471
|
+
un(i) ? i : vt(i, xa.TEXT)
|
|
21472
21472
|
], xa.STYLE)), v;
|
|
21473
21473
|
}, []);
|
|
21474
21474
|
}
|
|
@@ -22226,7 +22226,7 @@ const aP = (e, t, n, a) => {
|
|
|
22226
22226
|
column: a,
|
|
22227
22227
|
cellValue: ko(n, a.property).value
|
|
22228
22228
|
}) : void 0;
|
|
22229
|
-
return
|
|
22229
|
+
return un(s) ? {
|
|
22230
22230
|
slotContent: s,
|
|
22231
22231
|
content: null,
|
|
22232
22232
|
...e,
|
|
@@ -25533,7 +25533,7 @@ const cD = (e, {
|
|
|
25533
25533
|
};
|
|
25534
25534
|
}, pD = (e, t) => e + t, qs = (e) => _e(e) ? e.reduce(pD, 0) : e, fl = (e, t, n = {}) => ct(e) ? e(t) : e ?? n, Ba = (e) => (["width", "maxWidth", "minWidth", "height"].forEach((t) => {
|
|
25535
25535
|
e[t] = Gt(e[t]);
|
|
25536
|
-
}), e), Em = (e) =>
|
|
25536
|
+
}), e), Em = (e) => un(e) ? (t) => Ae(e, t) : e, vD = (e, {
|
|
25537
25537
|
columnsTotalWidth: t,
|
|
25538
25538
|
rowsHeight: n,
|
|
25539
25539
|
fixedColumnsOnLeft: a,
|
|
@@ -26758,7 +26758,7 @@ const CD = ({ atXEndEdge: e, atXStartEdge: t, atYEndEdge: n, atYStartEdge: a },
|
|
|
26758
26758
|
});
|
|
26759
26759
|
var Ic = _D;
|
|
26760
26760
|
function MD(e) {
|
|
26761
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
26761
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !un(e);
|
|
26762
26762
|
}
|
|
26763
26763
|
const OD = (e, {
|
|
26764
26764
|
slots: t
|
|
@@ -26775,7 +26775,7 @@ const OD = (e, {
|
|
|
26775
26775
|
};
|
|
26776
26776
|
var RD = OD;
|
|
26777
26777
|
function PD(e) {
|
|
26778
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
26778
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !un(e);
|
|
26779
26779
|
}
|
|
26780
26780
|
const DD = (e, {
|
|
26781
26781
|
slots: t
|
|
@@ -26794,7 +26794,7 @@ const DD = (e, {
|
|
|
26794
26794
|
};
|
|
26795
26795
|
var AD = DD;
|
|
26796
26796
|
function xD(e) {
|
|
26797
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
26797
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !un(e);
|
|
26798
26798
|
}
|
|
26799
26799
|
const LD = (e, {
|
|
26800
26800
|
slots: t
|
|
@@ -26976,7 +26976,7 @@ const BD = (e) => {
|
|
|
26976
26976
|
});
|
|
26977
26977
|
var KD = zD;
|
|
26978
26978
|
function HD(e) {
|
|
26979
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
26979
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !un(e);
|
|
26980
26980
|
}
|
|
26981
26981
|
const WD = (e, {
|
|
26982
26982
|
slots: t
|
|
@@ -27205,7 +27205,7 @@ const GD = he({
|
|
|
27205
27205
|
});
|
|
27206
27206
|
var JD = XD;
|
|
27207
27207
|
function ZD(e) {
|
|
27208
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
27208
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !un(e);
|
|
27209
27209
|
}
|
|
27210
27210
|
const QD = ({
|
|
27211
27211
|
columns: e,
|
|
@@ -27341,7 +27341,7 @@ const Vm = (e, {
|
|
|
27341
27341
|
Vm.displayName = "ElTableV2Overlay";
|
|
27342
27342
|
var rA = Vm;
|
|
27343
27343
|
function vo(e) {
|
|
27344
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
27344
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !un(e);
|
|
27345
27345
|
}
|
|
27346
27346
|
const iA = "ElTableV2", uA = Y({
|
|
27347
27347
|
name: iA,
|
|
@@ -30149,7 +30149,7 @@ const cL = (e) => {
|
|
|
30149
30149
|
H("div", {
|
|
30150
30150
|
class: M(o(r).e("buttons"))
|
|
30151
30151
|
}, [
|
|
30152
|
-
j(o(
|
|
30152
|
+
j(o(cn), {
|
|
30153
30153
|
type: "primary",
|
|
30154
30154
|
class: M([o(r).e("button"), o(r).is("with-texts", o(b))]),
|
|
30155
30155
|
disabled: o(Bn)(u.rightChecked),
|
|
@@ -30166,7 +30166,7 @@ const cL = (e) => {
|
|
|
30166
30166
|
]),
|
|
30167
30167
|
_: 1
|
|
30168
30168
|
}, 8, ["class", "disabled", "onClick"]),
|
|
30169
|
-
j(o(
|
|
30169
|
+
j(o(cn), {
|
|
30170
30170
|
type: "primary",
|
|
30171
30171
|
class: M([o(r).e("button"), o(r).is("with-texts", o(b))]),
|
|
30172
30172
|
disabled: o(Bn)(u.leftChecked),
|
|
@@ -33738,7 +33738,7 @@ const YV = he({
|
|
|
33738
33738
|
H("div", {
|
|
33739
33739
|
class: M(o(d).b("buttons"))
|
|
33740
33740
|
}, [
|
|
33741
|
-
o(r) > 0 ? (_(), ue(o(
|
|
33741
|
+
o(r) > 0 ? (_(), ue(o(cn), lt({
|
|
33742
33742
|
key: 0,
|
|
33743
33743
|
size: "small",
|
|
33744
33744
|
type: o(f)
|
|
@@ -33751,7 +33751,7 @@ const YV = he({
|
|
|
33751
33751
|
}),
|
|
33752
33752
|
_: 1
|
|
33753
33753
|
}, 16, ["type"])) : se("v-if", !0),
|
|
33754
|
-
o(r) <= o(i) - 1 ? (_(), ue(o(
|
|
33754
|
+
o(r) <= o(i) - 1 ? (_(), ue(o(cn), lt({
|
|
33755
33755
|
key: 1,
|
|
33756
33756
|
size: "small",
|
|
33757
33757
|
type: o(f) === "primary" ? "default" : "primary"
|
|
@@ -34996,7 +34996,7 @@ var jB = [
|
|
|
34996
34996
|
jy,
|
|
34997
34997
|
xk,
|
|
34998
34998
|
Lk,
|
|
34999
|
-
|
|
34999
|
+
cn,
|
|
35000
35000
|
Bp,
|
|
35001
35001
|
oS,
|
|
35002
35002
|
cS,
|
|
@@ -35553,7 +35553,7 @@ const no = function(e = {}, t) {
|
|
|
35553
35553
|
if (!Dt)
|
|
35554
35554
|
return { close: () => {
|
|
35555
35555
|
} };
|
|
35556
|
-
(je(e) ||
|
|
35556
|
+
(je(e) || un(e)) && (e = { message: e });
|
|
35557
35557
|
const n = e.position || "top-right";
|
|
35558
35558
|
let a = e.offset || 0;
|
|
35559
35559
|
Tr[n].forEach(({ vm: f }) => {
|
|
@@ -35570,7 +35570,7 @@ const no = function(e = {}, t) {
|
|
|
35570
35570
|
};
|
|
35571
35571
|
let i = document.body;
|
|
35572
35572
|
pa(e.appendTo) ? i = e.appendTo : je(e.appendTo) && (i = document.querySelector(e.appendTo)), pa(i) || (bt("ElNotification", "the appendTo option is not an HTMLElement. Falling back to document.body."), i = document.body);
|
|
35573
|
-
const u = document.createElement("div"), c = j(r2, r, ct(r.message) ? r.message :
|
|
35573
|
+
const u = document.createElement("div"), c = j(r2, r, ct(r.message) ? r.message : un(r.message) ? () => r.message : null);
|
|
35574
35574
|
return c.appContext = yt(t) ? no._context : t, c.props.onDestroy = () => {
|
|
35575
35575
|
ar(null, u);
|
|
35576
35576
|
}, ar(c, u), Tr[n].push({ vm: c }), i.appendChild(u.firstElementChild), {
|
|
@@ -35580,7 +35580,7 @@ const no = function(e = {}, t) {
|
|
|
35580
35580
|
};
|
|
35581
35581
|
};
|
|
35582
35582
|
Og.forEach((e) => {
|
|
35583
|
-
no[e] = (t = {}, n) => ((je(t) ||
|
|
35583
|
+
no[e] = (t = {}, n) => ((je(t) || un(t)) && (t = {
|
|
35584
35584
|
message: t
|
|
35585
35585
|
}), no({ ...t, type: e }, n));
|
|
35586
35586
|
});
|
|
@@ -35751,7 +35751,7 @@ const S2 = () => {
|
|
|
35751
35751
|
t(n);
|
|
35752
35752
|
})), N2 = async (e) => {
|
|
35753
35753
|
var f, d, h, p, m;
|
|
35754
|
-
let t = [], n = [], a = await
|
|
35754
|
+
let t = [], n = [], a = await rn({
|
|
35755
35755
|
key: {
|
|
35756
35756
|
type: "structure",
|
|
35757
35757
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -35785,7 +35785,7 @@ const S2 = () => {
|
|
|
35785
35785
|
let v = [];
|
|
35786
35786
|
const y = u == null ? void 0 : u.map(async (g) => {
|
|
35787
35787
|
var b, w, k, C;
|
|
35788
|
-
const S = await
|
|
35788
|
+
const S = await rn({
|
|
35789
35789
|
key: {
|
|
35790
35790
|
pageKey: g,
|
|
35791
35791
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -35825,7 +35825,7 @@ const S2 = () => {
|
|
|
35825
35825
|
Array.isArray(C) || (I = Lp(Ie(C))) == null || I.forEach(async (T) => {
|
|
35826
35826
|
var $, N, R, O, P, q, V;
|
|
35827
35827
|
if (C.comp === "Table") {
|
|
35828
|
-
const W = (P = (O = (await
|
|
35828
|
+
const W = (P = (O = (await rn({
|
|
35829
35829
|
key: {
|
|
35830
35830
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
35831
35831
|
pageKey: v.name,
|
|
@@ -35861,7 +35861,7 @@ const S2 = () => {
|
|
|
35861
35861
|
const J = await ((V = ad(Ie(T))) == null ? void 0 : V.map(async (F) => {
|
|
35862
35862
|
var le, re, ae, z, G;
|
|
35863
35863
|
let ne;
|
|
35864
|
-
return (F == null ? void 0 : F.length) !== 0 && (ne = await
|
|
35864
|
+
return (F == null ? void 0 : F.length) !== 0 && (ne = await rn({
|
|
35865
35865
|
key: {
|
|
35866
35866
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
35867
35867
|
pageKey: v.name,
|
|
@@ -35871,7 +35871,7 @@ const S2 = () => {
|
|
|
35871
35871
|
value: {
|
|
35872
35872
|
tableData: Ri(F, (z = ld((ae = (re = (le = Va(Ie(T))) == null ? void 0 : le.compData) == null ? void 0 : re.find((ce) => (ce == null ? void 0 : ce.key) === "header")) == null ? void 0 : ae.contents)) == null ? void 0 : z.filter((ce) => ce !== "操作"))
|
|
35873
35873
|
}
|
|
35874
|
-
})), await ((G = (await
|
|
35874
|
+
})), await ((G = (await rn({
|
|
35875
35875
|
key: {
|
|
35876
35876
|
parentTable: F,
|
|
35877
35877
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -35923,7 +35923,7 @@ const S2 = () => {
|
|
|
35923
35923
|
}, I2 = async (e) => {
|
|
35924
35924
|
var r, i, u;
|
|
35925
35925
|
let t = (r = Ie(e)) == null ? void 0 : r.map((c) => c == null ? void 0 : c.path);
|
|
35926
|
-
const n = await
|
|
35926
|
+
const n = await rn({
|
|
35927
35927
|
key: {
|
|
35928
35928
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
35929
35929
|
type: "structure"
|
|
@@ -35996,7 +35996,7 @@ const S2 = () => {
|
|
|
35996
35996
|
let h = ho(Ie(d.name));
|
|
35997
35997
|
h !== "" && t.push(h);
|
|
35998
35998
|
}), t = [...new Set(t)];
|
|
35999
|
-
const n = await
|
|
35999
|
+
const n = await rn({
|
|
36000
36000
|
key: {
|
|
36001
36001
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
36002
36002
|
type: "structure"
|
|
@@ -36113,7 +36113,7 @@ const S2 = () => {
|
|
|
36113
36113
|
return ((a = n.comp) == null ? void 0 : a.toUpperCase()) !== "CALCULATOR";
|
|
36114
36114
|
})), t.compData && (t.compData = Nu(t.compData)), t)), M2 = async (e) => {
|
|
36115
36115
|
var n, a, l, s, r, i, u, c, f, d, h, p, m, v, y, g, S, b, w, k, C, I, T;
|
|
36116
|
-
const t = await
|
|
36116
|
+
const t = await rn({
|
|
36117
36117
|
key: {
|
|
36118
36118
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
36119
36119
|
layer: "superAdmin"
|
|
@@ -36167,7 +36167,7 @@ const S2 = () => {
|
|
|
36167
36167
|
}, O2 = async () => {
|
|
36168
36168
|
var e, t, n, a, l, s, r, i;
|
|
36169
36169
|
try {
|
|
36170
|
-
const u = await
|
|
36170
|
+
const u = await rn({
|
|
36171
36171
|
key: {
|
|
36172
36172
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
36173
36173
|
pageKey: "menu",
|
|
@@ -36219,7 +36219,7 @@ const S2 = () => {
|
|
|
36219
36219
|
}
|
|
36220
36220
|
}, D2 = async () => {
|
|
36221
36221
|
var t, n, a;
|
|
36222
|
-
const e = await
|
|
36222
|
+
const e = await rn({
|
|
36223
36223
|
key: {
|
|
36224
36224
|
type: "structure",
|
|
36225
36225
|
pageKey: "menu",
|
|
@@ -36229,7 +36229,7 @@ const S2 = () => {
|
|
|
36229
36229
|
return !(((t = e == null ? void 0 : e.data) == null ? void 0 : t.code) === 200 && ((a = (n = e == null ? void 0 : e.data) == null ? void 0 : n.result) == null ? void 0 : a.length) > 0);
|
|
36230
36230
|
}, A2 = async () => {
|
|
36231
36231
|
var t, n, a;
|
|
36232
|
-
const e = await
|
|
36232
|
+
const e = await rn({
|
|
36233
36233
|
key: {
|
|
36234
36234
|
type: "system",
|
|
36235
36235
|
pageKey: "secret",
|
|
@@ -36348,7 +36348,7 @@ const S2 = () => {
|
|
|
36348
36348
|
tableId: ""
|
|
36349
36349
|
}
|
|
36350
36350
|
};
|
|
36351
|
-
const ie = await
|
|
36351
|
+
const ie = await rn(ce);
|
|
36352
36352
|
return ((Q = ie == null ? void 0 : ie.data) == null ? void 0 : Q.code) === 200 && (G = (Ne = (ve = ie.data) == null ? void 0 : ve.result) == null ? void 0 : Ne.map((ke) => {
|
|
36353
36353
|
var $e;
|
|
36354
36354
|
return {
|
|
@@ -36495,7 +36495,7 @@ const S2 = () => {
|
|
|
36495
36495
|
}
|
|
36496
36496
|
}, re = async (z) => {
|
|
36497
36497
|
var ie, Q, ve, Ne, ke;
|
|
36498
|
-
const G = await
|
|
36498
|
+
const G = await rn({
|
|
36499
36499
|
id: z
|
|
36500
36500
|
});
|
|
36501
36501
|
let ce;
|
|
@@ -36726,7 +36726,7 @@ const V2 = Pp(), { loginUserInfo: Nr, cryptoInfo: $i } = zl(V2), Jt = Yp(es), Iu
|
|
|
36726
36726
|
var a, l, s, r, i, u;
|
|
36727
36727
|
let t = Ie(Kn).value;
|
|
36728
36728
|
t = t + "/" + ((a = Object.values(e == null ? void 0 : e.singleContent)) == null ? void 0 : a[0]);
|
|
36729
|
-
const n = await
|
|
36729
|
+
const n = await rn({
|
|
36730
36730
|
keyLikes: {
|
|
36731
36731
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
36732
36732
|
pageKey: t
|
|
@@ -36745,7 +36745,7 @@ const V2 = Pp(), { loginUserInfo: Nr, cryptoInfo: $i } = zl(V2), Jt = Yp(es), Iu
|
|
|
36745
36745
|
if (Array.isArray(e)) {
|
|
36746
36746
|
e == null || e.forEach((r) => {
|
|
36747
36747
|
var i;
|
|
36748
|
-
l.push(
|
|
36748
|
+
l.push(rn({
|
|
36749
36749
|
keyLikes: {
|
|
36750
36750
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
36751
36751
|
pageKey: a + "/" + ((i = Object.values(r == null ? void 0 : r.singleContent)) == null ? void 0 : i[0])
|
|
@@ -36823,7 +36823,7 @@ const V2 = Pp(), { loginUserInfo: Nr, cryptoInfo: $i } = zl(V2), Jt = Yp(es), Iu
|
|
|
36823
36823
|
en.value = await Ro(Kn.value, sessionStorage.getItem("systemKey"), n), Jt.setItemData(en.value), Jt.setOriginalData(en.value);
|
|
36824
36824
|
}, j2 = async (e) => {
|
|
36825
36825
|
var n, a, l, s, r;
|
|
36826
|
-
const t = await
|
|
36826
|
+
const t = await rn({
|
|
36827
36827
|
id: e
|
|
36828
36828
|
});
|
|
36829
36829
|
return (r = (s = (l = (a = (n = t == null ? void 0 : t.data) == null ? void 0 : n.result) == null ? void 0 : a[0]) == null ? void 0 : l.value) == null ? void 0 : s.pageData) == null ? void 0 : r.name;
|
|
@@ -36911,28 +36911,33 @@ const V2 = Pp(), { loginUserInfo: Nr, cryptoInfo: $i } = zl(V2), Jt = Yp(es), Iu
|
|
|
36911
36911
|
de(
|
|
36912
36912
|
() => [Kn.value, z2.value],
|
|
36913
36913
|
async (e) => {
|
|
36914
|
-
var a, l, s, r, i, u, c, f, d, h;
|
|
36914
|
+
var a, l, s, r, i, u, c, f, d, h, p, m;
|
|
36915
36915
|
if ((l = Ns.value) != null && l.includes(`loading${(a = Nr.value) == null ? void 0 : a.account}`) || (r = Ns.value) != null && r.includes(`updataLoading${(s = Nr.value) == null ? void 0 : s.account}`)) {
|
|
36916
|
-
const
|
|
36916
|
+
const v = await rn({
|
|
36917
36917
|
key: {
|
|
36918
36918
|
pageKey: Ie(Ns).value,
|
|
36919
36919
|
systemKey: sessionStorage.getItem("systemKey")
|
|
36920
36920
|
}
|
|
36921
|
-
}),
|
|
36922
|
-
if ((
|
|
36923
|
-
|
|
36924
|
-
|
|
36925
|
-
|
|
36926
|
-
|
|
36927
|
-
|
|
36928
|
-
|
|
36921
|
+
}), y = (u = (i = v == null ? void 0 : v.data) == null ? void 0 : i.result) == null ? void 0 : u.map((g) => g == null ? void 0 : g.id);
|
|
36922
|
+
if ((y == null ? void 0 : y.length) > 0 && Ns.value !== Kn.value) {
|
|
36923
|
+
const g = await rn({
|
|
36924
|
+
id: y == null ? void 0 : y[0]
|
|
36925
|
+
});
|
|
36926
|
+
if (((f = (c = g == null ? void 0 : g.data) == null ? void 0 : c.result) == null ? void 0 : f.length) > 0)
|
|
36927
|
+
try {
|
|
36928
|
+
Qo({
|
|
36929
|
+
ids: y
|
|
36930
|
+
});
|
|
36931
|
+
} catch {
|
|
36932
|
+
}
|
|
36933
|
+
}
|
|
36929
36934
|
}
|
|
36930
36935
|
Iu.value = !0;
|
|
36931
|
-
const t = (
|
|
36936
|
+
const t = (d = e == null ? void 0 : e[0]) != null && d.startsWith("/") ? (h = e == null ? void 0 : e[0]) == null ? void 0 : h.substring(1) : e == null ? void 0 : e[0], n = e == null ? void 0 : e[1];
|
|
36932
36937
|
if (en.value = [], t || n) {
|
|
36933
36938
|
ao.setContentLoading(!0), sessionStorage.setItem("pageKey", Kn.value);
|
|
36934
|
-
const
|
|
36935
|
-
en.value = await U2(t,
|
|
36939
|
+
const v = await Ro(t, sessionStorage.getItem("systemKey"), "");
|
|
36940
|
+
en.value = await U2(t, v), G2(en.value), Jt.setExtraContents([]), ea.setSelectTitle([]), ea.setSelectIndex(""), ea.setSelectMenu(""), Jt.setItemData(en.value), Jt.setOriginalData(en.value), Jt.setCurStructureCompIds((p = en.value) == null ? void 0 : p.map((y) => y == null ? void 0 : y.id)), Jt.setRefreshCurStructure(!1), ol.value = (m = Kn.value) == null ? void 0 : m.split("/").filter((y) => y !== "").map((y) => ({ value: y.trim() })), ao.setContentLoading(!1);
|
|
36936
36941
|
} else
|
|
36937
36942
|
en.value = [];
|
|
36938
36943
|
Iu.value = !1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D3x-AlQS.cjs");const z=require("./menu-ScIJ5kqr.cjs"),te=require("./index-BR77jf7K.cjs"),ae=require("vue-router"),re=require("./index-C2Ok3w4G.cjs"),le=require("./modelComp-CkSDfH0-.cjs"),ue=require("./login-9FT8kgSz.cjs"),oe=require("./index-4u6cukm_.cjs"),E=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BR77jf7K.cjs")).then(v=>v.index));E.install=v=>{v.component("ssMenu",E)};const R={__name:"index",props:{name:String},setup(v){const i=v,y=t.computed(()=>z.ElIcons[i.name]);return t.onMounted(()=>{}),(D,g)=>{const A=t.resolveComponent("el-icon");return t.openBlock(),t.createBlock(A,null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(y.value)))]),_:1})}}},W=[{name:"--vertical-menu-bg",value:"transparent"},{name:"--vertical-submenu-hover-bg",value:"rgba(51, 86, 232, 0.6)"},{name:"--vertical-submenu-open-bg",value:"#3356E8"},{name:"--vertical-submenu-second-open-bg",value:"#D5DDFA"},{name:"--vertical-submenu-open-inline-bg",value:"#F6F6F6"},{name:"--vertical-submenu-last-inline-bg",value:"#ECEFFD"},{name:"--vertical-submenu-menuitem-color",value:"#051E37"},{name:"--vertical-submenu-menuitem-active-color",value:"#3356E8"},{name:"--vertical-submenu-color",value:"#051E37"},{name:"--vertical-submenu-active-color",value:"#ffffff"},{name:"--vertical-menuitem-hover-bg",value:"rgba(51, 86, 232, 0.6)"},{name:"--vertical-menuitem-active-bg",value:"#3356E8"},{name:"--vertical-menuitem-color",value:"#051E37"},{name:"--vertical-menuitem-active-color",value:"#ffffff"},{name:"--vertical-menuitem-fontSize",value:"1rem"},{name:"--vertical-menuitem-fontWeight",value:"400"},{name:"--vertical-menuitem-active-fontWeight",value:"400"},{name:"--vertical-menuitem-font",value:"var(--ssComponent-font-family);"},{name:"--vertical-menuitem-radius",value:"8px"},{name:"--vertical-menu-padding",value:"0.5rem"}],se=[{name:"--horizontal-menu-bg",value:"#051E37"},{name:"--horizontal-submenu-hover-bg",value:"rgba(51, 86, 232, 0.5)"},{name:"--horizontal-submenu-open-bg",value:"#3356E8"},{name:"--horizontal-submenu-open-inline-bg",value:"#3356E8"},{name:"--horizontal-menuitem-hover-bg",value:"rgba(51, 86, 232, 0.5)"},{name:"--horizontal-menuitem-active-bg",value:"#3356E8"},{name:"--horizontal-menuitem-color",value:"#FFFFFF"},{name:"--horizontal-menuitem-active-color",value:"#FFFFFF"},{name:"--horizontal-menuitem-fontSize",value:"1.25rem"},{name:"--horizontal-menuitem-fontWeight",value:"400"},{name:"--horizontal-menuitem-active-fontWeight",value:"600"},{name:"--horizontal-menuitem-font",value:"var(--ssComponent-font-family);"}],H=[{name:"--vertical-menu-bg",value:"transparent"},{name:"--vertical-submenu-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--vertical-submenu-active-color",value:"#323333"},{name:"--vertical-submenu-open-bg",value:"#72B02D"},{name:"--vertical-submenu-second-open-bg",value:"#CEE3B8"},{name:"--vertical-submenu-open-inline-bg",value:"#F6F6F6"},{name:"--vertical-submenu-last-inline-bg",value:"#F2F7EB"},{name:"--vertical-submenu-color",value:"#323333"},{name:"--vertical-submenu-menuitem-color",value:"#323333"},{name:"--vertical-submenu-menuitem-active-color",value:"#72B02D"},{name:"--vertical-menuitem-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--vertical-menuitem-active-bg",value:"#72B02D"},{name:"--vertical-menuitem-color",value:"#323333"},{name:"--vertical-menuitem-active-color",value:"#323333"},{name:"--vertical-menuitem-fontSize",value:"1rem"},{name:"--vertical-menuitem-fontWeight",value:"400"},{name:"--vertical-menuitem-active-fontWeight",value:"400"},{name:"--vertical-menuitem-font",value:"var(--ssComponent-font-family);"},{name:"--vertical-menuitem-radius",value:"8px"},{name:"--vertical-menu-padding",value:"0.5rem"}],O=[{name:"--horizontal-menu-bg",value:"#323333"},{name:"--horizontal-submenu-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--horizontal-submenu-open-bg",value:"#72B02D"},{name:"--horizontal-submenu-open-inline-bg",value:"#1C4275"},{name:"--horizontal-menuitem-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--horizontal-menuitem-active-bg",value:"#72B02D"},{name:"--horizontal-menuitem-color",value:"#FFFFFF"},{name:"--horizontal-menuitem-active-color",value:"#323333"},{name:"--horizontal-menuitem-fontSize",value:"1.25rem"},{name:"--horizontal-menuitem-fontWeight",value:"400"},{name:"--horizontal-menuitem-active-fontWeight",value:"600"},{name:"--horizontal-menuitem-font",value:"var(--ssComponent-font-family);"}],ie=[{name:"--ssbutton-theme-color",value:"#FFFFFF"},{name:"--ssbutton-theme-bg",value:"#3356E8"},{name:"--ssbutton-special-bg",value:"rgba(255,255,255,0.2)"},{name:"--ssgroup-background",value:"linear-gradient(to right, #D6DDFA, #ffffff)"},{name:"--ssComponent-theme-color",value:"#3356E8"},{name:"--ssComponent-theme-watermark",value:"url('/public/icons/img/watermark-blue.png')"}],me=[{name:"--ssbutton-theme-color",value:"#323333"},{name:"--ssbutton-theme-bg",value:"#72B02D"},{name:"--ssbutton-special-bg",value:"rgba(255, 255, 255, 0.2)"},{name:"--ssgroup-background",value:"linear-gradient(to right, #ddf6e0, #ffffff)"},{name:"--ssComponent-theme-color",value:"#72B02D"},{name:"--ssComponent-theme-watermark",value:"url('/public/icons/img/watermark.png')"}],ce=t.defineComponent({name:"menu",components:{ssMenu:E,DynamicIcon:R,ssDialog:te.ssDialog},setup(){const v=t.defineProps({mode:{type:String,default:"vertical"}}),i=z.useMenuState(),y=le.useModelComp(z.pinia),D=t.ref(0),g=ae.useRouter(),{asideMenus:A,menuTriggerType:V,platform:N}=z.storeToRefs(i),U=t.computed(()=>v==null?void 0:v.mode),B=t.computed(()=>{let e=[...A.value];if((e==null?void 0:e.length)===0)return g.push("/"),[];const n=G(e,L.value);return n.isFlag||(e=n==null?void 0:n.data),e}),$=e=>{y.setRouteToChildPath(""),i.setMenuTriggerType("click"),i.setActiveMenuPath(e==null?void 0:e.path),i.setActiveAsideMenu(e),e.isRouter?g.push(e.path):g.push("/")},J=async e=>{const n=ue.findNodeByPropInTree(B.value,"path",e);i.setActiveAsideMenu(n),y.setRouteToChildPath(""),V.value==="click"?D.value===1?i.setActiveMenuPath(sessionStorage.getItem("pageKey")):i.setActiveMenuPath(e):(i.setMenuTriggerType("click"),i.setActiveMenuPath(e)),e!=null&&e.startsWith("/")?g.push(e):g.push("/"),D.value++},K=e=>{i.setActiveMenuPath(e)},w=e=>{const n=document.documentElement;e==null||e.forEach(u=>{n.style.setProperty(u.name,u.value)})};t.onMounted(()=>{D.value=1});const L=t.computed(()=>{const e=sessionStorage.getItem("authority");return e?JSON.parse(e):[]});t.watch(()=>N.value,e=>{e==="browser"?w(W):e==="client"&&(w(O),w(H))},{immediate:!0});const j=(e,n)=>{function u(o){o==null||o.forEach(a=>{var h,C;const s=(h=a==null?void 0:a.path)!=null&&h.startsWith("/")?(C=a==null?void 0:a.path)==null?void 0:C.substring(1):a==null?void 0:a.path;a.show=n==null?void 0:n.some(f=>f==null?void 0:f.includes(s)),a.children&&u(a.children)})}return u(e),e},G=(e,n)=>{if(Array.isArray(n)){const u=Array.from(new Set(n==null?void 0:n.map(o=>o.substring(0,o.lastIndexOf("/")))));return{data:j(e,u),isFlag:!1}}else return{isFlag:(n==null?void 0:n.toUpperCase())==="SUPERADMIN"}},c=t.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),Q=e=>re.getComponent(e),X=t.ref({}),T=t.ref([]),Y=async(e,n,u)=>{var C,f,x;if(!(e!=null&&e.structureIds)||((C=e==null?void 0:e.structureIds)==null?void 0:C.length)===0)return;const o=(x=(f=e==null?void 0:e.structureIds)==null?void 0:f.filter(r=>(r==null?void 0:r.key)==="dialogConfig"))==null?void 0:x.map(r=>r==null?void 0:r.id);let a=o==null?void 0:o.map(r=>z.getInsofDataApi({id:r}));const s=await Promise.all(a);if(s==null?void 0:s.every(r=>{var l;return((l=r==null?void 0:r.data)==null?void 0:l.code)===200})){const r=s==null?void 0:s.map(l=>{var F,M,m,d,k,P,q;return{id:(m=(M=(F=l==null?void 0:l.data)==null?void 0:F.result)==null?void 0:M[0])==null?void 0:m.id,...(q=(P=(k=(d=l==null?void 0:l.data)==null?void 0:d.result)==null?void 0:k[0])==null?void 0:P.value)==null?void 0:q.pageData}});n==="create"&&(T.value=r),n==="update"&&(T.value=r==null?void 0:r.map(l=>{var F,M;return((F=l==null?void 0:l.comp)==null?void 0:F.toUpperCase())==="FORM"?{...l,compData:(M=l==null?void 0:l.compData)==null?void 0:M.map(m=>{var d;return(m==null?void 0:m.key)==="formContent"?{...m,contents:(d=m==null?void 0:m.contents)==null?void 0:d.map(k=>({...k,value:u==null?void 0:u.title}))}:m})}:l}))}},b=t.ref({}),p=t.ref({}),Z=e=>{switch(e){case"新增":return"create";case"编辑":return"update";case"删除":return"delete"}},S=t.ref({}),_=e=>{i.setCacheInputMenu({type:c.type,data:e}),i.setIsRefreshMenus(!0)},I=async(e,n)=>{c.type=Z(n==null?void 0:n.operateType),await Y(n,c.type,e),p.value=e,S.value=n,(n==null?void 0:n.operateType)!=="删除"?(c.show=(n==null?void 0:n.trigger)==="openDialog",c.title=(n==null?void 0:n.operateType)+"菜单"):oe.ElMessageBox.confirm(`是否确认要删除【${e==null?void 0:e.title}】`,"",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{_(e)})},ee=()=>{c.show=!1},ne=e=>e==null?void 0:e.filter(n=>n.allowInherit);return{handleCompChange:e=>{var u,o;const n=(u=e==null?void 0:e.contents)==null?void 0:u.find(a=>a.key==="formContent");n&&(b.value=(o=n==null?void 0:n.contents)==null?void 0:o.reduce((a,s)=>(a[s.key]=s.value,a.prop=s.key,a),{}))},dialogForm:X,dialogRenderComps:T,getComponents:Q,clickSubmitForm:()=>{var u,o,a,s,h;let e;c.type==="create"&&(e=((u=p.value)==null?void 0:u.path)+"/"+b.value[(o=b.value)==null?void 0:o.prop]),c.type==="update"&&(e=(a=p.value)==null?void 0:a.path);const n={...p.value,config:ne((s=p.value)==null?void 0:s.config),children:[],childMenus:[],title:b.value[(h=b.value)==null?void 0:h.prop],path:e};console.log("clickSubmitForm",S.value,p.value,n),_(n),c.show=!1},dialogInfo:c,beforeDialogDestroy:ee,clickMenuIcon:I,mode:U,renderMenuList:B,clickMenu:$,openMenu:J,closeMenu:K,changeMenuStyle:w}}});exports._sfc_main=ce;exports._sfc_main$1=R;exports.browserHorizontalMenuClasses=se;exports.browserThemeConfig=ie;exports.browserVerticalMenuClasses=W;exports.clientHorizontalMenuClasses=O;exports.clientThemeConfig=me;exports.clientVerticalMenuClasses=H;exports.ssMenu=E;
|
|
1
|
+
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D3x-AlQS.cjs");const z=require("./menu-ScIJ5kqr.cjs"),te=require("./index-d9EmloJa.cjs"),ae=require("vue-router"),re=require("./index-G2O6ETUf.cjs"),le=require("./modelComp-CkSDfH0-.cjs"),ue=require("./login-9FT8kgSz.cjs"),oe=require("./index-4u6cukm_.cjs"),E=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-d9EmloJa.cjs")).then(v=>v.index));E.install=v=>{v.component("ssMenu",E)};const R={__name:"index",props:{name:String},setup(v){const i=v,y=t.computed(()=>z.ElIcons[i.name]);return t.onMounted(()=>{}),(D,g)=>{const A=t.resolveComponent("el-icon");return t.openBlock(),t.createBlock(A,null,{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(y.value)))]),_:1})}}},W=[{name:"--vertical-menu-bg",value:"transparent"},{name:"--vertical-submenu-hover-bg",value:"rgba(51, 86, 232, 0.6)"},{name:"--vertical-submenu-open-bg",value:"#3356E8"},{name:"--vertical-submenu-second-open-bg",value:"#D5DDFA"},{name:"--vertical-submenu-open-inline-bg",value:"#F6F6F6"},{name:"--vertical-submenu-last-inline-bg",value:"#ECEFFD"},{name:"--vertical-submenu-menuitem-color",value:"#051E37"},{name:"--vertical-submenu-menuitem-active-color",value:"#3356E8"},{name:"--vertical-submenu-color",value:"#051E37"},{name:"--vertical-submenu-active-color",value:"#ffffff"},{name:"--vertical-menuitem-hover-bg",value:"rgba(51, 86, 232, 0.6)"},{name:"--vertical-menuitem-active-bg",value:"#3356E8"},{name:"--vertical-menuitem-color",value:"#051E37"},{name:"--vertical-menuitem-active-color",value:"#ffffff"},{name:"--vertical-menuitem-fontSize",value:"1rem"},{name:"--vertical-menuitem-fontWeight",value:"400"},{name:"--vertical-menuitem-active-fontWeight",value:"400"},{name:"--vertical-menuitem-font",value:"var(--ssComponent-font-family);"},{name:"--vertical-menuitem-radius",value:"8px"},{name:"--vertical-menu-padding",value:"0.5rem"}],se=[{name:"--horizontal-menu-bg",value:"#051E37"},{name:"--horizontal-submenu-hover-bg",value:"rgba(51, 86, 232, 0.5)"},{name:"--horizontal-submenu-open-bg",value:"#3356E8"},{name:"--horizontal-submenu-open-inline-bg",value:"#3356E8"},{name:"--horizontal-menuitem-hover-bg",value:"rgba(51, 86, 232, 0.5)"},{name:"--horizontal-menuitem-active-bg",value:"#3356E8"},{name:"--horizontal-menuitem-color",value:"#FFFFFF"},{name:"--horizontal-menuitem-active-color",value:"#FFFFFF"},{name:"--horizontal-menuitem-fontSize",value:"1.25rem"},{name:"--horizontal-menuitem-fontWeight",value:"400"},{name:"--horizontal-menuitem-active-fontWeight",value:"600"},{name:"--horizontal-menuitem-font",value:"var(--ssComponent-font-family);"}],H=[{name:"--vertical-menu-bg",value:"transparent"},{name:"--vertical-submenu-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--vertical-submenu-active-color",value:"#323333"},{name:"--vertical-submenu-open-bg",value:"#72B02D"},{name:"--vertical-submenu-second-open-bg",value:"#CEE3B8"},{name:"--vertical-submenu-open-inline-bg",value:"#F6F6F6"},{name:"--vertical-submenu-last-inline-bg",value:"#F2F7EB"},{name:"--vertical-submenu-color",value:"#323333"},{name:"--vertical-submenu-menuitem-color",value:"#323333"},{name:"--vertical-submenu-menuitem-active-color",value:"#72B02D"},{name:"--vertical-menuitem-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--vertical-menuitem-active-bg",value:"#72B02D"},{name:"--vertical-menuitem-color",value:"#323333"},{name:"--vertical-menuitem-active-color",value:"#323333"},{name:"--vertical-menuitem-fontSize",value:"1rem"},{name:"--vertical-menuitem-fontWeight",value:"400"},{name:"--vertical-menuitem-active-fontWeight",value:"400"},{name:"--vertical-menuitem-font",value:"var(--ssComponent-font-family);"},{name:"--vertical-menuitem-radius",value:"8px"},{name:"--vertical-menu-padding",value:"0.5rem"}],O=[{name:"--horizontal-menu-bg",value:"#323333"},{name:"--horizontal-submenu-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--horizontal-submenu-open-bg",value:"#72B02D"},{name:"--horizontal-submenu-open-inline-bg",value:"#1C4275"},{name:"--horizontal-menuitem-hover-bg",value:"rgba(114, 176, 45, 0.6)"},{name:"--horizontal-menuitem-active-bg",value:"#72B02D"},{name:"--horizontal-menuitem-color",value:"#FFFFFF"},{name:"--horizontal-menuitem-active-color",value:"#323333"},{name:"--horizontal-menuitem-fontSize",value:"1.25rem"},{name:"--horizontal-menuitem-fontWeight",value:"400"},{name:"--horizontal-menuitem-active-fontWeight",value:"600"},{name:"--horizontal-menuitem-font",value:"var(--ssComponent-font-family);"}],ie=[{name:"--ssbutton-theme-color",value:"#FFFFFF"},{name:"--ssbutton-theme-bg",value:"#3356E8"},{name:"--ssbutton-special-bg",value:"rgba(255,255,255,0.2)"},{name:"--ssgroup-background",value:"linear-gradient(to right, #D6DDFA, #ffffff)"},{name:"--ssComponent-theme-color",value:"#3356E8"},{name:"--ssComponent-theme-watermark",value:"url('/public/icons/img/watermark-blue.png')"}],me=[{name:"--ssbutton-theme-color",value:"#323333"},{name:"--ssbutton-theme-bg",value:"#72B02D"},{name:"--ssbutton-special-bg",value:"rgba(255, 255, 255, 0.2)"},{name:"--ssgroup-background",value:"linear-gradient(to right, #ddf6e0, #ffffff)"},{name:"--ssComponent-theme-color",value:"#72B02D"},{name:"--ssComponent-theme-watermark",value:"url('/public/icons/img/watermark.png')"}],ce=t.defineComponent({name:"menu",components:{ssMenu:E,DynamicIcon:R,ssDialog:te.ssDialog},setup(){const v=t.defineProps({mode:{type:String,default:"vertical"}}),i=z.useMenuState(),y=le.useModelComp(z.pinia),D=t.ref(0),g=ae.useRouter(),{asideMenus:A,menuTriggerType:V,platform:N}=z.storeToRefs(i),U=t.computed(()=>v==null?void 0:v.mode),B=t.computed(()=>{let e=[...A.value];if((e==null?void 0:e.length)===0)return g.push("/"),[];const n=G(e,L.value);return n.isFlag||(e=n==null?void 0:n.data),e}),$=e=>{y.setRouteToChildPath(""),i.setMenuTriggerType("click"),i.setActiveMenuPath(e==null?void 0:e.path),i.setActiveAsideMenu(e),e.isRouter?g.push(e.path):g.push("/")},J=async e=>{const n=ue.findNodeByPropInTree(B.value,"path",e);i.setActiveAsideMenu(n),y.setRouteToChildPath(""),V.value==="click"?D.value===1?i.setActiveMenuPath(sessionStorage.getItem("pageKey")):i.setActiveMenuPath(e):(i.setMenuTriggerType("click"),i.setActiveMenuPath(e)),e!=null&&e.startsWith("/")?g.push(e):g.push("/"),D.value++},K=e=>{i.setActiveMenuPath(e)},w=e=>{const n=document.documentElement;e==null||e.forEach(u=>{n.style.setProperty(u.name,u.value)})};t.onMounted(()=>{D.value=1});const L=t.computed(()=>{const e=sessionStorage.getItem("authority");return e?JSON.parse(e):[]});t.watch(()=>N.value,e=>{e==="browser"?w(W):e==="client"&&(w(O),w(H))},{immediate:!0});const j=(e,n)=>{function u(o){o==null||o.forEach(a=>{var h,C;const s=(h=a==null?void 0:a.path)!=null&&h.startsWith("/")?(C=a==null?void 0:a.path)==null?void 0:C.substring(1):a==null?void 0:a.path;a.show=n==null?void 0:n.some(f=>f==null?void 0:f.includes(s)),a.children&&u(a.children)})}return u(e),e},G=(e,n)=>{if(Array.isArray(n)){const u=Array.from(new Set(n==null?void 0:n.map(o=>o.substring(0,o.lastIndexOf("/")))));return{data:j(e,u),isFlag:!1}}else return{isFlag:(n==null?void 0:n.toUpperCase())==="SUPERADMIN"}},c=t.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),Q=e=>re.getComponent(e),X=t.ref({}),T=t.ref([]),Y=async(e,n,u)=>{var C,f,x;if(!(e!=null&&e.structureIds)||((C=e==null?void 0:e.structureIds)==null?void 0:C.length)===0)return;const o=(x=(f=e==null?void 0:e.structureIds)==null?void 0:f.filter(r=>(r==null?void 0:r.key)==="dialogConfig"))==null?void 0:x.map(r=>r==null?void 0:r.id);let a=o==null?void 0:o.map(r=>z.getInsofDataApi({id:r}));const s=await Promise.all(a);if(s==null?void 0:s.every(r=>{var l;return((l=r==null?void 0:r.data)==null?void 0:l.code)===200})){const r=s==null?void 0:s.map(l=>{var F,M,m,d,k,P,q;return{id:(m=(M=(F=l==null?void 0:l.data)==null?void 0:F.result)==null?void 0:M[0])==null?void 0:m.id,...(q=(P=(k=(d=l==null?void 0:l.data)==null?void 0:d.result)==null?void 0:k[0])==null?void 0:P.value)==null?void 0:q.pageData}});n==="create"&&(T.value=r),n==="update"&&(T.value=r==null?void 0:r.map(l=>{var F,M;return((F=l==null?void 0:l.comp)==null?void 0:F.toUpperCase())==="FORM"?{...l,compData:(M=l==null?void 0:l.compData)==null?void 0:M.map(m=>{var d;return(m==null?void 0:m.key)==="formContent"?{...m,contents:(d=m==null?void 0:m.contents)==null?void 0:d.map(k=>({...k,value:u==null?void 0:u.title}))}:m})}:l}))}},b=t.ref({}),p=t.ref({}),Z=e=>{switch(e){case"新增":return"create";case"编辑":return"update";case"删除":return"delete"}},S=t.ref({}),_=e=>{i.setCacheInputMenu({type:c.type,data:e}),i.setIsRefreshMenus(!0)},I=async(e,n)=>{c.type=Z(n==null?void 0:n.operateType),await Y(n,c.type,e),p.value=e,S.value=n,(n==null?void 0:n.operateType)!=="删除"?(c.show=(n==null?void 0:n.trigger)==="openDialog",c.title=(n==null?void 0:n.operateType)+"菜单"):oe.ElMessageBox.confirm(`是否确认要删除【${e==null?void 0:e.title}】`,"",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{_(e)})},ee=()=>{c.show=!1},ne=e=>e==null?void 0:e.filter(n=>n.allowInherit);return{handleCompChange:e=>{var u,o;const n=(u=e==null?void 0:e.contents)==null?void 0:u.find(a=>a.key==="formContent");n&&(b.value=(o=n==null?void 0:n.contents)==null?void 0:o.reduce((a,s)=>(a[s.key]=s.value,a.prop=s.key,a),{}))},dialogForm:X,dialogRenderComps:T,getComponents:Q,clickSubmitForm:()=>{var u,o,a,s,h;let e;c.type==="create"&&(e=((u=p.value)==null?void 0:u.path)+"/"+b.value[(o=b.value)==null?void 0:o.prop]),c.type==="update"&&(e=(a=p.value)==null?void 0:a.path);const n={...p.value,config:ne((s=p.value)==null?void 0:s.config),children:[],childMenus:[],title:b.value[(h=b.value)==null?void 0:h.prop],path:e};console.log("clickSubmitForm",S.value,p.value,n),_(n),c.show=!1},dialogInfo:c,beforeDialogDestroy:ee,clickMenuIcon:I,mode:U,renderMenuList:B,clickMenu:$,openMenu:J,closeMenu:K,changeMenuStyle:w}}});exports._sfc_main=ce;exports._sfc_main$1=R;exports.browserHorizontalMenuClasses=se;exports.browserThemeConfig=ie;exports.browserVerticalMenuClasses=W;exports.clientHorizontalMenuClasses=O;exports.clientThemeConfig=me;exports.clientVerticalMenuClasses=H;exports.ssMenu=E;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as te, computed as w, onMounted as N, resolveComponent as ne, createBlock as R, openBlock as O, withCtx as ae, resolveDynamicComponent as le, defineComponent as re, defineProps as oe, ref as h, watch as ue, reactive as se } from "vue";
|
|
2
2
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-uJF9vYMQ.js";
|
|
3
3
|
import { bA as me, u as ie, p as ce, s as ve, g as pe } from "./menu-Bj0eSg6d.js";
|
|
4
|
-
import { s as ge } from "./index-
|
|
4
|
+
import { s as ge } from "./index-4u-23Xo4.js";
|
|
5
5
|
import { useRouter as fe } from "vue-router";
|
|
6
|
-
import { g as he } from "./index-
|
|
6
|
+
import { g as he } from "./index-kmklo8FV.js";
|
|
7
7
|
import { u as be } from "./modelComp-CUCWitDo.js";
|
|
8
8
|
import { f as Fe } from "./login-Ct7wC1jE.js";
|
|
9
9
|
import { E as Ce } from "./index-CL7Kg1Kn.js";
|
|
10
|
-
const T = te(() => import("./index-
|
|
10
|
+
const T = te(() => import("./index-4u-23Xo4.js").then((c) => c.l));
|
|
11
11
|
T.install = (c) => {
|
|
12
12
|
c.component("ssMenu", T);
|
|
13
13
|
};
|