gs-eant-comp 3.1.4 → 3.1.7
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/gs-eant-comp.js +825 -842
- package/dist/gs-eant-comp.umd.cjs +4 -4
- package/package.json +1 -1
package/dist/gs-eant-comp.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as X, resolveComponent as r, createBlock as v, openBlock as d, withCtx as s, createElementBlock as I, Fragment as
|
|
1
|
+
import { defineComponent as X, resolveComponent as r, createBlock as v, openBlock as d, withCtx as s, createElementBlock as I, Fragment as U, renderList as Z, normalizeClass as Y, createElementVNode as f, toDisplayString as j, createVNode as u, toRefs as ke, computed as w, createCommentVNode as $, inject as S, ref as B, watchEffect as Kt, renderSlot as z, reactive as Te, provide as V, mergeProps as ge, createTextVNode as G, withModifiers as st, unref as O, h as kt, getCurrentInstance as pn, nextTick as Me, watch as ue, onMounted as nt, onUnmounted as Ft, normalizeStyle as ut, toRef as Vt, KeepAlive as fn, resolveDynamicComponent as Fe, createSlots as He, mergeModels as Dt, useModel as ot, Transition as mn, withDirectives as yn, vShow as hn, isRef as ze, toHandlers as Ht, normalizeProps as vn, guardReactiveProps as bn, useSlots as _n } from "vue";
|
|
2
2
|
import { useStore as oe } from "vuex";
|
|
3
3
|
import { useRoute as Qt, useRouter as ae, onBeforeRouteUpdate as gn } from "vue-router";
|
|
4
|
-
import { useRequest as je, usePagination as
|
|
4
|
+
import { useRequest as je, usePagination as it } from "vue-request";
|
|
5
5
|
import { Form as kn, message as wn, theme as Qe } from "ant-design-vue";
|
|
6
6
|
import Cn from "vuedraggable";
|
|
7
7
|
import { ColorPicker as Sn } from "vue3-colorpicker";
|
|
@@ -36,7 +36,7 @@ function En(e, t, n, o, a, l) {
|
|
|
36
36
|
f("span", xn, j(e.menuInfo.meta.title), 1)
|
|
37
37
|
]),
|
|
38
38
|
default: s(() => [
|
|
39
|
-
(d(!0), I(
|
|
39
|
+
(d(!0), I(U, null, Z(e.menuInfo.children, (y) => (d(), I(U, {
|
|
40
40
|
key: y.path
|
|
41
41
|
}, [
|
|
42
42
|
y.children ? (d(), v(p, {
|
|
@@ -86,7 +86,7 @@ const In = /* @__PURE__ */ D(Bn, [["render", En]]), Mn = X({
|
|
|
86
86
|
}, On = { class: "font1" };
|
|
87
87
|
function Rn(e, t, n, o, a, l) {
|
|
88
88
|
const i = r("a-alert"), c = r("a-icon"), p = r("a-menu-item"), m = r("sub-menu");
|
|
89
|
-
return d(), I(
|
|
89
|
+
return d(), I(U, null, [
|
|
90
90
|
e.isNavMenus ? (d(), I("div", Tn, [
|
|
91
91
|
u(i, {
|
|
92
92
|
"show-icon": !1,
|
|
@@ -99,8 +99,8 @@ function Rn(e, t, n, o, a, l) {
|
|
|
99
99
|
])]),
|
|
100
100
|
_: 1
|
|
101
101
|
})
|
|
102
|
-
])) :
|
|
103
|
-
(d(!0), I(
|
|
102
|
+
])) : $("", !0),
|
|
103
|
+
(d(!0), I(U, null, Z(e.navMenus, (y) => (d(), I(U, {
|
|
104
104
|
key: y.path
|
|
105
105
|
}, [
|
|
106
106
|
y.children ? (d(), v(m, {
|
|
@@ -147,7 +147,7 @@ const ye = /* @__PURE__ */ D(Mn, [["render", Rn]]), Gt = "data:image/png;base64,
|
|
|
147
147
|
}
|
|
148
148
|
return [];
|
|
149
149
|
};
|
|
150
|
-
|
|
150
|
+
Kt(() => {
|
|
151
151
|
c.value = m(t.value, p.value);
|
|
152
152
|
});
|
|
153
153
|
const y = (_) => {
|
|
@@ -181,12 +181,12 @@ function zn(e, t, n, o, a, l) {
|
|
|
181
181
|
u(p, { class: "card-flex h-100 d-flex flex-column" }, {
|
|
182
182
|
title: s(() => [
|
|
183
183
|
f("div", Nn, [
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
$("", !0),
|
|
185
|
+
z(e.$slots, "title")
|
|
186
186
|
])
|
|
187
187
|
]),
|
|
188
188
|
actions: s(() => [
|
|
189
|
-
|
|
189
|
+
z(e.$slots, "foot")
|
|
190
190
|
]),
|
|
191
191
|
default: s(() => [
|
|
192
192
|
f("div", Pn, [
|
|
@@ -264,14 +264,14 @@ const Ln = /* @__PURE__ */ D(An, [["render", zn]]), jn = kn.useForm, Un = X({
|
|
|
264
264
|
p.value.open = !1;
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
), { resetFields: b, validate: A, validateInfos:
|
|
267
|
+
), { resetFields: b, validate: A, validateInfos: T } = jn(m, _);
|
|
268
268
|
return {
|
|
269
269
|
api: i,
|
|
270
270
|
save_loading: g,
|
|
271
271
|
formState: m,
|
|
272
272
|
resetFields: b,
|
|
273
273
|
validate: A,
|
|
274
|
-
validateInfos:
|
|
274
|
+
validateInfos: T,
|
|
275
275
|
onSubmit: async () => {
|
|
276
276
|
try {
|
|
277
277
|
await A(), m.value.xmm !== m.value.qrmm ? wn.error("两次输入的密码不一致") : h(m.value);
|
|
@@ -407,7 +407,7 @@ function Wn(e, t, n, o, a, l) {
|
|
|
407
407
|
default: s(() => [
|
|
408
408
|
u(h, { class: "d-flex justify-content-end" }, {
|
|
409
409
|
default: s(() => [
|
|
410
|
-
|
|
410
|
+
$("", !0),
|
|
411
411
|
u(_, {
|
|
412
412
|
type: "primary",
|
|
413
413
|
onClick: e.onSubmit,
|
|
@@ -428,15 +428,15 @@ function Wn(e, t, n, o, a, l) {
|
|
|
428
428
|
_: 1
|
|
429
429
|
}, 8, ["layout", "label-col", "wrapper-col"]);
|
|
430
430
|
}
|
|
431
|
-
const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn = { class: "" }, Vn = { class: "text-
|
|
431
|
+
const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn = { class: "" }, Vn = { class: "text-muted" }, Dn = { class: "text-muted" }, Se = {
|
|
432
432
|
__name: "UserBar",
|
|
433
433
|
setup(e) {
|
|
434
|
-
const t = (...
|
|
434
|
+
const t = (...M) => {
|
|
435
435
|
}, n = S("$API"), o = oe(), a = ae(), l = w(() => o.state.app.auth), i = w(() => o.state.auth.userInfo), c = w(() => o.state.app.appLayoutType);
|
|
436
436
|
w(() => o.state.app.casServerLoginUrl);
|
|
437
|
-
const p = w(() => o.state.app.casServerLogoutUrl), m = Te(n.auth.logout), { run: y } = je((
|
|
437
|
+
const p = w(() => o.state.app.casServerLogoutUrl), m = Te(n.auth.logout), { run: y } = je((M) => m[m.method](M), {
|
|
438
438
|
manual: !0,
|
|
439
|
-
onSuccess: (
|
|
439
|
+
onSuccess: (M) => {
|
|
440
440
|
t("认证模式识别完成 →", l.value), l.value === "CAS" && (t("CAS 注销流程|重定向至统一认证登出地址", p.value), window.location.href = p.value);
|
|
441
441
|
const C = a.options.routes.findIndex((x) => x.name === "lowcodeplatform");
|
|
442
442
|
C !== -1 && (a.options.routes[C].children = []), o.state.auth.dynamicRouteNames.forEach((x) => {
|
|
@@ -445,37 +445,35 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
445
445
|
}
|
|
446
446
|
}), _ = B();
|
|
447
447
|
V("refPasswordEModal", _);
|
|
448
|
-
const h = (
|
|
448
|
+
const h = (M) => {
|
|
449
449
|
_.value.open = !0, _.value.title = "修改密码";
|
|
450
450
|
};
|
|
451
451
|
B(!1);
|
|
452
|
-
const g = w(() => o.state.auth.
|
|
452
|
+
const g = w(() => o.state.auth.currentRoleId), b = w(() => {
|
|
453
453
|
try {
|
|
454
454
|
return i.value?.roles ? JSON.parse(i.value.roles) : [];
|
|
455
|
-
} catch (
|
|
456
|
-
return console.error("roles 解析失败",
|
|
455
|
+
} catch (M) {
|
|
456
|
+
return console.error("roles 解析失败", M), [];
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}, M = () => {
|
|
465
|
-
const T = a.options.routes.findIndex(
|
|
459
|
+
w(() => b.value.find((M) => M.jsdm === o.state.auth.currentRoleId) || null);
|
|
460
|
+
const A = (M) => {
|
|
461
|
+
M.jsdm !== o.state.auth.currentRoleId && (o.commit("SET_CURRENT_ROLE", M.jsdm), T());
|
|
462
|
+
}, T = () => {
|
|
463
|
+
const M = a.options.routes.findIndex(
|
|
466
464
|
(k) => k.name === "lowcodeplatform"
|
|
467
465
|
);
|
|
468
|
-
|
|
466
|
+
M !== -1 && (a.options.routes[M].children = []), o.state.auth.dynamicRouteNames.forEach((k) => {
|
|
469
467
|
a.removeRoute(k);
|
|
470
468
|
}), o.commit("CLEAR_PERMISSION_CONTEXT"), a.push({ path: "/" });
|
|
471
469
|
};
|
|
472
|
-
return (
|
|
470
|
+
return (M, C) => {
|
|
473
471
|
const k = r("a-icon"), x = r("a-space");
|
|
474
472
|
r("a-badge-ribbon");
|
|
475
|
-
const
|
|
476
|
-
return d(), I(
|
|
473
|
+
const L = r("a-menu-item"), R = r("a-menu-item-group"), W = r("a-menu-divider"), Q = r("a-menu"), F = r("a-dropdown"), q = r("EModal");
|
|
474
|
+
return d(), I(U, null, [
|
|
477
475
|
f("div", Kn, [
|
|
478
|
-
|
|
476
|
+
$("", !0),
|
|
479
477
|
u(F, { trigger: ["click"] }, {
|
|
480
478
|
overlay: s(() => [
|
|
481
479
|
u(Q, {
|
|
@@ -483,29 +481,14 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
483
481
|
style: { width: "170px" }
|
|
484
482
|
}, {
|
|
485
483
|
default: s(() => [
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
f("span", Vn, [
|
|
491
|
-
u(k, {
|
|
492
|
-
type: "icon-user",
|
|
493
|
-
class: "pe-2"
|
|
494
|
-
}),
|
|
495
|
-
G(j(g.value?.jsmc), 1)
|
|
496
|
-
])
|
|
497
|
-
]),
|
|
498
|
-
_: 1
|
|
499
|
-
})
|
|
500
|
-
]),
|
|
501
|
-
_: 1
|
|
502
|
-
}),
|
|
503
|
-
u(U),
|
|
504
|
-
u(R, { title: "切换角色" }, {
|
|
484
|
+
b.value.length > 1 ? (d(), v(R, {
|
|
485
|
+
key: 0,
|
|
486
|
+
title: "切换角色"
|
|
487
|
+
}, {
|
|
505
488
|
default: s(() => [
|
|
506
|
-
(d(!0), I(
|
|
489
|
+
(d(!0), I(U, null, Z(b.value, (ee) => (d(), v(L, {
|
|
507
490
|
key: ee.jsdm,
|
|
508
|
-
|
|
491
|
+
class: Y({ "text-primary": ee.jsdm === g.value }),
|
|
509
492
|
onClick: (te) => A(ee)
|
|
510
493
|
}, {
|
|
511
494
|
default: s(() => [
|
|
@@ -516,20 +499,20 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
516
499
|
G(j(ee.jsmc), 1)
|
|
517
500
|
]),
|
|
518
501
|
_: 2
|
|
519
|
-
}, 1032, ["
|
|
502
|
+
}, 1032, ["class", "onClick"]))), 128))
|
|
520
503
|
]),
|
|
521
504
|
_: 1
|
|
522
|
-
}),
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
l.value === "JWT" ? (d(), v(
|
|
505
|
+
})) : $("", !0),
|
|
506
|
+
$("", !0),
|
|
507
|
+
$("", !0),
|
|
508
|
+
$("", !0),
|
|
509
|
+
b.value.length > 1 ? (d(), v(W, { key: 4 })) : $("", !0),
|
|
510
|
+
l.value === "JWT" ? (d(), v(L, {
|
|
528
511
|
key: "0",
|
|
529
512
|
onClick: h
|
|
530
513
|
}, {
|
|
531
514
|
default: s(() => [
|
|
532
|
-
f("span",
|
|
515
|
+
f("span", Vn, [
|
|
533
516
|
u(k, {
|
|
534
517
|
type: "icon-edit",
|
|
535
518
|
class: "pe-2"
|
|
@@ -538,13 +521,13 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
538
521
|
])
|
|
539
522
|
]),
|
|
540
523
|
_: 1
|
|
541
|
-
})) :
|
|
542
|
-
u(
|
|
524
|
+
})) : $("", !0),
|
|
525
|
+
u(L, {
|
|
543
526
|
key: "1",
|
|
544
527
|
onClick: O(y)
|
|
545
528
|
}, {
|
|
546
529
|
default: s(() => [
|
|
547
|
-
f("span",
|
|
530
|
+
f("span", Dn, [
|
|
548
531
|
u(k, {
|
|
549
532
|
type: "icon-logout",
|
|
550
533
|
class: "pe-2"
|
|
@@ -554,8 +537,8 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
554
537
|
]),
|
|
555
538
|
_: 1
|
|
556
539
|
}, 8, ["onClick"]),
|
|
557
|
-
u(
|
|
558
|
-
u(
|
|
540
|
+
u(W),
|
|
541
|
+
u(L, {
|
|
559
542
|
key: "2",
|
|
560
543
|
class: "text-black-50 text-center"
|
|
561
544
|
}, {
|
|
@@ -571,12 +554,12 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
571
554
|
default: s(() => [
|
|
572
555
|
f("div", {
|
|
573
556
|
class: Y(["cp d-flex align-items-center", [["classic", "headerLeft", "headerRight", "headerRightPro"].includes(c.value) ? "text-white" : "text-muted"]]),
|
|
574
|
-
onClick: C[1] || (C[1] =
|
|
557
|
+
onClick: C[1] || (C[1] = st(() => {
|
|
575
558
|
}, ["prevent"]))
|
|
576
559
|
}, [
|
|
577
560
|
u(x, { class: "h-75" }, {
|
|
578
561
|
default: s(() => [
|
|
579
|
-
|
|
562
|
+
$("", !0),
|
|
580
563
|
f("span", Fn, j(i.value.xm), 1),
|
|
581
564
|
u(k, {
|
|
582
565
|
type: "icon-down",
|
|
@@ -604,17 +587,17 @@ const Jt = /* @__PURE__ */ D(Un, [["render", Wn]]), Kn = { class: "h-100" }, Fn
|
|
|
604
587
|
}
|
|
605
588
|
};
|
|
606
589
|
function pe(e, t) {
|
|
607
|
-
|
|
608
|
-
var n =
|
|
590
|
+
Hn(e) && (e = "100%");
|
|
591
|
+
var n = Qn(e);
|
|
609
592
|
return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
|
|
610
593
|
}
|
|
611
|
-
function
|
|
594
|
+
function Hn(e) {
|
|
612
595
|
return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
|
|
613
596
|
}
|
|
614
|
-
function
|
|
597
|
+
function Qn(e) {
|
|
615
598
|
return typeof e == "string" && e.indexOf("%") !== -1;
|
|
616
599
|
}
|
|
617
|
-
function
|
|
600
|
+
function Gn(e) {
|
|
618
601
|
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
|
|
619
602
|
}
|
|
620
603
|
function Ue(e) {
|
|
@@ -623,7 +606,7 @@ function Ue(e) {
|
|
|
623
606
|
function Ze(e) {
|
|
624
607
|
return e.length === 1 ? "0" + e : String(e);
|
|
625
608
|
}
|
|
626
|
-
function
|
|
609
|
+
function Jn(e, t, n) {
|
|
627
610
|
return {
|
|
628
611
|
r: pe(e, 255) * 255,
|
|
629
612
|
g: pe(t, 255) * 255,
|
|
@@ -633,7 +616,7 @@ function Zn(e, t, n) {
|
|
|
633
616
|
function Ye(e, t, n) {
|
|
634
617
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * (6 * n) : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
635
618
|
}
|
|
636
|
-
function
|
|
619
|
+
function Zn(e, t, n) {
|
|
637
620
|
var o, a, l;
|
|
638
621
|
if (e = pe(e, 360), t = pe(t, 100), n = pe(n, 100), t === 0)
|
|
639
622
|
a = n, l = n, o = n;
|
|
@@ -643,7 +626,7 @@ function Yn(e, t, n) {
|
|
|
643
626
|
}
|
|
644
627
|
return { r: o * 255, g: a * 255, b: l * 255 };
|
|
645
628
|
}
|
|
646
|
-
function
|
|
629
|
+
function Yn(e, t, n) {
|
|
647
630
|
e = pe(e, 255), t = pe(t, 255), n = pe(n, 255);
|
|
648
631
|
var o = Math.max(e, t, n), a = Math.min(e, t, n), l = 0, i = o, c = o - a, p = o === 0 ? 0 : c / o;
|
|
649
632
|
if (o === a)
|
|
@@ -664,12 +647,12 @@ function qn(e, t, n) {
|
|
|
664
647
|
}
|
|
665
648
|
return { h: l, s: p, v: i };
|
|
666
649
|
}
|
|
667
|
-
function
|
|
650
|
+
function qn(e, t, n) {
|
|
668
651
|
e = pe(e, 360) * 6, t = pe(t, 100), n = pe(n, 100);
|
|
669
652
|
var o = Math.floor(e), a = e - o, l = n * (1 - t), i = n * (1 - a * t), c = n * (1 - (1 - a) * t), p = o % 6, m = [n, i, l, l, c, n][p], y = [c, n, n, i, l, l][p], _ = [l, l, c, n, n, i][p];
|
|
670
653
|
return { r: m * 255, g: y * 255, b: _ * 255 };
|
|
671
654
|
}
|
|
672
|
-
function
|
|
655
|
+
function Xn(e, t, n, o) {
|
|
673
656
|
var a = [
|
|
674
657
|
Ze(Math.round(e).toString(16)),
|
|
675
658
|
Ze(Math.round(t).toString(16)),
|
|
@@ -677,13 +660,13 @@ function eo(e, t, n, o) {
|
|
|
677
660
|
];
|
|
678
661
|
return a.join("");
|
|
679
662
|
}
|
|
680
|
-
function
|
|
663
|
+
function wt(e) {
|
|
681
664
|
return ce(e) / 255;
|
|
682
665
|
}
|
|
683
666
|
function ce(e) {
|
|
684
667
|
return parseInt(e, 16);
|
|
685
668
|
}
|
|
686
|
-
var
|
|
669
|
+
var Ct = {
|
|
687
670
|
aliceblue: "#f0f8ff",
|
|
688
671
|
antiquewhite: "#faebd7",
|
|
689
672
|
aqua: "#00ffff",
|
|
@@ -835,7 +818,7 @@ var St = {
|
|
|
835
818
|
};
|
|
836
819
|
function Ne(e) {
|
|
837
820
|
var t = { r: 0, g: 0, b: 0 }, n = 1, o = null, a = null, l = null, i = !1, c = !1;
|
|
838
|
-
return typeof e == "string" && (e =
|
|
821
|
+
return typeof e == "string" && (e = no(e)), typeof e == "object" && (be(e.r) && be(e.g) && be(e.b) ? (t = Jn(e.r, e.g, e.b), i = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : be(e.h) && be(e.s) && be(e.v) ? (o = Ue(e.s), a = Ue(e.v), t = qn(e.h, o, a), i = !0, c = "hsv") : be(e.h) && be(e.s) && be(e.l) && (o = Ue(e.s), l = Ue(e.l), t = Zn(e.h, o, l), i = !0, c = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = Gn(n), {
|
|
839
822
|
ok: i,
|
|
840
823
|
format: e.format || c,
|
|
841
824
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
@@ -844,7 +827,7 @@ function Ne(e) {
|
|
|
844
827
|
a: n
|
|
845
828
|
};
|
|
846
829
|
}
|
|
847
|
-
var
|
|
830
|
+
var eo = "[-\\+]?\\d+%?", to = "[-\\+]?\\d*\\.\\d+%?", Ce = "(?:".concat(to, ")|(?:").concat(eo, ")"), qe = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), Xe = "[\\s|\\(]+(".concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")[,|\\s]+(").concat(Ce, ")\\s*\\)?"), fe = {
|
|
848
831
|
CSS_UNIT: new RegExp(Ce),
|
|
849
832
|
rgb: new RegExp("rgb" + qe),
|
|
850
833
|
rgba: new RegExp("rgba" + Xe),
|
|
@@ -857,12 +840,12 @@ var to = "[-\\+]?\\d+%?", no = "[-\\+]?\\d*\\.\\d+%?", Ce = "(?:".concat(no, ")|
|
|
|
857
840
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
858
841
|
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
859
842
|
};
|
|
860
|
-
function
|
|
843
|
+
function no(e) {
|
|
861
844
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
862
845
|
return !1;
|
|
863
846
|
var t = !1;
|
|
864
|
-
if (
|
|
865
|
-
e =
|
|
847
|
+
if (Ct[e])
|
|
848
|
+
e = Ct[e], t = !0;
|
|
866
849
|
else if (e === "transparent")
|
|
867
850
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
868
851
|
var n = fe.rgb.exec(e);
|
|
@@ -870,7 +853,7 @@ function oo(e) {
|
|
|
870
853
|
r: ce(n[1]),
|
|
871
854
|
g: ce(n[2]),
|
|
872
855
|
b: ce(n[3]),
|
|
873
|
-
a:
|
|
856
|
+
a: wt(n[4]),
|
|
874
857
|
format: t ? "name" : "hex8"
|
|
875
858
|
} : (n = fe.hex6.exec(e), n ? {
|
|
876
859
|
r: ce(n[1]),
|
|
@@ -881,7 +864,7 @@ function oo(e) {
|
|
|
881
864
|
r: ce(n[1] + n[1]),
|
|
882
865
|
g: ce(n[2] + n[2]),
|
|
883
866
|
b: ce(n[3] + n[3]),
|
|
884
|
-
a:
|
|
867
|
+
a: wt(n[4] + n[4]),
|
|
885
868
|
format: t ? "name" : "hex8"
|
|
886
869
|
} : (n = fe.hex3.exec(e), n ? {
|
|
887
870
|
r: ce(n[1] + n[1]),
|
|
@@ -893,7 +876,7 @@ function oo(e) {
|
|
|
893
876
|
function be(e) {
|
|
894
877
|
return !!fe.CSS_UNIT.exec(String(e));
|
|
895
878
|
}
|
|
896
|
-
var We = 2,
|
|
879
|
+
var We = 2, St = 0.16, oo = 0.05, ao = 0.05, lo = 0.15, Zt = 5, Yt = 4, ro = [{
|
|
897
880
|
index: 7,
|
|
898
881
|
opacity: 0.15
|
|
899
882
|
}, {
|
|
@@ -924,8 +907,8 @@ var We = 2, Bt = 0.16, ao = 0.05, lo = 0.05, ro = 0.15, Zt = 5, Yt = 4, so = [{
|
|
|
924
907
|
index: 1,
|
|
925
908
|
opacity: 0.98
|
|
926
909
|
}];
|
|
927
|
-
function
|
|
928
|
-
var t = e.r, n = e.g, o = e.b, a =
|
|
910
|
+
function Bt(e) {
|
|
911
|
+
var t = e.r, n = e.g, o = e.b, a = Yn(t, n, o);
|
|
929
912
|
return {
|
|
930
913
|
h: a.h * 360,
|
|
931
914
|
s: a.s,
|
|
@@ -934,9 +917,9 @@ function xt(e) {
|
|
|
934
917
|
}
|
|
935
918
|
function Ke(e) {
|
|
936
919
|
var t = e.r, n = e.g, o = e.b;
|
|
937
|
-
return "#".concat(
|
|
920
|
+
return "#".concat(Xn(t, n, o));
|
|
938
921
|
}
|
|
939
|
-
function
|
|
922
|
+
function so(e, t, n) {
|
|
940
923
|
var o = n / 100, a = {
|
|
941
924
|
r: (t.r - e.r) * o + e.r,
|
|
942
925
|
g: (t.g - e.g) * o + e.g,
|
|
@@ -944,40 +927,40 @@ function uo(e, t, n) {
|
|
|
944
927
|
};
|
|
945
928
|
return a;
|
|
946
929
|
}
|
|
947
|
-
function
|
|
930
|
+
function xt(e, t, n) {
|
|
948
931
|
var o;
|
|
949
932
|
return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? o = n ? Math.round(e.h) - We * t : Math.round(e.h) + We * t : o = n ? Math.round(e.h) + We * t : Math.round(e.h) - We * t, o < 0 ? o += 360 : o >= 360 && (o -= 360), o;
|
|
950
933
|
}
|
|
951
|
-
function
|
|
934
|
+
function $t(e, t, n) {
|
|
952
935
|
if (e.h === 0 && e.s === 0)
|
|
953
936
|
return e.s;
|
|
954
937
|
var o;
|
|
955
|
-
return n ? o = e.s -
|
|
938
|
+
return n ? o = e.s - St * t : t === Yt ? o = e.s + St : o = e.s + oo * t, o > 1 && (o = 1), n && t === Zt && o > 0.1 && (o = 0.1), o < 0.06 && (o = 0.06), Number(o.toFixed(2));
|
|
956
939
|
}
|
|
957
|
-
function
|
|
940
|
+
function Et(e, t, n) {
|
|
958
941
|
var o;
|
|
959
|
-
return n ? o = e.v +
|
|
942
|
+
return n ? o = e.v + ao * t : o = e.v - lo * t, o > 1 && (o = 1), Number(o.toFixed(2));
|
|
960
943
|
}
|
|
961
944
|
function at(e) {
|
|
962
945
|
for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], o = Ne(e), a = Zt; a > 0; a -= 1) {
|
|
963
|
-
var l =
|
|
964
|
-
h:
|
|
965
|
-
s:
|
|
966
|
-
v:
|
|
946
|
+
var l = Bt(o), i = Ke(Ne({
|
|
947
|
+
h: xt(l, a, !0),
|
|
948
|
+
s: $t(l, a, !0),
|
|
949
|
+
v: Et(l, a, !0)
|
|
967
950
|
}));
|
|
968
951
|
n.push(i);
|
|
969
952
|
}
|
|
970
953
|
n.push(Ke(o));
|
|
971
954
|
for (var c = 1; c <= Yt; c += 1) {
|
|
972
|
-
var p =
|
|
973
|
-
h:
|
|
974
|
-
s:
|
|
975
|
-
v:
|
|
955
|
+
var p = Bt(o), m = Ke(Ne({
|
|
956
|
+
h: xt(p, c),
|
|
957
|
+
s: $t(p, c),
|
|
958
|
+
v: Et(p, c)
|
|
976
959
|
}));
|
|
977
960
|
n.push(m);
|
|
978
961
|
}
|
|
979
|
-
return t.theme === "dark" ?
|
|
980
|
-
var _ = y.index, h = y.opacity, g = Ke(
|
|
962
|
+
return t.theme === "dark" ? ro.map(function(y) {
|
|
963
|
+
var _ = y.index, h = y.opacity, g = Ke(so(Ne(t.backgroundColor || "#141414"), Ne(n[_]), h * 100));
|
|
981
964
|
return g;
|
|
982
965
|
}) : n;
|
|
983
966
|
}
|
|
@@ -1002,31 +985,31 @@ Object.keys(et).forEach(function(e) {
|
|
|
1002
985
|
backgroundColor: "#141414"
|
|
1003
986
|
}), tt[e].primary = tt[e][5];
|
|
1004
987
|
});
|
|
1005
|
-
var
|
|
1006
|
-
return S(
|
|
988
|
+
var uo = Ve.blue, io = Symbol("iconContext"), qt = function() {
|
|
989
|
+
return S(io, {
|
|
1007
990
|
prefixCls: B("anticon"),
|
|
1008
991
|
rootClassName: B(""),
|
|
1009
992
|
csp: B()
|
|
1010
993
|
});
|
|
1011
994
|
};
|
|
1012
|
-
function
|
|
995
|
+
function ct() {
|
|
1013
996
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
1014
997
|
}
|
|
1015
|
-
function
|
|
998
|
+
function co(e, t) {
|
|
1016
999
|
return e && e.contains ? e.contains(t) : !1;
|
|
1017
1000
|
}
|
|
1018
|
-
var
|
|
1001
|
+
var It = "data-vc-order", po = "vc-icon-key", lt = /* @__PURE__ */ new Map();
|
|
1019
1002
|
function Xt() {
|
|
1020
1003
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
|
|
1021
|
-
return t ? t.startsWith("data-") ? t : "data-".concat(t) :
|
|
1004
|
+
return t ? t.startsWith("data-") ? t : "data-".concat(t) : po;
|
|
1022
1005
|
}
|
|
1023
|
-
function
|
|
1006
|
+
function dt(e) {
|
|
1024
1007
|
if (e.attachTo)
|
|
1025
1008
|
return e.attachTo;
|
|
1026
1009
|
var t = document.querySelector("head");
|
|
1027
1010
|
return t || document.body;
|
|
1028
1011
|
}
|
|
1029
|
-
function
|
|
1012
|
+
function fo(e) {
|
|
1030
1013
|
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
1031
1014
|
}
|
|
1032
1015
|
function en(e) {
|
|
@@ -1036,15 +1019,15 @@ function en(e) {
|
|
|
1036
1019
|
}
|
|
1037
1020
|
function tn(e) {
|
|
1038
1021
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1039
|
-
if (!
|
|
1022
|
+
if (!ct())
|
|
1040
1023
|
return null;
|
|
1041
1024
|
var n = t.csp, o = t.prepend, a = document.createElement("style");
|
|
1042
|
-
a.setAttribute(
|
|
1043
|
-
var l =
|
|
1025
|
+
a.setAttribute(It, fo(o)), n && n.nonce && (a.nonce = n.nonce), a.innerHTML = e;
|
|
1026
|
+
var l = dt(t), i = l.firstChild;
|
|
1044
1027
|
if (o) {
|
|
1045
1028
|
if (o === "queue") {
|
|
1046
1029
|
var c = en(l).filter(function(p) {
|
|
1047
|
-
return ["prepend", "prependQueue"].includes(p.getAttribute(
|
|
1030
|
+
return ["prepend", "prependQueue"].includes(p.getAttribute(It));
|
|
1048
1031
|
});
|
|
1049
1032
|
if (c.length)
|
|
1050
1033
|
return l.insertBefore(a, c[c.length - 1].nextSibling), a;
|
|
@@ -1054,57 +1037,57 @@ function tn(e) {
|
|
|
1054
1037
|
l.appendChild(a);
|
|
1055
1038
|
return a;
|
|
1056
1039
|
}
|
|
1057
|
-
function
|
|
1058
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n =
|
|
1040
|
+
function mo(e) {
|
|
1041
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = dt(t);
|
|
1059
1042
|
return en(n).find(function(o) {
|
|
1060
1043
|
return o.getAttribute(Xt(t)) === e;
|
|
1061
1044
|
});
|
|
1062
1045
|
}
|
|
1063
|
-
function
|
|
1046
|
+
function yo(e, t) {
|
|
1064
1047
|
var n = lt.get(e);
|
|
1065
|
-
if (!n || !
|
|
1048
|
+
if (!n || !co(document, n)) {
|
|
1066
1049
|
var o = tn("", t), a = o.parentNode;
|
|
1067
1050
|
lt.set(e, a), e.removeChild(o);
|
|
1068
1051
|
}
|
|
1069
1052
|
}
|
|
1070
|
-
function
|
|
1071
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o =
|
|
1072
|
-
|
|
1073
|
-
var a =
|
|
1053
|
+
function ho(e, t) {
|
|
1054
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = dt(n);
|
|
1055
|
+
yo(o, n);
|
|
1056
|
+
var a = mo(t, n);
|
|
1074
1057
|
if (a)
|
|
1075
1058
|
return n.csp && n.csp.nonce && a.nonce !== n.csp.nonce && (a.nonce = n.csp.nonce), a.innerHTML !== e && (a.innerHTML = e), a;
|
|
1076
1059
|
var l = tn(e, n);
|
|
1077
1060
|
return l.setAttribute(Xt(n), t), l;
|
|
1078
1061
|
}
|
|
1079
|
-
function
|
|
1062
|
+
function Mt(e) {
|
|
1080
1063
|
for (var t = 1; t < arguments.length; t++) {
|
|
1081
1064
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1082
1065
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1083
1066
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1084
1067
|
}))), o.forEach(function(a) {
|
|
1085
|
-
|
|
1068
|
+
vo(e, a, n[a]);
|
|
1086
1069
|
});
|
|
1087
1070
|
}
|
|
1088
1071
|
return e;
|
|
1089
1072
|
}
|
|
1090
|
-
function
|
|
1073
|
+
function vo(e, t, n) {
|
|
1091
1074
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1092
1075
|
}
|
|
1093
|
-
function
|
|
1076
|
+
function bo(e, t) {
|
|
1094
1077
|
process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(t));
|
|
1095
1078
|
}
|
|
1096
|
-
function
|
|
1097
|
-
|
|
1079
|
+
function _o(e, t) {
|
|
1080
|
+
bo(e, "[@ant-design/icons-vue] ".concat(t));
|
|
1098
1081
|
}
|
|
1099
|
-
function
|
|
1082
|
+
function Tt(e) {
|
|
1100
1083
|
return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
|
|
1101
1084
|
}
|
|
1102
1085
|
function rt(e, t, n) {
|
|
1103
|
-
return n ?
|
|
1086
|
+
return n ? kt(e.tag, Mt({
|
|
1104
1087
|
key: t
|
|
1105
1088
|
}, n, e.attrs), (e.children || []).map(function(o, a) {
|
|
1106
1089
|
return rt(o, "".concat(t, "-").concat(e.tag, "-").concat(a));
|
|
1107
|
-
})) :
|
|
1090
|
+
})) : kt(e.tag, Mt({
|
|
1108
1091
|
key: t
|
|
1109
1092
|
}, e.attrs), (e.children || []).map(function(o, a) {
|
|
1110
1093
|
return rt(o, "".concat(t, "-").concat(e.tag, "-").concat(a));
|
|
@@ -1116,7 +1099,7 @@ function nn(e) {
|
|
|
1116
1099
|
function on(e) {
|
|
1117
1100
|
return e ? Array.isArray(e) ? e : [e] : [];
|
|
1118
1101
|
}
|
|
1119
|
-
var
|
|
1102
|
+
var go = `
|
|
1120
1103
|
.anticon {
|
|
1121
1104
|
display: inline-block;
|
|
1122
1105
|
color: inherit;
|
|
@@ -1174,28 +1157,28 @@ var ko = `
|
|
|
1174
1157
|
function an(e) {
|
|
1175
1158
|
return e && e.getRootNode && e.getRootNode();
|
|
1176
1159
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return
|
|
1160
|
+
function ko(e) {
|
|
1161
|
+
return ct() ? an(e) instanceof ShadowRoot : !1;
|
|
1179
1162
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return
|
|
1163
|
+
function wo(e) {
|
|
1164
|
+
return ko(e) ? an(e) : null;
|
|
1182
1165
|
}
|
|
1183
|
-
var
|
|
1184
|
-
var t = qt(), n = t.prefixCls, o = t.csp, a = pn(), l =
|
|
1166
|
+
var Co = function() {
|
|
1167
|
+
var t = qt(), n = t.prefixCls, o = t.csp, a = pn(), l = go;
|
|
1185
1168
|
n && (l = l.replace(/anticon/g, n.value)), Me(function() {
|
|
1186
|
-
if (
|
|
1187
|
-
var i = a.vnode.el, c =
|
|
1188
|
-
|
|
1169
|
+
if (ct()) {
|
|
1170
|
+
var i = a.vnode.el, c = wo(i);
|
|
1171
|
+
ho(l, "@ant-design-vue-icons", {
|
|
1189
1172
|
prepend: !0,
|
|
1190
1173
|
csp: o.value,
|
|
1191
1174
|
attachTo: c
|
|
1192
1175
|
});
|
|
1193
1176
|
}
|
|
1194
1177
|
});
|
|
1195
|
-
},
|
|
1196
|
-
function
|
|
1178
|
+
}, So = ["icon", "primaryColor", "secondaryColor"];
|
|
1179
|
+
function Bo(e, t) {
|
|
1197
1180
|
if (e == null) return {};
|
|
1198
|
-
var n =
|
|
1181
|
+
var n = xo(e, t), o, a;
|
|
1199
1182
|
if (Object.getOwnPropertySymbols) {
|
|
1200
1183
|
var l = Object.getOwnPropertySymbols(e);
|
|
1201
1184
|
for (a = 0; a < l.length; a++)
|
|
@@ -1203,7 +1186,7 @@ function xo(e, t) {
|
|
|
1203
1186
|
}
|
|
1204
1187
|
return n;
|
|
1205
1188
|
}
|
|
1206
|
-
function
|
|
1189
|
+
function xo(e, t) {
|
|
1207
1190
|
if (e == null) return {};
|
|
1208
1191
|
var n = {}, o = Object.keys(e), a, l;
|
|
1209
1192
|
for (l = 0; l < o.length; l++)
|
|
@@ -1216,12 +1199,12 @@ function De(e) {
|
|
|
1216
1199
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1217
1200
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1218
1201
|
}))), o.forEach(function(a) {
|
|
1219
|
-
|
|
1202
|
+
$o(e, a, n[a]);
|
|
1220
1203
|
});
|
|
1221
1204
|
}
|
|
1222
1205
|
return e;
|
|
1223
1206
|
}
|
|
1224
|
-
function
|
|
1207
|
+
function $o(e, t, n) {
|
|
1225
1208
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1226
1209
|
}
|
|
1227
1210
|
var Le = Te({
|
|
@@ -1229,19 +1212,19 @@ var Le = Te({
|
|
|
1229
1212
|
secondaryColor: "#E6E6E6",
|
|
1230
1213
|
calculated: !1
|
|
1231
1214
|
});
|
|
1232
|
-
function
|
|
1215
|
+
function Eo(e) {
|
|
1233
1216
|
var t = e.primaryColor, n = e.secondaryColor;
|
|
1234
1217
|
Le.primaryColor = t, Le.secondaryColor = n || nn(t), Le.calculated = !!n;
|
|
1235
1218
|
}
|
|
1236
|
-
function
|
|
1219
|
+
function Io() {
|
|
1237
1220
|
return De({}, Le);
|
|
1238
1221
|
}
|
|
1239
1222
|
var Be = function(t, n) {
|
|
1240
|
-
var o = De({}, t, n.attrs), a = o.icon, l = o.primaryColor, i = o.secondaryColor, c =
|
|
1223
|
+
var o = De({}, t, n.attrs), a = o.icon, l = o.primaryColor, i = o.secondaryColor, c = Bo(o, So), p = Le;
|
|
1241
1224
|
if (l && (p = {
|
|
1242
1225
|
primaryColor: l,
|
|
1243
1226
|
secondaryColor: i || nn(l)
|
|
1244
|
-
}),
|
|
1227
|
+
}), _o(Tt(a), "icon should be icon definiton, but got ".concat(a)), !Tt(a))
|
|
1245
1228
|
return null;
|
|
1246
1229
|
var m = a;
|
|
1247
1230
|
return m && typeof m.icon == "function" && (m = De({}, m, {
|
|
@@ -1262,30 +1245,30 @@ Be.props = {
|
|
|
1262
1245
|
};
|
|
1263
1246
|
Be.inheritAttrs = !1;
|
|
1264
1247
|
Be.displayName = "IconBase";
|
|
1265
|
-
Be.getTwoToneColors =
|
|
1266
|
-
Be.setTwoToneColors =
|
|
1267
|
-
function
|
|
1268
|
-
return
|
|
1248
|
+
Be.getTwoToneColors = Io;
|
|
1249
|
+
Be.setTwoToneColors = Eo;
|
|
1250
|
+
function Mo(e, t) {
|
|
1251
|
+
return Ao(e) || Ro(e, t) || Oo(e, t) || To();
|
|
1269
1252
|
}
|
|
1270
|
-
function
|
|
1253
|
+
function To() {
|
|
1271
1254
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1272
1255
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1273
1256
|
}
|
|
1274
|
-
function
|
|
1257
|
+
function Oo(e, t) {
|
|
1275
1258
|
if (e) {
|
|
1276
|
-
if (typeof e == "string") return
|
|
1259
|
+
if (typeof e == "string") return Ot(e, t);
|
|
1277
1260
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
1278
1261
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
1279
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
1262
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Ot(e, t);
|
|
1280
1263
|
}
|
|
1281
1264
|
}
|
|
1282
|
-
function
|
|
1265
|
+
function Ot(e, t) {
|
|
1283
1266
|
(t == null || t > e.length) && (t = e.length);
|
|
1284
1267
|
for (var n = 0, o = new Array(t); n < t; n++)
|
|
1285
1268
|
o[n] = e[n];
|
|
1286
1269
|
return o;
|
|
1287
1270
|
}
|
|
1288
|
-
function
|
|
1271
|
+
function Ro(e, t) {
|
|
1289
1272
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1290
1273
|
if (n != null) {
|
|
1291
1274
|
var o = [], a = !0, l = !1, i, c;
|
|
@@ -1304,50 +1287,50 @@ function Ao(e, t) {
|
|
|
1304
1287
|
return o;
|
|
1305
1288
|
}
|
|
1306
1289
|
}
|
|
1307
|
-
function
|
|
1290
|
+
function Ao(e) {
|
|
1308
1291
|
if (Array.isArray(e)) return e;
|
|
1309
1292
|
}
|
|
1310
1293
|
function ln(e) {
|
|
1311
|
-
var t = on(e), n =
|
|
1294
|
+
var t = on(e), n = Mo(t, 2), o = n[0], a = n[1];
|
|
1312
1295
|
return Be.setTwoToneColors({
|
|
1313
1296
|
primaryColor: o,
|
|
1314
1297
|
secondaryColor: a
|
|
1315
1298
|
});
|
|
1316
1299
|
}
|
|
1317
|
-
function
|
|
1300
|
+
function No() {
|
|
1318
1301
|
var e = Be.getTwoToneColors();
|
|
1319
1302
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
1320
1303
|
}
|
|
1321
|
-
var
|
|
1304
|
+
var Po = X({
|
|
1322
1305
|
name: "InsertStyles",
|
|
1323
1306
|
setup: function() {
|
|
1324
|
-
return
|
|
1307
|
+
return Co(), function() {
|
|
1325
1308
|
return null;
|
|
1326
1309
|
};
|
|
1327
1310
|
}
|
|
1328
|
-
}),
|
|
1329
|
-
function
|
|
1330
|
-
return
|
|
1311
|
+
}), zo = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
|
|
1312
|
+
function Lo(e, t) {
|
|
1313
|
+
return Ko(e) || Wo(e, t) || Uo(e, t) || jo();
|
|
1331
1314
|
}
|
|
1332
|
-
function
|
|
1315
|
+
function jo() {
|
|
1333
1316
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1334
1317
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1335
1318
|
}
|
|
1336
|
-
function
|
|
1319
|
+
function Uo(e, t) {
|
|
1337
1320
|
if (e) {
|
|
1338
|
-
if (typeof e == "string") return
|
|
1321
|
+
if (typeof e == "string") return Rt(e, t);
|
|
1339
1322
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
1340
1323
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
1341
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
1324
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Rt(e, t);
|
|
1342
1325
|
}
|
|
1343
1326
|
}
|
|
1344
|
-
function
|
|
1327
|
+
function Rt(e, t) {
|
|
1345
1328
|
(t == null || t > e.length) && (t = e.length);
|
|
1346
1329
|
for (var n = 0, o = new Array(t); n < t; n++)
|
|
1347
1330
|
o[n] = e[n];
|
|
1348
1331
|
return o;
|
|
1349
1332
|
}
|
|
1350
|
-
function
|
|
1333
|
+
function Wo(e, t) {
|
|
1351
1334
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1352
1335
|
if (n != null) {
|
|
1353
1336
|
var o = [], a = !0, l = !1, i, c;
|
|
@@ -1366,10 +1349,10 @@ function Ko(e, t) {
|
|
|
1366
1349
|
return o;
|
|
1367
1350
|
}
|
|
1368
1351
|
}
|
|
1369
|
-
function
|
|
1352
|
+
function Ko(e) {
|
|
1370
1353
|
if (Array.isArray(e)) return e;
|
|
1371
1354
|
}
|
|
1372
|
-
function
|
|
1355
|
+
function At(e) {
|
|
1373
1356
|
for (var t = 1; t < arguments.length; t++) {
|
|
1374
1357
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1375
1358
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
@@ -1383,9 +1366,9 @@ function Nt(e) {
|
|
|
1383
1366
|
function Pe(e, t, n) {
|
|
1384
1367
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1385
1368
|
}
|
|
1386
|
-
function
|
|
1369
|
+
function Fo(e, t) {
|
|
1387
1370
|
if (e == null) return {};
|
|
1388
|
-
var n =
|
|
1371
|
+
var n = Vo(e, t), o, a;
|
|
1389
1372
|
if (Object.getOwnPropertySymbols) {
|
|
1390
1373
|
var l = Object.getOwnPropertySymbols(e);
|
|
1391
1374
|
for (a = 0; a < l.length; a++)
|
|
@@ -1393,34 +1376,34 @@ function Vo(e, t) {
|
|
|
1393
1376
|
}
|
|
1394
1377
|
return n;
|
|
1395
1378
|
}
|
|
1396
|
-
function
|
|
1379
|
+
function Vo(e, t) {
|
|
1397
1380
|
if (e == null) return {};
|
|
1398
1381
|
var n = {}, o = Object.keys(e), a, l;
|
|
1399
1382
|
for (l = 0; l < o.length; l++)
|
|
1400
1383
|
a = o[l], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
|
|
1401
1384
|
return n;
|
|
1402
1385
|
}
|
|
1403
|
-
ln(
|
|
1386
|
+
ln(uo.primary);
|
|
1404
1387
|
var me = function(t, n) {
|
|
1405
|
-
var o, a =
|
|
1406
|
-
|
|
1388
|
+
var o, a = At({}, t, n.attrs), l = a.class, i = a.icon, c = a.spin, p = a.rotate, m = a.tabindex, y = a.twoToneColor, _ = a.onClick, h = Fo(a, zo), g = qt(), b = g.prefixCls, A = g.rootClassName, T = (o = {}, Pe(o, A.value, !!A.value), Pe(o, b.value, !0), Pe(o, "".concat(b.value, "-").concat(i.name), !!i.name), Pe(o, "".concat(b.value, "-spin"), !!c || i.name === "loading"), o), M = m;
|
|
1389
|
+
M === void 0 && _ && (M = -1);
|
|
1407
1390
|
var C = p ? {
|
|
1408
1391
|
msTransform: "rotate(".concat(p, "deg)"),
|
|
1409
1392
|
transform: "rotate(".concat(p, "deg)")
|
|
1410
|
-
} : void 0, k = on(y), x =
|
|
1411
|
-
return u("span",
|
|
1393
|
+
} : void 0, k = on(y), x = Lo(k, 2), L = x[0], R = x[1];
|
|
1394
|
+
return u("span", At({
|
|
1412
1395
|
role: "img",
|
|
1413
1396
|
"aria-label": i.name
|
|
1414
1397
|
}, h, {
|
|
1415
1398
|
onClick: _,
|
|
1416
|
-
class: [
|
|
1417
|
-
tabindex:
|
|
1399
|
+
class: [T, l],
|
|
1400
|
+
tabindex: M
|
|
1418
1401
|
}), [u(Be, {
|
|
1419
1402
|
icon: i,
|
|
1420
|
-
primaryColor:
|
|
1403
|
+
primaryColor: L,
|
|
1421
1404
|
secondaryColor: R,
|
|
1422
1405
|
style: C
|
|
1423
|
-
}, null), u(
|
|
1406
|
+
}, null), u(Po, null, null)]);
|
|
1424
1407
|
};
|
|
1425
1408
|
me.props = {
|
|
1426
1409
|
spin: Boolean,
|
|
@@ -1430,170 +1413,170 @@ me.props = {
|
|
|
1430
1413
|
};
|
|
1431
1414
|
me.displayName = "AntdIcon";
|
|
1432
1415
|
me.inheritAttrs = !1;
|
|
1433
|
-
me.getTwoToneColor =
|
|
1416
|
+
me.getTwoToneColor = No;
|
|
1434
1417
|
me.setTwoToneColor = ln;
|
|
1435
|
-
var
|
|
1418
|
+
var Do = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" };
|
|
1419
|
+
function Nt(e) {
|
|
1420
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1421
|
+
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1422
|
+
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1423
|
+
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1424
|
+
}))), o.forEach(function(a) {
|
|
1425
|
+
Ho(e, a, n[a]);
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1428
|
+
return e;
|
|
1429
|
+
}
|
|
1430
|
+
function Ho(e, t, n) {
|
|
1431
|
+
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1432
|
+
}
|
|
1433
|
+
var pt = function(t, n) {
|
|
1434
|
+
var o = Nt({}, t, n.attrs);
|
|
1435
|
+
return u(me, Nt({}, o, {
|
|
1436
|
+
icon: Do
|
|
1437
|
+
}), null);
|
|
1438
|
+
};
|
|
1439
|
+
pt.displayName = "CloseOutlined";
|
|
1440
|
+
pt.inheritAttrs = !1;
|
|
1441
|
+
var Qo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M342 88H120c-17.7 0-32 14.3-32 32v224c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V168h174c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zm578 576h-48c-8.8 0-16 7.2-16 16v176H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h222c17.7 0 32-14.3 32-32V680c0-8.8-7.2-16-16-16zM342 856H168V680c0-8.8-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16v224c0 17.7 14.3 32 32 32h222c8.8 0 16-7.2 16-16v-48c0-8.8-7.2-16-16-16zM904 88H682c-8.8 0-16 7.2-16 16v48c0 8.8 7.2 16 16 16h174v176c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16V120c0-17.7-14.3-32-32-32z" } }] }, name: "expand", theme: "outlined" };
|
|
1436
1442
|
function Pt(e) {
|
|
1437
1443
|
for (var t = 1; t < arguments.length; t++) {
|
|
1438
1444
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1439
1445
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1440
1446
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1441
1447
|
}))), o.forEach(function(a) {
|
|
1442
|
-
|
|
1448
|
+
Go(e, a, n[a]);
|
|
1443
1449
|
});
|
|
1444
1450
|
}
|
|
1445
1451
|
return e;
|
|
1446
1452
|
}
|
|
1447
|
-
function
|
|
1453
|
+
function Go(e, t, n) {
|
|
1448
1454
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1449
1455
|
}
|
|
1450
1456
|
var ft = function(t, n) {
|
|
1451
1457
|
var o = Pt({}, t, n.attrs);
|
|
1452
1458
|
return u(me, Pt({}, o, {
|
|
1453
|
-
icon:
|
|
1459
|
+
icon: Qo
|
|
1454
1460
|
}), null);
|
|
1455
1461
|
};
|
|
1456
|
-
ft.displayName = "
|
|
1462
|
+
ft.displayName = "ExpandOutlined";
|
|
1457
1463
|
ft.inheritAttrs = !1;
|
|
1458
|
-
var
|
|
1464
|
+
var Jo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z" } }] }, name: "menu-fold", theme: "outlined" };
|
|
1459
1465
|
function zt(e) {
|
|
1460
1466
|
for (var t = 1; t < arguments.length; t++) {
|
|
1461
1467
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1462
1468
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1463
1469
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1464
1470
|
}))), o.forEach(function(a) {
|
|
1465
|
-
|
|
1471
|
+
Zo(e, a, n[a]);
|
|
1466
1472
|
});
|
|
1467
1473
|
}
|
|
1468
1474
|
return e;
|
|
1469
1475
|
}
|
|
1470
|
-
function
|
|
1476
|
+
function Zo(e, t, n) {
|
|
1471
1477
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1472
1478
|
}
|
|
1473
1479
|
var mt = function(t, n) {
|
|
1474
1480
|
var o = zt({}, t, n.attrs);
|
|
1475
1481
|
return u(me, zt({}, o, {
|
|
1476
|
-
icon:
|
|
1482
|
+
icon: Jo
|
|
1477
1483
|
}), null);
|
|
1478
1484
|
};
|
|
1479
|
-
mt.displayName = "
|
|
1485
|
+
mt.displayName = "MenuFoldOutlined";
|
|
1480
1486
|
mt.inheritAttrs = !1;
|
|
1481
|
-
var
|
|
1487
|
+
var Yo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z" } }] }, name: "menu-unfold", theme: "outlined" };
|
|
1482
1488
|
function Lt(e) {
|
|
1483
1489
|
for (var t = 1; t < arguments.length; t++) {
|
|
1484
1490
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1485
1491
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1486
1492
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1487
1493
|
}))), o.forEach(function(a) {
|
|
1488
|
-
|
|
1494
|
+
qo(e, a, n[a]);
|
|
1489
1495
|
});
|
|
1490
1496
|
}
|
|
1491
1497
|
return e;
|
|
1492
1498
|
}
|
|
1493
|
-
function
|
|
1499
|
+
function qo(e, t, n) {
|
|
1494
1500
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1495
1501
|
}
|
|
1496
1502
|
var yt = function(t, n) {
|
|
1497
1503
|
var o = Lt({}, t, n.attrs);
|
|
1498
1504
|
return u(me, Lt({}, o, {
|
|
1499
|
-
icon:
|
|
1505
|
+
icon: Yo
|
|
1500
1506
|
}), null);
|
|
1501
1507
|
};
|
|
1502
|
-
yt.displayName = "
|
|
1508
|
+
yt.displayName = "MenuUnfoldOutlined";
|
|
1503
1509
|
yt.inheritAttrs = !1;
|
|
1504
|
-
var
|
|
1510
|
+
var Xo = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z" } }] }, name: "sync", theme: "outlined" };
|
|
1505
1511
|
function jt(e) {
|
|
1506
1512
|
for (var t = 1; t < arguments.length; t++) {
|
|
1507
1513
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1508
1514
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1509
1515
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1510
1516
|
}))), o.forEach(function(a) {
|
|
1511
|
-
|
|
1517
|
+
ea(e, a, n[a]);
|
|
1512
1518
|
});
|
|
1513
1519
|
}
|
|
1514
1520
|
return e;
|
|
1515
1521
|
}
|
|
1516
|
-
function
|
|
1522
|
+
function ea(e, t, n) {
|
|
1517
1523
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1518
1524
|
}
|
|
1519
1525
|
var ht = function(t, n) {
|
|
1520
1526
|
var o = jt({}, t, n.attrs);
|
|
1521
1527
|
return u(me, jt({}, o, {
|
|
1522
|
-
icon:
|
|
1528
|
+
icon: Xo
|
|
1523
1529
|
}), null);
|
|
1524
1530
|
};
|
|
1525
|
-
ht.displayName = "
|
|
1531
|
+
ht.displayName = "SyncOutlined";
|
|
1526
1532
|
ht.inheritAttrs = !1;
|
|
1527
|
-
var
|
|
1533
|
+
var ta = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M483.2 790.3L861.4 412c1.7-1.7 2.5-4 2.3-6.3l-25.5-301.4c-.7-7.8-6.8-13.9-14.6-14.6L522.2 64.3c-2.3-.2-4.7.6-6.3 2.3L137.7 444.8a8.03 8.03 0 000 11.3l334.2 334.2c3.1 3.2 8.2 3.2 11.3 0zm62.6-651.7l224.6 19 19 224.6L477.5 694 233.9 450.5l311.9-311.9zm60.16 186.23a48 48 0 1067.88-67.89 48 48 0 10-67.88 67.89zM889.7 539.8l-39.6-39.5a8.03 8.03 0 00-11.3 0l-362 361.3-237.6-237a8.03 8.03 0 00-11.3 0l-39.6 39.5a8.03 8.03 0 000 11.3l243.2 242.8 39.6 39.5c3.1 3.1 8.2 3.1 11.3 0l407.3-406.6c3.1-3.1 3.1-8.2 0-11.3z" } }] }, name: "tags", theme: "outlined" };
|
|
1528
1534
|
function Ut(e) {
|
|
1529
1535
|
for (var t = 1; t < arguments.length; t++) {
|
|
1530
1536
|
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1531
1537
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1532
1538
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1533
1539
|
}))), o.forEach(function(a) {
|
|
1534
|
-
|
|
1540
|
+
na(e, a, n[a]);
|
|
1535
1541
|
});
|
|
1536
1542
|
}
|
|
1537
1543
|
return e;
|
|
1538
1544
|
}
|
|
1539
|
-
function
|
|
1545
|
+
function na(e, t, n) {
|
|
1540
1546
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1541
1547
|
}
|
|
1542
1548
|
var vt = function(t, n) {
|
|
1543
1549
|
var o = Ut({}, t, n.attrs);
|
|
1544
1550
|
return u(me, Ut({}, o, {
|
|
1545
|
-
icon:
|
|
1551
|
+
icon: ta
|
|
1546
1552
|
}), null);
|
|
1547
1553
|
};
|
|
1548
|
-
vt.displayName = "
|
|
1554
|
+
vt.displayName = "TagsOutlined";
|
|
1549
1555
|
vt.inheritAttrs = !1;
|
|
1550
|
-
|
|
1551
|
-
function
|
|
1552
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
1553
|
-
var n = arguments[t] != null ? Object(arguments[t]) : {}, o = Object.keys(n);
|
|
1554
|
-
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
1555
|
-
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
1556
|
-
}))), o.forEach(function(a) {
|
|
1557
|
-
oa(e, a, n[a]);
|
|
1558
|
-
});
|
|
1559
|
-
}
|
|
1560
|
-
return e;
|
|
1561
|
-
}
|
|
1562
|
-
function oa(e, t, n) {
|
|
1563
|
-
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
1564
|
-
}
|
|
1565
|
-
var bt = function(t, n) {
|
|
1566
|
-
var o = Wt({}, t, n.attrs);
|
|
1567
|
-
return u(me, Wt({}, o, {
|
|
1568
|
-
icon: na
|
|
1569
|
-
}), null);
|
|
1570
|
-
};
|
|
1571
|
-
bt.displayName = "TagsOutlined";
|
|
1572
|
-
bt.inheritAttrs = !1;
|
|
1573
|
-
const _t = {};
|
|
1574
|
-
_t.screen = function(e) {
|
|
1556
|
+
const bt = {};
|
|
1557
|
+
bt.screen = function(e) {
|
|
1575
1558
|
var t = !!(document.webkitIsFullScreen || document.mozFullScreen || document.msFullscreenElement || document.fullscreenElement);
|
|
1576
1559
|
t ? document.exitFullscreen ? document.exitFullscreen() : document.msExitFullscreen ? document.msExitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.webkitExitFullscreen && document.webkitExitFullscreen() : e.requestFullscreen ? e.requestFullscreen() : e.msRequestFullscreen ? e.msRequestFullscreen() : e.mozRequestFullScreen ? e.mozRequestFullScreen() : e.webkitRequestFullscreen && e.webkitRequestFullscreen();
|
|
1577
1560
|
};
|
|
1578
|
-
|
|
1561
|
+
bt.IterationDelateMenuChildren = function(e) {
|
|
1579
1562
|
if (e.length)
|
|
1580
1563
|
for (let t in e)
|
|
1581
1564
|
e[t].children && e[t].children.length ? IterationDelateMenuChildren(e[t].children) : delete e[t].children;
|
|
1582
1565
|
return e;
|
|
1583
1566
|
};
|
|
1584
|
-
function
|
|
1567
|
+
function _t(e, t) {
|
|
1585
1568
|
for (const n of e) {
|
|
1586
1569
|
if (t(n)) return n;
|
|
1587
1570
|
if (n.children) {
|
|
1588
|
-
const o =
|
|
1571
|
+
const o = _t(n.children, t);
|
|
1589
1572
|
if (o) return o;
|
|
1590
1573
|
}
|
|
1591
1574
|
}
|
|
1592
1575
|
return null;
|
|
1593
1576
|
}
|
|
1594
|
-
const
|
|
1577
|
+
const gt = (e) => {
|
|
1595
1578
|
if (e[0].children) {
|
|
1596
|
-
const t =
|
|
1579
|
+
const t = gt(e[0].children);
|
|
1597
1580
|
if (t) return t;
|
|
1598
1581
|
} else
|
|
1599
1582
|
return e[0];
|
|
@@ -1608,8 +1591,8 @@ function rn(e, t = "key") {
|
|
|
1608
1591
|
}
|
|
1609
1592
|
}), n;
|
|
1610
1593
|
}
|
|
1611
|
-
const
|
|
1612
|
-
components: { SyncOutlined:
|
|
1594
|
+
const oa = X({
|
|
1595
|
+
components: { SyncOutlined: ht, CloseOutlined: pt, ExpandOutlined: ft, TagsOutlined: vt },
|
|
1613
1596
|
props: {
|
|
1614
1597
|
menuTree: {
|
|
1615
1598
|
type: Array
|
|
@@ -1646,10 +1629,10 @@ const aa = X({
|
|
|
1646
1629
|
p(k.fullPath);
|
|
1647
1630
|
}, b = () => {
|
|
1648
1631
|
var k = l.value, x = [...a.value];
|
|
1649
|
-
x.forEach((
|
|
1650
|
-
if (
|
|
1632
|
+
x.forEach((L) => {
|
|
1633
|
+
if (L.meta && L.meta.affix || k.fullPath == L.fullPath)
|
|
1651
1634
|
return !0;
|
|
1652
|
-
p(
|
|
1635
|
+
p(L.fullPath);
|
|
1653
1636
|
});
|
|
1654
1637
|
}, A = () => {
|
|
1655
1638
|
var k = l.value;
|
|
@@ -1658,20 +1641,20 @@ const aa = X({
|
|
|
1658
1641
|
query: k.query
|
|
1659
1642
|
});
|
|
1660
1643
|
var x = document.getElementById("ant-layout-content");
|
|
1661
|
-
|
|
1662
|
-
},
|
|
1644
|
+
bt.screen(x);
|
|
1645
|
+
}, T = () => {
|
|
1663
1646
|
var k = l.value, x = k.href || "/";
|
|
1664
1647
|
k.meta.affix || p(k.name), window.open(x);
|
|
1665
|
-
},
|
|
1648
|
+
}, M = S("routerDepth"), C = B([]);
|
|
1666
1649
|
C.value = n.options.routes;
|
|
1667
|
-
for (let k = 0; k <
|
|
1650
|
+
for (let k = 0; k < M.value; k++)
|
|
1668
1651
|
C.value = C.value[0].children;
|
|
1669
1652
|
return Me(() => {
|
|
1670
|
-
var k =
|
|
1653
|
+
var k = _t(C.value, (L) => L.name == n.currentRoute.value.name);
|
|
1671
1654
|
if (k)
|
|
1672
1655
|
k.fullPath = k.path, c(k);
|
|
1673
1656
|
else if (C.value.length) {
|
|
1674
|
-
var x =
|
|
1657
|
+
var x = gt(C.value);
|
|
1675
1658
|
x.fullPath = x.path, c(x);
|
|
1676
1659
|
}
|
|
1677
1660
|
}), ue(n.currentRoute, (k) => {
|
|
@@ -1692,14 +1675,14 @@ const aa = X({
|
|
|
1692
1675
|
closeTabs: g,
|
|
1693
1676
|
closeOtherTabs: b,
|
|
1694
1677
|
screen: A,
|
|
1695
|
-
openWindow:
|
|
1678
|
+
openWindow: T
|
|
1696
1679
|
};
|
|
1697
1680
|
}
|
|
1698
|
-
}),
|
|
1699
|
-
function
|
|
1700
|
-
const i = r("a-icon"), c = r("SyncOutlined"), p = r("a-menu-item"), m = r("a-menu-divider"), y = r("CloseOutlined"), _ = r("ExpandOutlined"), h = r("TagsOutlined"), g = r("a-menu"), b = r("a-dropdown"), A = r("a-tab-pane"),
|
|
1701
|
-
return d(), I("div",
|
|
1702
|
-
u(
|
|
1681
|
+
}), aa = { ref: "tags" }, la = ["onContextmenu"], ra = { style: { padding: "8px 0" } };
|
|
1682
|
+
function sa(e, t, n, o, a, l) {
|
|
1683
|
+
const i = r("a-icon"), c = r("SyncOutlined"), p = r("a-menu-item"), m = r("a-menu-divider"), y = r("CloseOutlined"), _ = r("ExpandOutlined"), h = r("TagsOutlined"), g = r("a-menu"), b = r("a-dropdown"), A = r("a-tab-pane"), T = r("a-tabs");
|
|
1684
|
+
return d(), I("div", aa, [
|
|
1685
|
+
u(T, {
|
|
1703
1686
|
activeKey: e.$route.fullPath,
|
|
1704
1687
|
size: "small",
|
|
1705
1688
|
"hide-add": "",
|
|
@@ -1709,10 +1692,10 @@ function ua(e, t, n, o, a, l) {
|
|
|
1709
1692
|
class: "tabs"
|
|
1710
1693
|
}, {
|
|
1711
1694
|
default: s(() => [
|
|
1712
|
-
(d(!0), I(
|
|
1713
|
-
key:
|
|
1695
|
+
(d(!0), I(U, null, Z(e.tagList, (M) => (d(), v(A, {
|
|
1696
|
+
key: M.fullPath,
|
|
1714
1697
|
class: "mb-0",
|
|
1715
|
-
closable: !
|
|
1698
|
+
closable: !M.meta.affix
|
|
1716
1699
|
}, {
|
|
1717
1700
|
closeIcon: s(() => [
|
|
1718
1701
|
u(i, {
|
|
@@ -1722,7 +1705,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1722
1705
|
]),
|
|
1723
1706
|
tab: s(() => [
|
|
1724
1707
|
f("div", {
|
|
1725
|
-
onContextmenu:
|
|
1708
|
+
onContextmenu: st((C) => e.openContextMenu(C, M), ["prevent"])
|
|
1726
1709
|
}, [
|
|
1727
1710
|
u(b, { trigger: ["contextmenu"] }, {
|
|
1728
1711
|
overlay: s(() => [
|
|
@@ -1783,11 +1766,11 @@ function ua(e, t, n, o, a, l) {
|
|
|
1783
1766
|
})
|
|
1784
1767
|
]),
|
|
1785
1768
|
default: s(() => [
|
|
1786
|
-
f("div",
|
|
1769
|
+
f("div", ra, j(M.meta.title), 1)
|
|
1787
1770
|
]),
|
|
1788
1771
|
_: 2
|
|
1789
1772
|
}, 1024)
|
|
1790
|
-
], 40,
|
|
1773
|
+
], 40, la)
|
|
1791
1774
|
]),
|
|
1792
1775
|
_: 2
|
|
1793
1776
|
}, 1032, ["closable"]))), 128))
|
|
@@ -1796,7 +1779,7 @@ function ua(e, t, n, o, a, l) {
|
|
|
1796
1779
|
}, 8, ["activeKey", "onChange", "onEdit"])
|
|
1797
1780
|
], 512);
|
|
1798
1781
|
}
|
|
1799
|
-
const xe = /* @__PURE__ */ D(
|
|
1782
|
+
const xe = /* @__PURE__ */ D(oa, [["render", sa]]), ua = { class: "d-flex justify-content-between" }, ia = { key: 0 }, $e = {
|
|
1800
1783
|
__name: "Breadcrumb",
|
|
1801
1784
|
props: {
|
|
1802
1785
|
showMenuToggle: {
|
|
@@ -1808,24 +1791,24 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1808
1791
|
const t = oe(), n = ae(), o = w(() => n.currentRoute.value.matched), a = w(() => t.state.app.menuIsCollapse);
|
|
1809
1792
|
return (l, i) => {
|
|
1810
1793
|
const c = r("a-breadcrumb-item"), p = r("a-breadcrumb"), m = r("a-space");
|
|
1811
|
-
return d(), I("div",
|
|
1794
|
+
return d(), I("div", ua, [
|
|
1812
1795
|
u(m, { size: "small" }, {
|
|
1813
1796
|
default: s(() => [
|
|
1814
|
-
e.showMenuToggle ? (d(), I("div",
|
|
1815
|
-
a.value ? (d(), v(O(
|
|
1797
|
+
e.showMenuToggle ? (d(), I("div", ia, [
|
|
1798
|
+
a.value ? (d(), v(O(yt), {
|
|
1816
1799
|
key: 0,
|
|
1817
1800
|
class: "trigger",
|
|
1818
1801
|
onClick: i[0] || (i[0] = (y) => l.$store.commit("TOGGLE_menuIsCollapse"))
|
|
1819
|
-
})) : (d(), v(O(
|
|
1802
|
+
})) : (d(), v(O(mt), {
|
|
1820
1803
|
key: 1,
|
|
1821
1804
|
class: "trigger",
|
|
1822
1805
|
onClick: i[1] || (i[1] = (y) => l.$store.commit("TOGGLE_menuIsCollapse"))
|
|
1823
1806
|
}))
|
|
1824
|
-
])) :
|
|
1807
|
+
])) : $("", !0),
|
|
1825
1808
|
i[2] || (i[2] = f("div", null, null, -1)),
|
|
1826
1809
|
u(p, { separator: ">" }, {
|
|
1827
1810
|
default: s(() => [
|
|
1828
|
-
(d(!0), I(
|
|
1811
|
+
(d(!0), I(U, null, Z(o.value, (y) => (d(), I(U, {
|
|
1829
1812
|
key: y.meta.title
|
|
1830
1813
|
}, [
|
|
1831
1814
|
y.meta.title ? (d(), v(c, {
|
|
@@ -1835,7 +1818,7 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1835
1818
|
G(j(y.meta.title), 1)
|
|
1836
1819
|
]),
|
|
1837
1820
|
_: 2
|
|
1838
|
-
}, 1024)) :
|
|
1821
|
+
}, 1024)) : $("", !0)
|
|
1839
1822
|
], 64))), 128))
|
|
1840
1823
|
]),
|
|
1841
1824
|
_: 1
|
|
@@ -1843,11 +1826,11 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1843
1826
|
]),
|
|
1844
1827
|
_: 1
|
|
1845
1828
|
}),
|
|
1846
|
-
|
|
1829
|
+
z(l.$slots, "userBar")
|
|
1847
1830
|
]);
|
|
1848
1831
|
};
|
|
1849
1832
|
}
|
|
1850
|
-
},
|
|
1833
|
+
}, ca = {
|
|
1851
1834
|
__name: "MobileMenuButton",
|
|
1852
1835
|
setup(e) {
|
|
1853
1836
|
const t = B(null), n = B(!1);
|
|
@@ -1886,8 +1869,8 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1886
1869
|
], 544);
|
|
1887
1870
|
};
|
|
1888
1871
|
}
|
|
1889
|
-
},
|
|
1890
|
-
components: { NavMenu: ye, MobileMenuButton:
|
|
1872
|
+
}, da = /* @__PURE__ */ D(ca, [["__scopeId", "data-v-1f824705"]]), pa = X({
|
|
1873
|
+
components: { NavMenu: ye, MobileMenuButton: da },
|
|
1891
1874
|
setup() {
|
|
1892
1875
|
const e = oe(), t = S("menuDrawerRef"), n = () => {
|
|
1893
1876
|
t.value.open = !0;
|
|
@@ -1899,18 +1882,18 @@ const xe = /* @__PURE__ */ D(aa, [["render", ua]]), ia = { class: "d-flex justif
|
|
|
1899
1882
|
app38: Gt
|
|
1900
1883
|
};
|
|
1901
1884
|
}
|
|
1902
|
-
}),
|
|
1903
|
-
function
|
|
1885
|
+
}), fa = { class: "d-flex justify-content-between" }, ma = { class: "d-flex justify-content-between align-items-center" }, ya = { class: "flex-fill d-flex justify-content-end align-items-center" };
|
|
1886
|
+
function ha(e, t, n, o, a, l) {
|
|
1904
1887
|
r("MobileMenuButton");
|
|
1905
1888
|
const i = r("a-icon"), c = r("a-button");
|
|
1906
1889
|
r("a-space");
|
|
1907
1890
|
const p = r("a-layout-header");
|
|
1908
|
-
return d(), I(
|
|
1909
|
-
|
|
1891
|
+
return d(), I(U, null, [
|
|
1892
|
+
$("", !0),
|
|
1910
1893
|
u(p, { class: "px-2 header-h40 shadow-sm ant-primary-color bg-white" }, {
|
|
1911
1894
|
default: s(() => [
|
|
1912
|
-
f("div",
|
|
1913
|
-
f("div",
|
|
1895
|
+
f("div", fa, [
|
|
1896
|
+
f("div", ma, [
|
|
1914
1897
|
u(c, {
|
|
1915
1898
|
type: "text",
|
|
1916
1899
|
shape: "circle",
|
|
@@ -1926,11 +1909,11 @@ function va(e, t, n, o, a, l) {
|
|
|
1926
1909
|
]),
|
|
1927
1910
|
_: 1
|
|
1928
1911
|
}, 8, ["onClick"]),
|
|
1929
|
-
|
|
1912
|
+
$("", !0)
|
|
1930
1913
|
]),
|
|
1931
|
-
f("div",
|
|
1932
|
-
|
|
1933
|
-
|
|
1914
|
+
f("div", ya, [
|
|
1915
|
+
$("", !0),
|
|
1916
|
+
$("", !0)
|
|
1934
1917
|
])
|
|
1935
1918
|
])
|
|
1936
1919
|
]),
|
|
@@ -1938,7 +1921,7 @@ function va(e, t, n, o, a, l) {
|
|
|
1938
1921
|
})
|
|
1939
1922
|
], 64);
|
|
1940
1923
|
}
|
|
1941
|
-
const Ee = /* @__PURE__ */ D(
|
|
1924
|
+
const Ee = /* @__PURE__ */ D(pa, [["render", ha]]), Ie = {
|
|
1942
1925
|
__name: "WorkflowTodoBell",
|
|
1943
1926
|
setup(e) {
|
|
1944
1927
|
const t = oe(), n = ae();
|
|
@@ -1971,7 +1954,7 @@ const Ee = /* @__PURE__ */ D(fa, [["render", va]]), Ie = {
|
|
|
1971
1954
|
]);
|
|
1972
1955
|
};
|
|
1973
1956
|
}
|
|
1974
|
-
},
|
|
1957
|
+
}, va = X({
|
|
1975
1958
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
1976
1959
|
setup() {
|
|
1977
1960
|
const e = oe(), t = ae(), n = S("menu"), o = S("breakpoint", B(!1)), a = S("onBreakpoint", () => {
|
|
@@ -1994,27 +1977,27 @@ const Ee = /* @__PURE__ */ D(fa, [["render", va]]), Ie = {
|
|
|
1994
1977
|
todoBellEnabled: w(() => e.state.app.todoBellEnabled)
|
|
1995
1978
|
};
|
|
1996
1979
|
}
|
|
1997
|
-
}),
|
|
1998
|
-
function
|
|
1999
|
-
const i = r("a-icon"), c = r("NavMenu"), p = r("a-menu"), m = r("a-divider"), y = r("WorkflowTodoBell"), _ = r("UserBar"), h = r("a-space"), g = r("a-layout-header"), b = r("router-view"), A = r("a-layout-content"),
|
|
2000
|
-
return d(), v(
|
|
1980
|
+
}), ba = { class: "d-flex justify-content-between" }, _a = { class: "d-flex align-items-center" }, ga = { class: "mb-0 px-2 fs-5 fw-bold" }, ka = { class: "flex-fill d-flex justify-content-end h-100" }, wa = { key: 0 };
|
|
1981
|
+
function Ca(e, t, n, o, a, l) {
|
|
1982
|
+
const i = r("a-icon"), c = r("NavMenu"), p = r("a-menu"), m = r("a-divider"), y = r("WorkflowTodoBell"), _ = r("UserBar"), h = r("a-space"), g = r("a-layout-header"), b = r("router-view"), A = r("a-layout-content"), T = r("a-layout");
|
|
1983
|
+
return d(), v(T, { class: "app-layout bg-white" }, {
|
|
2001
1984
|
default: s(() => [
|
|
2002
1985
|
u(g, {
|
|
2003
1986
|
class: "px-3 bg-white border-bottom",
|
|
2004
1987
|
style: { height: "64px", "line-height": "64px" }
|
|
2005
1988
|
}, {
|
|
2006
1989
|
default: s(() => [
|
|
2007
|
-
f("div",
|
|
2008
|
-
f("div",
|
|
1990
|
+
f("div", ba, [
|
|
1991
|
+
f("div", _a, [
|
|
2009
1992
|
u(i, {
|
|
2010
1993
|
type: "icon-codelibrary",
|
|
2011
1994
|
class: "font1-5 text-bg-primary bg-opacity-75 rounded-4 rounded-end rounded-bottom p-1"
|
|
2012
1995
|
}),
|
|
2013
|
-
f("h6",
|
|
1996
|
+
f("h6", ga, [
|
|
2014
1997
|
f("small", null, j(e.appName), 1)
|
|
2015
1998
|
])
|
|
2016
1999
|
]),
|
|
2017
|
-
f("div",
|
|
2000
|
+
f("div", ka, [
|
|
2018
2001
|
u(p, {
|
|
2019
2002
|
selectedKeys: [e.$route.path],
|
|
2020
2003
|
mode: "horizontal",
|
|
@@ -2025,20 +2008,20 @@ function Sa(e, t, n, o, a, l) {
|
|
|
2025
2008
|
]),
|
|
2026
2009
|
_: 1
|
|
2027
2010
|
}, 8, ["selectedKeys", "onClick"]),
|
|
2028
|
-
e.fase ? (d(), I("div",
|
|
2011
|
+
e.fase ? (d(), I("div", wa, [
|
|
2029
2012
|
u(m, {
|
|
2030
2013
|
type: "vertical",
|
|
2031
2014
|
class: "h-50"
|
|
2032
2015
|
})
|
|
2033
|
-
])) :
|
|
2016
|
+
])) : $("", !0),
|
|
2034
2017
|
u(h, { size: "middle" }, {
|
|
2035
2018
|
default: s(() => [
|
|
2036
2019
|
e.todoBellEnabled ? (d(), v(m, {
|
|
2037
2020
|
key: 0,
|
|
2038
2021
|
type: "vertical",
|
|
2039
2022
|
class: ""
|
|
2040
|
-
})) :
|
|
2041
|
-
e.todoBellEnabled ? (d(), v(y, { key: 1 })) :
|
|
2023
|
+
})) : $("", !0),
|
|
2024
|
+
e.todoBellEnabled ? (d(), v(y, { key: 1 })) : $("", !0),
|
|
2042
2025
|
u(m, {
|
|
2043
2026
|
type: "vertical",
|
|
2044
2027
|
class: ""
|
|
@@ -2062,7 +2045,7 @@ function Sa(e, t, n, o, a, l) {
|
|
|
2062
2045
|
_: 1
|
|
2063
2046
|
});
|
|
2064
2047
|
}
|
|
2065
|
-
const
|
|
2048
|
+
const Sa = /* @__PURE__ */ D(va, [["render", Ca]]), Ba = X({
|
|
2066
2049
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2067
2050
|
setup() {
|
|
2068
2051
|
const e = oe(), t = ae(), n = S("menu"), o = S("breakpoint", B(!1)), a = S("onBreakpoint", () => {
|
|
@@ -2089,31 +2072,31 @@ const Ba = /* @__PURE__ */ D(ba, [["render", Sa]]), xa = X({
|
|
|
2089
2072
|
todoBellEnabled: w(() => e.state.app.todoBellEnabled)
|
|
2090
2073
|
};
|
|
2091
2074
|
}
|
|
2092
|
-
}),
|
|
2075
|
+
}), xa = { class: "d-flex justify-content-between" }, $a = { class: "fs-6" }, Ea = { class: "flex-fill d-flex justify-content-end h-100" }, Ia = { class: "border-end h-100 d-flex flex-column" }, Ma = {
|
|
2093
2076
|
class: "flex-fill overflow-auto ofa",
|
|
2094
2077
|
style: { "overflow-x": "hidden!important" }
|
|
2095
2078
|
};
|
|
2096
|
-
function
|
|
2097
|
-
const i = r("MobileHeader"), c = r("WorkflowTodoBell"), p = r("a-divider"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header"), h = r("NavMenu"), g = r("a-menu"), b = r("a-layout-sider"), A = r("Breadcrumb"),
|
|
2098
|
-
return d(), v(
|
|
2079
|
+
function Ta(e, t, n, o, a, l) {
|
|
2080
|
+
const i = r("MobileHeader"), c = r("WorkflowTodoBell"), p = r("a-divider"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header"), h = r("NavMenu"), g = r("a-menu"), b = r("a-layout-sider"), A = r("Breadcrumb"), T = r("TabTags"), M = r("router-view"), C = r("a-layout-content"), k = r("a-icon"), x = r("a-layout-footer"), L = r("a-layout");
|
|
2081
|
+
return d(), v(L, { class: "app-layout" }, {
|
|
2099
2082
|
default: s(() => [
|
|
2100
2083
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(_, {
|
|
2101
2084
|
key: 1,
|
|
2102
2085
|
class: "px-3 border-bottom header-h50 text-white",
|
|
2103
|
-
style:
|
|
2086
|
+
style: ut({ background: e.token.colorPrimaryHover + "!important" })
|
|
2104
2087
|
}, {
|
|
2105
2088
|
default: s(() => [
|
|
2106
|
-
f("div",
|
|
2107
|
-
f("span",
|
|
2108
|
-
f("div",
|
|
2089
|
+
f("div", xa, [
|
|
2090
|
+
f("span", $a, j(e.appName), 1),
|
|
2091
|
+
f("div", Ea, [
|
|
2109
2092
|
u(y, { size: "middle" }, {
|
|
2110
2093
|
default: s(() => [
|
|
2111
|
-
e.todoBellEnabled ? (d(), v(c, { key: 0 })) :
|
|
2094
|
+
e.todoBellEnabled ? (d(), v(c, { key: 0 })) : $("", !0),
|
|
2112
2095
|
e.todoBellEnabled ? (d(), v(p, {
|
|
2113
2096
|
key: 1,
|
|
2114
2097
|
type: "vertical",
|
|
2115
2098
|
class: ""
|
|
2116
|
-
})) :
|
|
2099
|
+
})) : $("", !0),
|
|
2117
2100
|
u(m)
|
|
2118
2101
|
]),
|
|
2119
2102
|
_: 1
|
|
@@ -2123,7 +2106,7 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2123
2106
|
]),
|
|
2124
2107
|
_: 1
|
|
2125
2108
|
}, 8, ["style"])),
|
|
2126
|
-
u(
|
|
2109
|
+
u(L, null, {
|
|
2127
2110
|
default: s(() => [
|
|
2128
2111
|
u(b, {
|
|
2129
2112
|
collapsed: e.menuIsCollapse,
|
|
@@ -2135,8 +2118,8 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2135
2118
|
collapsible: ""
|
|
2136
2119
|
}, {
|
|
2137
2120
|
default: s(() => [
|
|
2138
|
-
f("div",
|
|
2139
|
-
f("div",
|
|
2121
|
+
f("div", Ia, [
|
|
2122
|
+
f("div", Ma, [
|
|
2140
2123
|
u(g, {
|
|
2141
2124
|
selectedKeys: [e.$route.path],
|
|
2142
2125
|
mode: "inline",
|
|
@@ -2153,9 +2136,9 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2153
2136
|
]),
|
|
2154
2137
|
_: 1
|
|
2155
2138
|
}, 8, ["collapsed", "onBreakpoint"]),
|
|
2156
|
-
u(
|
|
2139
|
+
u(L, null, {
|
|
2157
2140
|
default: s(() => [
|
|
2158
|
-
e.breakpoint ?
|
|
2141
|
+
e.breakpoint ? $("", !0) : (d(), v(_, {
|
|
2159
2142
|
key: 0,
|
|
2160
2143
|
class: "breadcrumb mb-0 px-3 bg-white border-bottom header-h40"
|
|
2161
2144
|
}, {
|
|
@@ -2164,17 +2147,17 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2164
2147
|
]),
|
|
2165
2148
|
_: 1
|
|
2166
2149
|
})),
|
|
2167
|
-
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(
|
|
2150
|
+
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(T, { key: 1 })) : $("", !0),
|
|
2168
2151
|
u(C, {
|
|
2169
2152
|
id: "ant-layout-content",
|
|
2170
2153
|
class: Y(["ofa d-flex flex-column", { "p-0": e.breakpoint, "ps-0": !e.breakpoint }])
|
|
2171
2154
|
}, {
|
|
2172
2155
|
default: s(() => [
|
|
2173
|
-
u(
|
|
2156
|
+
u(M)
|
|
2174
2157
|
]),
|
|
2175
2158
|
_: 1
|
|
2176
2159
|
}, 8, ["class"]),
|
|
2177
|
-
(e.breakpoint,
|
|
2160
|
+
(e.breakpoint, $("", !0))
|
|
2178
2161
|
]),
|
|
2179
2162
|
_: 1
|
|
2180
2163
|
})
|
|
@@ -2185,7 +2168,7 @@ function Oa(e, t, n, o, a, l) {
|
|
|
2185
2168
|
_: 1
|
|
2186
2169
|
});
|
|
2187
2170
|
}
|
|
2188
|
-
const
|
|
2171
|
+
const Oa = /* @__PURE__ */ D(Ba, [["render", Ta], ["__scopeId", "data-v-16b05c4f"]]), Ra = X({
|
|
2189
2172
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2190
2173
|
setup() {
|
|
2191
2174
|
const e = oe(), t = ae(), n = S("menu"), o = S("breakpoint", B(!1)), a = S("onBreakpoint", () => {
|
|
@@ -2208,10 +2191,10 @@ const Ra = /* @__PURE__ */ D(xa, [["render", Oa], ["__scopeId", "data-v-16b05c4f
|
|
|
2208
2191
|
onBreakpoint: a
|
|
2209
2192
|
};
|
|
2210
2193
|
}
|
|
2211
|
-
}),
|
|
2212
|
-
function
|
|
2213
|
-
const i = r("MobileHeader"), c = r("NavMenu"), p = r("a-menu"), m = r("a-divider"), y = r("WorkflowTodoBell"), _ = r("UserBar"), h = r("a-space"), g = r("a-layout-header"), b = r("router-view"), A = r("a-layout-content"),
|
|
2214
|
-
return d(), v(
|
|
2194
|
+
}), Aa = { class: "d-flex justify-content-between" }, Na = { class: "flex-fill d-flex justify-content-end h-100" };
|
|
2195
|
+
function Pa(e, t, n, o, a, l) {
|
|
2196
|
+
const i = r("MobileHeader"), c = r("NavMenu"), p = r("a-menu"), m = r("a-divider"), y = r("WorkflowTodoBell"), _ = r("UserBar"), h = r("a-space"), g = r("a-layout-header"), b = r("router-view"), A = r("a-layout-content"), T = r("a-layout");
|
|
2197
|
+
return d(), v(T, { class: "app-layout" }, {
|
|
2215
2198
|
default: s(() => [
|
|
2216
2199
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(g, {
|
|
2217
2200
|
key: 1,
|
|
@@ -2219,9 +2202,9 @@ function za(e, t, n, o, a, l) {
|
|
|
2219
2202
|
style: { height: "46px", "line-height": "46px" }
|
|
2220
2203
|
}, {
|
|
2221
2204
|
default: s(() => [
|
|
2222
|
-
f("div",
|
|
2205
|
+
f("div", Aa, [
|
|
2223
2206
|
f("span", null, j(e.appName), 1),
|
|
2224
|
-
f("div",
|
|
2207
|
+
f("div", Na, [
|
|
2225
2208
|
u(p, {
|
|
2226
2209
|
selectedKeys: [e.$route.path],
|
|
2227
2210
|
mode: "horizontal",
|
|
@@ -2233,15 +2216,15 @@ function za(e, t, n, o, a, l) {
|
|
|
2233
2216
|
]),
|
|
2234
2217
|
_: 1
|
|
2235
2218
|
}, 8, ["selectedKeys", "onClick", "class"]),
|
|
2236
|
-
|
|
2219
|
+
$("", !0),
|
|
2237
2220
|
u(h, { size: "middle" }, {
|
|
2238
2221
|
default: s(() => [
|
|
2239
2222
|
e.todoBellEnabled ? (d(), v(m, {
|
|
2240
2223
|
key: 0,
|
|
2241
2224
|
type: "vertical",
|
|
2242
2225
|
class: ""
|
|
2243
|
-
})) :
|
|
2244
|
-
e.todoBellEnabled ? (d(), v(y, { key: 1 })) :
|
|
2226
|
+
})) : $("", !0),
|
|
2227
|
+
e.todoBellEnabled ? (d(), v(y, { key: 1 })) : $("", !0),
|
|
2245
2228
|
u(m, {
|
|
2246
2229
|
type: "vertical",
|
|
2247
2230
|
class: ""
|
|
@@ -2265,7 +2248,7 @@ function za(e, t, n, o, a, l) {
|
|
|
2265
2248
|
_: 1
|
|
2266
2249
|
});
|
|
2267
2250
|
}
|
|
2268
|
-
const
|
|
2251
|
+
const za = /* @__PURE__ */ D(Ra, [["render", Pa]]), La = X({
|
|
2269
2252
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2270
2253
|
setup() {
|
|
2271
2254
|
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a = S("menu"), l = S("pmenu"), i = S("nextMenu"), c = S("breakpoint", B(!1)), p = S("onBreakpoint", () => {
|
|
@@ -2296,22 +2279,22 @@ const La = /* @__PURE__ */ D(Aa, [["render", za]]), ja = X({
|
|
|
2296
2279
|
onBreakpoint: p
|
|
2297
2280
|
};
|
|
2298
2281
|
}
|
|
2299
|
-
}),
|
|
2282
|
+
}), ja = { class: "h-100 d-flex flex-column" }, Ua = {
|
|
2300
2283
|
class: "flex-fill overflow-auto ofa ro",
|
|
2301
2284
|
style: { "overflow-x": "hidden!important" }
|
|
2302
|
-
},
|
|
2285
|
+
}, Wa = { class: "list-unstyled" }, Ka = {
|
|
2303
2286
|
key: 0,
|
|
2304
2287
|
class: "px-2 py-3 d-flex align-items-center justify-content-center border-bottom border-1 border-dark"
|
|
2305
|
-
},
|
|
2288
|
+
}, Fa = ["onClick"], Va = { class: "font-8 wsto" }, Da = { class: "h-100 d-flex flex-column border-end" }, Ha = {
|
|
2306
2289
|
key: 0,
|
|
2307
2290
|
class: "px-3 m-0 font1 fw-bold border-bottom header-h46"
|
|
2308
|
-
},
|
|
2291
|
+
}, Qa = {
|
|
2309
2292
|
class: "flex-fill overflow-auto",
|
|
2310
2293
|
style: { "overflow-x": "hidden!important" }
|
|
2311
2294
|
};
|
|
2312
|
-
function
|
|
2313
|
-
const i = r("MobileHeader"), c = r("a-avatar"), p = r("a-icon"), m = r("a-layout-sider"), y = r("NavMenu"), _ = r("a-menu"), h = r("WorkflowTodoBell"), g = r("a-divider"), b = r("UserBar"), A = r("a-space"),
|
|
2314
|
-
return d(), v(
|
|
2295
|
+
function Ga(e, t, n, o, a, l) {
|
|
2296
|
+
const i = r("MobileHeader"), c = r("a-avatar"), p = r("a-icon"), m = r("a-layout-sider"), y = r("NavMenu"), _ = r("a-menu"), h = r("WorkflowTodoBell"), g = r("a-divider"), b = r("UserBar"), A = r("a-space"), T = r("Breadcrumb"), M = r("a-layout-header"), C = r("TabTags"), k = r("router-view"), x = r("a-layout-content"), L = r("a-layout");
|
|
2297
|
+
return d(), v(L, { class: "app-layout sidebar-layout h-100" }, {
|
|
2315
2298
|
default: s(() => [
|
|
2316
2299
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(m, {
|
|
2317
2300
|
key: 1,
|
|
@@ -2320,34 +2303,34 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2320
2303
|
class: "bg-sider text-white border-end"
|
|
2321
2304
|
}, {
|
|
2322
2305
|
default: s(() => [
|
|
2323
|
-
f("div",
|
|
2324
|
-
f("div",
|
|
2325
|
-
f("ul",
|
|
2326
|
-
(d(), I("li",
|
|
2306
|
+
f("div", ja, [
|
|
2307
|
+
f("div", Ua, [
|
|
2308
|
+
f("ul", Wa, [
|
|
2309
|
+
(d(), I("li", Ka, [
|
|
2327
2310
|
u(c, { src: e.appLogo }, null, 8, ["src"]),
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2311
|
+
$("", !0),
|
|
2312
|
+
$("", !0),
|
|
2313
|
+
$("", !0),
|
|
2314
|
+
$("", !0)
|
|
2332
2315
|
])),
|
|
2333
|
-
(d(!0), I(
|
|
2316
|
+
(d(!0), I(U, null, Z(e.menu, (R) => (d(), I("li", {
|
|
2334
2317
|
class: Y(["px-2 py-3", e.pmenu?.path == R.path ? "active" : ""]),
|
|
2335
2318
|
key: R,
|
|
2336
|
-
style:
|
|
2337
|
-
onClick: (
|
|
2319
|
+
style: ut({ background: e.pmenu?.path == R.path ? e.token.colorPrimaryHover : "" }),
|
|
2320
|
+
onClick: (W) => e.refreshSubMenu(R)
|
|
2338
2321
|
}, [
|
|
2339
2322
|
u(p, {
|
|
2340
2323
|
type: R.meta.icon
|
|
2341
2324
|
}, null, 8, ["type"]),
|
|
2342
|
-
f("p",
|
|
2343
|
-
], 14,
|
|
2325
|
+
f("p", Va, j(R.meta.title), 1)
|
|
2326
|
+
], 14, Fa))), 128))
|
|
2344
2327
|
])
|
|
2345
2328
|
])
|
|
2346
2329
|
])
|
|
2347
2330
|
]),
|
|
2348
2331
|
_: 1
|
|
2349
2332
|
})),
|
|
2350
|
-
u(
|
|
2333
|
+
u(L, null, {
|
|
2351
2334
|
default: s(() => [
|
|
2352
2335
|
u(m, {
|
|
2353
2336
|
collapsed: e.menuIsCollapse,
|
|
@@ -2359,9 +2342,9 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2359
2342
|
collapsible: ""
|
|
2360
2343
|
}, {
|
|
2361
2344
|
default: s(() => [
|
|
2362
|
-
f("div",
|
|
2363
|
-
(d(), I("h2",
|
|
2364
|
-
f("div",
|
|
2345
|
+
f("div", Da, [
|
|
2346
|
+
(d(), I("h2", Ha, j(e.pmenu?.meta ? e.pmenu?.meta?.title : ""), 1)),
|
|
2347
|
+
f("div", Qa, [
|
|
2365
2348
|
u(_, {
|
|
2366
2349
|
class: Y(["bg-transparent", e.menuItemActiveStyle]),
|
|
2367
2350
|
selectedKeys: [e.$route.path],
|
|
@@ -2378,23 +2361,23 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2378
2361
|
]),
|
|
2379
2362
|
_: 1
|
|
2380
2363
|
}, 8, ["collapsed", "onBreakpoint"]),
|
|
2381
|
-
u(
|
|
2364
|
+
u(L, null, {
|
|
2382
2365
|
default: s(() => [
|
|
2383
|
-
e.breakpoint ?
|
|
2366
|
+
e.breakpoint ? $("", !0) : (d(), v(M, {
|
|
2384
2367
|
key: 0,
|
|
2385
2368
|
class: "px-3 bg-white border-bottom header-h46"
|
|
2386
2369
|
}, {
|
|
2387
2370
|
default: s(() => [
|
|
2388
|
-
u(
|
|
2371
|
+
u(T, null, {
|
|
2389
2372
|
userBar: s(() => [
|
|
2390
2373
|
u(A, { size: "middle" }, {
|
|
2391
2374
|
default: s(() => [
|
|
2392
|
-
e.todoBellEnabled ? (d(), v(h, { key: 0 })) :
|
|
2375
|
+
e.todoBellEnabled ? (d(), v(h, { key: 0 })) : $("", !0),
|
|
2393
2376
|
e.todoBellEnabled ? (d(), v(g, {
|
|
2394
2377
|
key: 1,
|
|
2395
2378
|
type: "vertical",
|
|
2396
2379
|
class: ""
|
|
2397
|
-
})) :
|
|
2380
|
+
})) : $("", !0),
|
|
2398
2381
|
u(b)
|
|
2399
2382
|
]),
|
|
2400
2383
|
_: 1
|
|
@@ -2405,7 +2388,7 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2405
2388
|
]),
|
|
2406
2389
|
_: 1
|
|
2407
2390
|
})),
|
|
2408
|
-
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(C, { key: 1 })) :
|
|
2391
|
+
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(C, { key: 1 })) : $("", !0),
|
|
2409
2392
|
u(x, {
|
|
2410
2393
|
id: "ant-layout-content",
|
|
2411
2394
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
@@ -2425,16 +2408,16 @@ function Ja(e, t, n, o, a, l) {
|
|
|
2425
2408
|
_: 1
|
|
2426
2409
|
});
|
|
2427
2410
|
}
|
|
2428
|
-
const
|
|
2411
|
+
const Ja = /* @__PURE__ */ D(La, [["render", Ga], ["__scopeId", "data-v-08491cb7"]]), Za = { class: "h-100 d-flex flex-column" }, Ya = {
|
|
2429
2412
|
class: "flex-fill overflow-auto ofa ro",
|
|
2430
2413
|
style: { "overflow-x": "hidden!important" }
|
|
2431
|
-
},
|
|
2414
|
+
}, qa = { class: "list-unstyled" }, Xa = {
|
|
2432
2415
|
key: 0,
|
|
2433
2416
|
class: "px-2 py-3 d-flex align-items-center justify-content-center"
|
|
2434
|
-
},
|
|
2417
|
+
}, el = ["onClick"], tl = { class: "font-8 wsto" }, nl = { class: "h-100 d-flex flex-column border-end" }, ol = {
|
|
2435
2418
|
class: "flex-fill overflow-auto",
|
|
2436
2419
|
style: { "overflow-x": "hidden!important" }
|
|
2437
|
-
},
|
|
2420
|
+
}, al = {
|
|
2438
2421
|
__name: "SidebarAppProLayout",
|
|
2439
2422
|
setup(e) {
|
|
2440
2423
|
const t = oe(), n = ae(), { useToken: o } = Qe, { token: a } = o(), l = S("menu"), i = S("pmenu"), c = S("nextMenu"), p = S("breakpoint", B(!1)), m = S("onBreakpoint", () => {
|
|
@@ -2448,9 +2431,9 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2448
2431
|
});
|
|
2449
2432
|
const b = w(() => t.state.app.appLogo);
|
|
2450
2433
|
w(() => t.state.app.appName);
|
|
2451
|
-
const A = w(() => t.state.app.tagsBarIsEnabled),
|
|
2434
|
+
const A = w(() => t.state.app.tagsBarIsEnabled), T = w(() => t.state.app.menuItemActiveStyle), M = w(() => t.state.app.todoBellEnabled);
|
|
2452
2435
|
return (C, k) => {
|
|
2453
|
-
const x = r("a-avatar"),
|
|
2436
|
+
const x = r("a-avatar"), L = r("a-icon"), R = r("a-layout-sider"), W = r("a-divider"), Q = r("a-space"), F = r("a-layout-header"), q = r("a-menu"), ee = r("router-view"), te = r("a-layout-content"), se = r("a-layout");
|
|
2454
2437
|
return d(), v(se, { class: "app-layout sidebar-layout h-100" }, {
|
|
2455
2438
|
default: s(() => [
|
|
2456
2439
|
O(p) ? (d(), v(Ee, { key: 0 })) : (d(), v(R, {
|
|
@@ -2460,27 +2443,27 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2460
2443
|
class: "bg-sider text-white border-end"
|
|
2461
2444
|
}, {
|
|
2462
2445
|
default: s(() => [
|
|
2463
|
-
f("div",
|
|
2464
|
-
f("div",
|
|
2465
|
-
f("ul",
|
|
2466
|
-
(d(), I("li",
|
|
2446
|
+
f("div", Za, [
|
|
2447
|
+
f("div", Ya, [
|
|
2448
|
+
f("ul", qa, [
|
|
2449
|
+
(d(), I("li", Xa, [
|
|
2467
2450
|
u(x, { src: b.value }, null, 8, ["src"]),
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2451
|
+
$("", !0),
|
|
2452
|
+
$("", !0),
|
|
2453
|
+
$("", !0),
|
|
2454
|
+
$("", !0)
|
|
2472
2455
|
])),
|
|
2473
|
-
(d(!0), I(
|
|
2456
|
+
(d(!0), I(U, null, Z(O(l), (le) => (d(), I("li", {
|
|
2474
2457
|
class: Y(["py-2", O(i)?.path == le.path ? "active" : ""]),
|
|
2475
2458
|
key: le,
|
|
2476
|
-
style:
|
|
2459
|
+
style: ut({ background: O(i)?.path == le.path ? O(a).colorPrimaryHover : "" }),
|
|
2477
2460
|
onClick: (ie) => _(le)
|
|
2478
2461
|
}, [
|
|
2479
|
-
u(
|
|
2462
|
+
u(L, {
|
|
2480
2463
|
type: le.meta.icon
|
|
2481
2464
|
}, null, 8, ["type"]),
|
|
2482
|
-
f("p",
|
|
2483
|
-
], 14,
|
|
2465
|
+
f("p", tl, j(le.meta.title), 1)
|
|
2466
|
+
], 14, el))), 128))
|
|
2484
2467
|
])
|
|
2485
2468
|
])
|
|
2486
2469
|
])
|
|
@@ -2489,7 +2472,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2489
2472
|
})),
|
|
2490
2473
|
u(se, null, {
|
|
2491
2474
|
default: s(() => [
|
|
2492
|
-
O(p) ?
|
|
2475
|
+
O(p) ? $("", !0) : (d(), v(F, {
|
|
2493
2476
|
key: 0,
|
|
2494
2477
|
class: "px-3 bg-white border-bottom header-h56"
|
|
2495
2478
|
}, {
|
|
@@ -2498,12 +2481,12 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2498
2481
|
userBar: s(() => [
|
|
2499
2482
|
u(Q, { size: "middle" }, {
|
|
2500
2483
|
default: s(() => [
|
|
2501
|
-
|
|
2502
|
-
|
|
2484
|
+
M.value ? (d(), v(Ie, { key: 0 })) : $("", !0),
|
|
2485
|
+
M.value ? (d(), v(W, {
|
|
2503
2486
|
key: 1,
|
|
2504
2487
|
type: "vertical",
|
|
2505
2488
|
class: ""
|
|
2506
|
-
})) :
|
|
2489
|
+
})) : $("", !0),
|
|
2507
2490
|
u(Se)
|
|
2508
2491
|
]),
|
|
2509
2492
|
_: 1
|
|
@@ -2527,10 +2510,10 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2527
2510
|
collapsedWidth: h.value
|
|
2528
2511
|
}, {
|
|
2529
2512
|
default: s(() => [
|
|
2530
|
-
f("div",
|
|
2531
|
-
f("div",
|
|
2513
|
+
f("div", nl, [
|
|
2514
|
+
f("div", ol, [
|
|
2532
2515
|
u(q, {
|
|
2533
|
-
class: Y(["bg-transparent",
|
|
2516
|
+
class: Y(["bg-transparent", T.value]),
|
|
2534
2517
|
selectedKeys: [C.$route.path],
|
|
2535
2518
|
mode: "inline",
|
|
2536
2519
|
onClick: y
|
|
@@ -2547,7 +2530,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2547
2530
|
}, 8, ["collapsed", "onBreakpoint", "collapsedWidth"]),
|
|
2548
2531
|
u(se, null, {
|
|
2549
2532
|
default: s(() => [
|
|
2550
|
-
A.value && !O(p) ? (d(), v(xe, { key: 0 })) :
|
|
2533
|
+
A.value && !O(p) ? (d(), v(xe, { key: 0 })) : $("", !0),
|
|
2551
2534
|
u(te, {
|
|
2552
2535
|
id: "ant-layout-content",
|
|
2553
2536
|
class: Y(["ofa bg-white", { "p-0": O(p), "p-0": !O(p) }])
|
|
@@ -2571,7 +2554,7 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2571
2554
|
});
|
|
2572
2555
|
};
|
|
2573
2556
|
}
|
|
2574
|
-
},
|
|
2557
|
+
}, ll = /* @__PURE__ */ D(al, [["__scopeId", "data-v-8e854fe2"]]), rl = X({
|
|
2575
2558
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2576
2559
|
setup() {
|
|
2577
2560
|
const e = oe(), t = ae(), n = S("menu"), o = S("pmenu"), a = S("nextMenu"), l = S("breakpoint", B(!1)), i = S("onBreakpoint", () => {
|
|
@@ -2599,15 +2582,15 @@ const Za = /* @__PURE__ */ D(ja, [["render", Ja], ["__scopeId", "data-v-08491cb7
|
|
|
2599
2582
|
onBreakpoint: i
|
|
2600
2583
|
};
|
|
2601
2584
|
}
|
|
2602
|
-
}),
|
|
2585
|
+
}), sl = { class: "d-flex justify-content-between" }, ul = {
|
|
2603
2586
|
class: "header-title ps-3",
|
|
2604
2587
|
style: { "min-width": "200px" }
|
|
2605
|
-
},
|
|
2588
|
+
}, il = { class: "d-flex justify-content-between flex-fill h-100 pe-3" }, cl = { class: "nav pe-3" }, dl = ["onClick"], pl = { class: "border-end h-100 d-flex flex-column" }, fl = {
|
|
2606
2589
|
class: "flex-fill overflow-auto",
|
|
2607
2590
|
style: { "overflow-x": "hidden!important" }
|
|
2608
2591
|
};
|
|
2609
|
-
function
|
|
2610
|
-
const i = r("MobileHeader"), c = r("a-icon"), p = r("WorkflowTodoBell"), m = r("a-divider"), y = r("UserBar"), _ = r("a-space"), h = r("a-layout-header"), g = r("NavMenu"), b = r("a-menu"), A = r("a-layout-sider"),
|
|
2592
|
+
function ml(e, t, n, o, a, l) {
|
|
2593
|
+
const i = r("MobileHeader"), c = r("a-icon"), p = r("WorkflowTodoBell"), m = r("a-divider"), y = r("UserBar"), _ = r("a-space"), h = r("a-layout-header"), g = r("NavMenu"), b = r("a-menu"), A = r("a-layout-sider"), T = r("Breadcrumb"), M = r("TabTags"), C = r("router-view"), k = r("a-layout-content"), x = r("a-layout");
|
|
2611
2594
|
return d(), v(x, { class: "app-layout header-layout h-100" }, {
|
|
2612
2595
|
default: s(() => [
|
|
2613
2596
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(h, {
|
|
@@ -2615,30 +2598,30 @@ function yl(e, t, n, o, a, l) {
|
|
|
2615
2598
|
class: "px-0 border-bottom header-h56 text-white bg-primary"
|
|
2616
2599
|
}, {
|
|
2617
2600
|
default: s(() => [
|
|
2618
|
-
f("div",
|
|
2619
|
-
f("span",
|
|
2620
|
-
f("div",
|
|
2621
|
-
f("ul",
|
|
2622
|
-
(d(!0), I(
|
|
2623
|
-
class: Y(["px-3", e.pmenu?.path ==
|
|
2624
|
-
key:
|
|
2625
|
-
onClick: (R) => e.refreshSubMenu(
|
|
2601
|
+
f("div", sl, [
|
|
2602
|
+
f("span", ul, j(e.appName), 1),
|
|
2603
|
+
f("div", il, [
|
|
2604
|
+
f("ul", cl, [
|
|
2605
|
+
(d(!0), I(U, null, Z(e.menu, (L) => (d(), I("li", {
|
|
2606
|
+
class: Y(["px-3", e.pmenu?.path == L?.path ? "active" : ""]),
|
|
2607
|
+
key: L,
|
|
2608
|
+
onClick: (R) => e.refreshSubMenu(L)
|
|
2626
2609
|
}, [
|
|
2627
2610
|
u(c, {
|
|
2628
|
-
type:
|
|
2611
|
+
type: L.meta.icon,
|
|
2629
2612
|
class: "font1-15"
|
|
2630
2613
|
}, null, 8, ["type"]),
|
|
2631
|
-
G(" " + j(
|
|
2632
|
-
], 10,
|
|
2614
|
+
G(" " + j(L.meta.title), 1)
|
|
2615
|
+
], 10, dl))), 128))
|
|
2633
2616
|
]),
|
|
2634
2617
|
u(_, { size: "middle" }, {
|
|
2635
2618
|
default: s(() => [
|
|
2636
|
-
e.todoBellEnabled ? (d(), v(p, { key: 0 })) :
|
|
2619
|
+
e.todoBellEnabled ? (d(), v(p, { key: 0 })) : $("", !0),
|
|
2637
2620
|
e.todoBellEnabled ? (d(), v(m, {
|
|
2638
2621
|
key: 1,
|
|
2639
2622
|
type: "vertical",
|
|
2640
2623
|
class: "bg-light"
|
|
2641
|
-
})) :
|
|
2624
|
+
})) : $("", !0),
|
|
2642
2625
|
u(y)
|
|
2643
2626
|
]),
|
|
2644
2627
|
_: 1
|
|
@@ -2653,7 +2636,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2653
2636
|
e.nextMenu && e.nextMenu.length > 0 ? (d(), v(A, {
|
|
2654
2637
|
key: 0,
|
|
2655
2638
|
collapsed: e.menuIsCollapse,
|
|
2656
|
-
"onUpdate:collapsed": t[0] || (t[0] = (
|
|
2639
|
+
"onUpdate:collapsed": t[0] || (t[0] = (L) => e.menuIsCollapse = L),
|
|
2657
2640
|
onBreakpoint: e.onBreakpoint,
|
|
2658
2641
|
breakpoint: "md",
|
|
2659
2642
|
theme: "light",
|
|
@@ -2661,8 +2644,8 @@ function yl(e, t, n, o, a, l) {
|
|
|
2661
2644
|
collapsible: ""
|
|
2662
2645
|
}, {
|
|
2663
2646
|
default: s(() => [
|
|
2664
|
-
f("div",
|
|
2665
|
-
f("div",
|
|
2647
|
+
f("div", pl, [
|
|
2648
|
+
f("div", fl, [
|
|
2666
2649
|
u(b, {
|
|
2667
2650
|
selectedKeys: [e.$route.path],
|
|
2668
2651
|
mode: "inline",
|
|
@@ -2678,7 +2661,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2678
2661
|
])
|
|
2679
2662
|
]),
|
|
2680
2663
|
_: 1
|
|
2681
|
-
}, 8, ["collapsed", "onBreakpoint"])) :
|
|
2664
|
+
}, 8, ["collapsed", "onBreakpoint"])) : $("", !0),
|
|
2682
2665
|
u(x, null, {
|
|
2683
2666
|
default: s(() => [
|
|
2684
2667
|
!e.breakpoint && e.nextMenu && e.nextMenu?.length > 0 ? (d(), v(h, {
|
|
@@ -2686,14 +2669,14 @@ function yl(e, t, n, o, a, l) {
|
|
|
2686
2669
|
class: "breadcrumb mb-0 px-3 bg-white border-bottom header-h40"
|
|
2687
2670
|
}, {
|
|
2688
2671
|
default: s(() => [
|
|
2689
|
-
u(
|
|
2672
|
+
u(T)
|
|
2690
2673
|
]),
|
|
2691
2674
|
_: 1
|
|
2692
|
-
})) :
|
|
2693
|
-
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(
|
|
2675
|
+
})) : $("", !0),
|
|
2676
|
+
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(M, {
|
|
2694
2677
|
key: 1,
|
|
2695
2678
|
menuTree: e.menu
|
|
2696
|
-
}, null, 8, ["menuTree"])) :
|
|
2679
|
+
}, null, 8, ["menuTree"])) : $("", !0),
|
|
2697
2680
|
u(k, {
|
|
2698
2681
|
id: "ant-layout-content",
|
|
2699
2682
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
@@ -2713,7 +2696,7 @@ function yl(e, t, n, o, a, l) {
|
|
|
2713
2696
|
_: 1
|
|
2714
2697
|
});
|
|
2715
2698
|
}
|
|
2716
|
-
const
|
|
2699
|
+
const yl = /* @__PURE__ */ D(rl, [["render", ml], ["__scopeId", "data-v-49f819ff"]]), hl = X({
|
|
2717
2700
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2718
2701
|
setup() {
|
|
2719
2702
|
const e = oe(), t = ae(), n = S("menu"), o = S("pmenu"), a = S("nextMenu"), l = S("breakpoint", B(!1)), i = S("onBreakpoint", () => {
|
|
@@ -2741,25 +2724,25 @@ const hl = /* @__PURE__ */ D(sl, [["render", yl], ["__scopeId", "data-v-49f819ff
|
|
|
2741
2724
|
onBreakpoint: i
|
|
2742
2725
|
};
|
|
2743
2726
|
}
|
|
2744
|
-
}),
|
|
2727
|
+
}), vl = { class: "d-flex justify-content-between" }, bl = { class: "px-2 fw-bold font-125" }, _l = { class: "d-flex justify-content-end flex-fill h-100" }, gl = { class: "nav" }, kl = ["onClick"], wl = { class: "border-end h-100 d-flex flex-column" }, Cl = { class: "px-3 m-0 font1 fw-bold border-bottom header-h46 text-scui-9" }, Sl = {
|
|
2745
2728
|
class: "flex-fill overflow-auto",
|
|
2746
2729
|
style: { "overflow-x": "hidden!important" }
|
|
2747
2730
|
};
|
|
2748
|
-
function
|
|
2749
|
-
const i = r("a-divider"), c = r("WorkflowTodoBell"), p = r("UserBar"), m = r("a-space"), y = r("a-layout-header"), _ = r("NavMenu"), h = r("a-menu"), g = r("a-layout-sider"), b = r("Breadcrumb"), A = r("TabTags"),
|
|
2731
|
+
function Bl(e, t, n, o, a, l) {
|
|
2732
|
+
const i = r("a-divider"), c = r("WorkflowTodoBell"), p = r("UserBar"), m = r("a-space"), y = r("a-layout-header"), _ = r("NavMenu"), h = r("a-menu"), g = r("a-layout-sider"), b = r("Breadcrumb"), A = r("TabTags"), T = r("router-view"), M = r("a-layout-content"), C = r("a-layout");
|
|
2750
2733
|
return d(), v(C, { class: "app-layout header-layout h-100" }, {
|
|
2751
2734
|
default: s(() => [
|
|
2752
2735
|
u(y, { class: "px-3 border-bottom header-h50 bg-header text-white" }, {
|
|
2753
2736
|
default: s(() => [
|
|
2754
|
-
f("div",
|
|
2755
|
-
f("span",
|
|
2756
|
-
f("div",
|
|
2757
|
-
f("ul",
|
|
2758
|
-
(d(!0), I(
|
|
2737
|
+
f("div", vl, [
|
|
2738
|
+
f("span", bl, j(e.appName), 1),
|
|
2739
|
+
f("div", _l, [
|
|
2740
|
+
f("ul", gl, [
|
|
2741
|
+
(d(!0), I(U, null, Z(e.menu, (k) => (d(), I("li", {
|
|
2759
2742
|
class: Y(["px-2", e.pmenu.path == k.path ? "active" : ""]),
|
|
2760
2743
|
key: k,
|
|
2761
2744
|
onClick: (x) => e.refreshSubMenu(k)
|
|
2762
|
-
}, j(k.meta.title), 11,
|
|
2745
|
+
}, j(k.meta.title), 11, kl))), 128))
|
|
2763
2746
|
]),
|
|
2764
2747
|
f("div", null, [
|
|
2765
2748
|
u(i, {
|
|
@@ -2769,7 +2752,7 @@ function xl(e, t, n, o, a, l) {
|
|
|
2769
2752
|
]),
|
|
2770
2753
|
u(m, { size: "middle" }, {
|
|
2771
2754
|
default: s(() => [
|
|
2772
|
-
e.todoBellEnabled ? (d(), v(c, { key: 0 })) :
|
|
2755
|
+
e.todoBellEnabled ? (d(), v(c, { key: 0 })) : $("", !0),
|
|
2773
2756
|
u(i, {
|
|
2774
2757
|
type: "vertical",
|
|
2775
2758
|
class: "text-white bg-white"
|
|
@@ -2792,9 +2775,9 @@ function xl(e, t, n, o, a, l) {
|
|
|
2792
2775
|
collapsible: ""
|
|
2793
2776
|
}, {
|
|
2794
2777
|
default: s(() => [
|
|
2795
|
-
f("div",
|
|
2796
|
-
f("h2",
|
|
2797
|
-
f("div",
|
|
2778
|
+
f("div", wl, [
|
|
2779
|
+
f("h2", Cl, j(e.pmenu.meta ? e.pmenu.meta.title : ""), 1),
|
|
2780
|
+
f("div", Sl, [
|
|
2798
2781
|
u(h, {
|
|
2799
2782
|
selectedKeys: [e.$route.path],
|
|
2800
2783
|
mode: "inline",
|
|
@@ -2819,10 +2802,10 @@ function xl(e, t, n, o, a, l) {
|
|
|
2819
2802
|
]),
|
|
2820
2803
|
_: 1
|
|
2821
2804
|
}),
|
|
2822
|
-
e.tagsBarIsEnabled ? (d(), v(A, { key: 0 })) :
|
|
2823
|
-
u(
|
|
2805
|
+
e.tagsBarIsEnabled ? (d(), v(A, { key: 0 })) : $("", !0),
|
|
2806
|
+
u(M, null, {
|
|
2824
2807
|
default: s(() => [
|
|
2825
|
-
u(
|
|
2808
|
+
u(T)
|
|
2826
2809
|
]),
|
|
2827
2810
|
_: 1
|
|
2828
2811
|
})
|
|
@@ -2836,19 +2819,19 @@ function xl(e, t, n, o, a, l) {
|
|
|
2836
2819
|
_: 1
|
|
2837
2820
|
});
|
|
2838
2821
|
}
|
|
2839
|
-
const
|
|
2822
|
+
const xl = /* @__PURE__ */ D(hl, [["render", Bl], ["__scopeId", "data-v-3115387b"]]), $l = X({
|
|
2840
2823
|
components: { Breadcrumb: $e, TabTags: xe, NavMenu: ye, UserBar: Se, MobileHeader: Ee, WorkflowTodoBell: Ie },
|
|
2841
2824
|
setup() {
|
|
2842
2825
|
const e = oe(), t = ae(), { useToken: n } = Qe, { token: o } = n(), a = S("menu"), l = S("pmenu"), i = S("nextMenu"), c = S("breakpoint", B(!1)), p = S("onBreakpoint", () => {
|
|
2843
|
-
}), m = (
|
|
2844
|
-
t.push(
|
|
2845
|
-
}, y = (
|
|
2846
|
-
l.value =
|
|
2847
|
-
}, _ = S("pmenu2", B()), h = S("nextMenu2", B()), g = (
|
|
2848
|
-
_.value =
|
|
2826
|
+
}), m = (T) => {
|
|
2827
|
+
t.push(T.key);
|
|
2828
|
+
}, y = (T) => {
|
|
2829
|
+
l.value = T, i.value = l?.value?.children, T.children || t.push(T.path);
|
|
2830
|
+
}, _ = S("pmenu2", B()), h = S("nextMenu2", B()), g = (T) => {
|
|
2831
|
+
_.value = T, h.value = _?.value?.children, T.children || t.push(T.path);
|
|
2849
2832
|
}, b = B(0), A = w(() => e.state.app.menuIsCollapse);
|
|
2850
|
-
return ue(() => [i?.value, h?.value], ([
|
|
2851
|
-
!
|
|
2833
|
+
return ue(() => [i?.value, h?.value], ([T, M]) => {
|
|
2834
|
+
!T || !Array.isArray(T) || T.length === 0 || !M || !Array.isArray(M) || M.length === 0 ? A.value ? b.value > 0 && (b.value = 0) : (b.value = 0, e.commit("TOGGLE_menuIsCollapse")) : (b.value = 80, A.value && e.commit("TOGGLE_menuIsCollapse"));
|
|
2852
2835
|
}), {
|
|
2853
2836
|
token: o,
|
|
2854
2837
|
appName: w(() => e.state.app.appName),
|
|
@@ -2873,14 +2856,14 @@ const $l = /* @__PURE__ */ D(vl, [["render", xl], ["__scopeId", "data-v-3115387b
|
|
|
2873
2856
|
todoBellEnabled: w(() => e.state.app.todoBellEnabled)
|
|
2874
2857
|
};
|
|
2875
2858
|
}
|
|
2876
|
-
}),
|
|
2859
|
+
}), El = { class: "d-flex justify-content-between" }, Il = { class: "ps-2 pe-1 fw-bold font1-25" }, Ml = { class: "d-flex justify-content-end flex-fill h-100" }, Tl = { class: "nav" }, Ol = ["onClick"], Rl = { class: "d-flex justify-content-between" }, Al = { class: "d-flex justify-content-start flex-fill h-100" }, Nl = { class: "nav" }, Pl = ["onClick"], zl = { class: "h-100 d-flex flex-column border-end" }, Ll = {
|
|
2877
2860
|
class: "flex-fill overflow-auto",
|
|
2878
2861
|
style: { "overflow-x": "hidden!important" }
|
|
2879
2862
|
};
|
|
2880
|
-
function
|
|
2863
|
+
function jl(e, t, n, o, a, l) {
|
|
2881
2864
|
const i = r("MobileHeader"), c = r("a-divider"), p = r("WorkflowTodoBell"), m = r("UserBar"), y = r("a-space"), _ = r("a-layout-header");
|
|
2882
2865
|
r("a-avatar"), r("a-icon");
|
|
2883
|
-
const h = r("a-layout-sider"), g = r("NavMenu"), b = r("a-menu"), A = r("Breadcrumb"),
|
|
2866
|
+
const h = r("a-layout-sider"), g = r("NavMenu"), b = r("a-menu"), A = r("Breadcrumb"), T = r("TabTags"), M = r("router-view"), C = r("a-layout-content"), k = r("a-layout");
|
|
2884
2867
|
return d(), v(k, { class: "app-layout header-layout h-100" }, {
|
|
2885
2868
|
default: s(() => [
|
|
2886
2869
|
e.breakpoint ? (d(), v(i, { key: 0 })) : (d(), v(_, {
|
|
@@ -2888,26 +2871,26 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2888
2871
|
class: "px-3 header-h50 bg-header text-white bg-primary bg-opacity-100"
|
|
2889
2872
|
}, {
|
|
2890
2873
|
default: s(() => [
|
|
2891
|
-
f("div",
|
|
2874
|
+
f("div", El, [
|
|
2892
2875
|
f("div", null, [
|
|
2893
|
-
f("span",
|
|
2876
|
+
f("span", Il, j(e.appName), 1),
|
|
2894
2877
|
t[1] || (t[1] = f("small", { class: "font-875 text-white" }, null, -1))
|
|
2895
2878
|
]),
|
|
2896
|
-
f("div",
|
|
2897
|
-
f("ul",
|
|
2898
|
-
(d(!0), I(
|
|
2879
|
+
f("div", Ml, [
|
|
2880
|
+
f("ul", Tl, [
|
|
2881
|
+
(d(!0), I(U, null, Z(e.menu, (x) => (d(), I("li", {
|
|
2899
2882
|
class: Y(["px-2", e.pmenu?.path == x.path ? "active" : ""]),
|
|
2900
2883
|
key: x,
|
|
2901
|
-
onClick: (
|
|
2902
|
-
}, j(x.meta.title), 11,
|
|
2884
|
+
onClick: (L) => e.refreshSubMenu(x)
|
|
2885
|
+
}, j(x.meta.title), 11, Ol))), 128))
|
|
2903
2886
|
]),
|
|
2904
|
-
|
|
2887
|
+
$("", !0),
|
|
2905
2888
|
u(y, {
|
|
2906
2889
|
size: "middle",
|
|
2907
2890
|
class: "ps-3"
|
|
2908
2891
|
}, {
|
|
2909
2892
|
default: s(() => [
|
|
2910
|
-
e.todoBellEnabled ? (d(), v(p, { key: 0 })) :
|
|
2893
|
+
e.todoBellEnabled ? (d(), v(p, { key: 0 })) : $("", !0),
|
|
2911
2894
|
u(c, {
|
|
2912
2895
|
type: "vertical",
|
|
2913
2896
|
class: "border-light"
|
|
@@ -2926,23 +2909,23 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2926
2909
|
class: "px-3 border-bottom header-h50 bg-primary bg-opacity-75"
|
|
2927
2910
|
}, {
|
|
2928
2911
|
default: s(() => [
|
|
2929
|
-
f("div",
|
|
2930
|
-
f("div",
|
|
2931
|
-
f("ul",
|
|
2932
|
-
(d(!0), I(
|
|
2912
|
+
f("div", Rl, [
|
|
2913
|
+
f("div", Al, [
|
|
2914
|
+
f("ul", Nl, [
|
|
2915
|
+
(d(!0), I(U, null, Z(e.nextMenu, (x) => (d(), I("li", {
|
|
2933
2916
|
class: Y(["px-2", e.pmenu2.path == x.path || e.$route.path == x.path ? "active" : ""]),
|
|
2934
2917
|
key: x,
|
|
2935
|
-
onClick: (
|
|
2936
|
-
}, j(x.meta.title), 11,
|
|
2918
|
+
onClick: (L) => e.refreshSubMenu2(x)
|
|
2919
|
+
}, j(x.meta.title), 11, Pl))), 128))
|
|
2937
2920
|
])
|
|
2938
2921
|
])
|
|
2939
2922
|
])
|
|
2940
2923
|
]),
|
|
2941
2924
|
_: 1
|
|
2942
|
-
})) :
|
|
2925
|
+
})) : $("", !0),
|
|
2943
2926
|
u(k, null, {
|
|
2944
2927
|
default: s(() => [
|
|
2945
|
-
|
|
2928
|
+
$("", !0),
|
|
2946
2929
|
u(h, {
|
|
2947
2930
|
collapsed: e.menuIsCollapse,
|
|
2948
2931
|
"onUpdate:collapsed": t[0] || (t[0] = (x) => e.menuIsCollapse = x),
|
|
@@ -2954,8 +2937,8 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2954
2937
|
collapsedWidth: e.collapsedWidth
|
|
2955
2938
|
}, {
|
|
2956
2939
|
default: s(() => [
|
|
2957
|
-
f("div",
|
|
2958
|
-
f("div",
|
|
2940
|
+
f("div", zl, [
|
|
2941
|
+
f("div", Ll, [
|
|
2959
2942
|
u(b, {
|
|
2960
2943
|
class: Y(["bg-transparent", e.menuItemActiveStyle]),
|
|
2961
2944
|
selectedKeys: [e.$route.path],
|
|
@@ -2974,14 +2957,14 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2974
2957
|
}, 8, ["collapsed", "onBreakpoint", "collapsedWidth"]),
|
|
2975
2958
|
u(k, null, {
|
|
2976
2959
|
default: s(() => [
|
|
2977
|
-
(e.breakpoint,
|
|
2978
|
-
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(
|
|
2960
|
+
(e.breakpoint, $("", !0)),
|
|
2961
|
+
e.tagsBarIsEnabled && !e.breakpoint ? (d(), v(T, { key: 1 })) : $("", !0),
|
|
2979
2962
|
u(C, {
|
|
2980
2963
|
id: "ant-layout-content",
|
|
2981
2964
|
class: Y(["ofa bg-white", { "p-0": e.breakpoint, "p-0": !e.breakpoint }])
|
|
2982
2965
|
}, {
|
|
2983
2966
|
default: s(() => [
|
|
2984
|
-
u(
|
|
2967
|
+
u(M)
|
|
2985
2968
|
]),
|
|
2986
2969
|
_: 1
|
|
2987
2970
|
}, 8, ["class"])
|
|
@@ -2995,7 +2978,7 @@ function Ul(e, t, n, o, a, l) {
|
|
|
2995
2978
|
_: 1
|
|
2996
2979
|
});
|
|
2997
2980
|
}
|
|
2998
|
-
const
|
|
2981
|
+
const Ul = /* @__PURE__ */ D($l, [["render", jl], ["__scopeId", "data-v-610c8d73"]]), Wl = {
|
|
2999
2982
|
__name: "MobileBar",
|
|
3000
2983
|
setup(e) {
|
|
3001
2984
|
const t = S("$API"), n = oe(), o = ae(), a = w(() => n.state.app.auth);
|
|
@@ -3016,7 +2999,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3016
2999
|
};
|
|
3017
3000
|
return (y, _) => {
|
|
3018
3001
|
const h = r("a-button"), g = r("EModal");
|
|
3019
|
-
return d(), I(
|
|
3002
|
+
return d(), I(U, null, [
|
|
3020
3003
|
a.value === "JWT" ? (d(), v(h, {
|
|
3021
3004
|
key: 0,
|
|
3022
3005
|
class: "w-100 h-100 border-0 px-3 shadow-none",
|
|
@@ -3026,7 +3009,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3026
3009
|
f("span", null, "修改密码", -1)
|
|
3027
3010
|
])]),
|
|
3028
3011
|
_: 1
|
|
3029
|
-
})) :
|
|
3012
|
+
})) : $("", !0),
|
|
3030
3013
|
u(h, {
|
|
3031
3014
|
class: "w-100 h-100 border-0 px-3 shadow-none",
|
|
3032
3015
|
onClick: O(c)
|
|
@@ -3048,7 +3031,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3048
3031
|
], 64);
|
|
3049
3032
|
};
|
|
3050
3033
|
}
|
|
3051
|
-
},
|
|
3034
|
+
}, Kl = /* @__PURE__ */ D(Wl, [["__scopeId", "data-v-ba90a5c2"]]), Fl = { class: "mobile-home" }, Vl = { class: "row text-center" }, Dl = { class: "text-muted small" }, Hl = { class: "text-muted small" }, Ql = { class: "d-flex" }, Gl = { class: "small mt-1 text-muted" }, Jl = { class: "d-flex flex-column align-items-center justify-content-center" }, Zl = { class: "mt-1" }, Yl = { class: "text-secondary" }, ql = {
|
|
3052
3035
|
__name: "MobileHome",
|
|
3053
3036
|
props: {
|
|
3054
3037
|
menus: {
|
|
@@ -3062,26 +3045,26 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3062
3045
|
};
|
|
3063
3046
|
return (o, a) => {
|
|
3064
3047
|
const l = r("a-card"), i = r("a-avatar"), c = r("a-icon"), p = r("a-col"), m = r("a-row");
|
|
3065
|
-
return d(), I("div",
|
|
3048
|
+
return d(), I("div", Fl, [
|
|
3066
3049
|
u(l, {
|
|
3067
3050
|
size: "small",
|
|
3068
3051
|
class: "mb-3"
|
|
3069
3052
|
}, {
|
|
3070
3053
|
default: s(() => [
|
|
3071
|
-
f("div",
|
|
3072
|
-
(d(), I(
|
|
3054
|
+
f("div", Vl, [
|
|
3055
|
+
(d(), I(U, null, Z(3, (y) => f("div", {
|
|
3073
3056
|
class: "col-4",
|
|
3074
3057
|
key: "stat-top-" + y
|
|
3075
3058
|
}, [
|
|
3076
3059
|
a[0] || (a[0] = f("div", { class: "fw-bold fs-5" }, "--", -1)),
|
|
3077
|
-
f("div",
|
|
3060
|
+
f("div", Dl, "指标" + j(y), 1)
|
|
3078
3061
|
])), 64)),
|
|
3079
|
-
(d(), I(
|
|
3062
|
+
(d(), I(U, null, Z(3, (y) => f("div", {
|
|
3080
3063
|
class: "col-4 mt-3",
|
|
3081
3064
|
key: "stat-bottom-" + y
|
|
3082
3065
|
}, [
|
|
3083
3066
|
a[1] || (a[1] = f("div", { class: "fw-bold fs-5" }, "--", -1)),
|
|
3084
|
-
f("div",
|
|
3067
|
+
f("div", Hl, "指标" + j(y + 3), 1)
|
|
3085
3068
|
])), 64))
|
|
3086
3069
|
])
|
|
3087
3070
|
]),
|
|
@@ -3095,13 +3078,13 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3095
3078
|
a[2] || (a[2] = f("div", { class: "d-flex justify-content-between align-items-center mb-2" }, [
|
|
3096
3079
|
f("strong", null, "团队")
|
|
3097
3080
|
], -1)),
|
|
3098
|
-
f("div",
|
|
3099
|
-
(d(), I(
|
|
3081
|
+
f("div", Ql, [
|
|
3082
|
+
(d(), I(U, null, Z(4, (y) => f("div", {
|
|
3100
3083
|
class: "me-3 text-center",
|
|
3101
3084
|
key: "member-" + y
|
|
3102
3085
|
}, [
|
|
3103
3086
|
u(i, { size: "large" }),
|
|
3104
|
-
f("div",
|
|
3087
|
+
f("div", Gl, "成员" + j(y), 1)
|
|
3105
3088
|
])), 64))
|
|
3106
3089
|
])
|
|
3107
3090
|
]),
|
|
@@ -3117,19 +3100,19 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3117
3100
|
gutter: [16, 16]
|
|
3118
3101
|
}, {
|
|
3119
3102
|
default: s(() => [
|
|
3120
|
-
(d(!0), I(
|
|
3103
|
+
(d(!0), I(U, null, Z(e.menus, (y) => (d(), v(p, {
|
|
3121
3104
|
span: 6,
|
|
3122
3105
|
key: y.cddm,
|
|
3123
3106
|
onClick: (_) => n(y)
|
|
3124
3107
|
}, {
|
|
3125
3108
|
default: s(() => [
|
|
3126
|
-
f("div",
|
|
3109
|
+
f("div", Jl, [
|
|
3127
3110
|
u(c, {
|
|
3128
3111
|
type: y.tab_icon || y.icon,
|
|
3129
3112
|
class: "fs-4"
|
|
3130
3113
|
}, null, 8, ["type"]),
|
|
3131
|
-
f("div",
|
|
3132
|
-
f("small",
|
|
3114
|
+
f("div", Zl, [
|
|
3115
|
+
f("small", Yl, j(y.tab_title || y.cdmc), 1)
|
|
3133
3116
|
])
|
|
3134
3117
|
])
|
|
3135
3118
|
]),
|
|
@@ -3144,7 +3127,7 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3144
3127
|
]);
|
|
3145
3128
|
};
|
|
3146
3129
|
}
|
|
3147
|
-
},
|
|
3130
|
+
}, Xl = /* @__PURE__ */ D(ql, [["__scopeId", "data-v-69034d4e"]]), er = { class: "container-fluid" }, tr = { class: "row text-center" }, nr = ["onClick"], or = { class: "py-2 d-flex flex-column align-items-center justify-content-center" }, ar = { class: "small mt-1" }, lr = { class: "text-secondary" }, rr = {
|
|
3148
3131
|
__name: "MobileTabBar",
|
|
3149
3132
|
props: {
|
|
3150
3133
|
menus: {
|
|
@@ -3158,40 +3141,40 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3158
3141
|
};
|
|
3159
3142
|
return (o, a) => {
|
|
3160
3143
|
const l = r("a-icon");
|
|
3161
|
-
return d(), I("div",
|
|
3162
|
-
f("div",
|
|
3163
|
-
(d(!0), I(
|
|
3144
|
+
return d(), I("div", er, [
|
|
3145
|
+
f("div", tr, [
|
|
3146
|
+
(d(!0), I(U, null, Z(e.menus, (i) => (d(), I("div", {
|
|
3164
3147
|
class: "col",
|
|
3165
3148
|
key: i.cddm,
|
|
3166
3149
|
onClick: (c) => n(i)
|
|
3167
3150
|
}, [
|
|
3168
|
-
f("div",
|
|
3151
|
+
f("div", or, [
|
|
3169
3152
|
u(l, {
|
|
3170
3153
|
type: i.tab_icon || i.icon
|
|
3171
3154
|
}, null, 8, ["type"]),
|
|
3172
|
-
f("div",
|
|
3173
|
-
f("small",
|
|
3155
|
+
f("div", ar, [
|
|
3156
|
+
f("small", lr, j(i.tab_title || i.cdmc), 1)
|
|
3174
3157
|
])
|
|
3175
3158
|
])
|
|
3176
|
-
], 8,
|
|
3159
|
+
], 8, nr))), 128))
|
|
3177
3160
|
])
|
|
3178
3161
|
]);
|
|
3179
3162
|
};
|
|
3180
3163
|
}
|
|
3181
|
-
},
|
|
3164
|
+
}, sr = { class: "mobile-app-layout" }, ur = {
|
|
3182
3165
|
class: "d-flex justify-content-center align-items-center py-2 text-white",
|
|
3183
3166
|
style: { height: "46px" }
|
|
3184
|
-
},
|
|
3167
|
+
}, ir = {
|
|
3185
3168
|
class: "position-absolute d-flex justify-content-center align-items-center",
|
|
3186
3169
|
style: { height: "46px", width: "46px", top: "0px", left: "0px" }
|
|
3187
|
-
},
|
|
3170
|
+
}, cr = { class: "fw-medium" }, dr = { class: "mobile-content" }, pr = { class: "mobile-footer pt-1 bg-white border-top border-light" }, fr = {
|
|
3188
3171
|
__name: "MobileAppLayout",
|
|
3189
3172
|
setup(e) {
|
|
3190
3173
|
const t = oe(), n = Qt(), o = ae(), a = S("menu", []), l = S("onBreakpoint", () => {
|
|
3191
3174
|
}), i = w(() => {
|
|
3192
|
-
const b = [], A = (
|
|
3193
|
-
Array.isArray(
|
|
3194
|
-
b.push(
|
|
3175
|
+
const b = [], A = (T) => {
|
|
3176
|
+
Array.isArray(T) && T.forEach((M) => {
|
|
3177
|
+
b.push(M), Array.isArray(M.children) && M.children.length > 0 && A(M.children);
|
|
3195
3178
|
});
|
|
3196
3179
|
};
|
|
3197
3180
|
return A(a.value), b;
|
|
@@ -3203,56 +3186,56 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3203
3186
|
o.push("/");
|
|
3204
3187
|
};
|
|
3205
3188
|
return (b, A) => {
|
|
3206
|
-
const
|
|
3207
|
-
return d(), I(
|
|
3208
|
-
u(
|
|
3189
|
+
const T = r("a-layout-sider"), M = r("a-layout"), C = r("a-icon"), k = r("router-view");
|
|
3190
|
+
return d(), I(U, null, [
|
|
3191
|
+
u(M, { class: "breakpoint-compat-layout d-none" }, {
|
|
3209
3192
|
default: s(() => [
|
|
3210
|
-
u(
|
|
3193
|
+
u(T, {
|
|
3211
3194
|
breakpoint: "md",
|
|
3212
3195
|
onBreakpoint: O(l)
|
|
3213
3196
|
}, null, 8, ["onBreakpoint"])
|
|
3214
3197
|
]),
|
|
3215
3198
|
_: 1
|
|
3216
3199
|
}),
|
|
3217
|
-
f("div",
|
|
3218
|
-
f("header",
|
|
3219
|
-
f("div",
|
|
3200
|
+
f("div", sr, [
|
|
3201
|
+
f("header", ur, [
|
|
3202
|
+
f("div", ir, [
|
|
3220
3203
|
_.value ? (d(), v(C, {
|
|
3221
3204
|
key: 0,
|
|
3222
3205
|
type: "icon-left",
|
|
3223
3206
|
class: "back-icon",
|
|
3224
3207
|
onClick: g
|
|
3225
|
-
})) :
|
|
3208
|
+
})) : $("", !0)
|
|
3226
3209
|
]),
|
|
3227
|
-
f("span",
|
|
3228
|
-
|
|
3210
|
+
f("span", cr, j(h.value), 1),
|
|
3211
|
+
$("", !0)
|
|
3229
3212
|
]),
|
|
3230
|
-
f("main",
|
|
3231
|
-
y.value ? (d(), v(k, { key: 0 })) : (d(), v(
|
|
3213
|
+
f("main", dr, [
|
|
3214
|
+
y.value ? (d(), v(k, { key: 0 })) : (d(), v(Xl, {
|
|
3232
3215
|
key: 1,
|
|
3233
3216
|
menus: p.value
|
|
3234
3217
|
}, null, 8, ["menus"]))
|
|
3235
3218
|
]),
|
|
3236
|
-
f("footer",
|
|
3237
|
-
u(
|
|
3219
|
+
f("footer", pr, [
|
|
3220
|
+
u(rr, { menus: m.value }, null, 8, ["menus"])
|
|
3238
3221
|
])
|
|
3239
3222
|
])
|
|
3240
3223
|
], 64);
|
|
3241
3224
|
};
|
|
3242
3225
|
}
|
|
3243
|
-
},
|
|
3226
|
+
}, mr = /* @__PURE__ */ D(fr, [["__scopeId", "data-v-60052808"]]), yr = X({
|
|
3244
3227
|
components: {
|
|
3245
3228
|
MobileMenu: Ln,
|
|
3246
|
-
DockLayout:
|
|
3247
|
-
ClassicLayout:
|
|
3248
|
-
DefaultLayout:
|
|
3249
|
-
SidebarAppProLayout:
|
|
3250
|
-
SidebarMenuLayout:
|
|
3251
|
-
TopLevelMenuLeftLayout:
|
|
3252
|
-
TopLevelMenuRightLayout:
|
|
3253
|
-
TopLevelMenuRightProLayout:
|
|
3254
|
-
MobileBar:
|
|
3255
|
-
MobileAppLayout:
|
|
3229
|
+
DockLayout: Sa,
|
|
3230
|
+
ClassicLayout: Oa,
|
|
3231
|
+
DefaultLayout: za,
|
|
3232
|
+
SidebarAppProLayout: ll,
|
|
3233
|
+
SidebarMenuLayout: Ja,
|
|
3234
|
+
TopLevelMenuLeftLayout: yl,
|
|
3235
|
+
TopLevelMenuRightLayout: xl,
|
|
3236
|
+
TopLevelMenuRightProLayout: Ul,
|
|
3237
|
+
MobileBar: Kl,
|
|
3238
|
+
MobileAppLayout: mr
|
|
3256
3239
|
},
|
|
3257
3240
|
props: {
|
|
3258
3241
|
routerDepth: {
|
|
@@ -3277,14 +3260,14 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3277
3260
|
a.value = C.matched[p.value], l.value = a?.value?.children;
|
|
3278
3261
|
});
|
|
3279
3262
|
const y = S("spinningApp", B(!1)), _ = () => {
|
|
3280
|
-
var C =
|
|
3263
|
+
var C = _t(
|
|
3281
3264
|
o.value,
|
|
3282
3265
|
(x) => x.name == n.currentRoute.value.name
|
|
3283
3266
|
);
|
|
3284
3267
|
if (C)
|
|
3285
3268
|
n.push(C.path);
|
|
3286
3269
|
else if (o.value.length) {
|
|
3287
|
-
var k =
|
|
3270
|
+
var k = gt(o.value);
|
|
3288
3271
|
n.push(k.path);
|
|
3289
3272
|
}
|
|
3290
3273
|
}, h = S("breakpoint", B(!1));
|
|
@@ -3295,14 +3278,14 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3295
3278
|
});
|
|
3296
3279
|
const A = B();
|
|
3297
3280
|
V("menuDrawerRef", A);
|
|
3298
|
-
const
|
|
3281
|
+
const T = S("refreshAppMenu", B(!1)), M = () => {
|
|
3299
3282
|
y.value = !1;
|
|
3300
3283
|
};
|
|
3301
|
-
return ue(
|
|
3284
|
+
return ue(T, (C) => {
|
|
3302
3285
|
console.log("refreshAppMenu:", C, n.options.routes), o.value = n.options.routes;
|
|
3303
3286
|
for (let k = 0; k < p.value; k++)
|
|
3304
3287
|
o.value = o.value[0].children;
|
|
3305
|
-
console.log("开发环境:路由重新创建后,更新菜单"), _(), setTimeout(
|
|
3288
|
+
console.log("开发环境:路由重新创建后,更新菜单"), _(), setTimeout(M, 1500);
|
|
3306
3289
|
}), Me(() => {
|
|
3307
3290
|
_();
|
|
3308
3291
|
}), {
|
|
@@ -3317,29 +3300,29 @@ const Wl = /* @__PURE__ */ D(El, [["render", Ul], ["__scopeId", "data-v-610c8d73
|
|
|
3317
3300
|
// 移动端布局
|
|
3318
3301
|
};
|
|
3319
3302
|
}
|
|
3320
|
-
}),
|
|
3321
|
-
function
|
|
3322
|
-
const i = r("MobileAppLayout"), c = r("DockLayout"), p = r("ClassicLayout"), m = r("SidebarMenuLayout"), y = r("SidebarAppProLayout"), _ = r("TopLevelMenuLeftLayout"), h = r("TopLevelMenuRightLayout"), g = r("TopLevelMenuRightProLayout"), b = r("DefaultLayout"), A = r("MobileBar"),
|
|
3323
|
-
return e.breakpoint && e.mobileLayoutType === "app" ? (d(), v(i, { key: 0 })) : (d(), I(
|
|
3303
|
+
}), hr = { class: "fs-6" }, vr = { class: "d-flex justify-content-end px-3" };
|
|
3304
|
+
function br(e, t, n, o, a, l) {
|
|
3305
|
+
const i = r("MobileAppLayout"), c = r("DockLayout"), p = r("ClassicLayout"), m = r("SidebarMenuLayout"), y = r("SidebarAppProLayout"), _ = r("TopLevelMenuLeftLayout"), h = r("TopLevelMenuRightLayout"), g = r("TopLevelMenuRightProLayout"), b = r("DefaultLayout"), A = r("MobileBar"), T = r("MobileMenu");
|
|
3306
|
+
return e.breakpoint && e.mobileLayoutType === "app" ? (d(), v(i, { key: 0 })) : (d(), I(U, { key: 1 }, [
|
|
3324
3307
|
e.appLayoutType === "dock" ? (d(), v(c, { key: 0 })) : e.appLayoutType === "classic" ? (d(), v(p, { key: 1 })) : e.appLayoutType === "sideBar" ? (d(), v(m, { key: 2 })) : e.appLayoutType === "sideBarPro" ? (d(), v(y, { key: 3 })) : e.appLayoutType === "headerLeft" ? (d(), v(_, { key: 4 })) : e.appLayoutType === "headerRight" ? (d(), v(h, { key: 5 })) : e.appLayoutType === "headerRightPro" ? (d(), v(g, { key: 6 })) : (d(), v(b, { key: 7 })),
|
|
3325
|
-
e.breakpoint && e.mobileLayoutType === "drawer" ? (d(), v(
|
|
3308
|
+
e.breakpoint && e.mobileLayoutType === "drawer" ? (d(), v(T, {
|
|
3326
3309
|
key: 8,
|
|
3327
3310
|
menu: e.menu
|
|
3328
3311
|
}, {
|
|
3329
3312
|
title: s(() => [
|
|
3330
|
-
f("span",
|
|
3313
|
+
f("span", hr, j(e.appName), 1)
|
|
3331
3314
|
]),
|
|
3332
3315
|
foot: s(() => [
|
|
3333
|
-
f("div",
|
|
3316
|
+
f("div", vr, [
|
|
3334
3317
|
u(A)
|
|
3335
3318
|
])
|
|
3336
3319
|
]),
|
|
3337
3320
|
_: 1
|
|
3338
|
-
}, 8, ["menu"])) :
|
|
3321
|
+
}, 8, ["menu"])) : $("", !0)
|
|
3339
3322
|
], 64));
|
|
3340
3323
|
}
|
|
3341
|
-
const
|
|
3342
|
-
function
|
|
3324
|
+
const Qs = /* @__PURE__ */ D(yr, [["render", br], ["__scopeId", "data-v-ea4e0bda"]]);
|
|
3325
|
+
function _r(e) {
|
|
3343
3326
|
const n = (e.options.routes || []).find((a) => a.name === "lowcodeplatform");
|
|
3344
3327
|
if (!n || !Array.isArray(n.children))
|
|
3345
3328
|
return [];
|
|
@@ -3361,7 +3344,7 @@ function gr(e) {
|
|
|
3361
3344
|
});
|
|
3362
3345
|
return o(n.children);
|
|
3363
3346
|
}
|
|
3364
|
-
const
|
|
3347
|
+
const gr = (e) => {
|
|
3365
3348
|
let t = !1;
|
|
3366
3349
|
return e.forEach((n) => {
|
|
3367
3350
|
n.type == "page" && (t = !0);
|
|
@@ -3373,18 +3356,18 @@ function sn(e) {
|
|
|
3373
3356
|
e[t].children && e[t].children.length ? sn(e[t].children) : delete e[t].children;
|
|
3374
3357
|
return e;
|
|
3375
3358
|
}
|
|
3376
|
-
function
|
|
3359
|
+
function kr(e, t) {
|
|
3377
3360
|
const n = (o) => {
|
|
3378
3361
|
if (o == "other/empty.vue")
|
|
3379
|
-
return () => Promise.resolve().then(() =>
|
|
3362
|
+
return () => Promise.resolve().then(() => Wt);
|
|
3380
3363
|
const a = `/src/views/${o}`;
|
|
3381
|
-
return t[a] || (() => Promise.resolve().then(() =>
|
|
3364
|
+
return t[a] || (() => Promise.resolve().then(() => Nr));
|
|
3382
3365
|
};
|
|
3383
3366
|
if (e.children && e.children.length > 0) {
|
|
3384
3367
|
if (e.component)
|
|
3385
3368
|
return n(e.component);
|
|
3386
3369
|
if (e.children.some((o) => o.type === "page"))
|
|
3387
|
-
return () => Promise.resolve().then(() =>
|
|
3370
|
+
return () => Promise.resolve().then(() => Wt);
|
|
3388
3371
|
} else if (e.component)
|
|
3389
3372
|
return n(e.component);
|
|
3390
3373
|
}
|
|
@@ -3412,10 +3395,10 @@ function un(e, t) {
|
|
|
3412
3395
|
mobile_order: a.mobile_order,
|
|
3413
3396
|
tab_icon: a.tab_icon,
|
|
3414
3397
|
tab_title: a.tab_title,
|
|
3415
|
-
component:
|
|
3398
|
+
component: kr(a, t),
|
|
3416
3399
|
children: a.children ? un(a.children, t) : null
|
|
3417
3400
|
};
|
|
3418
|
-
|
|
3401
|
+
gr(a.children) || (l.props = { record: a }), n.push(l);
|
|
3419
3402
|
}
|
|
3420
3403
|
}), n;
|
|
3421
3404
|
}
|
|
@@ -3428,13 +3411,13 @@ function cn(e, t, n, o, a) {
|
|
|
3428
3411
|
i.path = e[l].path + "CUS", i.name = e[l].name + "CUS", i.meta = e[l].meta, i.props = e[l].props, i.component = e[l].component, o.addRoute(i), a.push(i);
|
|
3429
3412
|
}
|
|
3430
3413
|
}
|
|
3431
|
-
function
|
|
3414
|
+
function wr(e, t, n, o, a, l) {
|
|
3432
3415
|
for (let i = 0, c = e.length; i < c; i++)
|
|
3433
3416
|
e[i] && e[i].children && e[i].children.length && cn(e[i].children, t, n, l, o), n && (l.addRoute(n, e[i]), a.commit("ADD_DYNAMIC_ROUTE_NAME", e[i].name));
|
|
3434
3417
|
}
|
|
3435
|
-
function
|
|
3418
|
+
function Cr(e, t, n, o, a, l, i) {
|
|
3436
3419
|
const c = [];
|
|
3437
|
-
switch (c.value = un(e, i),
|
|
3420
|
+
switch (c.value = un(e, i), wr(c.value, t, n, o, a, l), t) {
|
|
3438
3421
|
case 1:
|
|
3439
3422
|
o[0].children = o[0].children.concat(c.value);
|
|
3440
3423
|
break;
|
|
@@ -3455,10 +3438,10 @@ const dn = (e = []) => {
|
|
|
3455
3438
|
return t.path;
|
|
3456
3439
|
return null;
|
|
3457
3440
|
};
|
|
3458
|
-
function
|
|
3441
|
+
function Gs(e, t, n, o, a, l, i, c, p) {
|
|
3459
3442
|
const m = i.state.auth.dynamicRoutes;
|
|
3460
|
-
|
|
3461
|
-
const y =
|
|
3443
|
+
Cr(m, o, a, l, i, c, p);
|
|
3444
|
+
const y = _r(c);
|
|
3462
3445
|
i.commit("SET_APP_MENUS", y);
|
|
3463
3446
|
const _ = decodeURIComponent(t.query.redirect || e.path);
|
|
3464
3447
|
if (e.path == "/") {
|
|
@@ -3466,11 +3449,11 @@ function Js(e, t, n, o, a, l, i, c, p) {
|
|
|
3466
3449
|
h ? n({ path: h, replace: !0 }) : n();
|
|
3467
3450
|
} else e.path === _ ? n({ ...e, replace: !0 }) : n({ path: _ });
|
|
3468
3451
|
}
|
|
3469
|
-
const
|
|
3452
|
+
const Sr = X({
|
|
3470
3453
|
setup() {
|
|
3471
3454
|
}
|
|
3472
3455
|
});
|
|
3473
|
-
function
|
|
3456
|
+
function Br(e, t, n, o, a, l) {
|
|
3474
3457
|
const i = r("router-link"), c = r("a-result");
|
|
3475
3458
|
return d(), v(c, {
|
|
3476
3459
|
status: "403",
|
|
@@ -3488,11 +3471,11 @@ function xr(e, t, n, o, a, l) {
|
|
|
3488
3471
|
_: 1
|
|
3489
3472
|
});
|
|
3490
3473
|
}
|
|
3491
|
-
const
|
|
3474
|
+
const Js = /* @__PURE__ */ D(Sr, [["render", Br]]), xr = X({
|
|
3492
3475
|
setup() {
|
|
3493
3476
|
}
|
|
3494
3477
|
});
|
|
3495
|
-
function
|
|
3478
|
+
function $r(e, t, n, o, a, l) {
|
|
3496
3479
|
const i = r("router-link"), c = r("a-result");
|
|
3497
3480
|
return d(), v(c, {
|
|
3498
3481
|
status: "404",
|
|
@@ -3510,15 +3493,15 @@ function Er(e, t, n, o, a, l) {
|
|
|
3510
3493
|
_: 1
|
|
3511
3494
|
});
|
|
3512
3495
|
}
|
|
3513
|
-
const
|
|
3496
|
+
const Zs = /* @__PURE__ */ D(xr, [["render", $r]]), Er = {
|
|
3514
3497
|
methods: {
|
|
3515
3498
|
reloadPage() {
|
|
3516
3499
|
window.location.reload();
|
|
3517
3500
|
}
|
|
3518
3501
|
}
|
|
3519
|
-
},
|
|
3520
|
-
function
|
|
3521
|
-
return d(), I("div",
|
|
3502
|
+
}, Ir = { class: "error-notification" };
|
|
3503
|
+
function Mr(e, t, n, o, a, l) {
|
|
3504
|
+
return d(), I("div", Ir, [
|
|
3522
3505
|
t[1] || (t[1] = f("h2", null, "内部服务器错误", -1)),
|
|
3523
3506
|
t[2] || (t[2] = f("p", null, "无法处理您的请求。请稍后再试或联系技术支持。", -1)),
|
|
3524
3507
|
f("button", {
|
|
@@ -3526,7 +3509,7 @@ function Tr(e, t, n, o, a, l) {
|
|
|
3526
3509
|
}, "重试")
|
|
3527
3510
|
]);
|
|
3528
3511
|
}
|
|
3529
|
-
const
|
|
3512
|
+
const Ys = /* @__PURE__ */ D(Er, [["render", Mr], ["__scopeId", "data-v-923dc621"]]), Tr = X({
|
|
3530
3513
|
setup() {
|
|
3531
3514
|
const e = oe();
|
|
3532
3515
|
return {
|
|
@@ -3534,7 +3517,7 @@ const qs = /* @__PURE__ */ D(Ir, [["render", Tr], ["__scopeId", "data-v-923dc621
|
|
|
3534
3517
|
};
|
|
3535
3518
|
}
|
|
3536
3519
|
});
|
|
3537
|
-
function
|
|
3520
|
+
function Or(e, t, n, o, a, l) {
|
|
3538
3521
|
const i = r("router-view");
|
|
3539
3522
|
return d(), v(i, null, {
|
|
3540
3523
|
default: s(({ Component: c }) => [
|
|
@@ -3543,16 +3526,16 @@ function Rr(e, t, n, o, a, l) {
|
|
|
3543
3526
|
}, [
|
|
3544
3527
|
e.$store.state.keepAlive.routeShow ? (d(), v(Fe(c), {
|
|
3545
3528
|
key: e.$route.fullPath
|
|
3546
|
-
})) :
|
|
3529
|
+
})) : $("", !0)
|
|
3547
3530
|
], 1032, ["include"]))
|
|
3548
3531
|
]),
|
|
3549
3532
|
_: 1
|
|
3550
3533
|
});
|
|
3551
3534
|
}
|
|
3552
|
-
const
|
|
3535
|
+
const Rr = /* @__PURE__ */ D(Tr, [["render", Or]]), Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3553
3536
|
__proto__: null,
|
|
3554
|
-
default:
|
|
3555
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3537
|
+
default: Rr
|
|
3538
|
+
}, Symbol.toStringTag, { value: "Module" })), Ar = {
|
|
3556
3539
|
__name: "missing",
|
|
3557
3540
|
setup(e) {
|
|
3558
3541
|
return ae(), (t, n) => {
|
|
@@ -3564,7 +3547,7 @@ const Ar = /* @__PURE__ */ D(Or, [["render", Rr]]), Kt = /* @__PURE__ */ Object.
|
|
|
3564
3547
|
"sub-title": "未能加载指定的页面组件。请检查菜单配置中的组件路径是否正确。"
|
|
3565
3548
|
}, {
|
|
3566
3549
|
extra: s(() => [
|
|
3567
|
-
|
|
3550
|
+
$("", !0)
|
|
3568
3551
|
]),
|
|
3569
3552
|
default: s(() => [
|
|
3570
3553
|
n[1] || (n[1] = f("div", { style: { "margin-top": "20px" } }, [
|
|
@@ -3584,11 +3567,11 @@ const Ar = /* @__PURE__ */ D(Or, [["render", Rr]]), Kt = /* @__PURE__ */ Object.
|
|
|
3584
3567
|
});
|
|
3585
3568
|
};
|
|
3586
3569
|
}
|
|
3587
|
-
},
|
|
3570
|
+
}, Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3588
3571
|
__proto__: null,
|
|
3589
|
-
default:
|
|
3590
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3591
|
-
function
|
|
3572
|
+
default: Ar
|
|
3573
|
+
}, Symbol.toStringTag, { value: "Module" })), Pr = {}, zr = { class: "desc" };
|
|
3574
|
+
function Lr(e, t) {
|
|
3592
3575
|
const n = r("a-button"), o = r("close-circle-outlined"), a = r("a-result");
|
|
3593
3576
|
return d(), v(a, {
|
|
3594
3577
|
status: "error",
|
|
@@ -3613,7 +3596,7 @@ function jr(e, t) {
|
|
|
3613
3596
|
})
|
|
3614
3597
|
]),
|
|
3615
3598
|
default: s(() => [
|
|
3616
|
-
f("div",
|
|
3599
|
+
f("div", zr, [
|
|
3617
3600
|
t[6] || (t[6] = f("p", { style: { "font-size": "16px" } }, [
|
|
3618
3601
|
f("strong", null, "您提交的内容存在以下错误:")
|
|
3619
3602
|
], -1)),
|
|
@@ -3632,7 +3615,7 @@ function jr(e, t) {
|
|
|
3632
3615
|
_: 1
|
|
3633
3616
|
});
|
|
3634
3617
|
}
|
|
3635
|
-
const
|
|
3618
|
+
const qs = /* @__PURE__ */ D(Pr, [["render", Lr]]), Xs = {
|
|
3636
3619
|
__name: "noaccess",
|
|
3637
3620
|
setup(e) {
|
|
3638
3621
|
const t = S("$API"), n = oe(), o = ae(), a = w(() => n.state.app.auth);
|
|
@@ -3699,7 +3682,7 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3699
3682
|
});
|
|
3700
3683
|
};
|
|
3701
3684
|
}
|
|
3702
|
-
},
|
|
3685
|
+
}, jr = X({
|
|
3703
3686
|
props: {
|
|
3704
3687
|
spinning: {
|
|
3705
3688
|
type: Boolean,
|
|
@@ -3724,7 +3707,7 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3724
3707
|
},
|
|
3725
3708
|
setup(e) {
|
|
3726
3709
|
const { error: t } = ke(e);
|
|
3727
|
-
|
|
3710
|
+
Kt(() => {
|
|
3728
3711
|
t.value && t.value.errorFields && t.value.errorFields.forEach((l) => {
|
|
3729
3712
|
console.error(`Field: ${l.name}, Errors: ${l.errors.join(", ")}`);
|
|
3730
3713
|
});
|
|
@@ -3737,8 +3720,8 @@ const Xs = /* @__PURE__ */ D(zr, [["render", jr]]), eu = {
|
|
|
3737
3720
|
currentError: a
|
|
3738
3721
|
};
|
|
3739
3722
|
}
|
|
3740
|
-
}),
|
|
3741
|
-
function
|
|
3723
|
+
}), Ur = { key: 0 };
|
|
3724
|
+
function Wr(e, t, n, o, a, l) {
|
|
3742
3725
|
const i = r("a-result"), c = r("a-progress"), p = r("a-spin");
|
|
3743
3726
|
return e.hasError ? (d(), v(i, {
|
|
3744
3727
|
key: 0,
|
|
@@ -3747,7 +3730,7 @@ function Kr(e, t, n, o, a, l) {
|
|
|
3747
3730
|
"sub-title": e.currentError.message
|
|
3748
3731
|
}, {
|
|
3749
3732
|
extra: s(() => [
|
|
3750
|
-
e.currentError ? (d(), I("small",
|
|
3733
|
+
e.currentError ? (d(), I("small", Ur, j(e.currentError.suggested_action), 1)) : $("", !0)
|
|
3751
3734
|
]),
|
|
3752
3735
|
_: 1
|
|
3753
3736
|
}, 8, ["status", "title", "sub-title"])) : (d(), v(p, {
|
|
@@ -3757,7 +3740,7 @@ function Kr(e, t, n, o, a, l) {
|
|
|
3757
3740
|
wrapperClassName: "e-loading"
|
|
3758
3741
|
}, He({
|
|
3759
3742
|
default: s(() => [
|
|
3760
|
-
|
|
3743
|
+
z(e.$slots, "default", {}, void 0, !0)
|
|
3761
3744
|
]),
|
|
3762
3745
|
_: 2
|
|
3763
3746
|
}, [
|
|
@@ -3773,7 +3756,7 @@ function Kr(e, t, n, o, a, l) {
|
|
|
3773
3756
|
} : void 0
|
|
3774
3757
|
]), 1032, ["spinning", "tip"]));
|
|
3775
3758
|
}
|
|
3776
|
-
const
|
|
3759
|
+
const Kr = /* @__PURE__ */ D(jr, [["render", Wr], ["__scopeId", "data-v-bf85d044"]]), Fr = X({
|
|
3777
3760
|
props: {
|
|
3778
3761
|
width: {
|
|
3779
3762
|
type: String,
|
|
@@ -3792,7 +3775,7 @@ const Fr = /* @__PURE__ */ D(Ur, [["render", Kr], ["__scopeId", "data-v-bf85d044
|
|
|
3792
3775
|
};
|
|
3793
3776
|
}
|
|
3794
3777
|
});
|
|
3795
|
-
function
|
|
3778
|
+
function Vr(e, t, n, o, a, l) {
|
|
3796
3779
|
const i = r("a-modal");
|
|
3797
3780
|
return d(), v(i, {
|
|
3798
3781
|
open: e.open,
|
|
@@ -3802,17 +3785,17 @@ function Dr(e, t, n, o, a, l) {
|
|
|
3802
3785
|
footer: null
|
|
3803
3786
|
}, {
|
|
3804
3787
|
title: s(() => [
|
|
3805
|
-
|
|
3788
|
+
z(e.$slots, "title", {}, () => [
|
|
3806
3789
|
G(j(e.title), 1)
|
|
3807
3790
|
])
|
|
3808
3791
|
]),
|
|
3809
3792
|
default: s(() => [
|
|
3810
|
-
|
|
3793
|
+
z(e.$slots, "default")
|
|
3811
3794
|
]),
|
|
3812
3795
|
_: 3
|
|
3813
3796
|
}, 8, ["open", "width"]);
|
|
3814
3797
|
}
|
|
3815
|
-
const
|
|
3798
|
+
const Dr = /* @__PURE__ */ D(Fr, [["render", Vr]]), Hr = X({
|
|
3816
3799
|
setup() {
|
|
3817
3800
|
const e = B(""), t = B(!1);
|
|
3818
3801
|
return {
|
|
@@ -3821,7 +3804,7 @@ const Hr = /* @__PURE__ */ D(Vr, [["render", Dr]]), Qr = X({
|
|
|
3821
3804
|
};
|
|
3822
3805
|
}
|
|
3823
3806
|
});
|
|
3824
|
-
function
|
|
3807
|
+
function Qr(e, t, n, o, a, l) {
|
|
3825
3808
|
const i = r("a-drawer");
|
|
3826
3809
|
return d(), v(i, {
|
|
3827
3810
|
open: e.open,
|
|
@@ -3831,15 +3814,15 @@ function Gr(e, t, n, o, a, l) {
|
|
|
3831
3814
|
style: { position: "absolute" }
|
|
3832
3815
|
}, {
|
|
3833
3816
|
extra: s(() => [
|
|
3834
|
-
|
|
3817
|
+
z(e.$slots, "extra")
|
|
3835
3818
|
]),
|
|
3836
3819
|
default: s(() => [
|
|
3837
|
-
|
|
3820
|
+
z(e.$slots, "default")
|
|
3838
3821
|
]),
|
|
3839
3822
|
_: 3
|
|
3840
3823
|
}, 8, ["open", "title"]);
|
|
3841
3824
|
}
|
|
3842
|
-
const
|
|
3825
|
+
const Gr = /* @__PURE__ */ D(Hr, [["render", Qr]]), Jr = { class: "d-flex h-100" }, Zr = { class: "flex-fill border rounded-3 p-1 ofa" }, Yr = { class: "flex-fill d-flex flex-column border rounded-3 p-1" }, qr = {
|
|
3843
3826
|
__name: "EMenu",
|
|
3844
3827
|
props: /* @__PURE__ */ Dt({
|
|
3845
3828
|
menus: { type: Array, required: !0, default: () => [] }
|
|
@@ -3860,7 +3843,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3860
3843
|
});
|
|
3861
3844
|
return (l, i) => {
|
|
3862
3845
|
const c = r("a-menu-item"), p = r("a-sub-menu"), m = r("a-menu"), y = r("a-col"), _ = r("a-row");
|
|
3863
|
-
return d(), I("div",
|
|
3846
|
+
return d(), I("div", Jr, [
|
|
3864
3847
|
u(_, {
|
|
3865
3848
|
gutter: [16, 16],
|
|
3866
3849
|
class: "flex-fill overflow-hidden"
|
|
@@ -3871,7 +3854,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3871
3854
|
class: "flex-fill d-flex flex-column"
|
|
3872
3855
|
}, {
|
|
3873
3856
|
default: s(() => [
|
|
3874
|
-
f("div",
|
|
3857
|
+
f("div", Zr, [
|
|
3875
3858
|
u(m, {
|
|
3876
3859
|
selectedKeys: n.value,
|
|
3877
3860
|
"onUpdate:selectedKeys": i[0] || (i[0] = (h) => n.value = h),
|
|
@@ -3881,7 +3864,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3881
3864
|
style: { height: "100%", "border-right": "0" }
|
|
3882
3865
|
}, {
|
|
3883
3866
|
default: s(() => [
|
|
3884
|
-
(d(!0), I(
|
|
3867
|
+
(d(!0), I(U, null, Z(e.menus, (h) => (d(), I(U, {
|
|
3885
3868
|
key: h.key
|
|
3886
3869
|
}, [
|
|
3887
3870
|
h.children && h.children.length ? (d(), v(p, {
|
|
@@ -3891,7 +3874,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3891
3874
|
G(j(h.label), 1)
|
|
3892
3875
|
]),
|
|
3893
3876
|
default: s(() => [
|
|
3894
|
-
(d(!0), I(
|
|
3877
|
+
(d(!0), I(U, null, Z(h.children, (g) => (d(), I(U, {
|
|
3895
3878
|
key: g.key
|
|
3896
3879
|
}, [
|
|
3897
3880
|
g.children && g.children.length ? (d(), v(p, {
|
|
@@ -3901,7 +3884,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3901
3884
|
G(j(g.label), 1)
|
|
3902
3885
|
]),
|
|
3903
3886
|
default: s(() => [
|
|
3904
|
-
(d(!0), I(
|
|
3887
|
+
(d(!0), I(U, null, Z(g.children, (b) => (d(), v(c, {
|
|
3905
3888
|
key: b.key
|
|
3906
3889
|
}, {
|
|
3907
3890
|
default: s(() => [
|
|
@@ -3943,8 +3926,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3943
3926
|
class: "flex-fill d-flex flex-column"
|
|
3944
3927
|
}, {
|
|
3945
3928
|
default: s(() => [
|
|
3946
|
-
f("div",
|
|
3947
|
-
(d(!0), I(
|
|
3929
|
+
f("div", Yr, [
|
|
3930
|
+
(d(!0), I(U, null, Z(a.value, (h) => z(l.$slots, h)), 256))
|
|
3948
3931
|
])
|
|
3949
3932
|
]),
|
|
3950
3933
|
_: 3
|
|
@@ -3955,7 +3938,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3955
3938
|
]);
|
|
3956
3939
|
};
|
|
3957
3940
|
}
|
|
3958
|
-
},
|
|
3941
|
+
}, Xr = {
|
|
3959
3942
|
__name: "ETabs",
|
|
3960
3943
|
props: {
|
|
3961
3944
|
tabs: {
|
|
@@ -3969,13 +3952,13 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3969
3952
|
const o = r("a-tab-pane"), a = r("a-tabs");
|
|
3970
3953
|
return d(), v(a, { class: "flex-fill h-100" }, He({
|
|
3971
3954
|
default: s(() => [
|
|
3972
|
-
(d(!0), I(
|
|
3955
|
+
(d(!0), I(U, null, Z(e.tabs, (l) => (d(), v(o, {
|
|
3973
3956
|
key: l.key,
|
|
3974
3957
|
tab: l.label,
|
|
3975
3958
|
disabled: l.disabled
|
|
3976
3959
|
}, {
|
|
3977
3960
|
default: s(() => [
|
|
3978
|
-
|
|
3961
|
+
z(t.$slots, l.key, {}, void 0, !0)
|
|
3979
3962
|
]),
|
|
3980
3963
|
_: 2
|
|
3981
3964
|
}, 1032, ["tab", "disabled"]))), 128))
|
|
@@ -3985,21 +3968,21 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
3985
3968
|
t.$slots.leftExtra ? {
|
|
3986
3969
|
name: "leftExtra",
|
|
3987
3970
|
fn: s(() => [
|
|
3988
|
-
|
|
3971
|
+
z(t.$slots, "leftExtra", {}, void 0, !0)
|
|
3989
3972
|
]),
|
|
3990
3973
|
key: "0"
|
|
3991
3974
|
} : void 0,
|
|
3992
3975
|
t.$slots.rightExtra ? {
|
|
3993
3976
|
name: "rightExtra",
|
|
3994
3977
|
fn: s(() => [
|
|
3995
|
-
|
|
3978
|
+
z(t.$slots, "rightExtra", {}, void 0, !0)
|
|
3996
3979
|
]),
|
|
3997
3980
|
key: "1"
|
|
3998
3981
|
} : void 0
|
|
3999
3982
|
]), 1024);
|
|
4000
3983
|
};
|
|
4001
3984
|
}
|
|
4002
|
-
},
|
|
3985
|
+
}, es = /* @__PURE__ */ D(Xr, [["__scopeId", "data-v-cb45a7f0"]]), ts = { class: "esteps-content flex-fill d-flex flex-column mt-2" }, ns = {
|
|
4003
3986
|
__name: "ESteps",
|
|
4004
3987
|
props: /* @__PURE__ */ Dt({
|
|
4005
3988
|
steps: {
|
|
@@ -4041,28 +4024,28 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4041
4024
|
direction: o.value
|
|
4042
4025
|
}, {
|
|
4043
4026
|
default: s(() => [
|
|
4044
|
-
(d(!0), I(
|
|
4027
|
+
(d(!0), I(U, null, Z(e.steps, (p) => (d(), v(i, {
|
|
4045
4028
|
key: p.key,
|
|
4046
4029
|
title: p.label
|
|
4047
4030
|
}, null, 8, ["title"]))), 128))
|
|
4048
4031
|
]),
|
|
4049
4032
|
_: 1
|
|
4050
4033
|
}, 8, ["current", "size", "direction"]),
|
|
4051
|
-
|
|
4034
|
+
z(a.$slots, "extra", {}, void 0, !0)
|
|
4052
4035
|
], 2),
|
|
4053
|
-
f("div",
|
|
4054
|
-
(d(!0), I(
|
|
4036
|
+
f("div", ts, [
|
|
4037
|
+
(d(!0), I(U, null, Z(e.steps, (p) => z(a.$slots, p.key, {}, void 0, !0)), 256))
|
|
4055
4038
|
])
|
|
4056
4039
|
], 2);
|
|
4057
4040
|
};
|
|
4058
4041
|
}
|
|
4059
|
-
},
|
|
4042
|
+
}, os = /* @__PURE__ */ D(ns, [["__scopeId", "data-v-c32faac1"]]), as = {
|
|
4060
4043
|
ref: "element",
|
|
4061
4044
|
class: "flex-fill d-flex flex-column bg-white"
|
|
4062
|
-
},
|
|
4045
|
+
}, ls = { class: "px-2" }, rs = { key: 1 }, ss = { class: "d-inline" }, us = { style: { color: "#f50" } }, is = { key: 2 }, cs = {
|
|
4063
4046
|
key: 0,
|
|
4064
4047
|
class: "p-2 border-top d-flex justify-content-between bg-white"
|
|
4065
|
-
},
|
|
4048
|
+
}, ds = {
|
|
4066
4049
|
__name: "ETree",
|
|
4067
4050
|
props: {
|
|
4068
4051
|
// 👉 **配置相关**
|
|
@@ -4143,11 +4126,11 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4143
4126
|
}
|
|
4144
4127
|
},
|
|
4145
4128
|
setup(e, { expose: t }) {
|
|
4146
|
-
const n = e, { selectedKeysName: o, autoExpandParent: a } = ke(n), l = B([]), i = S("checkedKeys", B([])), c = S(o.value, B([])), p = S("expandedKeys", B([])), m = B(a.value), y = S("onCheck", (
|
|
4147
|
-
}), _ = S("onSelect", (
|
|
4148
|
-
}), h = (
|
|
4149
|
-
p.value =
|
|
4150
|
-
}, g = (
|
|
4129
|
+
const n = e, { selectedKeysName: o, autoExpandParent: a } = ke(n), l = B([]), i = S("checkedKeys", B([])), c = S(o.value, B([])), p = S("expandedKeys", B([])), m = B(a.value), y = S("onCheck", (E) => {
|
|
4130
|
+
}), _ = S("onSelect", (E) => {
|
|
4131
|
+
}), h = (E) => {
|
|
4132
|
+
p.value = E, m.value = !1;
|
|
4133
|
+
}, g = (E) => {
|
|
4151
4134
|
const P = [], K = (J, H, ne) => {
|
|
4152
4135
|
J.forEach((re, N) => {
|
|
4153
4136
|
P.push({
|
|
@@ -4158,10 +4141,10 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4158
4141
|
}), re.children && K(re.children, re.key, ne + 1);
|
|
4159
4142
|
});
|
|
4160
4143
|
};
|
|
4161
|
-
return K(
|
|
4162
|
-
}, b = S("ondrop", (
|
|
4163
|
-
}), A = (
|
|
4164
|
-
const P =
|
|
4144
|
+
return K(E, "", 1), P;
|
|
4145
|
+
}, b = S("ondrop", (E, P, K, J, H) => {
|
|
4146
|
+
}), A = (E) => {
|
|
4147
|
+
const P = E.node.key, K = E.dragNode.key, J = E.node.pos.split("-"), H = E.dropPosition - Number(J[J.length - 1]), ne = (N, de, Ae) => {
|
|
4165
4148
|
N.forEach((Oe, Je) => {
|
|
4166
4149
|
if (Oe.key === de)
|
|
4167
4150
|
return Ae(Oe, Je, N);
|
|
@@ -4172,11 +4155,11 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4172
4155
|
let re;
|
|
4173
4156
|
if (ne(l.value, K, (N, de, Ae) => {
|
|
4174
4157
|
Ae.splice(de, 1), re = N;
|
|
4175
|
-
}),
|
|
4158
|
+
}), !E.dropToGap)
|
|
4176
4159
|
ne(l.value, P, (N) => {
|
|
4177
4160
|
N.children = N.children || [], N.children.unshift(re);
|
|
4178
4161
|
});
|
|
4179
|
-
else if ((
|
|
4162
|
+
else if ((E.node.children || []).length > 0 && E.node.expanded && H === 1)
|
|
4180
4163
|
ne(l.value, P, (N) => {
|
|
4181
4164
|
N.children = N.children || [], N.children.unshift(re);
|
|
4182
4165
|
});
|
|
@@ -4187,53 +4170,53 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4187
4170
|
}), H === -1 ? N.splice(de, 0, re) : N.splice(de + 1, 0, re);
|
|
4188
4171
|
}
|
|
4189
4172
|
b(K, P, H, l, g(l.value));
|
|
4190
|
-
},
|
|
4191
|
-
for (let J = 0; J <
|
|
4192
|
-
const H =
|
|
4193
|
-
|
|
4173
|
+
}, T = [], M = (E, P, K) => {
|
|
4174
|
+
for (let J = 0; J < E.length; J++) {
|
|
4175
|
+
const H = E[J], ne = H.key, re = K(H);
|
|
4176
|
+
T.push({
|
|
4194
4177
|
key: ne,
|
|
4195
4178
|
title: re
|
|
4196
|
-
}), H.children &&
|
|
4179
|
+
}), H.children && M(H.children, P, K);
|
|
4197
4180
|
}
|
|
4198
|
-
}, C = (
|
|
4181
|
+
}, C = (E, P) => {
|
|
4199
4182
|
let K;
|
|
4200
4183
|
for (let J = 0; J < P.length; J++) {
|
|
4201
4184
|
const H = P[J];
|
|
4202
|
-
H.children && H.children.length > 0 ? H.children.some((ne) => ne.key ===
|
|
4185
|
+
H.children && H.children.length > 0 ? H.children.some((ne) => ne.key === E) ? K = H.key : C(E, H.children) && (K = C(E, H.children)) : H.key === E && (K = H.key);
|
|
4203
4186
|
}
|
|
4204
4187
|
return K;
|
|
4205
4188
|
}, k = S("isTreeSearchEnabled", B(!1)), x = B();
|
|
4206
|
-
ue(x, (
|
|
4207
|
-
|
|
4208
|
-
const P =
|
|
4209
|
-
p.value = P, x.value =
|
|
4189
|
+
ue(x, (E) => {
|
|
4190
|
+
M(l.value, "key", (K) => K[n.fieldNames.title]);
|
|
4191
|
+
const P = T.map((K) => K.title.indexOf(E) > -1 ? C(K.key, l.value) : null).filter((K, J, H) => K && H.indexOf(K) === J);
|
|
4192
|
+
p.value = P, x.value = E, m.value = !0;
|
|
4210
4193
|
});
|
|
4211
|
-
const
|
|
4212
|
-
ue(() =>
|
|
4213
|
-
|
|
4194
|
+
const L = S("isTreeExpandAll", B(!1));
|
|
4195
|
+
ue(() => L.value, (E) => {
|
|
4196
|
+
M(l.value, "key", (J) => J[n.fieldNames.title]);
|
|
4214
4197
|
const P = B("02200059");
|
|
4215
|
-
|
|
4216
|
-
const K =
|
|
4198
|
+
E ? P.value = "" : P.value = "02200059";
|
|
4199
|
+
const K = T.map((J) => J.title.indexOf(P.value) > -1 ? C(J.key, l.value) : null).filter((J, H, ne) => J && ne.indexOf(J) === H);
|
|
4217
4200
|
p.value = K, m.value = !0;
|
|
4218
4201
|
});
|
|
4219
|
-
const R = S("onSuccess", (
|
|
4220
|
-
|
|
4221
|
-
}),
|
|
4222
|
-
(
|
|
4202
|
+
const R = S("onSuccess", (E, P) => {
|
|
4203
|
+
E.value = P.data, m.value && (p.value = E.value.map((K) => K[n.fieldNames.key]));
|
|
4204
|
+
}), W = S("state", {}), Q = S("apiObj", B({})), { method: F } = { ...Q }, { run: q, loading: ee, current: te, pageSize: se, total: le, error: ie } = it(
|
|
4205
|
+
(E) => Q[F]({ ...E, ...Q.params }),
|
|
4223
4206
|
{
|
|
4224
4207
|
refreshDeps: [Q],
|
|
4225
4208
|
pagination: {
|
|
4226
4209
|
pageSizeKey: "pageSize"
|
|
4227
4210
|
},
|
|
4228
4211
|
defaultParams: [{ pageSize: n.pageSize }],
|
|
4229
|
-
onSuccess: (
|
|
4230
|
-
R(l,
|
|
4212
|
+
onSuccess: (E) => {
|
|
4213
|
+
R(l, E);
|
|
4231
4214
|
}
|
|
4232
4215
|
}
|
|
4233
4216
|
), we = () => {
|
|
4234
|
-
q({ current: te.value, pageSize: se.value, ...
|
|
4217
|
+
q({ current: te.value, pageSize: se.value, ...W });
|
|
4235
4218
|
}, he = () => {
|
|
4236
|
-
q({ current: te.value, pageSize: se.value, ...
|
|
4219
|
+
q({ current: te.value, pageSize: se.value, ...W });
|
|
4237
4220
|
};
|
|
4238
4221
|
V("run", q), V("total", le), V("loading", ee), V("current", te), V("pageSize", se);
|
|
4239
4222
|
const ve = B(n.simple);
|
|
@@ -4245,9 +4228,9 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4245
4228
|
sync: we,
|
|
4246
4229
|
search: he,
|
|
4247
4230
|
treeData: l,
|
|
4248
|
-
dataList:
|
|
4231
|
+
dataList: T
|
|
4249
4232
|
//autoExpandParent: autoExpandParentLocal,
|
|
4250
|
-
}), (
|
|
4233
|
+
}), (E, P) => {
|
|
4251
4234
|
const K = r("CResponsiveHeader"), J = r("a-input"), H = r("a-tree"), ne = r("CFooterPaginationBar"), re = r("ESpin");
|
|
4252
4235
|
return d(), v(re, {
|
|
4253
4236
|
spinning: O(ee),
|
|
@@ -4259,26 +4242,26 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4259
4242
|
contBorder: e.contBorder
|
|
4260
4243
|
}, {
|
|
4261
4244
|
left: s(() => [
|
|
4262
|
-
|
|
4245
|
+
z(E.$slots, "left")
|
|
4263
4246
|
]),
|
|
4264
4247
|
right: s(() => [
|
|
4265
|
-
|
|
4248
|
+
z(E.$slots, "right")
|
|
4266
4249
|
]),
|
|
4267
4250
|
header: s(() => [
|
|
4268
|
-
|
|
4251
|
+
z(E.$slots, "header")
|
|
4269
4252
|
]),
|
|
4270
4253
|
tag: s(() => [
|
|
4271
|
-
|
|
4254
|
+
z(E.$slots, "tag")
|
|
4272
4255
|
]),
|
|
4273
4256
|
content: s(() => [
|
|
4274
|
-
|
|
4257
|
+
z(E.$slots, "content")
|
|
4275
4258
|
]),
|
|
4276
4259
|
_: 3
|
|
4277
4260
|
}, 8, ["headBorder", "contBorder"]),
|
|
4278
|
-
f("div",
|
|
4261
|
+
f("div", as, [
|
|
4279
4262
|
u(mn, null, {
|
|
4280
4263
|
default: s(() => [
|
|
4281
|
-
yn(f("div",
|
|
4264
|
+
yn(f("div", ls, [
|
|
4282
4265
|
u(J, {
|
|
4283
4266
|
value: x.value,
|
|
4284
4267
|
"onUpdate:value": P[0] || (P[0] = (N) => x.value = N),
|
|
@@ -4311,20 +4294,20 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4311
4294
|
draggable: e.isDraggable
|
|
4312
4295
|
}, Ht({ drop: e.isDraggable ? A : void 0 })), {
|
|
4313
4296
|
title: s(({ data: N }) => [
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
N[e.fieldNames.title].indexOf(x.value) > -1 ? (d(), I("span",
|
|
4297
|
+
z(E.$slots, "title", { item: N }, () => [
|
|
4298
|
+
$("", !0),
|
|
4299
|
+
N[e.fieldNames.title].indexOf(x.value) > -1 ? (d(), I("span", rs, [
|
|
4317
4300
|
G(j(N[e.fieldNames.title].substr(0, N[e.fieldNames.title].indexOf(x.value))) + " ", 1),
|
|
4318
|
-
f("div",
|
|
4319
|
-
f("span",
|
|
4301
|
+
f("div", ss, [
|
|
4302
|
+
f("span", us, j(x.value), 1),
|
|
4320
4303
|
f("span", null, j(N[e.fieldNames.title].substr(N[e.fieldNames.title].indexOf(x.value) + x.value.length)), 1)
|
|
4321
4304
|
])
|
|
4322
|
-
])) : (d(), I("span",
|
|
4305
|
+
])) : (d(), I("span", is, j(N[e.fieldNames.title]), 1))
|
|
4323
4306
|
])
|
|
4324
4307
|
]),
|
|
4325
4308
|
_: 3
|
|
4326
4309
|
}, 16, ["treeData", "multiple", "show-line", "blockNode", "field-names", "auto-expand-parent", "checkedKeys", "selectedKeys", "expandedKeys", "onCheck", "onSelect", "draggable"]),
|
|
4327
|
-
e.pagination ?
|
|
4310
|
+
e.pagination ? $("", !0) : (d(), I("div", cs, [
|
|
4328
4311
|
u(ne)
|
|
4329
4312
|
]))
|
|
4330
4313
|
], 512)
|
|
@@ -4333,16 +4316,16 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4333
4316
|
}, 8, ["spinning", "error"]);
|
|
4334
4317
|
};
|
|
4335
4318
|
}
|
|
4336
|
-
},
|
|
4319
|
+
}, ps = {
|
|
4337
4320
|
ref: "element",
|
|
4338
4321
|
class: "flex-fill d-flex flex-column bg-white"
|
|
4339
|
-
},
|
|
4322
|
+
}, fs = {
|
|
4340
4323
|
key: 0,
|
|
4341
4324
|
class: "py-3"
|
|
4342
|
-
},
|
|
4325
|
+
}, ms = { class: "text-secondary" }, ys = {
|
|
4343
4326
|
key: 0,
|
|
4344
4327
|
class: "p-2 border-top d-flex justify-content-between bg-white"
|
|
4345
|
-
},
|
|
4328
|
+
}, hs = 20, vs = {
|
|
4346
4329
|
__name: "EList",
|
|
4347
4330
|
props: {
|
|
4348
4331
|
grid: {
|
|
@@ -4406,7 +4389,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4406
4389
|
setup(e, { expose: t }) {
|
|
4407
4390
|
const n = e, o = B([]), { loadMore: a } = ke(n), l = S("onSuccess", (F, q) => {
|
|
4408
4391
|
F.value = a.value ? F.value.concat(q.data) : q.data;
|
|
4409
|
-
}), i = S("state", {}), c = S("apiObj", B({})), { method: p } = { ...c }, { run: m, loading: y, current: _, pageSize: h, total: g, error: b } =
|
|
4392
|
+
}), i = S("state", {}), c = S("apiObj", B({})), { method: p } = { ...c }, { run: m, loading: y, current: _, pageSize: h, total: g, error: b } = it(
|
|
4410
4393
|
(F) => c[p]({ ...F, ...c.params, ...i }),
|
|
4411
4394
|
{
|
|
4412
4395
|
refreshDeps: [c],
|
|
@@ -4421,27 +4404,27 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4421
4404
|
}
|
|
4422
4405
|
), A = () => {
|
|
4423
4406
|
m({ current: _.value, pageSize: h.value, ...i });
|
|
4424
|
-
},
|
|
4407
|
+
}, T = () => {
|
|
4425
4408
|
m({ current: _.value, pageSize: h.value, ...i });
|
|
4426
4409
|
};
|
|
4427
4410
|
V("run", m), V("total", g), V("loading", y), V("current", _), V("pageSize", h);
|
|
4428
|
-
const
|
|
4429
|
-
V("simple",
|
|
4411
|
+
const M = B(n.simple);
|
|
4412
|
+
V("simple", M);
|
|
4430
4413
|
const C = B(n.showSizeChanger);
|
|
4431
4414
|
V("showSizeChanger", C);
|
|
4432
4415
|
const k = B(n.showQuickJumper);
|
|
4433
4416
|
V("showQuickJumper", k);
|
|
4434
|
-
const x = B(""),
|
|
4435
|
-
|
|
4436
|
-
},
|
|
4437
|
-
const F =
|
|
4417
|
+
const x = B(""), L = B(1), R = () => {
|
|
4418
|
+
L.value * h.value <= g.value ? (L.value += 1, m({ current: L.value, pageSize: h.value, ...i })) : x.value = "已经到底了";
|
|
4419
|
+
}, W = B(null), Q = () => {
|
|
4420
|
+
const F = W.value;
|
|
4438
4421
|
var q = F.scrollTop + F.clientHeight;
|
|
4439
4422
|
const ee = F.scrollHeight;
|
|
4440
|
-
q >= ee -
|
|
4423
|
+
q >= ee - hs && !y.value && a.value && R();
|
|
4441
4424
|
};
|
|
4442
4425
|
return t({
|
|
4443
4426
|
sync: A,
|
|
4444
|
-
search:
|
|
4427
|
+
search: T,
|
|
4445
4428
|
dataList: o,
|
|
4446
4429
|
total: g
|
|
4447
4430
|
}), (F, q) => {
|
|
@@ -4456,27 +4439,27 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4456
4439
|
contBorder: e.contBorder
|
|
4457
4440
|
}, {
|
|
4458
4441
|
left: s(() => [
|
|
4459
|
-
|
|
4442
|
+
z(F.$slots, "left", {}, void 0, !0)
|
|
4460
4443
|
]),
|
|
4461
4444
|
right: s(() => [
|
|
4462
|
-
|
|
4445
|
+
z(F.$slots, "right", {}, void 0, !0)
|
|
4463
4446
|
]),
|
|
4464
4447
|
header: s(() => [
|
|
4465
|
-
|
|
4448
|
+
z(F.$slots, "header", {}, void 0, !0)
|
|
4466
4449
|
]),
|
|
4467
4450
|
tag: s(() => [
|
|
4468
|
-
|
|
4451
|
+
z(F.$slots, "tag", {}, void 0, !0)
|
|
4469
4452
|
]),
|
|
4470
4453
|
content: s(() => [
|
|
4471
|
-
|
|
4454
|
+
z(F.$slots, "content", {}, void 0, !0)
|
|
4472
4455
|
]),
|
|
4473
4456
|
_: 3
|
|
4474
4457
|
}, 8, ["headBorder", "contBorder"]),
|
|
4475
|
-
f("div",
|
|
4458
|
+
f("div", ps, [
|
|
4476
4459
|
f("div", {
|
|
4477
4460
|
class: "flex-fill d-flex flex-column ofa cccc",
|
|
4478
4461
|
ref_key: "scrollContainer",
|
|
4479
|
-
ref:
|
|
4462
|
+
ref: W,
|
|
4480
4463
|
onScroll: Q
|
|
4481
4464
|
}, [
|
|
4482
4465
|
u(le, ge({ "item-layout": e.itemLayout }, e.itemLayout === "none" ? { grid: e.grid } : {}, {
|
|
@@ -4486,36 +4469,36 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4486
4469
|
renderItem: s(({ item: he, index: ve }) => [
|
|
4487
4470
|
u(te, { key: "item" }, {
|
|
4488
4471
|
default: s(() => [
|
|
4489
|
-
|
|
4472
|
+
z(F.$slots, "default", {
|
|
4490
4473
|
item: he,
|
|
4491
4474
|
index: ve
|
|
4492
4475
|
}, void 0, !0)
|
|
4493
4476
|
]),
|
|
4494
4477
|
_: 2
|
|
4495
4478
|
}, 1024),
|
|
4496
|
-
|
|
4479
|
+
z(F.$slots, "item", {
|
|
4497
4480
|
item: he,
|
|
4498
4481
|
index: ve
|
|
4499
4482
|
}, void 0, !0)
|
|
4500
4483
|
]),
|
|
4501
4484
|
default: s(() => [
|
|
4502
|
-
O(a) ? (d(), I("div",
|
|
4485
|
+
O(a) ? (d(), I("div", fs, [
|
|
4503
4486
|
u(se, {
|
|
4504
4487
|
class: "position-absolute bottom-0",
|
|
4505
4488
|
style: { transform: "translateY(50%)" }
|
|
4506
4489
|
}, {
|
|
4507
4490
|
default: s(() => [
|
|
4508
|
-
f("small",
|
|
4491
|
+
f("small", ms, j(x.value), 1)
|
|
4509
4492
|
]),
|
|
4510
4493
|
_: 1
|
|
4511
4494
|
})
|
|
4512
|
-
])) :
|
|
4495
|
+
])) : $("", !0)
|
|
4513
4496
|
]),
|
|
4514
4497
|
_: 3
|
|
4515
4498
|
}, 16, ["item-layout", "class", "data-source"])
|
|
4516
4499
|
], 544)
|
|
4517
4500
|
], 512),
|
|
4518
|
-
e.pagination ?
|
|
4501
|
+
e.pagination ? $("", !0) : (d(), I("div", ys, [
|
|
4519
4502
|
u(ie, { styleSetting: !1 })
|
|
4520
4503
|
]))
|
|
4521
4504
|
]),
|
|
@@ -4523,10 +4506,10 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4523
4506
|
}, 8, ["spinning", "error"]);
|
|
4524
4507
|
};
|
|
4525
4508
|
}
|
|
4526
|
-
},
|
|
4509
|
+
}, bs = /* @__PURE__ */ D(vs, [["__scopeId", "data-v-26d88359"]]), _s = {
|
|
4527
4510
|
key: 0,
|
|
4528
4511
|
class: "p-2 border-top d-flex justify-content-between"
|
|
4529
|
-
},
|
|
4512
|
+
}, gs = {
|
|
4530
4513
|
__name: "ETable",
|
|
4531
4514
|
props: {
|
|
4532
4515
|
// 👉 **表格列配置**
|
|
@@ -4623,14 +4606,14 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4623
4606
|
"apiObj",
|
|
4624
4607
|
Te({
|
|
4625
4608
|
method: "post",
|
|
4626
|
-
post: async function(
|
|
4609
|
+
post: async function(E) {
|
|
4627
4610
|
return await new Promise((P, K) => {
|
|
4628
4611
|
P();
|
|
4629
4612
|
});
|
|
4630
4613
|
}
|
|
4631
4614
|
})
|
|
4632
|
-
), { method: m } = { ...p }, { run: y, loading: _, current: h, pageSize: g, total: b, error: A } =
|
|
4633
|
-
(
|
|
4615
|
+
), { method: m } = { ...p }, { run: y, loading: _, current: h, pageSize: g, total: b, error: A } = it(
|
|
4616
|
+
(E) => p[m]({ ...E, ...p.params }),
|
|
4634
4617
|
{
|
|
4635
4618
|
refreshDeps: [p],
|
|
4636
4619
|
debounceInterval: 300,
|
|
@@ -4638,38 +4621,38 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4638
4621
|
pageSizeKey: "pageSize"
|
|
4639
4622
|
},
|
|
4640
4623
|
defaultParams: [{ pageSize: n.pageSize }],
|
|
4641
|
-
onSuccess: (
|
|
4642
|
-
|
|
4624
|
+
onSuccess: (E) => {
|
|
4625
|
+
E && k(c, E);
|
|
4643
4626
|
}
|
|
4644
4627
|
}
|
|
4645
|
-
),
|
|
4646
|
-
y({ current: h.value, pageSize: g.value, ...
|
|
4628
|
+
), T = S("state", {}), M = () => {
|
|
4629
|
+
y({ current: h.value, pageSize: g.value, ...T });
|
|
4647
4630
|
}, C = () => {
|
|
4648
|
-
y({ current: h.value, pageSize: g.value, ...
|
|
4649
|
-
}, k = S("onSuccess", (
|
|
4650
|
-
|
|
4651
|
-
}), x = S("defaultExpandedRowKeys", null),
|
|
4652
|
-
}), Q = (
|
|
4631
|
+
y({ current: h.value, pageSize: g.value, ...T });
|
|
4632
|
+
}, k = S("onSuccess", (E, P) => {
|
|
4633
|
+
E.value = P.data, L.value = rn(E.value, "key");
|
|
4634
|
+
}), x = S("defaultExpandedRowKeys", null), L = S("expandedRowKeys", B([])), R = S("rowSelection", null), W = S("rowClick", () => {
|
|
4635
|
+
}), Q = (E) => ({
|
|
4653
4636
|
onClick: (P) => {
|
|
4654
|
-
|
|
4637
|
+
W(P, E);
|
|
4655
4638
|
}
|
|
4656
|
-
}), F = (
|
|
4639
|
+
}), F = (E, P) => ({
|
|
4657
4640
|
onClick: () => {
|
|
4658
|
-
console.log(
|
|
4641
|
+
console.log(E[P]);
|
|
4659
4642
|
}
|
|
4660
|
-
}), q = (
|
|
4643
|
+
}), q = (E, P, K) => ({
|
|
4661
4644
|
onClick: () => {
|
|
4662
|
-
console.log(
|
|
4645
|
+
console.log(E, P, K);
|
|
4663
4646
|
}
|
|
4664
|
-
}), ee = (
|
|
4665
|
-
|
|
4666
|
-
}, te = (
|
|
4647
|
+
}), ee = (E, P) => {
|
|
4648
|
+
E ? L.value.push(P.key) : L.value = L.value.filter((K) => K !== P.key);
|
|
4649
|
+
}, te = (E, P, K, J) => {
|
|
4667
4650
|
let H = {};
|
|
4668
4651
|
K.length ? K.forEach((ne) => {
|
|
4669
4652
|
H[ne.field] = ne.order;
|
|
4670
|
-
}) : H = { [K.field]: K.order },
|
|
4653
|
+
}) : H = { [K.field]: K.order }, T.sorter = JSON.stringify(H), T.filters = JSON.stringify(P), E.current != null && (T.current = E.current, T.pageSize = E.pageSize), C();
|
|
4671
4654
|
};
|
|
4672
|
-
V("run", y), V("sync",
|
|
4655
|
+
V("run", y), V("sync", M), V("total", b), V("loading", _), V("current", h), V("pageSize", g);
|
|
4673
4656
|
const se = B(n.simple);
|
|
4674
4657
|
V("simple", se);
|
|
4675
4658
|
const le = B(n.showSizeChanger);
|
|
@@ -4682,25 +4665,25 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4682
4665
|
V("tableStriped", he);
|
|
4683
4666
|
const ve = B({}), Re = B(null);
|
|
4684
4667
|
Me(() => {
|
|
4685
|
-
const
|
|
4668
|
+
const E = {
|
|
4686
4669
|
large: 55,
|
|
4687
4670
|
middle: 47,
|
|
4688
4671
|
small: 40,
|
|
4689
4672
|
default: 40
|
|
4690
|
-
}, P = i.value ?
|
|
4673
|
+
}, P = i.value ? E[o.value] || E.default : 0;
|
|
4691
4674
|
ve.value = {
|
|
4692
4675
|
x: Re.value.offsetWidth - 30,
|
|
4693
4676
|
y: Re.value.offsetHeight - P
|
|
4694
4677
|
};
|
|
4695
4678
|
});
|
|
4696
|
-
const Ge = (
|
|
4697
|
-
P.width =
|
|
4679
|
+
const Ge = (E, P) => {
|
|
4680
|
+
P.width = E;
|
|
4698
4681
|
};
|
|
4699
4682
|
return t({
|
|
4700
|
-
sync:
|
|
4683
|
+
sync: M,
|
|
4701
4684
|
search: C,
|
|
4702
4685
|
dataList: c
|
|
4703
|
-
}), (
|
|
4686
|
+
}), (E, P) => {
|
|
4704
4687
|
const K = r("CResponsiveHeader"), J = r("a-table-column"), H = r("a-table"), ne = r("CFooterPaginationBar"), re = r("ESpin");
|
|
4705
4688
|
return d(), v(re, {
|
|
4706
4689
|
spinning: O(_),
|
|
@@ -4712,19 +4695,19 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4712
4695
|
contBorder: e.contBorder
|
|
4713
4696
|
}, {
|
|
4714
4697
|
left: s(() => [
|
|
4715
|
-
|
|
4698
|
+
z(E.$slots, "left", {}, void 0, !0)
|
|
4716
4699
|
]),
|
|
4717
4700
|
right: s(() => [
|
|
4718
|
-
|
|
4701
|
+
z(E.$slots, "right", {}, void 0, !0)
|
|
4719
4702
|
]),
|
|
4720
4703
|
header: s(() => [
|
|
4721
|
-
|
|
4704
|
+
z(E.$slots, "header", {}, void 0, !0)
|
|
4722
4705
|
]),
|
|
4723
4706
|
tag: s(() => [
|
|
4724
|
-
|
|
4707
|
+
z(E.$slots, "tag", {}, void 0, !0)
|
|
4725
4708
|
]),
|
|
4726
4709
|
content: s(() => [
|
|
4727
|
-
|
|
4710
|
+
z(E.$slots, "content", {}, void 0, !0)
|
|
4728
4711
|
]),
|
|
4729
4712
|
_: 3
|
|
4730
4713
|
}, 8, ["headBorder", "contBorder"]),
|
|
@@ -4745,7 +4728,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4745
4728
|
scroll: ve.value,
|
|
4746
4729
|
bordered: we.value,
|
|
4747
4730
|
"row-selection": O(R),
|
|
4748
|
-
expandedRowKeys: O(
|
|
4731
|
+
expandedRowKeys: O(L),
|
|
4749
4732
|
onExpand: ee,
|
|
4750
4733
|
onChange: te,
|
|
4751
4734
|
customHeaderRow: F,
|
|
@@ -4754,8 +4737,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4754
4737
|
onResizeColumn: Ge
|
|
4755
4738
|
}), He({
|
|
4756
4739
|
default: s(() => [
|
|
4757
|
-
(d(!0), I(
|
|
4758
|
-
N.hide ?
|
|
4740
|
+
(d(!0), I(U, null, Z(O(a), (N, de) => (d(), I(U, { key: de }, [
|
|
4741
|
+
N.hide ? $("", !0) : (d(), v(J, {
|
|
4759
4742
|
title: N.title,
|
|
4760
4743
|
dataIndex: N.dataIndex,
|
|
4761
4744
|
ellipsis: N.ellipsis,
|
|
@@ -4773,14 +4756,14 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4773
4756
|
customCell: N.customCell
|
|
4774
4757
|
}, null, 8, ["title", "dataIndex", "ellipsis", "fixed", "width", "filters", "customFilterDropdown", "onFilter", "sorter", "resizable", "align", "colSpan", "customCell"]))
|
|
4775
4758
|
], 64))), 128)),
|
|
4776
|
-
|
|
4759
|
+
z(E.$slots, "default", {}, void 0, !0)
|
|
4777
4760
|
]),
|
|
4778
4761
|
_: 2
|
|
4779
4762
|
}, [
|
|
4780
4763
|
e.useMixedMode ? void 0 : {
|
|
4781
4764
|
name: "headerCell",
|
|
4782
4765
|
fn: s(({ column: N }) => [
|
|
4783
|
-
|
|
4766
|
+
z(E.$slots, "headerCell", {
|
|
4784
4767
|
column: { column: N }
|
|
4785
4768
|
}, void 0, !0)
|
|
4786
4769
|
]),
|
|
@@ -4789,7 +4772,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4789
4772
|
e.useMixedMode ? void 0 : {
|
|
4790
4773
|
name: "bodyCell",
|
|
4791
4774
|
fn: s(({ column: N, record: de }) => [
|
|
4792
|
-
|
|
4775
|
+
z(E.$slots, "bodyCell", {
|
|
4793
4776
|
column: N,
|
|
4794
4777
|
record: de
|
|
4795
4778
|
}, void 0, !0)
|
|
@@ -4798,15 +4781,15 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4798
4781
|
}
|
|
4799
4782
|
]), 1040, ["class", "pagination", "data-source", "expandRowByClick", "defaultExpandAllRows", "defaultExpandedRowKeys", "size", "scroll", "bordered", "row-selection", "expandedRowKeys", "showHeader"])
|
|
4800
4783
|
], 512),
|
|
4801
|
-
!e.pagination && e.enablePagination ? (d(), I("div",
|
|
4784
|
+
!e.pagination && e.enablePagination ? (d(), I("div", _s, [
|
|
4802
4785
|
u(ne)
|
|
4803
|
-
])) :
|
|
4786
|
+
])) : $("", !0)
|
|
4804
4787
|
]),
|
|
4805
4788
|
_: 3
|
|
4806
4789
|
}, 8, ["spinning", "error"]);
|
|
4807
4790
|
};
|
|
4808
4791
|
}
|
|
4809
|
-
},
|
|
4792
|
+
}, ks = /* @__PURE__ */ D(gs, [["__scopeId", "data-v-c2249548"]]), _e = (e) => {
|
|
4810
4793
|
if (typeof e == "string")
|
|
4811
4794
|
try {
|
|
4812
4795
|
if (!e.startsWith("0") && /^\d+$/.test(e)) {
|
|
@@ -4828,7 +4811,7 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4828
4811
|
} else
|
|
4829
4812
|
return e == null && (e = []), e;
|
|
4830
4813
|
}
|
|
4831
|
-
},
|
|
4814
|
+
}, ws = {
|
|
4832
4815
|
__name: "ESelect",
|
|
4833
4816
|
props: {
|
|
4834
4817
|
apiObj: {
|
|
@@ -4891,23 +4874,23 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4891
4874
|
}
|
|
4892
4875
|
}), a = e, l = B([]), i = n, { apiObj: c, staticSelected: p, dynamicSelected: m, dynamicSelectedName: y, selectOptions: _, linkedFields: h, pageSize: g } = ke(a), b = B(_e(a.value));
|
|
4893
4876
|
ue(() => a.value, (R) => {
|
|
4894
|
-
b.value = _e(R),
|
|
4877
|
+
b.value = _e(R), M();
|
|
4895
4878
|
});
|
|
4896
4879
|
const A = w(() => l.value.filter((R) => R.sfxs != "0").map((R) => ({
|
|
4897
4880
|
label: R[a.fieldNames.label],
|
|
4898
4881
|
value: R[a.fieldNames.value],
|
|
4899
4882
|
disabled: R.sfky == "0",
|
|
4900
4883
|
...R
|
|
4901
|
-
}))), { runAsync:
|
|
4884
|
+
}))), { runAsync: T } = je((R) => c.value[c.value.method]({ current: "1", pageSize: g.value, ...R }), {
|
|
4902
4885
|
manual: !0,
|
|
4903
4886
|
onSuccess: async (R) => {
|
|
4904
|
-
l.value = _e(R.data),
|
|
4887
|
+
l.value = _e(R.data), M();
|
|
4905
4888
|
}
|
|
4906
|
-
}),
|
|
4889
|
+
}), M = async () => {
|
|
4907
4890
|
if (!c.value?.url) return;
|
|
4908
4891
|
const R = b.value;
|
|
4909
4892
|
if (R == null) return;
|
|
4910
|
-
const
|
|
4893
|
+
const W = (te) => String(te), Q = a.fieldNames.value, F = Array.isArray(R) ? R : [R], q = new Set(l.value.map((te) => W(te[Q]))), ee = F.filter((te) => !q.has(W(te)));
|
|
4911
4894
|
if (ee.length !== 0)
|
|
4912
4895
|
try {
|
|
4913
4896
|
const te = [];
|
|
@@ -4915,42 +4898,42 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4915
4898
|
const we = h.value ? { [y.value]: ie, ...h.value } : { [y.value]: ie }, he = await c.value[c.value.method]({ current: "1", pageSize: 1, ...we }), ve = _e(he?.data) || [];
|
|
4916
4899
|
te.push(...ve);
|
|
4917
4900
|
}
|
|
4918
|
-
const se = new Set(l.value.map((ie) =>
|
|
4901
|
+
const se = new Set(l.value.map((ie) => W(ie[Q]))), le = te.filter((ie) => !se.has(W(ie[Q])));
|
|
4919
4902
|
l.value = [...l.value, ...le];
|
|
4920
4903
|
} catch (te) {
|
|
4921
4904
|
console.warn("获取并合并选定项异常:", te);
|
|
4922
4905
|
}
|
|
4923
4906
|
};
|
|
4924
|
-
c.value.url ?
|
|
4907
|
+
c.value.url ? T(h.value || {}) : _.value.length > 0 ? l.value = _e(_.value) : l.value = _e([{ value: "0", label: "星期日" }, { value: "1", label: "星期一" }, { value: "2", label: "星期二" }, { value: "3", label: "星期三" }, { value: "4", label: "星期四" }, { value: "5", label: "星期五" }, { value: "6", label: "星期六" }]);
|
|
4925
4908
|
const C = async (R) => {
|
|
4926
4909
|
if (c.value.url && m.value) {
|
|
4927
|
-
const
|
|
4928
|
-
|
|
4910
|
+
const W = h.value ? { [y.value]: R, ...h.value } : { [y.value]: R };
|
|
4911
|
+
T(W);
|
|
4929
4912
|
}
|
|
4930
4913
|
}, k = (R) => {
|
|
4931
|
-
i("update:value", R), c.value.url && m.value && !R &&
|
|
4914
|
+
i("update:value", R), c.value.url && m.value && !R && T(h.value || {});
|
|
4932
4915
|
};
|
|
4933
|
-
ue(h, async (R,
|
|
4916
|
+
ue(h, async (R, W) => {
|
|
4934
4917
|
for (const Q in R)
|
|
4935
|
-
if (R[Q] !==
|
|
4936
|
-
await
|
|
4918
|
+
if (R[Q] !== W[Q]) {
|
|
4919
|
+
await T(R);
|
|
4937
4920
|
let F = !1;
|
|
4938
4921
|
Array.isArray(b.value) ? F = b.value.every((q) => l.value.some((ee) => ee[a.fieldNames.value] === q)) : F = l.value.some((q) => q[a.fieldNames.value] == b.value), F || i("update:value", null);
|
|
4939
4922
|
}
|
|
4940
4923
|
});
|
|
4941
|
-
const x = (R,
|
|
4942
|
-
if (!
|
|
4943
|
-
const Q = R.toLowerCase(), F =
|
|
4924
|
+
const x = (R, W) => {
|
|
4925
|
+
if (!W || !W.label && !W.value) return !1;
|
|
4926
|
+
const Q = R.toLowerCase(), F = W.label ? W.label.toString().toLowerCase() : "", q = W.value ? W.value.toString().toLowerCase() : "";
|
|
4944
4927
|
return F.includes(Q) || q.includes(Q);
|
|
4945
4928
|
};
|
|
4946
4929
|
return ue(_.value, (R) => {
|
|
4947
4930
|
l.value = _e(R);
|
|
4948
4931
|
}), t({
|
|
4949
4932
|
sync: () => {
|
|
4950
|
-
c.value.url &&
|
|
4933
|
+
c.value.url && T(h.value || {});
|
|
4951
4934
|
},
|
|
4952
4935
|
selectList: l
|
|
4953
|
-
}), (R,
|
|
4936
|
+
}), (R, W) => {
|
|
4954
4937
|
const Q = r("a-select");
|
|
4955
4938
|
return d(), v(Q, ge({
|
|
4956
4939
|
virtual: !1,
|
|
@@ -4965,12 +4948,12 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4965
4948
|
onChange: k
|
|
4966
4949
|
}, Ht({ search: O(m) ? C : void 0 })), He({
|
|
4967
4950
|
option: s(({ label: F, value: q, ...ee }) => [
|
|
4968
|
-
|
|
4951
|
+
z(R.$slots, "option", vn(bn({ label: F, value: q, ...ee })), () => [
|
|
4969
4952
|
G(j(F), 1)
|
|
4970
4953
|
])
|
|
4971
4954
|
]),
|
|
4972
4955
|
suffixIcon: s(() => [
|
|
4973
|
-
|
|
4956
|
+
z(R.$slots, "suffixIcon")
|
|
4974
4957
|
]),
|
|
4975
4958
|
_: 2
|
|
4976
4959
|
}, [
|
|
@@ -4978,14 +4961,14 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
4978
4961
|
name: "dropdownRender",
|
|
4979
4962
|
fn: s(({ menuNode: F }) => [
|
|
4980
4963
|
u(O(o), { vnodes: F }, null, 8, ["vnodes"]),
|
|
4981
|
-
|
|
4964
|
+
z(R.$slots, "dropdownRender")
|
|
4982
4965
|
]),
|
|
4983
4966
|
key: "0"
|
|
4984
4967
|
}
|
|
4985
4968
|
]), 1040, ["value", "showSearch", "filter-option", "not-found-content", "options"]);
|
|
4986
4969
|
};
|
|
4987
4970
|
}
|
|
4988
|
-
},
|
|
4971
|
+
}, Cs = X({
|
|
4989
4972
|
components: { draggable: Cn },
|
|
4990
4973
|
props: {
|
|
4991
4974
|
list: {
|
|
@@ -5014,8 +4997,8 @@ const Jr = /* @__PURE__ */ D(Qr, [["render", Gr]]), Zr = { class: "d-flex h-100"
|
|
|
5014
4997
|
}
|
|
5015
4998
|
};
|
|
5016
4999
|
}
|
|
5017
|
-
}),
|
|
5018
|
-
function
|
|
5000
|
+
}), Ss = { class: "py-1 mx-1" };
|
|
5001
|
+
function Bs(e, t, n, o, a, l) {
|
|
5019
5002
|
const i = r("draggable");
|
|
5020
5003
|
return d(), v(i, {
|
|
5021
5004
|
class: "list-group h-100",
|
|
@@ -5023,17 +5006,17 @@ function xs(e, t, n, o, a, l) {
|
|
|
5023
5006
|
list: e.list,
|
|
5024
5007
|
group: { name: "g1" },
|
|
5025
5008
|
"item-key": "zddm",
|
|
5026
|
-
onAdd: t[0] || (t[0] =
|
|
5009
|
+
onAdd: t[0] || (t[0] = st((c) => e.onAdd(c, e.list), ["stop"]))
|
|
5027
5010
|
}, {
|
|
5028
5011
|
item: s(({ element: c }) => [
|
|
5029
|
-
f("div",
|
|
5030
|
-
|
|
5012
|
+
f("div", Ss, [
|
|
5013
|
+
z(e.$slots, "item", { element: c })
|
|
5031
5014
|
])
|
|
5032
5015
|
]),
|
|
5033
5016
|
_: 3
|
|
5034
5017
|
}, 8, ["list"]);
|
|
5035
5018
|
}
|
|
5036
|
-
const
|
|
5019
|
+
const xs = /* @__PURE__ */ D(Cs, [["render", Bs]]), $s = { class: "color-selector border rounded-3" }, Es = {
|
|
5037
5020
|
__name: "ColorSelector",
|
|
5038
5021
|
props: { modelValue: String },
|
|
5039
5022
|
emits: ["update:modelValue"],
|
|
@@ -5050,12 +5033,12 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5050
5033
|
};
|
|
5051
5034
|
return (c, p) => {
|
|
5052
5035
|
const m = r("a-tag"), y = r("a-space"), _ = r("a-input");
|
|
5053
|
-
return d(), I("div",
|
|
5036
|
+
return d(), I("div", $s, [
|
|
5054
5037
|
f("div", null, [
|
|
5055
5038
|
p[2] || (p[2] = f("div", { class: "section-title" }, "状态色", -1)),
|
|
5056
5039
|
u(y, { wrap: "" }, {
|
|
5057
5040
|
default: s(() => [
|
|
5058
|
-
(d(), I(
|
|
5041
|
+
(d(), I(U, null, Z(a, (h) => u(m, {
|
|
5059
5042
|
key: h.name,
|
|
5060
5043
|
color: h.value,
|
|
5061
5044
|
style: { cursor: "pointer" },
|
|
@@ -5070,7 +5053,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5070
5053
|
_: 1
|
|
5071
5054
|
})
|
|
5072
5055
|
]),
|
|
5073
|
-
|
|
5056
|
+
$("", !0),
|
|
5074
5057
|
f("div", null, [
|
|
5075
5058
|
p[4] || (p[4] = f("div", { class: "section-title" }, "颜色选择器", -1)),
|
|
5076
5059
|
u(O(Sn), {
|
|
@@ -5092,7 +5075,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5092
5075
|
]);
|
|
5093
5076
|
};
|
|
5094
5077
|
}
|
|
5095
|
-
},
|
|
5078
|
+
}, Is = /* @__PURE__ */ D(Es, [["__scopeId", "data-v-a4d1783f"]]), Ms = { style: { width: "400px", "max-height": "460px", "overflow-y": "auto", padding: "8px" } }, Ts = { class: "d-flex justify-content-end gap-3 px-3 py-2" }, Os = {
|
|
5096
5079
|
__name: "CResponsiveFilter",
|
|
5097
5080
|
props: {
|
|
5098
5081
|
title: {
|
|
@@ -5144,42 +5127,42 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5144
5127
|
return Array.isArray(b) ? b.filter(Boolean).join(" - ") : b || "未知名称";
|
|
5145
5128
|
}
|
|
5146
5129
|
return (g, b) => {
|
|
5147
|
-
const A = r("a-space"),
|
|
5130
|
+
const A = r("a-space"), T = r("a-icon"), M = r("a-button"), C = r("a-popover"), k = r("a-divider"), x = r("a-form-item"), L = r("a-form"), R = r("a-drawer");
|
|
5148
5131
|
return d(), I("div", null, [
|
|
5149
|
-
O(a) ?
|
|
5132
|
+
O(a) ? $("", !0) : (d(), v(A, {
|
|
5150
5133
|
key: 0,
|
|
5151
5134
|
direction: "horizontal"
|
|
5152
5135
|
}, {
|
|
5153
5136
|
default: s(() => [
|
|
5154
|
-
(d(!0), I(
|
|
5137
|
+
(d(!0), I(U, null, Z(y.value, (W, Q) => (d(), v(Fe(W), { key: Q }))), 128)),
|
|
5155
5138
|
_.value.length > 0 ? (d(), v(C, {
|
|
5156
5139
|
key: 0,
|
|
5157
5140
|
trigger: "click",
|
|
5158
5141
|
placement: "bottomLeft"
|
|
5159
5142
|
}, {
|
|
5160
5143
|
content: s(() => [
|
|
5161
|
-
f("div",
|
|
5144
|
+
f("div", Ms, [
|
|
5162
5145
|
u(A, {
|
|
5163
5146
|
direction: "vertical",
|
|
5164
5147
|
size: "small",
|
|
5165
5148
|
style: { width: "100%" }
|
|
5166
5149
|
}, {
|
|
5167
5150
|
default: s(() => [
|
|
5168
|
-
(d(!0), I(
|
|
5151
|
+
(d(!0), I(U, null, Z(_.value, (W, Q) => (d(), v(Fe(W), {
|
|
5169
5152
|
key: "extra-" + Q,
|
|
5170
5153
|
style: { width: "100%" }
|
|
5171
5154
|
}))), 128)),
|
|
5172
|
-
|
|
5155
|
+
z(g.$slots, "footer")
|
|
5173
5156
|
]),
|
|
5174
5157
|
_: 3
|
|
5175
5158
|
})
|
|
5176
5159
|
])
|
|
5177
5160
|
]),
|
|
5178
5161
|
default: s(() => [
|
|
5179
|
-
u(
|
|
5162
|
+
u(M, { type: "default" }, {
|
|
5180
5163
|
default: s(() => [
|
|
5181
5164
|
f("small", null, [
|
|
5182
|
-
u(
|
|
5165
|
+
u(T, { type: "icon-filter" }),
|
|
5183
5166
|
G(" " + j(n.title), 1)
|
|
5184
5167
|
])
|
|
5185
5168
|
]),
|
|
@@ -5187,7 +5170,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5187
5170
|
})
|
|
5188
5171
|
]),
|
|
5189
5172
|
_: 3
|
|
5190
|
-
})) :
|
|
5173
|
+
})) : $("", !0)
|
|
5191
5174
|
]),
|
|
5192
5175
|
_: 3
|
|
5193
5176
|
})),
|
|
@@ -5195,7 +5178,7 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5195
5178
|
key: 1,
|
|
5196
5179
|
class: "mt-0 mb-2",
|
|
5197
5180
|
style: { transform: "translateX(-16px)", width: "calc(100% + 32px)" }
|
|
5198
|
-
})) :
|
|
5181
|
+
})) : $("", !0),
|
|
5199
5182
|
O(a) ? (d(), v(R, {
|
|
5200
5183
|
key: 2,
|
|
5201
5184
|
class: "rounded-top-3",
|
|
@@ -5204,23 +5187,23 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5204
5187
|
placement: "bottom",
|
|
5205
5188
|
height: "auto",
|
|
5206
5189
|
closable: !0,
|
|
5207
|
-
onClose: b[2] || (b[2] = (
|
|
5190
|
+
onClose: b[2] || (b[2] = (W) => o("update:mobileVisible", !1)),
|
|
5208
5191
|
"body-style": { minHeight: "28vh", maxHeight: "46vh", overflowY: "auto", borderTopLeftRadius: "12px", borderTopRightRadius: "12px" },
|
|
5209
5192
|
footerStyle: { background: "rgb(248, 249, 250)" }
|
|
5210
5193
|
}, {
|
|
5211
5194
|
footer: s(() => [
|
|
5212
|
-
f("div",
|
|
5213
|
-
u(
|
|
5214
|
-
onClick: b[0] || (b[0] = (
|
|
5195
|
+
f("div", Ts, [
|
|
5196
|
+
u(M, {
|
|
5197
|
+
onClick: b[0] || (b[0] = (W) => g.$emit("reset"))
|
|
5215
5198
|
}, {
|
|
5216
5199
|
default: s(() => [...b[3] || (b[3] = [
|
|
5217
5200
|
G("重置", -1)
|
|
5218
5201
|
])]),
|
|
5219
5202
|
_: 1
|
|
5220
5203
|
}),
|
|
5221
|
-
u(
|
|
5204
|
+
u(M, {
|
|
5222
5205
|
type: "primary",
|
|
5223
|
-
onClick: b[1] || (b[1] = (
|
|
5206
|
+
onClick: b[1] || (b[1] = (W) => g.$emit("confirm"))
|
|
5224
5207
|
}, {
|
|
5225
5208
|
default: s(() => [...b[4] || (b[4] = [
|
|
5226
5209
|
G("确定", -1)
|
|
@@ -5237,34 +5220,34 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5237
5220
|
style: { width: "100%" }
|
|
5238
5221
|
}, {
|
|
5239
5222
|
default: s(() => [
|
|
5240
|
-
|
|
5241
|
-
|
|
5223
|
+
z(g.$slots, "default"),
|
|
5224
|
+
z(g.$slots, "footer")
|
|
5242
5225
|
]),
|
|
5243
5226
|
_: 3
|
|
5244
|
-
})) : n.formWrapMode === "form" ? (d(), v(
|
|
5227
|
+
})) : n.formWrapMode === "form" ? (d(), v(L, {
|
|
5245
5228
|
key: 1,
|
|
5246
5229
|
layout: "vertical"
|
|
5247
5230
|
}, {
|
|
5248
5231
|
default: s(() => [
|
|
5249
|
-
(d(!0), I(
|
|
5232
|
+
(d(!0), I(U, null, Z(g.$slots.default?.() || [], (W, Q) => (d(), v(x, {
|
|
5250
5233
|
key: Q,
|
|
5251
|
-
label: h(
|
|
5234
|
+
label: h(W)
|
|
5252
5235
|
}, {
|
|
5253
5236
|
default: s(() => [
|
|
5254
|
-
(d(), v(Fe(
|
|
5237
|
+
(d(), v(Fe(W)))
|
|
5255
5238
|
]),
|
|
5256
5239
|
_: 2
|
|
5257
5240
|
}, 1032, ["label"]))), 128))
|
|
5258
5241
|
]),
|
|
5259
5242
|
_: 1
|
|
5260
|
-
})) :
|
|
5243
|
+
})) : $("", !0)
|
|
5261
5244
|
]),
|
|
5262
5245
|
_: 3
|
|
5263
|
-
}, 8, ["open", "title"])) :
|
|
5246
|
+
}, 8, ["open", "title"])) : $("", !0)
|
|
5264
5247
|
]);
|
|
5265
5248
|
};
|
|
5266
5249
|
}
|
|
5267
|
-
},
|
|
5250
|
+
}, Rs = {
|
|
5268
5251
|
__name: "CResponsiveHeader",
|
|
5269
5252
|
props: {
|
|
5270
5253
|
headBorder: {
|
|
@@ -5280,24 +5263,24 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5280
5263
|
const t = S("breakpoint", B(!1));
|
|
5281
5264
|
return (n, o) => {
|
|
5282
5265
|
const a = r("a-space");
|
|
5283
|
-
return d(), I(
|
|
5284
|
-
O(t) ?
|
|
5266
|
+
return d(), I(U, null, [
|
|
5267
|
+
O(t) ? $("", !0) : (d(), I("div", {
|
|
5285
5268
|
key: 0,
|
|
5286
5269
|
class: Y(["d-flex justify-content-between align-items-center bg-white", { "border-bottom": e.headBorder }])
|
|
5287
5270
|
}, [
|
|
5288
5271
|
u(a, { class: "py-2 px-3" }, {
|
|
5289
5272
|
default: s(() => [
|
|
5290
|
-
|
|
5273
|
+
z(n.$slots, "left", {}, void 0, !0)
|
|
5291
5274
|
]),
|
|
5292
5275
|
_: 3
|
|
5293
5276
|
}),
|
|
5294
5277
|
u(a, { class: "py-2 px-3" }, {
|
|
5295
5278
|
default: s(() => [
|
|
5296
|
-
|
|
5279
|
+
z(n.$slots, "right", {}, void 0, !0)
|
|
5297
5280
|
]),
|
|
5298
5281
|
_: 3
|
|
5299
5282
|
}),
|
|
5300
|
-
|
|
5283
|
+
z(n.$slots, "header", {}, void 0, !0)
|
|
5301
5284
|
], 2)),
|
|
5302
5285
|
O(t) ? (d(), I("div", {
|
|
5303
5286
|
key: 1,
|
|
@@ -5309,27 +5292,27 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5309
5292
|
wrap: ""
|
|
5310
5293
|
}, {
|
|
5311
5294
|
default: s(() => [
|
|
5312
|
-
|
|
5313
|
-
|
|
5295
|
+
z(n.$slots, "left", {}, void 0, !0),
|
|
5296
|
+
z(n.$slots, "right", {}, void 0, !0)
|
|
5314
5297
|
]),
|
|
5315
5298
|
_: 3
|
|
5316
5299
|
})
|
|
5317
|
-
], 2)) :
|
|
5300
|
+
], 2)) : $("", !0),
|
|
5318
5301
|
f("div", {
|
|
5319
5302
|
class: Y({ "border-bottom": e.contBorder })
|
|
5320
5303
|
}, [
|
|
5321
5304
|
u(a, { class: "py-2 px-3" }, {
|
|
5322
5305
|
default: s(() => [
|
|
5323
|
-
|
|
5306
|
+
z(n.$slots, "tag", {}, void 0, !0)
|
|
5324
5307
|
]),
|
|
5325
5308
|
_: 3
|
|
5326
5309
|
}),
|
|
5327
|
-
|
|
5310
|
+
z(n.$slots, "content", {}, void 0, !0)
|
|
5328
5311
|
], 2)
|
|
5329
5312
|
], 64);
|
|
5330
5313
|
};
|
|
5331
5314
|
}
|
|
5332
|
-
},
|
|
5315
|
+
}, As = /* @__PURE__ */ D(Rs, [["__scopeId", "data-v-743abf48"]]), Ns = { class: "d-flex align-items-center" }, Ps = { class: "font-875 opacity-8 text-white-space" }, zs = {
|
|
5333
5316
|
__name: "CFooterPaginationBar",
|
|
5334
5317
|
props: {
|
|
5335
5318
|
styleSetting: {
|
|
@@ -5355,10 +5338,10 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5355
5338
|
setup(e) {
|
|
5356
5339
|
const t = S("run"), n = S("state", B({})), o = S("total"), a = S("loading"), l = S("current"), i = S("pageSize"), c = S("simple"), p = S("showSizeChanger"), m = S("showQuickJumper"), y = S("breakpoint", B(!1));
|
|
5357
5340
|
return (_, h) => {
|
|
5358
|
-
const g = r("a-pagination"), b = r("a-icon"), A = r("a-button"),
|
|
5359
|
-
return d(), I(
|
|
5360
|
-
f("div",
|
|
5361
|
-
f("span",
|
|
5341
|
+
const g = r("a-pagination"), b = r("a-icon"), A = r("a-button"), T = r("a-space");
|
|
5342
|
+
return d(), I(U, null, [
|
|
5343
|
+
f("div", Ns, [
|
|
5344
|
+
f("span", Ps, "共 " + j(O(o)) + " 条", 1),
|
|
5362
5345
|
u(g, {
|
|
5363
5346
|
class: "p-1 simple-pagination",
|
|
5364
5347
|
hideOnSinglePage: !0,
|
|
@@ -5367,16 +5350,16 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5367
5350
|
"show-quick-jumper": O(m),
|
|
5368
5351
|
total: Number(O(o)),
|
|
5369
5352
|
current: O(l),
|
|
5370
|
-
"onUpdate:current": h[0] || (h[0] = (
|
|
5353
|
+
"onUpdate:current": h[0] || (h[0] = (M) => ze(l) ? l.value = M : null),
|
|
5371
5354
|
pageSize: O(i),
|
|
5372
|
-
"onUpdate:pageSize": h[1] || (h[1] = (
|
|
5355
|
+
"onUpdate:pageSize": h[1] || (h[1] = (M) => ze(i) ? i.value = M : null)
|
|
5373
5356
|
}, null, 8, ["simple", "show-size-changer", "show-quick-jumper", "total", "current", "pageSize"])
|
|
5374
5357
|
]),
|
|
5375
|
-
u(
|
|
5358
|
+
u(T, { size: "middle" }, {
|
|
5376
5359
|
default: s(() => [
|
|
5377
5360
|
u(A, {
|
|
5378
5361
|
shape: "circle",
|
|
5379
|
-
onClick: h[2] || (h[2] = (
|
|
5362
|
+
onClick: h[2] || (h[2] = (M) => O(t)({ current: O(l), pageSize: O(i), ...O(n) }))
|
|
5380
5363
|
}, {
|
|
5381
5364
|
default: s(() => [
|
|
5382
5365
|
u(b, {
|
|
@@ -5393,35 +5376,35 @@ const $s = /* @__PURE__ */ D(Ss, [["render", xs]]), Es = { class: "color-selecto
|
|
|
5393
5376
|
], 64);
|
|
5394
5377
|
};
|
|
5395
5378
|
}
|
|
5396
|
-
},
|
|
5397
|
-
e.component("ESpin",
|
|
5398
|
-
},
|
|
5399
|
-
install:
|
|
5379
|
+
}, Ls = /* @__PURE__ */ D(zs, [["__scopeId", "data-v-914e82a2"]]), js = (e) => {
|
|
5380
|
+
e.component("ESpin", Kr), e.component("EModal", Dr), e.component("EDrawer", Gr), e.component("EMenu", qr), e.component("ETabs", es), e.component("ESteps", os), e.component("ETree", ds), e.component("EList", bs), e.component("ETable", ks), e.component("ESelect", ws), e.component("EDraggable", xs), e.component("ColorSelector", Is), e.component("CResponsiveFilter", Os), e.component("CResponsiveHeader", As), e.component("CFooterPaginationBar", Ls);
|
|
5381
|
+
}, eu = {
|
|
5382
|
+
install: js
|
|
5400
5383
|
};
|
|
5401
5384
|
export {
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5385
|
+
Qs as AppLayout,
|
|
5386
|
+
Ls as CFooterPaginationBar,
|
|
5387
|
+
Os as CResponsiveFilter,
|
|
5388
|
+
As as CResponsiveHeader,
|
|
5389
|
+
Is as ColorSelector,
|
|
5390
|
+
xs as EDraggable,
|
|
5391
|
+
Gr as EDrawer,
|
|
5392
|
+
bs as EList,
|
|
5393
|
+
qr as EMenu,
|
|
5394
|
+
Dr as EModal,
|
|
5395
|
+
ws as ESelect,
|
|
5396
|
+
Kr as ESpin,
|
|
5397
|
+
os as ESteps,
|
|
5398
|
+
ks as ETable,
|
|
5399
|
+
es as ETabs,
|
|
5400
|
+
ds as ETree,
|
|
5401
|
+
Js as Error403,
|
|
5402
|
+
Zs as Error404,
|
|
5403
|
+
Ys as Error500,
|
|
5404
|
+
Xs as NoAccess,
|
|
5405
|
+
qs as Warning,
|
|
5406
|
+
eu as default,
|
|
5407
|
+
Rr as empty,
|
|
5408
|
+
Gs as initMenu,
|
|
5409
|
+
Ar as missing
|
|
5427
5410
|
};
|