ss-component-new 1.3.661 → 1.3.663
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/config.js +1 -1
- package/dist/{index-Cz0F1nRr.js → index-BBinXULM.js} +319 -318
- package/dist/{index-BofWylNB.js → index-CbFmq_Ex.js} +1 -1
- package/dist/index-D0WUIn62.js +194 -0
- package/dist/{index-C5rFKP3J.js → index-DKykyI5s.js} +39 -38
- package/dist/{index-p2dYw5GI.js → index-DPuDAXhP.js} +12 -11
- package/dist/{index-CLw1Ncst.js → index-Dt-Jpm9C.js} +13 -13
- package/dist/menu-CZNGSy8m.js +5222 -0
- package/dist/origin-weHfdTeb.js +11428 -0
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +31 -214
- package/dist/ss-component2.js +2 -2
- package/package.json +1 -1
- package/public/config.js +1 -1
- package/dist/_plugin-vue_export-helper-BZ_eTSzz.js +0 -16638
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { resolveComponent as oe, createBlock as ge, openBlock as M, withCtx as
|
|
1
|
+
import { resolveComponent as oe, createBlock as ge, openBlock as M, withCtx as k, renderSlot as Re, defineComponent as Ke, ref as _, onMounted as Ht, watch as Ne, createElementBlock as K, computed as Le, createVNode as Y, createElementVNode as H, Fragment as $e, renderList as mt, withModifiers as et, normalizeClass as Ia, toDisplayString as Fe, createSlots as yn, nextTick as yt, isRef as rl, isReactive as ol, toRaw as ll, createCommentVNode as se, unref as Oe, mergeProps as Pr, reactive as Ea, onBeforeUnmount as sl, inject as Ui, withDirectives as la, vShow as sn, normalizeStyle as Lt, createTextVNode as it, resolveDynamicComponent as Mn, shallowRef as ul, defineAsyncComponent as cl, defineProps as Lr, onUnmounted as dl, provide as hl, resolveDirective as fl } from "vue";
|
|
2
2
|
import { _ as Ya } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
3
|
-
import { M as pl, S as Yi,
|
|
4
|
-
import {
|
|
3
|
+
import { M as pl, S as Yi, e as gl, U as Hi, g as Qi, a as Fi, i as _i, b as Ln, c as vl, d as ji, f as qn, h as ml, _ as st, j as bt, s as qe, p as je, k as pi, u as Qt, l as xa, m as yl } from "./menu-CZNGSy8m.js";
|
|
4
|
+
import { t as bl, j as wl, k as Al, m as Nr, n as ft, o as Wi, N as _t, E as Bt, d as Cl, u as Kt, q as Dl, r as Sl, w as Ur, x as gi, y as Il, z as Zt, A as Gi, B as El, C as xn, D as Ml, p as Yr, e as xl, F as kl, s as ua, G as Nn, H as Tl, a as Bl, l as Rl, I as Ol, J as Pl, K as Ll } from "./origin-weHfdTeb.js";
|
|
5
|
+
import { S as ma, a as Hr, d as Qr, e as Fr, f as _r, g as jr, h as Nl, t as Ul, c as Yl, b as Hl } from "./index-CbFmq_Ex.js";
|
|
5
6
|
import { useRouter as vi } from "vue-router";
|
|
6
7
|
import { getSvgIcons as Vi } from "./ss-component3.js";
|
|
7
8
|
var Ql = "__lodash_hash_undefined__";
|
|
@@ -193,7 +194,7 @@ function ws(t) {
|
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
196
|
const As = (t) => {
|
|
196
|
-
typeof XMLHttpRequest > "u" &&
|
|
197
|
+
typeof XMLHttpRequest > "u" && bl(ys, "XMLHttpRequest is undefined");
|
|
197
198
|
const e = new XMLHttpRequest(), a = t.action;
|
|
198
199
|
e.upload && e.upload.addEventListener("progress", (i) => {
|
|
199
200
|
const o = i;
|
|
@@ -202,7 +203,7 @@ const As = (t) => {
|
|
|
202
203
|
const n = new FormData();
|
|
203
204
|
if (t.data)
|
|
204
205
|
for (const [i, o] of Object.entries(t.data))
|
|
205
|
-
|
|
206
|
+
wl(o) && o.length ? n.append(i, ...o) : n.append(i, o);
|
|
206
207
|
n.append(t.filename, t.file, t.file.name), e.addEventListener("error", () => {
|
|
207
208
|
t.onError(Zi(a, t, e));
|
|
208
209
|
}), e.addEventListener("load", () => {
|
|
@@ -215,7 +216,7 @@ const As = (t) => {
|
|
|
215
216
|
r.forEach((i, o) => e.setRequestHeader(o, i));
|
|
216
217
|
else
|
|
217
218
|
for (const [i, o] of Object.entries(r))
|
|
218
|
-
|
|
219
|
+
Al(o) || e.setRequestHeader(i, String(o));
|
|
219
220
|
return e.send(n), e;
|
|
220
221
|
}, Cs = ["text", "picture", "picture-card"];
|
|
221
222
|
let Ds = 1;
|
|
@@ -381,7 +382,7 @@ function xs(t, e) {
|
|
|
381
382
|
}
|
|
382
383
|
return a;
|
|
383
384
|
}
|
|
384
|
-
var
|
|
385
|
+
var ks = "1.15.6";
|
|
385
386
|
function Nt(t) {
|
|
386
387
|
if (typeof window < "u" && window.navigator)
|
|
387
388
|
return !!/* @__PURE__ */ navigator.userAgent.match(t);
|
|
@@ -466,14 +467,14 @@ function Kr(t, e, a) {
|
|
|
466
467
|
}
|
|
467
468
|
return [];
|
|
468
469
|
}
|
|
469
|
-
function
|
|
470
|
+
function kt() {
|
|
470
471
|
var t = document.scrollingElement;
|
|
471
472
|
return t || document.documentElement;
|
|
472
473
|
}
|
|
473
474
|
function tt(t, e, a, n, r) {
|
|
474
475
|
if (!(!t.getBoundingClientRect && t !== window)) {
|
|
475
476
|
var i, o, l, s, u, c, d;
|
|
476
|
-
if (t !== window && t.parentNode && t !==
|
|
477
|
+
if (t !== window && t.parentNode && t !== kt() ? (i = t.getBoundingClientRect(), o = i.top, l = i.left, s = i.bottom, u = i.right, c = i.height, d = i.width) : (o = 0, l = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (e || a) && t !== window && (r = r || t.parentNode, !Ft))
|
|
477
478
|
do
|
|
478
479
|
if (r && r.getBoundingClientRect && (he(r, "transform") !== "none" || a && he(r, "position") !== "static")) {
|
|
479
480
|
var h = r.getBoundingClientRect();
|
|
@@ -499,7 +500,7 @@ function ar(t, e, a) {
|
|
|
499
500
|
for (var n = Vt(t, !0), r = tt(t)[e]; n; ) {
|
|
500
501
|
var i = tt(n)[a], o = void 0;
|
|
501
502
|
if (o = r >= i, !o) return n;
|
|
502
|
-
if (n ===
|
|
503
|
+
if (n === kt()) break;
|
|
503
504
|
n = Vt(n, !1);
|
|
504
505
|
}
|
|
505
506
|
return !1;
|
|
@@ -529,7 +530,7 @@ function Dt(t, e) {
|
|
|
529
530
|
return a;
|
|
530
531
|
}
|
|
531
532
|
function nr(t) {
|
|
532
|
-
var e = 0, a = 0, n =
|
|
533
|
+
var e = 0, a = 0, n = kt();
|
|
533
534
|
if (t)
|
|
534
535
|
do {
|
|
535
536
|
var r = Ca(t), i = r.a, o = r.d;
|
|
@@ -537,7 +538,7 @@ function nr(t) {
|
|
|
537
538
|
} while (t !== n && (t = t.parentNode));
|
|
538
539
|
return [e, a];
|
|
539
540
|
}
|
|
540
|
-
function
|
|
541
|
+
function Ts(t, e) {
|
|
541
542
|
for (var a in t)
|
|
542
543
|
if (t.hasOwnProperty(a)) {
|
|
543
544
|
for (var n in e)
|
|
@@ -546,19 +547,19 @@ function ks(t, e) {
|
|
|
546
547
|
return -1;
|
|
547
548
|
}
|
|
548
549
|
function Vt(t, e) {
|
|
549
|
-
if (!t || !t.getBoundingClientRect) return
|
|
550
|
+
if (!t || !t.getBoundingClientRect) return kt();
|
|
550
551
|
var a = t, n = !1;
|
|
551
552
|
do
|
|
552
553
|
if (a.clientWidth < a.scrollWidth || a.clientHeight < a.scrollHeight) {
|
|
553
554
|
var r = he(a);
|
|
554
555
|
if (a.clientWidth < a.scrollWidth && (r.overflowX == "auto" || r.overflowX == "scroll") || a.clientHeight < a.scrollHeight && (r.overflowY == "auto" || r.overflowY == "scroll")) {
|
|
555
|
-
if (!a.getBoundingClientRect || a === document.body) return
|
|
556
|
+
if (!a.getBoundingClientRect || a === document.body) return kt();
|
|
556
557
|
if (n || e) return a;
|
|
557
558
|
n = !0;
|
|
558
559
|
}
|
|
559
560
|
}
|
|
560
561
|
while (a = a.parentNode);
|
|
561
|
-
return
|
|
562
|
+
return kt();
|
|
562
563
|
}
|
|
563
564
|
function Bs(t, e) {
|
|
564
565
|
if (t && e)
|
|
@@ -627,7 +628,7 @@ function Os() {
|
|
|
627
628
|
t.push(n);
|
|
628
629
|
},
|
|
629
630
|
removeAnimationState: function(n) {
|
|
630
|
-
t.splice(
|
|
631
|
+
t.splice(Ts(t, {
|
|
631
632
|
target: n
|
|
632
633
|
}), 1);
|
|
633
634
|
},
|
|
@@ -779,8 +780,8 @@ function dt(t) {
|
|
|
779
780
|
newDraggableIndex: Wt
|
|
780
781
|
}, t));
|
|
781
782
|
}
|
|
782
|
-
var W, ze, me, He, na, cn, Ve, Gt, ba, At, Fa, Wt, Za, lt, ya = !1, An = !1, Cn = [], $t, Et, Qn, Fn, ir, rr, La, pa, _a, ja = !1, $a = !1, dn, ut, _n = [], Zn = !1, Dn = [],
|
|
783
|
-
if (
|
|
783
|
+
var W, ze, me, He, na, cn, Ve, Gt, ba, At, Fa, Wt, Za, lt, ya = !1, An = !1, Cn = [], $t, Et, Qn, Fn, ir, rr, La, pa, _a, ja = !1, $a = !1, dn, ut, _n = [], Zn = !1, Dn = [], kn = typeof document < "u", en = mi, or = Xa || Ft ? "cssFloat" : "float", Ys = kn && !Vr && !mi && "draggable" in document.createElement("div"), eo = function() {
|
|
784
|
+
if (kn) {
|
|
784
785
|
if (Ft)
|
|
785
786
|
return !1;
|
|
786
787
|
var t = document.createElement("x");
|
|
@@ -835,7 +836,7 @@ var W, ze, me, He, na, cn, Ve, Gt, ba, At, Fa, Wt, Za, lt, ya = !1, An = !1, Cn
|
|
|
835
836
|
}, io = function() {
|
|
836
837
|
!eo && me && he(me, "display", "");
|
|
837
838
|
};
|
|
838
|
-
|
|
839
|
+
kn && !Vr && document.addEventListener("click", function(t) {
|
|
839
840
|
if (An)
|
|
840
841
|
return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), An = !1, !1;
|
|
841
842
|
}, !0);
|
|
@@ -1077,7 +1078,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1077
1078
|
if (en) {
|
|
1078
1079
|
for (ut = e; he(ut, "position") === "static" && he(ut, "transform") === "none" && ut !== document; )
|
|
1079
1080
|
ut = ut.parentNode;
|
|
1080
|
-
ut !== document.body && ut !== document.documentElement ? (ut === document && (ut =
|
|
1081
|
+
ut !== document.body && ut !== document.documentElement ? (ut === document && (ut = kt()), a.top += ut.scrollTop, a.left += ut.scrollLeft) : ut = kt(), _n = nr(ut);
|
|
1081
1082
|
}
|
|
1082
1083
|
me = W.cloneNode(!0), wt(me, n.ghostClass, !1), wt(me, n.fallbackClass, !0), wt(me, n.dragClass, !0), he(me, "transition", ""), he(me, "transform", ""), he(me, "box-sizing", "border-box"), he(me, "margin", 0), he(me, "top", a.top), he(me, "left", a.left), he(me, "width", a.width), he(me, "height", a.height), he(me, "opacity", "0.8"), he(me, "position", en ? "absolute" : "fixed"), he(me, "zIndex", "100000"), he(me, "pointerEvents", "none"), ce.ghost = me, e.appendChild(me), he(me, "transform-origin", ir / parseInt(me.style.width) * 100 + "% " + rr / parseInt(me.style.height) * 100 + "%");
|
|
1083
1084
|
}
|
|
@@ -1162,14 +1163,14 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1162
1163
|
i = tt(n);
|
|
1163
1164
|
var g = 0, A, B = W.parentNode !== a, S = !Hs(W.animated && W.toRect || r, n.animated && n.toRect || i, m), Q = m ? "top" : "left", j = ar(n, "top", "top") || ar(W, "top", "top"), F = j ? j.scrollTop : void 0;
|
|
1164
1165
|
pa !== n && (A = i[Q], ja = !1, $a = !S && l.invertSwap || B), g = Vs(e, n, i, m, S ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, $a, pa === n);
|
|
1165
|
-
var
|
|
1166
|
+
var T;
|
|
1166
1167
|
if (g !== 0) {
|
|
1167
1168
|
var E = Dt(W);
|
|
1168
1169
|
do
|
|
1169
|
-
E -= g,
|
|
1170
|
-
while (
|
|
1170
|
+
E -= g, T = ze.children[E];
|
|
1171
|
+
while (T && (he(T, "display") === "none" || T === me));
|
|
1171
1172
|
}
|
|
1172
|
-
if (g === 0 ||
|
|
1173
|
+
if (g === 0 || T === n)
|
|
1173
1174
|
return y(!1);
|
|
1174
1175
|
pa = n, _a = g;
|
|
1175
1176
|
var U = n.nextElementSibling, ee = !1;
|
|
@@ -1401,7 +1402,7 @@ function hn(t) {
|
|
|
1401
1402
|
function $n(t) {
|
|
1402
1403
|
return clearTimeout(t);
|
|
1403
1404
|
}
|
|
1404
|
-
|
|
1405
|
+
kn && Me(document, "touchmove", function(t) {
|
|
1405
1406
|
(ce.active || ya) && t.cancelable && t.preventDefault();
|
|
1406
1407
|
});
|
|
1407
1408
|
ce.utils = {
|
|
@@ -1439,7 +1440,7 @@ ce.mount = function() {
|
|
|
1439
1440
|
ce.create = function(t, e) {
|
|
1440
1441
|
return new ce(t, e);
|
|
1441
1442
|
};
|
|
1442
|
-
ce.version =
|
|
1443
|
+
ce.version = ks;
|
|
1443
1444
|
var Ze = [], Na, ei, ti = !1, Wn, Gn, Sn, Ua;
|
|
1444
1445
|
function Js() {
|
|
1445
1446
|
function t() {
|
|
@@ -1481,7 +1482,7 @@ function Js() {
|
|
|
1481
1482
|
u !== s && (s = u, fn()), Vn(a, r.options, u, n);
|
|
1482
1483
|
}, 10), Wn = i, Gn = o);
|
|
1483
1484
|
} else {
|
|
1484
|
-
if (!this.options.bubbleScroll || Vt(l, !0) ===
|
|
1485
|
+
if (!this.options.bubbleScroll || Vt(l, !0) === kt()) {
|
|
1485
1486
|
fn();
|
|
1486
1487
|
return;
|
|
1487
1488
|
}
|
|
@@ -1503,17 +1504,17 @@ function lr() {
|
|
|
1503
1504
|
}
|
|
1504
1505
|
var Vn = Jr(function(t, e, a, n) {
|
|
1505
1506
|
if (e.scroll) {
|
|
1506
|
-
var r = (t.touches ? t.touches[0] : t).clientX, i = (t.touches ? t.touches[0] : t).clientY, o = e.scrollSensitivity, l = e.scrollSpeed, s =
|
|
1507
|
+
var r = (t.touches ? t.touches[0] : t).clientX, i = (t.touches ? t.touches[0] : t).clientY, o = e.scrollSensitivity, l = e.scrollSpeed, s = kt(), u = !1, c;
|
|
1507
1508
|
ei !== a && (ei = a, fn(), Na = e.scroll, c = e.scrollFn, Na === !0 && (Na = Vt(a, !0)));
|
|
1508
1509
|
var d = 0, h = Na;
|
|
1509
1510
|
do {
|
|
1510
1511
|
var m = h, b = tt(m), p = b.top, v = b.bottom, f = b.left, y = b.right, D = b.width, O = b.height, R = void 0, g = void 0, A = m.scrollWidth, B = m.scrollHeight, S = he(m), Q = m.scrollLeft, j = m.scrollTop;
|
|
1511
1512
|
m === s ? (R = D < A && (S.overflowX === "auto" || S.overflowX === "scroll" || S.overflowX === "visible"), g = O < B && (S.overflowY === "auto" || S.overflowY === "scroll" || S.overflowY === "visible")) : (R = D < A && (S.overflowX === "auto" || S.overflowX === "scroll"), g = O < B && (S.overflowY === "auto" || S.overflowY === "scroll"));
|
|
1512
|
-
var F = R && (Math.abs(y - r) <= o && Q + D < A) - (Math.abs(f - r) <= o && !!Q),
|
|
1513
|
+
var F = R && (Math.abs(y - r) <= o && Q + D < A) - (Math.abs(f - r) <= o && !!Q), T = g && (Math.abs(v - i) <= o && j + O < B) - (Math.abs(p - i) <= o && !!j);
|
|
1513
1514
|
if (!Ze[d])
|
|
1514
1515
|
for (var E = 0; E <= d; E++)
|
|
1515
1516
|
Ze[E] || (Ze[E] = {});
|
|
1516
|
-
(Ze[d].vx != F || Ze[d].vy !=
|
|
1517
|
+
(Ze[d].vx != F || Ze[d].vy != T || Ze[d].el !== m) && (Ze[d].el = m, Ze[d].vx = F, Ze[d].vy = T, clearInterval(Ze[d].pid), (F != 0 || T != 0) && (u = !0, Ze[d].pid = setInterval((function() {
|
|
1517
1518
|
n && this.layer === 0 && ce.active._onTouchMove(Sn);
|
|
1518
1519
|
var U = Ze[this.layer].vy ? Ze[this.layer].vy * l : 0, ee = Ze[this.layer].vx ? Ze[this.layer].vx * l : 0;
|
|
1519
1520
|
typeof c == "function" && c.call(ce.dragged.parentNode[vt], ee, U, t, Sn, Ze[this.layer].el) !== "continue" || qr(Ze[this.layer].el, ee, U);
|
|
@@ -1572,7 +1573,7 @@ const qs = {};
|
|
|
1572
1573
|
function Zs(t, e) {
|
|
1573
1574
|
const a = oe("el-card");
|
|
1574
1575
|
return M(), ge(a, null, {
|
|
1575
|
-
default:
|
|
1576
|
+
default: k(() => [
|
|
1576
1577
|
Re(t.$slots, "content")
|
|
1577
1578
|
]),
|
|
1578
1579
|
_: 3
|
|
@@ -1714,7 +1715,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
1714
1715
|
}, yn({ _: 2 }, [
|
|
1715
1716
|
t.appendShow ? {
|
|
1716
1717
|
name: "append",
|
|
1717
|
-
fn:
|
|
1718
|
+
fn: k(() => [
|
|
1718
1719
|
Re(f.$slots, "append", {}, void 0, !0)
|
|
1719
1720
|
]),
|
|
1720
1721
|
key: "0"
|
|
@@ -1728,7 +1729,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
1728
1729
|
"show-arrow": !1,
|
|
1729
1730
|
"popper-class": "input-suggest-popper"
|
|
1730
1731
|
}, {
|
|
1731
|
-
reference:
|
|
1732
|
+
reference: k(() => [
|
|
1732
1733
|
Y(D, {
|
|
1733
1734
|
modelValue: i.value,
|
|
1734
1735
|
"onUpdate:modelValue": y[0] || (y[0] = (R) => i.value = R),
|
|
@@ -1744,14 +1745,14 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
1744
1745
|
}, yn({ _: 2 }, [
|
|
1745
1746
|
t.appendShow ? {
|
|
1746
1747
|
name: "append",
|
|
1747
|
-
fn:
|
|
1748
|
+
fn: k(() => [
|
|
1748
1749
|
Re(f.$slots, "append", {}, void 0, !0)
|
|
1749
1750
|
]),
|
|
1750
1751
|
key: "0"
|
|
1751
1752
|
} : void 0
|
|
1752
1753
|
]), 1032, ["modelValue", "disabled"])
|
|
1753
1754
|
]),
|
|
1754
|
-
default:
|
|
1755
|
+
default: k(() => [
|
|
1755
1756
|
H("div", {
|
|
1756
1757
|
class: "suggest-dropdown",
|
|
1757
1758
|
ref_key: "suggestDropdownRef",
|
|
@@ -1772,7 +1773,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
1772
1773
|
]));
|
|
1773
1774
|
};
|
|
1774
1775
|
}
|
|
1775
|
-
}),
|
|
1776
|
+
}), Tn = /* @__PURE__ */ st(ru, [["__scopeId", "data-v-6ca098f1"]]), ia = (t, e = /* @__PURE__ */ new WeakMap()) => {
|
|
1776
1777
|
if (t === null || typeof t != "object")
|
|
1777
1778
|
return t;
|
|
1778
1779
|
if (e.has(t))
|
|
@@ -1985,7 +1986,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
1985
1986
|
if (!(E != null && E.value) || !(((ie = a.optionUrl) == null ? void 0 : ie.mainKey) && Array.isArray((ue = a.optionUrl) == null ? void 0 : ue.menus) && a.optionUrl.menus.length > 0) || !((xe = (z = a.optionUrl) == null ? void 0 : z.words) != null && xe.length)) return "";
|
|
1986
1987
|
const ee = u.value.get(E.value);
|
|
1987
1988
|
return ee !== void 0 ? ee : "加载中...";
|
|
1988
|
-
},
|
|
1989
|
+
}, T = async () => {
|
|
1989
1990
|
var E, U, ee, ie, ue, z, xe, De, le, Se, V, re, C, P, q;
|
|
1990
1991
|
if (((U = (E = a.optionUrl) == null ? void 0 : E.allSelectionContents) == null ? void 0 : U.length) > 0) {
|
|
1991
1992
|
let X = [], we = [], ye = (ee = a.optionUrl) == null ? void 0 : ee.filterContent;
|
|
@@ -2001,12 +2002,12 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
2001
2002
|
[rt]: (De = (xe = a.optionUrl) == null ? void 0 : xe.contactValue) == null ? void 0 : De[de]
|
|
2002
2003
|
});
|
|
2003
2004
|
}
|
|
2004
|
-
let
|
|
2005
|
+
let ke = {};
|
|
2005
2006
|
Ue == null || Ue.forEach((de) => {
|
|
2006
2007
|
for (let rt in de)
|
|
2007
|
-
|
|
2008
|
+
ke[rt] = de == null ? void 0 : de[rt];
|
|
2008
2009
|
});
|
|
2009
|
-
let Xe = we == null ? void 0 : we.findIndex((de) => JSON.stringify(de == null ? void 0 : de[0]) === JSON.stringify(
|
|
2010
|
+
let Xe = we == null ? void 0 : we.findIndex((de) => JSON.stringify(de == null ? void 0 : de[0]) === JSON.stringify(ke));
|
|
2010
2011
|
l.value = (V = (Se = (le = a.optionUrl) == null ? void 0 : le.allSelectionContents) == null ? void 0 : Se[Xe]) == null ? void 0 : V.map((de) => ({
|
|
2011
2012
|
label: de,
|
|
2012
2013
|
value: de
|
|
@@ -2019,7 +2020,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
2019
2020
|
};
|
|
2020
2021
|
return (E, U) => {
|
|
2021
2022
|
const ee = oe("el-tooltip"), ie = oe("el-option"), ue = oe("el-select");
|
|
2022
|
-
return o.value ? o.value ? (M(), ge(
|
|
2023
|
+
return o.value ? o.value ? (M(), ge(Tn, {
|
|
2023
2024
|
key: 1,
|
|
2024
2025
|
modelValue: i.value,
|
|
2025
2026
|
"onUpdate:modelValue": U[0] || (U[0] = (z) => i.value = z),
|
|
@@ -2046,14 +2047,14 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
2046
2047
|
placement: "bottom-start",
|
|
2047
2048
|
"fallback-placements": h,
|
|
2048
2049
|
onBlur: f,
|
|
2049
|
-
onVisibleChange:
|
|
2050
|
+
onVisibleChange: T,
|
|
2050
2051
|
"value-on-clear": "",
|
|
2051
2052
|
onChange: B,
|
|
2052
2053
|
onDblclick: b,
|
|
2053
2054
|
onMouseenter: p,
|
|
2054
2055
|
"onUpdate:modelValue": m
|
|
2055
2056
|
}, {
|
|
2056
|
-
label:
|
|
2057
|
+
label: k(({ label: z, value: xe }) => [
|
|
2057
2058
|
H("div", {
|
|
2058
2059
|
class: Ia(["option", [O({ value: xe })]]),
|
|
2059
2060
|
onClick: et((De) => A({ value: xe }), ["stop"])
|
|
@@ -2061,13 +2062,13 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
2061
2062
|
H("div", cu, Fe(z), 1)
|
|
2062
2063
|
], 10, uu)
|
|
2063
2064
|
]),
|
|
2064
|
-
default:
|
|
2065
|
+
default: k(() => [
|
|
2065
2066
|
(M(!0), K($e, null, mt(j.value, (z) => (M(), ge(ie, {
|
|
2066
2067
|
key: z.value,
|
|
2067
2068
|
label: z.label,
|
|
2068
2069
|
value: z.value
|
|
2069
2070
|
}, {
|
|
2070
|
-
default:
|
|
2071
|
+
default: k(() => [
|
|
2071
2072
|
F(z) ? (M(), ge(ee, {
|
|
2072
2073
|
key: 0,
|
|
2073
2074
|
placement: "right",
|
|
@@ -2076,7 +2077,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
2076
2077
|
"raw-content": !0,
|
|
2077
2078
|
offset: 50
|
|
2078
2079
|
}, {
|
|
2079
|
-
default:
|
|
2080
|
+
default: k(() => [
|
|
2080
2081
|
H("span", null, Fe(z.label), 1)
|
|
2081
2082
|
]),
|
|
2082
2083
|
_: 2
|
|
@@ -2090,7 +2091,7 @@ const $s = /* @__PURE__ */ st(qs, [["render", Zs]]), eu = { class: "extra-button
|
|
|
2090
2091
|
};
|
|
2091
2092
|
}
|
|
2092
2093
|
}), lo = /* @__PURE__ */ st(hu, [["__scopeId", "data-v-f2fefbce"]]), fu = {
|
|
2093
|
-
INPUT:
|
|
2094
|
+
INPUT: Tn,
|
|
2094
2095
|
SELECT: lo,
|
|
2095
2096
|
BUTTON: Ya
|
|
2096
2097
|
// 添加其他组件...
|
|
@@ -2126,7 +2127,7 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2126
2127
|
"class-name": (((v = t.column) == null ? void 0 : v.isNotDrag) ?? !1) === !0 ? "is-not-drag recursive-column" : "is-drag recursive-column",
|
|
2127
2128
|
"min-width": Oe(oo)(t.column)
|
|
2128
2129
|
}, {
|
|
2129
|
-
header:
|
|
2130
|
+
header: k(() => [
|
|
2130
2131
|
t.column.prop !== "operate" ? (M(), K("span", {
|
|
2131
2132
|
key: 0,
|
|
2132
2133
|
title: t.column.label
|
|
@@ -2136,7 +2137,7 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2136
2137
|
placement: "left-start",
|
|
2137
2138
|
effect: "light"
|
|
2138
2139
|
}, {
|
|
2139
|
-
default:
|
|
2140
|
+
default: k(() => [
|
|
2140
2141
|
Y(n, {
|
|
2141
2142
|
name: "operate",
|
|
2142
2143
|
style: { width: "15px", height: "15px" }
|
|
@@ -2145,7 +2146,7 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2145
2146
|
_: 1
|
|
2146
2147
|
}))
|
|
2147
2148
|
]),
|
|
2148
|
-
default:
|
|
2149
|
+
default: k((f) => [
|
|
2149
2150
|
Re(e.$slots, "content", {
|
|
2150
2151
|
row: f.row,
|
|
2151
2152
|
column: f.column,
|
|
@@ -2159,7 +2160,7 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2159
2160
|
}, yn({ _: 2 }, [
|
|
2160
2161
|
mt(e.$slots, (O, R) => ({
|
|
2161
2162
|
name: R,
|
|
2162
|
-
fn:
|
|
2163
|
+
fn: k(({ row: g, column: A }) => [
|
|
2163
2164
|
Re(e.$slots, R, Pr({ ref_for: !0 }, g, {
|
|
2164
2165
|
row: g,
|
|
2165
2166
|
column: A,
|
|
@@ -2504,16 +2505,16 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2504
2505
|
"class-name": ((A = t.column) == null ? void 0 : A.prop) === "operate" ? "action" : (((B = t.column) == null ? void 0 : B.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag",
|
|
2505
2506
|
"min-width": Oe(oo)(t.column)
|
|
2506
2507
|
}, {
|
|
2507
|
-
header:
|
|
2508
|
+
header: k(() => [
|
|
2508
2509
|
t.column.prop !== "operate" ? (M(), K($e, { key: 0 }, [
|
|
2509
|
-
t.column.operable && t.isEditViewport ? (M(), ge(
|
|
2510
|
+
t.column.operable && t.isEditViewport ? (M(), ge(Tn, {
|
|
2510
2511
|
key: 0,
|
|
2511
2512
|
value: r.value.label,
|
|
2512
2513
|
appendShow: !0,
|
|
2513
2514
|
class: "col-edit-input",
|
|
2514
2515
|
onChange: h[1] || (h[1] = (S) => l(S, t.column))
|
|
2515
2516
|
}, {
|
|
2516
|
-
append:
|
|
2517
|
+
append: k(() => {
|
|
2517
2518
|
var S;
|
|
2518
2519
|
return [
|
|
2519
2520
|
Y(lo, {
|
|
@@ -2533,7 +2534,7 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2533
2534
|
}, Fe(t.column.label), 9, Su))
|
|
2534
2535
|
], 64)) : Re(d.$slots, "operateHeader", { key: 1 })
|
|
2535
2536
|
]),
|
|
2536
|
-
"filter-icon":
|
|
2537
|
+
"filter-icon": k(() => {
|
|
2537
2538
|
var S, Q, j, F;
|
|
2538
2539
|
return [
|
|
2539
2540
|
(S = t.column) != null && S.filterable && ((Q = t.column) == null ? void 0 : Q.prop) !== "operate" ? (M(), ge(m, {
|
|
@@ -2548,7 +2549,7 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2548
2549
|
}))
|
|
2549
2550
|
];
|
|
2550
2551
|
}),
|
|
2551
|
-
default:
|
|
2552
|
+
default: k((S) => [
|
|
2552
2553
|
Re(d.$slots, "content", {
|
|
2553
2554
|
row: S.row,
|
|
2554
2555
|
column: S.column,
|
|
@@ -2560,10 +2561,10 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2560
2561
|
column: Q,
|
|
2561
2562
|
tableData: t.tableData
|
|
2562
2563
|
}, yn({ _: 2 }, [
|
|
2563
|
-
mt(d.$slots, (F,
|
|
2564
|
-
name:
|
|
2565
|
-
fn:
|
|
2566
|
-
Re(d.$slots,
|
|
2564
|
+
mt(d.$slots, (F, T) => ({
|
|
2565
|
+
name: T,
|
|
2566
|
+
fn: k(({ row: E, column: U }) => [
|
|
2567
|
+
Re(d.$slots, T, Pr({ ref_for: !0 }, E, {
|
|
2567
2568
|
item: Q,
|
|
2568
2569
|
row: E,
|
|
2569
2570
|
column: U
|
|
@@ -2577,15 +2578,15 @@ const gu = ["title"], vu = /* @__PURE__ */ Ke({
|
|
|
2577
2578
|
};
|
|
2578
2579
|
}
|
|
2579
2580
|
}), Eu = Kt(je), { systemUrl: ra } = qe(Eu);
|
|
2580
|
-
let so = ra.value === "" || !ra.value ? "http://
|
|
2581
|
+
let so = ra.value === "" || !ra.value ? "http://222.92.178.198:63003" : ra.value;
|
|
2581
2582
|
Ne(
|
|
2582
2583
|
() => ra.value,
|
|
2583
2584
|
async () => {
|
|
2584
2585
|
var e, a;
|
|
2585
|
-
so = ra.value === "" || !ra.value ? "http://
|
|
2586
|
-
let t = await
|
|
2586
|
+
so = ra.value === "" || !ra.value ? "http://222.92.178.198:63003" : ra.value;
|
|
2587
|
+
let t = await Dl({});
|
|
2587
2588
|
if (((a = (e = t == null ? void 0 : t.data) == null ? void 0 : e.result) == null ? void 0 : a.length) === 0) {
|
|
2588
|
-
const n =
|
|
2589
|
+
const n = Sl(Date.now());
|
|
2589
2590
|
await Ur({
|
|
2590
2591
|
userName: "admin",
|
|
2591
2592
|
password: "123456",
|
|
@@ -2600,7 +2601,7 @@ Ne(
|
|
|
2600
2601
|
{ deep: !0, immediate: !0 }
|
|
2601
2602
|
);
|
|
2602
2603
|
function uo(t) {
|
|
2603
|
-
return
|
|
2604
|
+
return Cl.post(so + "/platform/upload", t);
|
|
2604
2605
|
}
|
|
2605
2606
|
const Mu = {
|
|
2606
2607
|
key: 0,
|
|
@@ -2618,13 +2619,13 @@ const Mu = {
|
|
|
2618
2619
|
const n = oe("el-card");
|
|
2619
2620
|
return M(), K("div", null, [
|
|
2620
2621
|
Y(n, null, {
|
|
2621
|
-
header:
|
|
2622
|
+
header: k(() => [
|
|
2622
2623
|
Re(e.$slots, "header", {}, void 0, !0)
|
|
2623
2624
|
]),
|
|
2624
|
-
footer:
|
|
2625
|
+
footer: k(() => [
|
|
2625
2626
|
Re(e.$slots, "footer", {}, void 0, !0)
|
|
2626
2627
|
]),
|
|
2627
|
-
default:
|
|
2628
|
+
default: k(() => [
|
|
2628
2629
|
Re(e.$slots, "content", {}, void 0, !0)
|
|
2629
2630
|
]),
|
|
2630
2631
|
_: 3
|
|
@@ -2635,7 +2636,7 @@ const Mu = {
|
|
|
2635
2636
|
]);
|
|
2636
2637
|
};
|
|
2637
2638
|
}
|
|
2638
|
-
}),
|
|
2639
|
+
}), ku = /* @__PURE__ */ st(xu, [["__scopeId", "data-v-793415be"]]), Tu = (t) => {
|
|
2639
2640
|
const e = t == null ? void 0 : t.toLowerCase(), a = e == null ? void 0 : e.lastIndexOf(".");
|
|
2640
2641
|
let n = e;
|
|
2641
2642
|
return a >= 0 && (n = n == null ? void 0 : n.slice(a + 1)), n;
|
|
@@ -2661,7 +2662,7 @@ const Mu = {
|
|
|
2661
2662
|
], Ru = (t) => {
|
|
2662
2663
|
if (!t)
|
|
2663
2664
|
return !1;
|
|
2664
|
-
const e =
|
|
2665
|
+
const e = Tu(t);
|
|
2665
2666
|
return Bu.includes(e);
|
|
2666
2667
|
};
|
|
2667
2668
|
var pn = { exports: {} }, Ou = pn.exports, cr;
|
|
@@ -2740,7 +2741,7 @@ function Pu() {
|
|
|
2740
2741
|
}(pn)), pn.exports;
|
|
2741
2742
|
}
|
|
2742
2743
|
var Lu = Pu();
|
|
2743
|
-
const Nu = /* @__PURE__ */
|
|
2744
|
+
const Nu = /* @__PURE__ */ gi(Lu);
|
|
2744
2745
|
var gn = { exports: {} }, Uu = gn.exports, dr;
|
|
2745
2746
|
function Yu() {
|
|
2746
2747
|
return dr || (dr = 1, function(t, e) {
|
|
@@ -2805,7 +2806,7 @@ function Yu() {
|
|
|
2805
2806
|
}(gn)), gn.exports;
|
|
2806
2807
|
}
|
|
2807
2808
|
var Hu = Yu();
|
|
2808
|
-
const Qu = /* @__PURE__ */
|
|
2809
|
+
const Qu = /* @__PURE__ */ gi(Hu);
|
|
2809
2810
|
var vn = { exports: {} }, Fu = vn.exports, hr;
|
|
2810
2811
|
function _u() {
|
|
2811
2812
|
return hr || (hr = 1, function(t, e) {
|
|
@@ -2851,12 +2852,12 @@ function _u() {
|
|
|
2851
2852
|
}(vn)), vn.exports;
|
|
2852
2853
|
}
|
|
2853
2854
|
var ju = _u();
|
|
2854
|
-
const Wu = /* @__PURE__ */
|
|
2855
|
+
const Wu = /* @__PURE__ */ gi(ju);
|
|
2855
2856
|
var mn = { exports: {} }, Gu = mn.exports, fr;
|
|
2856
2857
|
function Vu() {
|
|
2857
2858
|
return fr || (fr = 1, function(t, e) {
|
|
2858
2859
|
(function(a, n) {
|
|
2859
|
-
t.exports = n(
|
|
2860
|
+
t.exports = n(Il());
|
|
2860
2861
|
})(Gu, function(a) {
|
|
2861
2862
|
function n(o) {
|
|
2862
2863
|
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
|
@@ -2978,7 +2979,7 @@ const Xu = {
|
|
|
2978
2979
|
emits: ["addNewRow", "clickButton", "handleColTypeChange", "handleColEditChange", "submitEditingTable", "change", "cellChange", "cellInput", "selectSuggest", "selectChange", "dbClickRow", "fixRow", "doSizeChange", "doCurrentChange", "buttonClick", "contentClick", "rowClick", "preview", "sortChange", "deleteRow"],
|
|
2979
2980
|
setup(t, { expose: e, emit: a }) {
|
|
2980
2981
|
Zt.extend(Nu), Zt.extend(Qu), Zt.extend(Wu), Zt.locale("zh-cn");
|
|
2981
|
-
const n = t, r =
|
|
2982
|
+
const n = t, r = pi(je), { chooseTitle: i } = qe(r), o = Qt(je), { activeMenuPath: l } = qe(o), s = _(!1), u = _(), c = _(), d = Le(() => {
|
|
2982
2983
|
var w, I;
|
|
2983
2984
|
try {
|
|
2984
2985
|
return (((I = (w = f.value) == null ? void 0 : w.getSelectionRows) == null ? void 0 : I.call(w)) ?? []).length > 0;
|
|
@@ -2997,7 +2998,7 @@ const Xu = {
|
|
|
2997
2998
|
var ae, ne;
|
|
2998
2999
|
let $ = {};
|
|
2999
3000
|
for (let J in G)
|
|
3000
|
-
if (J !== "level" && ($[J] = qi(G[J]) && G[J] === 0 ? (ae = G[J]) == null ? void 0 : ae.toString() : G[J]), J !== "id" && ((ne =
|
|
3001
|
+
if (J !== "level" && ($[J] = qi(G[J]) && G[J] === 0 ? (ae = G[J]) == null ? void 0 : ae.toString() : G[J]), J !== "id" && ((ne = Ta.value) == null ? void 0 : ne.prop) !== J && j(G[J]))
|
|
3001
3002
|
if (!G[J] || G[J] === "" || G[J] === null || G[J] === void 0)
|
|
3002
3003
|
$[J] = "";
|
|
3003
3004
|
else {
|
|
@@ -3127,7 +3128,7 @@ const Xu = {
|
|
|
3127
3128
|
x.length > 0 && x[x.length - 1].scrollIntoView({ behavior: "smooth", block: "center" });
|
|
3128
3129
|
}, 10));
|
|
3129
3130
|
}, { immediate: !0 });
|
|
3130
|
-
const
|
|
3131
|
+
const T = (w, I) => {
|
|
3131
3132
|
A("handleColEditChange", w, I);
|
|
3132
3133
|
}, E = (w, I) => {
|
|
3133
3134
|
A("handleColTypeChange", w, I);
|
|
@@ -3180,7 +3181,7 @@ const Xu = {
|
|
|
3180
3181
|
m.x = L.clientX, m.y = L.clientY, s.value = !0, Z && (u.value = x.innerText), c.value = w;
|
|
3181
3182
|
}, Ue = () => {
|
|
3182
3183
|
A("clickButton", "删除", c.value, { extra: { label: "删除" } }), s.value = !1;
|
|
3183
|
-
},
|
|
3184
|
+
}, ke = () => {
|
|
3184
3185
|
A("clickButton", "批量删除", null, { extra: { label: "批量删除" } }), s.value = !1;
|
|
3185
3186
|
}, Xe = (w) => {
|
|
3186
3187
|
A("buttonClick", w);
|
|
@@ -3195,7 +3196,7 @@ const Xu = {
|
|
|
3195
3196
|
var L, te;
|
|
3196
3197
|
let x = {};
|
|
3197
3198
|
for (let Z in I)
|
|
3198
|
-
if (x[Z] = qi(I[Z]) && I[Z] === 0 ? (L = I[Z]) == null ? void 0 : L.toString() : I[Z], Z !== "id" && ((te =
|
|
3199
|
+
if (x[Z] = qi(I[Z]) && I[Z] === 0 ? (L = I[Z]) == null ? void 0 : L.toString() : I[Z], Z !== "id" && ((te = Ta.value) == null ? void 0 : te.prop) !== Z && j(I[Z]))
|
|
3199
3200
|
if (!I[Z] || I[Z] === "" || I[Z] === null || I[Z] === void 0)
|
|
3200
3201
|
x[Z] = "";
|
|
3201
3202
|
else {
|
|
@@ -3213,7 +3214,7 @@ const Xu = {
|
|
|
3213
3214
|
A("doCurrentChange", w);
|
|
3214
3215
|
}, On = (w, I) => {
|
|
3215
3216
|
A("dbClickRow", w, I);
|
|
3216
|
-
},
|
|
3217
|
+
}, ka = (w) => {
|
|
3217
3218
|
A("doSizeChange", w);
|
|
3218
3219
|
}, Ho = (w) => {
|
|
3219
3220
|
A("fixRow", w);
|
|
@@ -3451,7 +3452,7 @@ const Xu = {
|
|
|
3451
3452
|
},
|
|
3452
3453
|
{ immediate: !0 }
|
|
3453
3454
|
);
|
|
3454
|
-
const
|
|
3455
|
+
const Ta = Le(() => {
|
|
3455
3456
|
var I, x;
|
|
3456
3457
|
const w = (I = b.value) == null ? void 0 : I.find((L) => L == null ? void 0 : L.isMainKey);
|
|
3457
3458
|
return w || ((x = b.value) == null ? void 0 : x[0]);
|
|
@@ -3473,7 +3474,7 @@ const Xu = {
|
|
|
3473
3474
|
onButtonClick: Xe,
|
|
3474
3475
|
columns: b.value
|
|
3475
3476
|
}, {
|
|
3476
|
-
headerButton:
|
|
3477
|
+
headerButton: k(() => [
|
|
3477
3478
|
Re(w.$slots, "headerButton", {
|
|
3478
3479
|
buttons: ee.value,
|
|
3479
3480
|
columns: b.value
|
|
@@ -3517,7 +3518,7 @@ const Xu = {
|
|
|
3517
3518
|
onRowClick: we,
|
|
3518
3519
|
onMouseleave: le
|
|
3519
3520
|
}, {
|
|
3520
|
-
empty:
|
|
3521
|
+
empty: k(() => [
|
|
3521
3522
|
H("div", {
|
|
3522
3523
|
class: "ss-empty-wrapper",
|
|
3523
3524
|
onMouseenter: I[1] || (I[1] = (fe) => z.value = !0),
|
|
@@ -3531,7 +3532,7 @@ const Xu = {
|
|
|
3531
3532
|
onClick: I[0] || (I[0] = et((fe) => Ei({ id: "__empty__" }, 0), ["stop"]))
|
|
3532
3533
|
}, [
|
|
3533
3534
|
Y(x, { size: 14 }, {
|
|
3534
|
-
default:
|
|
3535
|
+
default: k(() => [
|
|
3535
3536
|
Y(Oe(Gi))
|
|
3536
3537
|
]),
|
|
3537
3538
|
_: 1
|
|
@@ -3541,7 +3542,7 @@ const Xu = {
|
|
|
3541
3542
|
]) : se("", !0)
|
|
3542
3543
|
], 32)
|
|
3543
3544
|
]),
|
|
3544
|
-
default:
|
|
3545
|
+
default: k(() => {
|
|
3545
3546
|
var fe, Ge, pe, Ye, Jt, qt;
|
|
3546
3547
|
return [
|
|
3547
3548
|
g.value ? (M(), ge(te, {
|
|
@@ -3551,7 +3552,7 @@ const Xu = {
|
|
|
3551
3552
|
align: "center",
|
|
3552
3553
|
"class-name": "no-ellipsis"
|
|
3553
3554
|
}, {
|
|
3554
|
-
default:
|
|
3555
|
+
default: k(({ row: N, $index: ha }) => [
|
|
3555
3556
|
la(H("div", zu, [
|
|
3556
3557
|
H("span", Ku, [
|
|
3557
3558
|
Y(L, {
|
|
@@ -3565,7 +3566,7 @@ const Xu = {
|
|
|
3565
3566
|
onClick: et((Ka) => Ei(N, ha), ["stop"])
|
|
3566
3567
|
}, [
|
|
3567
3568
|
Y(x, { size: 12 }, {
|
|
3568
|
-
default:
|
|
3569
|
+
default: k(() => [
|
|
3569
3570
|
Y(Oe(Gi))
|
|
3570
3571
|
]),
|
|
3571
3572
|
_: 1
|
|
@@ -3577,8 +3578,8 @@ const Xu = {
|
|
|
3577
3578
|
onClick: et((Ka) => Fo(N, ha), ["stop"])
|
|
3578
3579
|
}, [
|
|
3579
3580
|
Y(x, { size: 12 }, {
|
|
3580
|
-
default:
|
|
3581
|
-
Y(Oe(
|
|
3581
|
+
default: k(() => [
|
|
3582
|
+
Y(Oe(El))
|
|
3582
3583
|
]),
|
|
3583
3584
|
_: 1
|
|
3584
3585
|
})
|
|
@@ -3605,7 +3606,7 @@ const Xu = {
|
|
|
3605
3606
|
align: "center",
|
|
3606
3607
|
sortable: ""
|
|
3607
3608
|
}, {
|
|
3608
|
-
default:
|
|
3609
|
+
default: k(({ $index: N }) => [
|
|
3609
3610
|
t.isEditViewport ? se("", !0) : (M(), K("span", Zu, Fe(N + 1), 1))
|
|
3610
3611
|
]),
|
|
3611
3612
|
_: 1
|
|
@@ -3618,40 +3619,40 @@ const Xu = {
|
|
|
3618
3619
|
fixed: "",
|
|
3619
3620
|
align: "center"
|
|
3620
3621
|
}, {
|
|
3621
|
-
default:
|
|
3622
|
+
default: k(({ $index: N }) => [
|
|
3622
3623
|
t.isEditViewport ? se("", !0) : (M(), K("span", $u, Fe(N + 1), 1))
|
|
3623
3624
|
]),
|
|
3624
3625
|
_: 1
|
|
3625
3626
|
})) : se("", !0),
|
|
3626
3627
|
(M(!0), K($e, null, mt(b.value, (N, ha) => {
|
|
3627
|
-
var Ka, xi,
|
|
3628
|
+
var Ka, xi, ki;
|
|
3628
3629
|
return M(), K($e, null, [
|
|
3629
|
-
((Ka = t.checkedColumns) == null ? void 0 : Ka.length) > 0 && ((xi = t.checkedColumns) != null && xi.includes(N == null ? void 0 : N.label)) || ((
|
|
3630
|
+
((Ka = t.checkedColumns) == null ? void 0 : Ka.length) > 0 && ((xi = t.checkedColumns) != null && xi.includes(N == null ? void 0 : N.label)) || ((ki = t.checkedColumns) == null ? void 0 : ki.length) === 0 ? (M(), ge(Iu, {
|
|
3630
3631
|
key: 0,
|
|
3631
3632
|
tableData: p.value,
|
|
3632
3633
|
column: N,
|
|
3633
3634
|
isEditViewport: t.isEditViewport,
|
|
3634
|
-
onHandleColEditChange:
|
|
3635
|
+
onHandleColEditChange: T,
|
|
3635
3636
|
onHandleColTypeChange: E
|
|
3636
3637
|
}, {
|
|
3637
|
-
operateHeader:
|
|
3638
|
+
operateHeader: k(() => [
|
|
3638
3639
|
(N == null ? void 0 : N.label) === "操作" ? Re(w.$slots, "operateCol", { key: 0 }, void 0, !0) : se("", !0)
|
|
3639
3640
|
]),
|
|
3640
|
-
content:
|
|
3641
|
-
var
|
|
3641
|
+
content: k(({ row: be, scope: al, column: Te, $index: nl }) => {
|
|
3642
|
+
var Ti, Bi, Ri, Oi, Pi, Li;
|
|
3642
3643
|
return [
|
|
3643
3644
|
(be == null ? void 0 : be.tableEditType) !== "edit" && (N == null ? void 0 : N.type) !== "operate" ? (M(), K("span", {
|
|
3644
3645
|
key: 0,
|
|
3645
3646
|
class: "table-content",
|
|
3646
3647
|
style: Lt({
|
|
3647
|
-
cursor: N != null && N.isExistChild || Array.isArray(N == null ? void 0 : N.relatedPages) && ((
|
|
3648
|
+
cursor: N != null && N.isExistChild || Array.isArray(N == null ? void 0 : N.relatedPages) && ((Ti = N == null ? void 0 : N.relatedPages) == null ? void 0 : Ti.length) > 0 ? "pointer" : "default",
|
|
3648
3649
|
color: (N != null && N.isExistChild || Array.isArray(N == null ? void 0 : N.relatedPages) && ((Bi = N == null ? void 0 : N.relatedPages) == null ? void 0 : Bi.length) > 0) && !(N != null && N.directiveColor) ? "var(--vertical-menuitem-active-bg)" : "",
|
|
3649
3650
|
textDecoration: N != null && N.isExistChild ? "underline" : ""
|
|
3650
3651
|
}),
|
|
3651
3652
|
onClick: (ve) => {
|
|
3652
3653
|
var Ja;
|
|
3653
|
-
return _o(be != null && be[N == null ? void 0 : N.prop] ? be == null ? void 0 : be[N == null ? void 0 : N.prop] : (be == null ? void 0 : be[
|
|
3654
|
-
data: X(be, N,
|
|
3654
|
+
return _o(be != null && be[N == null ? void 0 : N.prop] ? be == null ? void 0 : be[N == null ? void 0 : N.prop] : (be == null ? void 0 : be[Te == null ? void 0 : Te.prop]) ?? (be == null ? void 0 : be[(Ja = Te == null ? void 0 : Te.child) == null ? void 0 : Ja.prop]), Te == null ? void 0 : Te.prop, be, {
|
|
3655
|
+
data: X(be, N, Te).value,
|
|
3655
3656
|
isExistChild: N == null ? void 0 : N.isExistChild
|
|
3656
3657
|
});
|
|
3657
3658
|
}
|
|
@@ -3662,11 +3663,11 @@ const Xu = {
|
|
|
3662
3663
|
row: be,
|
|
3663
3664
|
column: N,
|
|
3664
3665
|
colIndex: ha,
|
|
3665
|
-
item:
|
|
3666
|
+
item: Te
|
|
3666
3667
|
}, void 0, !0)
|
|
3667
3668
|
])) : se("", !0)
|
|
3668
3669
|
], 64)) : ((Oi = t.columns) == null ? void 0 : Oi.findIndex((ve) => (ve == null ? void 0 : ve.prop) === (N == null ? void 0 : N.prop))) >= ((be == null ? void 0 : be.level) ?? -1) ? (M(), K($e, { key: 1 }, [
|
|
3669
|
-
it(Fe(X(be, N,
|
|
3670
|
+
it(Fe(X(be, N, Te)), 1)
|
|
3670
3671
|
], 64)) : se("", !0)
|
|
3671
3672
|
], 12, ec)) : se("", !0),
|
|
3672
3673
|
((N == null ? void 0 : N.type) ?? "text") === "operate" ? (M(), K("span", {
|
|
@@ -3692,26 +3693,26 @@ const Xu = {
|
|
|
3692
3693
|
}, "删除", 8, nc)) : se("", !0)
|
|
3693
3694
|
], 4)) : se("", !0),
|
|
3694
3695
|
(be == null ? void 0 : be.tableEditType) === "edit" ? (M(), K("span", ic, [
|
|
3695
|
-
(
|
|
3696
|
-
it(Fe(be[
|
|
3696
|
+
(Te == null ? void 0 : Te.property) === "disabled" || N != null && N.isReadonly ? (M(), K($e, { key: 0 }, [
|
|
3697
|
+
it(Fe(be[Te == null ? void 0 : Te.property]), 1)
|
|
3697
3698
|
], 64)) : (M(), ge(Mn((() => {
|
|
3698
3699
|
var Ni;
|
|
3699
|
-
const ve =
|
|
3700
|
+
const ve = Te ?? N, Ja = be != null && be[ve == null ? void 0 : ve.prop] && Array.isArray(be[ve.prop]) && ((Ni = be[ve.prop]) != null && Ni.every((il) => typeof il == "object")) ? "Upload" : ((ve == null ? void 0 : ve.formType) ?? (ve == null ? void 0 : ve.columnType)) === "" || !((ve == null ? void 0 : ve.formType) ?? (ve == null ? void 0 : ve.columnType)) ? "Input" : (ve == null ? void 0 : ve.formType) ?? (ve == null ? void 0 : ve.columnType);
|
|
3700
3701
|
return rt(Ja);
|
|
3701
3702
|
})()), {
|
|
3702
3703
|
key: 1,
|
|
3703
|
-
modelValue: be[
|
|
3704
|
-
"onUpdate:modelValue": (ve) => be[
|
|
3704
|
+
modelValue: be[Te == null ? void 0 : Te.property],
|
|
3705
|
+
"onUpdate:modelValue": (ve) => be[Te == null ? void 0 : Te.property] = ve,
|
|
3705
3706
|
style: { height: "100%" },
|
|
3706
|
-
content: ((Pi =
|
|
3707
|
-
optionUrl:
|
|
3707
|
+
content: ((Pi = Te ?? N) == null ? void 0 : Pi.contents) ?? ((Li = Te ?? N) == null ? void 0 : Li.options) ?? [],
|
|
3708
|
+
optionUrl: Te ?? N,
|
|
3708
3709
|
"suggest-list": Oe(Se)(),
|
|
3709
3710
|
loading: Oe(V)(),
|
|
3710
3711
|
onFocus: (ve) => Ko(al),
|
|
3711
|
-
onInput: (ve) => re(ve, be,
|
|
3712
|
-
onSelectSuggest: (ve) => C(ve, be,
|
|
3712
|
+
onInput: (ve) => re(ve, be, Te, Te ?? N),
|
|
3713
|
+
onSelectSuggest: (ve) => C(ve, be, Te),
|
|
3713
3714
|
onChange: (ve) => {
|
|
3714
|
-
Zo(ve, be, N), A("cellChange", be,
|
|
3715
|
+
Zo(ve, be, N), A("cellChange", be, Te, ve);
|
|
3715
3716
|
}
|
|
3716
3717
|
}, null, 40, ["modelValue", "onUpdate:modelValue", "content", "optionUrl", "suggest-list", "loading", "onFocus", "onInput", "onSelectSuggest", "onChange"]))
|
|
3717
3718
|
])) : se("", !0)
|
|
@@ -3725,29 +3726,29 @@ const Xu = {
|
|
|
3725
3726
|
}),
|
|
3726
3727
|
_: 3
|
|
3727
3728
|
}, 8, ["data", "show-summary", "sum-text", "default-sort"])) : t.collapsed ? se("", !0) : (M(), K("div", rc, [
|
|
3728
|
-
(M(!0), K($e, null, mt(p.value, (fe) => (M(), ge(
|
|
3729
|
+
(M(!0), K($e, null, mt(p.value, (fe) => (M(), ge(ku, {
|
|
3729
3730
|
key: fe == null ? void 0 : fe.id,
|
|
3730
3731
|
showTag: !1
|
|
3731
3732
|
}, {
|
|
3732
|
-
header:
|
|
3733
|
+
header: k(() => {
|
|
3733
3734
|
var Ge, pe;
|
|
3734
3735
|
return [
|
|
3735
3736
|
H("div", oc, [
|
|
3736
3737
|
H("span", {
|
|
3737
|
-
title: fe == null ? void 0 : fe[(Ge =
|
|
3738
|
-
}, Fe(fe[(pe =
|
|
3738
|
+
title: fe == null ? void 0 : fe[(Ge = Ta.value) == null ? void 0 : Ge.prop]
|
|
3739
|
+
}, Fe(fe[(pe = Ta.value) == null ? void 0 : pe.prop]), 9, lc)
|
|
3739
3740
|
])
|
|
3740
3741
|
];
|
|
3741
3742
|
}),
|
|
3742
|
-
status:
|
|
3743
|
+
status: k(() => I[6] || (I[6] = [
|
|
3743
3744
|
it("已完成")
|
|
3744
3745
|
])),
|
|
3745
|
-
content:
|
|
3746
|
+
content: k(() => {
|
|
3746
3747
|
var Ge;
|
|
3747
3748
|
return [
|
|
3748
3749
|
(M(!0), K($e, null, mt((Ge = tl.value) == null ? void 0 : Ge.filter((pe) => {
|
|
3749
3750
|
var Ye;
|
|
3750
|
-
return (pe == null ? void 0 : pe.prop) !== "operate" && (pe == null ? void 0 : pe.prop) !== ((Ye =
|
|
3751
|
+
return (pe == null ? void 0 : pe.prop) !== "operate" && (pe == null ? void 0 : pe.prop) !== ((Ye = Ta.value) == null ? void 0 : Ye.prop);
|
|
3751
3752
|
}), (pe) => (M(), K("div", {
|
|
3752
3753
|
class: "card-content",
|
|
3753
3754
|
key: pe == null ? void 0 : pe.prop
|
|
@@ -3764,7 +3765,7 @@ const Xu = {
|
|
|
3764
3765
|
]))), 128))
|
|
3765
3766
|
];
|
|
3766
3767
|
}),
|
|
3767
|
-
footer:
|
|
3768
|
+
footer: k(() => {
|
|
3768
3769
|
var Ge, pe;
|
|
3769
3770
|
return [
|
|
3770
3771
|
H("div", cc, [
|
|
@@ -3794,7 +3795,7 @@ const Xu = {
|
|
|
3794
3795
|
}, void 0, !0),
|
|
3795
3796
|
n != null && n.isShowPagination && t.tableData.length > 0 ? (M(), ge(Ae, {
|
|
3796
3797
|
key: 1,
|
|
3797
|
-
onSizeChange:
|
|
3798
|
+
onSizeChange: ka,
|
|
3798
3799
|
onCurrentChange: Pt,
|
|
3799
3800
|
"current-page": ((J = t.pageObj) == null ? void 0 : J.currentPage) ?? 1,
|
|
3800
3801
|
"page-sizes": (Ce = t.pageObj) == null ? void 0 : Ce.pageSizes,
|
|
@@ -3820,7 +3821,7 @@ const Xu = {
|
|
|
3820
3821
|
la(Y($s, {
|
|
3821
3822
|
style: Lt({ top: m.y + "px", left: m.x + "px", position: "fixed", zIndex: 999 })
|
|
3822
3823
|
}, {
|
|
3823
|
-
content:
|
|
3824
|
+
content: k(() => [
|
|
3824
3825
|
H("div", fc, [
|
|
3825
3826
|
Y(Ya, {
|
|
3826
3827
|
emptyColor: !0,
|
|
@@ -3831,7 +3832,7 @@ const Xu = {
|
|
|
3831
3832
|
d.value ? (M(), ge(Ya, {
|
|
3832
3833
|
key: 0,
|
|
3833
3834
|
emptyColor: !0,
|
|
3834
|
-
onClickTrigger:
|
|
3835
|
+
onClickTrigger: ke,
|
|
3835
3836
|
modelValue: "批量删除选中行",
|
|
3836
3837
|
buttonType: "",
|
|
3837
3838
|
style: { marginLeft: "0px" }
|
|
@@ -3899,7 +3900,7 @@ const Xu = {
|
|
|
3899
3900
|
ref: a,
|
|
3900
3901
|
"trigger-keys": "[]"
|
|
3901
3902
|
}, {
|
|
3902
|
-
reference:
|
|
3903
|
+
reference: k(() => [
|
|
3903
3904
|
H("div", null, [
|
|
3904
3905
|
Re(i.$slots, "reference", {
|
|
3905
3906
|
ref_key: "referenceRef",
|
|
@@ -3907,7 +3908,7 @@ const Xu = {
|
|
|
3907
3908
|
})
|
|
3908
3909
|
])
|
|
3909
3910
|
]),
|
|
3910
|
-
default:
|
|
3911
|
+
default: k(() => [
|
|
3911
3912
|
H("div", null, [
|
|
3912
3913
|
Re(i.$slots, "content")
|
|
3913
3914
|
])
|
|
@@ -3981,7 +3982,7 @@ const Xu = {
|
|
|
3981
3982
|
class: Ia("form-noRegular-data"),
|
|
3982
3983
|
key: n.value
|
|
3983
3984
|
}, {
|
|
3984
|
-
default:
|
|
3985
|
+
default: k(() => [
|
|
3985
3986
|
(M(!0), K($e, null, mt(e == null ? void 0 : e.rowContents, (d, h) => (M(), ge(s, {
|
|
3986
3987
|
key: h,
|
|
3987
3988
|
class: Ia(["form-item", { "form-row-content": !t.isRowFlex }]),
|
|
@@ -4044,8 +4045,8 @@ const Xu = {
|
|
|
4044
4045
|
isVisible: n.value,
|
|
4045
4046
|
"onUpdate:isVisible": u[3] || (u[3] = (c) => n.value = c)
|
|
4046
4047
|
}, {
|
|
4047
|
-
reference:
|
|
4048
|
-
content:
|
|
4048
|
+
reference: k(() => u[4] || (u[4] = [])),
|
|
4049
|
+
content: k(() => [
|
|
4049
4050
|
i.value ? (M(), K("div", {
|
|
4050
4051
|
key: 0,
|
|
4051
4052
|
class: "form-content-value",
|
|
@@ -4087,7 +4088,7 @@ const Xu = {
|
|
|
4087
4088
|
isShowDelete: !1,
|
|
4088
4089
|
extraButton: r.value
|
|
4089
4090
|
}, {
|
|
4090
|
-
headerButton:
|
|
4091
|
+
headerButton: k((l) => [
|
|
4091
4092
|
Y(Ic, {
|
|
4092
4093
|
id: "tableHeaderButton",
|
|
4093
4094
|
columns: a.value,
|
|
@@ -4105,7 +4106,7 @@ const Xu = {
|
|
|
4105
4106
|
function co(t) {
|
|
4106
4107
|
return Mc[t == null ? void 0 : t.toUpperCase()] || null;
|
|
4107
4108
|
}
|
|
4108
|
-
const xc = Kt(je), { loginUserInfo: zn } = qe(xc),
|
|
4109
|
+
const xc = Kt(je), { loginUserInfo: zn } = qe(xc), kc = async (t, e, a) => {
|
|
4109
4110
|
var r, i;
|
|
4110
4111
|
let n = await xn({
|
|
4111
4112
|
platId: parseInt((r = zn == null ? void 0 : zn.value) == null ? void 0 : r.plat_id),
|
|
@@ -4119,7 +4120,7 @@ Ne(
|
|
|
4119
4120
|
if (!an.value)
|
|
4120
4121
|
return;
|
|
4121
4122
|
fo.value = [], po.setCurrentMenuPath(an.value), pr.setPageLoading(!0);
|
|
4122
|
-
let t = an.value, e = await
|
|
4123
|
+
let t = an.value, e = await kc(t);
|
|
4123
4124
|
e = e == null ? void 0 : e.map((a) => (a.isShow = !0, a)), pr.setPageLoading(!1), yt(() => {
|
|
4124
4125
|
ai.value = ai.value++, ho.value = !0;
|
|
4125
4126
|
});
|
|
@@ -4128,7 +4129,7 @@ Ne(
|
|
|
4128
4129
|
immediate: !0
|
|
4129
4130
|
}
|
|
4130
4131
|
);
|
|
4131
|
-
const
|
|
4132
|
+
const Tc = (t) => co(t), In = cl(() => import("./index-Dt-Jpm9C.js"));
|
|
4132
4133
|
In.install = (t) => {
|
|
4133
4134
|
t.component("ssMenu", In);
|
|
4134
4135
|
};
|
|
@@ -4138,12 +4139,12 @@ const go = {
|
|
|
4138
4139
|
name: String
|
|
4139
4140
|
},
|
|
4140
4141
|
setup(t) {
|
|
4141
|
-
const e = t, a = Le(() =>
|
|
4142
|
+
const e = t, a = Le(() => Ml[e.name]);
|
|
4142
4143
|
return Ht(() => {
|
|
4143
4144
|
}), (n, r) => {
|
|
4144
4145
|
const i = oe("el-icon");
|
|
4145
4146
|
return M(), ge(i, null, {
|
|
4146
|
-
default:
|
|
4147
|
+
default: k(() => [
|
|
4147
4148
|
(M(), ge(Mn(a.value)))
|
|
4148
4149
|
]),
|
|
4149
4150
|
_: 1
|
|
@@ -4258,16 +4259,16 @@ const go = {
|
|
|
4258
4259
|
}, D = (g) => {
|
|
4259
4260
|
if (!o || !b) return;
|
|
4260
4261
|
const A = g.clientX - s, B = g.clientY - u, S = parseInt(i.minWidth || "0", 10) || 0, Q = parseInt(i.minHeight || "0", 10) || 0;
|
|
4261
|
-
let j = c, F = d,
|
|
4262
|
+
let j = c, F = d, T = h, E = m;
|
|
4262
4263
|
if (l.includes("right") && (j = Math.max(S, c + A)), l.includes("bottom") && (F = Math.max(Q, d + B)), l.includes("left")) {
|
|
4263
4264
|
const U = c - A;
|
|
4264
|
-
U < S ? (j = S,
|
|
4265
|
+
U < S ? (j = S, T = h + (c - S)) : (j = U, T = h + A);
|
|
4265
4266
|
}
|
|
4266
4267
|
if (l.includes("top")) {
|
|
4267
4268
|
const U = d - B;
|
|
4268
4269
|
U < Q ? (F = Q, E = m + (d - Q)) : (F = U, E = m + B);
|
|
4269
4270
|
}
|
|
4270
|
-
i.width = `${j}px`, i.height = `${F}px`, f(b,
|
|
4271
|
+
i.width = `${j}px`, i.height = `${F}px`, f(b, T, E);
|
|
4271
4272
|
}, O = () => {
|
|
4272
4273
|
o = !1, l = "", b = null, document.removeEventListener("mousemove", D), document.removeEventListener("mouseup", O);
|
|
4273
4274
|
}, R = () => {
|
|
@@ -4298,14 +4299,14 @@ const go = {
|
|
|
4298
4299
|
"append-to-body": t.appendToBody,
|
|
4299
4300
|
"z-index": a == null ? void 0 : a.zIndex
|
|
4300
4301
|
}, {
|
|
4301
|
-
header:
|
|
4302
|
+
header: k(() => [
|
|
4302
4303
|
H("div", Bc, Fe(a == null ? void 0 : a.title), 1),
|
|
4303
4304
|
Re(g.$slots, "header", {}, void 0, !0)
|
|
4304
4305
|
]),
|
|
4305
|
-
footer:
|
|
4306
|
+
footer: k(() => [
|
|
4306
4307
|
Re(g.$slots, "footer", {}, void 0, !0)
|
|
4307
4308
|
]),
|
|
4308
|
-
default:
|
|
4309
|
+
default: k(() => [
|
|
4309
4310
|
Re(g.$slots, "default", {}, void 0, !0),
|
|
4310
4311
|
a.resizable ? (M(), K("div", {
|
|
4311
4312
|
key: 0,
|
|
@@ -4399,7 +4400,7 @@ function Uc(t = "menu") {
|
|
|
4399
4400
|
ssMenu: In,
|
|
4400
4401
|
DynamicIcon: go,
|
|
4401
4402
|
ssDialog: Oc,
|
|
4402
|
-
ssInput:
|
|
4403
|
+
ssInput: Tn
|
|
4403
4404
|
},
|
|
4404
4405
|
setup(e, { emit: a }) {
|
|
4405
4406
|
const n = Lr({
|
|
@@ -4468,7 +4469,7 @@ function Uc(t = "menu") {
|
|
|
4468
4469
|
case "删除":
|
|
4469
4470
|
return "delete";
|
|
4470
4471
|
}
|
|
4471
|
-
},
|
|
4472
|
+
}, T = _({}), E = (V) => {
|
|
4472
4473
|
i.setCacheInputMenu({
|
|
4473
4474
|
type: g.type,
|
|
4474
4475
|
data: V
|
|
@@ -4476,7 +4477,7 @@ function Uc(t = "menu") {
|
|
|
4476
4477
|
}, U = async (V, re) => {
|
|
4477
4478
|
u.value = void 0;
|
|
4478
4479
|
}, ee = async (V, re) => {
|
|
4479
|
-
g.type = F(re == null ? void 0 : re.operateType), j.value = V,
|
|
4480
|
+
g.type = F(re == null ? void 0 : re.operateType), j.value = V, T.value = re;
|
|
4480
4481
|
}, ie = () => {
|
|
4481
4482
|
g.show = !1;
|
|
4482
4483
|
}, ue = (V) => V == null ? void 0 : V.filter((re) => re.allowInherit), z = () => {
|
|
@@ -4492,7 +4493,7 @@ function Uc(t = "menu") {
|
|
|
4492
4493
|
title: Q.value[(we = Q.value) == null ? void 0 : we.prop],
|
|
4493
4494
|
path: V
|
|
4494
4495
|
};
|
|
4495
|
-
console.log("clickSubmitForm",
|
|
4496
|
+
console.log("clickSubmitForm", T.value, j.value, re), E(re), g.show = !1;
|
|
4496
4497
|
}, xe = (V) => {
|
|
4497
4498
|
var C, P;
|
|
4498
4499
|
const re = (C = V == null ? void 0 : V.contents) == null ? void 0 : C.find((q) => q.key === "formContent");
|
|
@@ -4558,7 +4559,7 @@ function _c(t, e, a, n, r, i) {
|
|
|
4558
4559
|
onOpenMenu: t.openMenu,
|
|
4559
4560
|
onCloseMenu: t.closeMenu
|
|
4560
4561
|
}, {
|
|
4561
|
-
title:
|
|
4562
|
+
title: k(({ menu: h }) => {
|
|
4562
4563
|
var m, b, p;
|
|
4563
4564
|
return [
|
|
4564
4565
|
!t.fixElement || (h == null ? void 0 : h.path) !== ((m = t.fixElement) == null ? void 0 : m.path) ? (M(), K("span", {
|
|
@@ -4594,7 +4595,7 @@ function _c(t, e, a, n, r, i) {
|
|
|
4594
4595
|
width: t.dialogInfo.width,
|
|
4595
4596
|
onBeforeDestroy: t.beforeDialogDestroy
|
|
4596
4597
|
}, {
|
|
4597
|
-
default:
|
|
4598
|
+
default: k(() => [
|
|
4598
4599
|
H("div", Fc, [
|
|
4599
4600
|
(M(!0), K($e, null, mt(t.dialogRenderComps, (h) => (M(), K("div", {
|
|
4600
4601
|
key: h.id
|
|
@@ -4609,13 +4610,13 @@ function _c(t, e, a, n, r, i) {
|
|
|
4609
4610
|
]))), 128))
|
|
4610
4611
|
])
|
|
4611
4612
|
]),
|
|
4612
|
-
footer:
|
|
4613
|
+
footer: k(() => [
|
|
4613
4614
|
H("div", null, [
|
|
4614
4615
|
Y(u, {
|
|
4615
4616
|
id: "themeBorderButton",
|
|
4616
4617
|
onClick: t.beforeDialogDestroy
|
|
4617
4618
|
}, {
|
|
4618
|
-
default:
|
|
4619
|
+
default: k(() => e[1] || (e[1] = [
|
|
4619
4620
|
it("取消")
|
|
4620
4621
|
])),
|
|
4621
4622
|
_: 1,
|
|
@@ -4625,7 +4626,7 @@ function _c(t, e, a, n, r, i) {
|
|
|
4625
4626
|
id: "themeButton",
|
|
4626
4627
|
onClick: t.clickSubmitForm
|
|
4627
4628
|
}, {
|
|
4628
|
-
default:
|
|
4629
|
+
default: k(() => e[2] || (e[2] = [
|
|
4629
4630
|
it(" 确认 ")
|
|
4630
4631
|
])),
|
|
4631
4632
|
_: 1,
|
|
@@ -4719,14 +4720,14 @@ function Wc(t = "menu") {
|
|
|
4719
4720
|
var ye;
|
|
4720
4721
|
let X = await Q(q, D.value);
|
|
4721
4722
|
const we = (X == null ? void 0 : X.config) ?? ((ye = P == null ? void 0 : P.filter((Ue) => Ue.allowInherit)) == null ? void 0 : ye.map((Ue) => {
|
|
4722
|
-
var
|
|
4723
|
+
var ke;
|
|
4723
4724
|
return {
|
|
4724
4725
|
...Ue,
|
|
4725
4726
|
// structureIds: parentConfig?.find((p: any) => p?.structureIds?.length > 0)?.structureIds?.filter((item: any) => item?.key === 'contentConfig')
|
|
4726
|
-
structureIds: (
|
|
4727
|
+
structureIds: (ke = P == null ? void 0 : P.find((Xe) => {
|
|
4727
4728
|
var de;
|
|
4728
4729
|
return ((de = Xe == null ? void 0 : Xe.structureIds) == null ? void 0 : de.length) > 0;
|
|
4729
|
-
})) == null ? void 0 :
|
|
4730
|
+
})) == null ? void 0 : ke.structureIds
|
|
4730
4731
|
//弹窗和内容的结构都继承
|
|
4731
4732
|
};
|
|
4732
4733
|
}));
|
|
@@ -4742,7 +4743,7 @@ function Wc(t = "menu") {
|
|
|
4742
4743
|
config: we
|
|
4743
4744
|
};
|
|
4744
4745
|
})
|
|
4745
|
-
),
|
|
4746
|
+
), T = async (C) => (j.value = null, await F(C.childMenus));
|
|
4746
4747
|
Ne(
|
|
4747
4748
|
() => b.value,
|
|
4748
4749
|
(C) => {
|
|
@@ -4760,7 +4761,7 @@ function Wc(t = "menu") {
|
|
|
4760
4761
|
const E = async (C) => {
|
|
4761
4762
|
var P, q;
|
|
4762
4763
|
if (n.setLinkMenuInfo(null), n.setAsideMenuLoading(!0), r.setRouteToChildPath(""), n.setActiveTopMenuPath(C == null ? void 0 : C.path), n.setActiveMainMenu(C), j.value = null, C != null && C.childMenus && ((P = C == null ? void 0 : C.childMenus) == null ? void 0 : P.length) > 0) {
|
|
4763
|
-
const X = await
|
|
4764
|
+
const X = await T(C), we = (X == null ? void 0 : X.length) === 0 ? C == null ? void 0 : C.childMenus : X;
|
|
4764
4765
|
n.setAsideMenus(we), p.value || n.setUpdateMenuStatus(!0), n.setActiveAsideMenu((q = C == null ? void 0 : C.childMenus) == null ? void 0 : q[0]);
|
|
4765
4766
|
} else
|
|
4766
4767
|
n.setAsideMenus([]), n.setActiveMenuPath(C == null ? void 0 : C.path);
|
|
@@ -4819,10 +4820,10 @@ function Wc(t = "menu") {
|
|
|
4819
4820
|
}, le = (C, P, q, X) => C.map((we) => {
|
|
4820
4821
|
var ye, Ue;
|
|
4821
4822
|
if (we.path === q) {
|
|
4822
|
-
const
|
|
4823
|
-
return X === "create" ?
|
|
4823
|
+
const ke = { ...we };
|
|
4824
|
+
return X === "create" ? ke.children.push(P) : X === "update" ? ke.children = (ye = ke.children) == null ? void 0 : ye.map(
|
|
4824
4825
|
(Xe) => (Xe == null ? void 0 : Xe.path) === (P == null ? void 0 : P.path) ? P : Xe
|
|
4825
|
-
) : X === "delete" && (
|
|
4826
|
+
) : X === "delete" && (ke.children = (Ue = ke.children) == null ? void 0 : Ue.filter((Xe) => (Xe == null ? void 0 : Xe.path) !== (P == null ? void 0 : P.path))), ke;
|
|
4826
4827
|
} else
|
|
4827
4828
|
return {
|
|
4828
4829
|
...we,
|
|
@@ -4833,16 +4834,16 @@ function Wc(t = "menu") {
|
|
|
4833
4834
|
n.setAsideMenuLoading(!1);
|
|
4834
4835
|
}, V = async (C) => void 0, re = async (C) => {
|
|
4835
4836
|
var we, ye, Ue;
|
|
4836
|
-
const P = (Ue = (ye = (we = C == null ? void 0 : C.config) == null ? void 0 : we.find((
|
|
4837
|
+
const P = (Ue = (ye = (we = C == null ? void 0 : C.config) == null ? void 0 : we.find((ke) => (ke == null ? void 0 : ke.operateType) === "新增")) == null ? void 0 : ye.structureIds) == null ? void 0 : Ue.filter((ke) => (ke == null ? void 0 : ke.key) === "contentConfig"), q = P == null ? void 0 : P.map((ke) => ke == null ? void 0 : ke.id);
|
|
4837
4838
|
let X = [];
|
|
4838
|
-
q == null || q.forEach((
|
|
4839
|
-
|
|
4839
|
+
q == null || q.forEach((ke) => {
|
|
4840
|
+
ke && X.push(V());
|
|
4840
4841
|
});
|
|
4841
4842
|
};
|
|
4842
4843
|
return Ne(
|
|
4843
4844
|
() => s.value,
|
|
4844
4845
|
async (C) => {
|
|
4845
|
-
var P, q, X, we, ye, Ue,
|
|
4846
|
+
var P, q, X, we, ye, Ue, ke, Xe;
|
|
4846
4847
|
if (C)
|
|
4847
4848
|
try {
|
|
4848
4849
|
const de = (X = (q = (P = h.value) == null ? void 0 : P.data) == null ? void 0 : q.path) == null ? void 0 : X.split("/").slice(0, -1).join("/"), rt = le(
|
|
@@ -4850,9 +4851,9 @@ function Wc(t = "menu") {
|
|
|
4850
4851
|
(we = h.value) == null ? void 0 : we.data,
|
|
4851
4852
|
de,
|
|
4852
4853
|
(ye = h.value) == null ? void 0 : ye.type
|
|
4853
|
-
), It = (Ue = rt == null ? void 0 : rt.filter((
|
|
4854
|
-
await re((
|
|
4855
|
-
const Pt = await
|
|
4854
|
+
), It = (Ue = rt == null ? void 0 : rt.filter((ka) => ka.path !== "平台管理")) == null ? void 0 : Ue.map((ka) => De(ka));
|
|
4855
|
+
await re((ke = h.value) == null ? void 0 : ke.data), n.setAsideMenuLoading(!0), await Se(It);
|
|
4856
|
+
const Pt = await T(m.value), On = (Pt == null ? void 0 : Pt.length) === 0 ? (Xe = m.value) == null ? void 0 : Xe.childMenus : Pt;
|
|
4856
4857
|
n.setAsideMenus(On);
|
|
4857
4858
|
} catch (de) {
|
|
4858
4859
|
throw Bt.error(de), new Error(de);
|
|
@@ -4882,7 +4883,7 @@ function Xc(t, e, a, n, r, i) {
|
|
|
4882
4883
|
onOpenMenu: t.openMenu,
|
|
4883
4884
|
onCloseMenu: t.closeMenu
|
|
4884
4885
|
}, {
|
|
4885
|
-
title:
|
|
4886
|
+
title: k(({ menu: l }) => [
|
|
4886
4887
|
H("span", Vc, Fe(l.title ?? ""), 1)
|
|
4887
4888
|
]),
|
|
4888
4889
|
_: 1
|
|
@@ -4898,15 +4899,15 @@ const zc = /* @__PURE__ */ st(Gc, [["render", Xc], ["__scopeId", "data-v-4483698
|
|
|
4898
4899
|
return (n, r) => {
|
|
4899
4900
|
const i = oe("el-dropdown-menu"), o = oe("el-dropdown");
|
|
4900
4901
|
return M(), ge(o, { onVisibleChange: a }, {
|
|
4901
|
-
dropdown:
|
|
4902
|
+
dropdown: k(() => [
|
|
4902
4903
|
Y(i, null, {
|
|
4903
|
-
default:
|
|
4904
|
+
default: k(() => [
|
|
4904
4905
|
Re(n.$slots, "dropMenu")
|
|
4905
4906
|
]),
|
|
4906
4907
|
_: 3
|
|
4907
4908
|
})
|
|
4908
4909
|
]),
|
|
4909
|
-
default:
|
|
4910
|
+
default: k(() => [
|
|
4910
4911
|
H("div", null, [
|
|
4911
4912
|
Re(n.$slots, "dropTitle")
|
|
4912
4913
|
])
|
|
@@ -5116,11 +5117,11 @@ function pt(t) {
|
|
|
5116
5117
|
return typeof t == "function";
|
|
5117
5118
|
}
|
|
5118
5119
|
var pd = Array.prototype.slice;
|
|
5119
|
-
function
|
|
5120
|
+
function ko(t) {
|
|
5120
5121
|
return Array.from ? Array.from(t) : pd.call(t);
|
|
5121
5122
|
}
|
|
5122
5123
|
function at(t, e) {
|
|
5123
|
-
return t && pt(e) && (Array.isArray(t) || Ee(t.length) ?
|
|
5124
|
+
return t && pt(e) && (Array.isArray(t) || Ee(t.length) ? ko(t).forEach(function(a, n) {
|
|
5124
5125
|
e.call(t, a, n, t);
|
|
5125
5126
|
}) : sa(t) && Object.keys(t).forEach(function(a) {
|
|
5126
5127
|
e.call(t, t[a], a, t);
|
|
@@ -5165,11 +5166,11 @@ function nt(t, e) {
|
|
|
5165
5166
|
a ? a.indexOf(e) < 0 && (t.className = "".concat(a, " ").concat(e)) : t.className = e;
|
|
5166
5167
|
}
|
|
5167
5168
|
}
|
|
5168
|
-
function
|
|
5169
|
+
function Tt(t, e) {
|
|
5169
5170
|
if (e) {
|
|
5170
5171
|
if (Ee(t.length)) {
|
|
5171
5172
|
at(t, function(a) {
|
|
5172
|
-
|
|
5173
|
+
Tt(a, e);
|
|
5173
5174
|
});
|
|
5174
5175
|
return;
|
|
5175
5176
|
}
|
|
@@ -5188,7 +5189,7 @@ function Aa(t, e, a) {
|
|
|
5188
5189
|
});
|
|
5189
5190
|
return;
|
|
5190
5191
|
}
|
|
5191
|
-
a ? nt(t, e) :
|
|
5192
|
+
a ? nt(t, e) : Tt(t, e);
|
|
5192
5193
|
}
|
|
5193
5194
|
}
|
|
5194
5195
|
var yd = /([a-z\d])([A-Z])/g;
|
|
@@ -5217,7 +5218,7 @@ function bd(t, e) {
|
|
|
5217
5218
|
else
|
|
5218
5219
|
t.removeAttribute("data-".concat(Ii(e)));
|
|
5219
5220
|
}
|
|
5220
|
-
var
|
|
5221
|
+
var To = /\s\s*/, Bo = function() {
|
|
5221
5222
|
var t = !1;
|
|
5222
5223
|
if (Bn) {
|
|
5223
5224
|
var e = !1, a = function() {
|
|
@@ -5240,7 +5241,7 @@ var ko = /\s\s*/, Bo = function() {
|
|
|
5240
5241
|
}();
|
|
5241
5242
|
function Mt(t, e, a) {
|
|
5242
5243
|
var n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, r = a;
|
|
5243
|
-
e.trim().split(
|
|
5244
|
+
e.trim().split(To).forEach(function(i) {
|
|
5244
5245
|
if (!Bo) {
|
|
5245
5246
|
var o = t.listeners;
|
|
5246
5247
|
o && o[i] && o[i][a] && (r = o[i][a], delete o[i][a], Object.keys(o[i]).length === 0 && delete o[i], Object.keys(o).length === 0 && delete t.listeners);
|
|
@@ -5250,7 +5251,7 @@ function Mt(t, e, a) {
|
|
|
5250
5251
|
}
|
|
5251
5252
|
function Ct(t, e, a) {
|
|
5252
5253
|
var n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, r = a;
|
|
5253
|
-
e.trim().split(
|
|
5254
|
+
e.trim().split(To).forEach(function(i) {
|
|
5254
5255
|
if (n.once && !Bo) {
|
|
5255
5256
|
var o = t.listeners, l = o === void 0 ? {} : o;
|
|
5256
5257
|
r = function() {
|
|
@@ -5279,11 +5280,11 @@ function Ro(t) {
|
|
|
5279
5280
|
};
|
|
5280
5281
|
}
|
|
5281
5282
|
var Jn = Ot.location, wd = /^(\w+:)\/\/([^:/?#]*):?(\d*)/i;
|
|
5282
|
-
function
|
|
5283
|
+
function kr(t) {
|
|
5283
5284
|
var e = t.match(wd);
|
|
5284
5285
|
return e !== null && (e[1] !== Jn.protocol || e[2] !== Jn.hostname || e[3] !== Jn.port);
|
|
5285
5286
|
}
|
|
5286
|
-
function
|
|
5287
|
+
function Tr(t) {
|
|
5287
5288
|
var e = "timestamp=".concat((/* @__PURE__ */ new Date()).getTime());
|
|
5288
5289
|
return t + (t.indexOf("?") === -1 ? "?" : "&") + e;
|
|
5289
5290
|
}
|
|
@@ -5354,14 +5355,14 @@ function Dd(t) {
|
|
|
5354
5355
|
};
|
|
5355
5356
|
}
|
|
5356
5357
|
function Sd(t, e, a, n) {
|
|
5357
|
-
var r = e.aspectRatio, i = e.naturalWidth, o = e.naturalHeight, l = e.rotate, s = l === void 0 ? 0 : l, u = e.scaleX, c = u === void 0 ? 1 : u, d = e.scaleY, h = d === void 0 ? 1 : d, m = a.aspectRatio, b = a.naturalWidth, p = a.naturalHeight, v = n.fillColor, f = v === void 0 ? "transparent" : v, y = n.imageSmoothingEnabled, D = y === void 0 ? !0 : y, O = n.imageSmoothingQuality, R = O === void 0 ? "low" : O, g = n.maxWidth, A = g === void 0 ? 1 / 0 : g, B = n.maxHeight, S = B === void 0 ? 1 / 0 : B, Q = n.minWidth, j = Q === void 0 ? 0 : Q, F = n.minHeight,
|
|
5358
|
+
var r = e.aspectRatio, i = e.naturalWidth, o = e.naturalHeight, l = e.rotate, s = l === void 0 ? 0 : l, u = e.scaleX, c = u === void 0 ? 1 : u, d = e.scaleY, h = d === void 0 ? 1 : d, m = a.aspectRatio, b = a.naturalWidth, p = a.naturalHeight, v = n.fillColor, f = v === void 0 ? "transparent" : v, y = n.imageSmoothingEnabled, D = y === void 0 ? !0 : y, O = n.imageSmoothingQuality, R = O === void 0 ? "low" : O, g = n.maxWidth, A = g === void 0 ? 1 / 0 : g, B = n.maxHeight, S = B === void 0 ? 1 / 0 : B, Q = n.minWidth, j = Q === void 0 ? 0 : Q, F = n.minHeight, T = F === void 0 ? 0 : F, E = document.createElement("canvas"), U = E.getContext("2d"), ee = zt({
|
|
5358
5359
|
aspectRatio: m,
|
|
5359
5360
|
width: A,
|
|
5360
5361
|
height: S
|
|
5361
5362
|
}), ie = zt({
|
|
5362
5363
|
aspectRatio: m,
|
|
5363
5364
|
width: j,
|
|
5364
|
-
height:
|
|
5365
|
+
height: T
|
|
5365
5366
|
}, "cover"), ue = Math.min(ee.width, Math.max(ie.width, b)), z = Math.min(ee.height, Math.max(ie.height, p)), xe = zt({
|
|
5366
5367
|
aspectRatio: r,
|
|
5367
5368
|
width: A,
|
|
@@ -5369,7 +5370,7 @@ function Sd(t, e, a, n) {
|
|
|
5369
5370
|
}), De = zt({
|
|
5370
5371
|
aspectRatio: r,
|
|
5371
5372
|
width: j,
|
|
5372
|
-
height:
|
|
5373
|
+
height: T
|
|
5373
5374
|
}, "cover"), le = Math.min(xe.width, Math.max(De.width, i)), Se = Math.min(xe.height, Math.max(De.height, o)), V = [-le / 2, -Se / 2, le, Se];
|
|
5374
5375
|
return E.width = Da(ue), E.height = Da(z), U.fillStyle = f, U.fillRect(0, 0, ue, z), U.save(), U.translate(ue / 2, z / 2), U.rotate(s * Math.PI / 180), U.scale(c, h), U.imageSmoothingEnabled = D, U.imageSmoothingQuality = R, U.drawImage.apply(U, [t].concat(Ao(V.map(function(re) {
|
|
5375
5376
|
return Math.floor(Da(re));
|
|
@@ -5392,10 +5393,10 @@ function Md(t) {
|
|
|
5392
5393
|
}
|
|
5393
5394
|
function xd(t, e) {
|
|
5394
5395
|
for (var a = [], n = 8192, r = new Uint8Array(t); r.length > 0; )
|
|
5395
|
-
a.push(Oo.apply(null,
|
|
5396
|
+
a.push(Oo.apply(null, ko(r.subarray(0, n)))), r = r.subarray(n);
|
|
5396
5397
|
return "data:".concat(e, ";base64,").concat(btoa(a.join("")));
|
|
5397
5398
|
}
|
|
5398
|
-
function
|
|
5399
|
+
function kd(t) {
|
|
5399
5400
|
var e = new DataView(t), a;
|
|
5400
5401
|
try {
|
|
5401
5402
|
var n, r, i;
|
|
@@ -5430,7 +5431,7 @@ function Td(t) {
|
|
|
5430
5431
|
}
|
|
5431
5432
|
return a;
|
|
5432
5433
|
}
|
|
5433
|
-
function
|
|
5434
|
+
function Td(t) {
|
|
5434
5435
|
var e = 0, a = 1, n = 1;
|
|
5435
5436
|
switch (t) {
|
|
5436
5437
|
// Flip horizontal
|
|
@@ -5474,7 +5475,7 @@ var Bd = {
|
|
|
5474
5475
|
},
|
|
5475
5476
|
initContainer: function() {
|
|
5476
5477
|
var e = this.element, a = this.options, n = this.container, r = this.cropper, i = Number(a.minContainerWidth), o = Number(a.minContainerHeight);
|
|
5477
|
-
nt(r, gt),
|
|
5478
|
+
nt(r, gt), Tt(e, gt);
|
|
5478
5479
|
var l = {
|
|
5479
5480
|
width: Math.max(n.offsetWidth, i >= 0 ? i : Mo),
|
|
5480
5481
|
height: Math.max(n.offsetHeight, o >= 0 ? o : xo)
|
|
@@ -5482,7 +5483,7 @@ var Bd = {
|
|
|
5482
5483
|
this.containerData = l, Xt(r, {
|
|
5483
5484
|
width: l.width,
|
|
5484
5485
|
height: l.height
|
|
5485
|
-
}), nt(e, gt),
|
|
5486
|
+
}), nt(e, gt), Tt(r, gt);
|
|
5486
5487
|
},
|
|
5487
5488
|
// Canvas (image wrapper)
|
|
5488
5489
|
initCanvas: function() {
|
|
@@ -5812,7 +5813,7 @@ var Bd = {
|
|
|
5812
5813
|
D = !1;
|
|
5813
5814
|
break;
|
|
5814
5815
|
}
|
|
5815
|
-
O = Ro(this.cropper), u = R.startX - O.left, c = R.startY - O.top, d = i.minWidth, h = i.minHeight, g.x > 0 ? l = g.y > 0 ? Oa : Ba : g.x < 0 && (u -= d, l = g.y > 0 ? Pa : Ra), g.y < 0 && (c -= h), this.cropped || (
|
|
5816
|
+
O = Ro(this.cropper), u = R.startX - O.left, c = R.startY - O.top, d = i.minWidth, h = i.minHeight, g.x > 0 ? l = g.y > 0 ? Oa : Ba : g.x < 0 && (u -= d, l = g.y > 0 ? Pa : Ra), g.y < 0 && (c -= h), this.cropped || (Tt(this.cropBox, gt), this.cropped = !0, this.limited && this.limitCropBox(!0, !0));
|
|
5816
5817
|
break;
|
|
5817
5818
|
}
|
|
5818
5819
|
D && (i.width = d, i.height = h, i.left = u, i.top = c, this.action = l, this.renderCropBox()), at(o, function(B) {
|
|
@@ -5822,7 +5823,7 @@ var Bd = {
|
|
|
5822
5823
|
}, Nd = {
|
|
5823
5824
|
// Show the crop box manually
|
|
5824
5825
|
crop: function() {
|
|
5825
|
-
return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && nt(this.dragBox, En),
|
|
5826
|
+
return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && nt(this.dragBox, En), Tt(this.cropBox, gt), this.setCropBoxData(this.initialCropBoxData)), this;
|
|
5826
5827
|
},
|
|
5827
5828
|
// Reset the image and crop box to their initial states
|
|
5828
5829
|
reset: function() {
|
|
@@ -5835,7 +5836,7 @@ var Bd = {
|
|
|
5835
5836
|
top: 0,
|
|
5836
5837
|
width: 0,
|
|
5837
5838
|
height: 0
|
|
5838
|
-
}), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(),
|
|
5839
|
+
}), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), Tt(this.dragBox, En), nt(this.cropBox, gt)), this;
|
|
5839
5840
|
},
|
|
5840
5841
|
/**
|
|
5841
5842
|
* Replace the image's src and rebuild the cropper
|
|
@@ -5851,7 +5852,7 @@ var Bd = {
|
|
|
5851
5852
|
},
|
|
5852
5853
|
// Enable (unfreeze) the cropper
|
|
5853
5854
|
enable: function() {
|
|
5854
|
-
return this.ready && this.disabled && (this.disabled = !1,
|
|
5855
|
+
return this.ready && this.disabled && (this.disabled = !1, Tt(this.cropper, mr)), this;
|
|
5855
5856
|
},
|
|
5856
5857
|
// Disable (freeze) the cropper
|
|
5857
5858
|
disable: function() {
|
|
@@ -6099,12 +6100,12 @@ var Bd = {
|
|
|
6099
6100
|
v.width = Da(b), v.height = Da(p), f.fillStyle = e.fillColor || "transparent", f.fillRect(0, 0, b, p);
|
|
6100
6101
|
var y = e.imageSmoothingEnabled, D = y === void 0 ? !0 : y, O = e.imageSmoothingQuality;
|
|
6101
6102
|
f.imageSmoothingEnabled = D, O && (f.imageSmoothingQuality = O);
|
|
6102
|
-
var R = n.width, g = n.height, A = i, B = o, S, Q, j, F,
|
|
6103
|
-
A <= -l || A > R ? (A = 0, S = 0, j = 0,
|
|
6103
|
+
var R = n.width, g = n.height, A = i, B = o, S, Q, j, F, T, E;
|
|
6104
|
+
A <= -l || A > R ? (A = 0, S = 0, j = 0, T = 0) : A <= 0 ? (j = -A, A = 0, S = Math.min(R, l + A), T = S) : A <= R && (j = 0, S = Math.min(l, R - A), T = S), S <= 0 || B <= -s || B > g ? (B = 0, Q = 0, F = 0, E = 0) : B <= 0 ? (F = -B, B = 0, Q = Math.min(g, s + B), E = Q) : B <= g && (F = 0, Q = Math.min(s, g - B), E = Q);
|
|
6104
6105
|
var U = [A, B, S, Q];
|
|
6105
|
-
if (
|
|
6106
|
+
if (T > 0 && E > 0) {
|
|
6106
6107
|
var ee = b / l;
|
|
6107
|
-
U.push(j * ee, F * ee,
|
|
6108
|
+
U.push(j * ee, F * ee, T * ee, E * ee);
|
|
6108
6109
|
}
|
|
6109
6110
|
return f.drawImage.apply(f, [n].concat(Ao(U.map(function(ie) {
|
|
6110
6111
|
return Math.floor(Da(ie));
|
|
@@ -6174,16 +6175,16 @@ var Bd = {
|
|
|
6174
6175
|
n.read(o.response);
|
|
6175
6176
|
}, o.onloadend = function() {
|
|
6176
6177
|
n.reloading = !1, n.xhr = null;
|
|
6177
|
-
}, i.checkCrossOrigin &&
|
|
6178
|
+
}, i.checkCrossOrigin && kr(a) && r.crossOrigin && (a = Tr(a)), o.open("GET", a, !0), o.responseType = "arraybuffer", o.withCredentials = r.crossOrigin === "use-credentials", o.send();
|
|
6178
6179
|
}
|
|
6179
6180
|
}
|
|
6180
6181
|
}, {
|
|
6181
6182
|
key: "read",
|
|
6182
6183
|
value: function(a) {
|
|
6183
|
-
var n = this.options, r = this.imageData, i =
|
|
6184
|
+
var n = this.options, r = this.imageData, i = kd(a), o = 0, l = 1, s = 1;
|
|
6184
6185
|
if (i > 1) {
|
|
6185
6186
|
this.url = xd(a, Er);
|
|
6186
|
-
var u =
|
|
6187
|
+
var u = Td(i);
|
|
6187
6188
|
o = u.rotate, l = u.scaleX, s = u.scaleY;
|
|
6188
6189
|
}
|
|
6189
6190
|
n.rotatable && (r.rotate = o), n.scalable && (r.scaleX = l, r.scaleY = s), this.clone();
|
|
@@ -6192,7 +6193,7 @@ var Bd = {
|
|
|
6192
6193
|
key: "clone",
|
|
6193
6194
|
value: function() {
|
|
6194
6195
|
var a = this.element, n = this.url, r = a.crossOrigin, i = n;
|
|
6195
|
-
this.options.checkCrossOrigin &&
|
|
6196
|
+
this.options.checkCrossOrigin && kr(n) && (r || (r = "anonymous"), i = Tr(n)), this.crossOrigin = r, this.crossOriginUrl = i;
|
|
6196
6197
|
var o = document.createElement("img");
|
|
6197
6198
|
r && (o.crossOrigin = r), o.src = i || n, o.alt = a.alt || "The image to crop", this.image = o, o.onload = this.start.bind(this), o.onerror = this.stop.bind(this), nt(o, yr), a.parentNode.insertBefore(o, a.nextSibling);
|
|
6198
6199
|
}
|
|
@@ -6230,7 +6231,7 @@ var Bd = {
|
|
|
6230
6231
|
var a = this.element, n = this.options, r = this.image, i = a.parentNode, o = document.createElement("div");
|
|
6231
6232
|
o.innerHTML = dd;
|
|
6232
6233
|
var l = o.querySelector(".".concat(Qe, "-container")), s = l.querySelector(".".concat(Qe, "-canvas")), u = l.querySelector(".".concat(Qe, "-drag-box")), c = l.querySelector(".".concat(Qe, "-crop-box")), d = c.querySelector(".".concat(Qe, "-face"));
|
|
6233
|
-
this.container = i, this.cropper = l, this.canvas = s, this.dragBox = u, this.cropBox = c, this.viewBox = l.querySelector(".".concat(Qe, "-view-box")), this.face = d, s.appendChild(r), nt(a, gt), i.insertBefore(l, a.nextSibling),
|
|
6234
|
+
this.container = i, this.cropper = l, this.canvas = s, this.dragBox = u, this.cropBox = c, this.viewBox = l.querySelector(".".concat(Qe, "-view-box")), this.face = d, s.appendChild(r), nt(a, gt), i.insertBefore(l, a.nextSibling), Tt(r, yr), this.initPreview(), this.bind(), n.initialAspectRatio = Math.max(0, n.initialAspectRatio) || NaN, n.aspectRatio = Math.max(0, n.aspectRatio) || NaN, n.viewMode = Math.max(0, Math.min(3, Math.round(n.viewMode))) || 0, nt(c, gt), n.guides || nt(c.getElementsByClassName("".concat(Qe, "-dashed")), gt), n.center || nt(c.getElementsByClassName("".concat(Qe, "-center")), gt), n.background && nt(l, "".concat(Qe, "-bg")), n.highlight || nt(d, nd), n.cropBoxMovable && (nt(d, oi), Va(d, Ga, Di)), n.cropBoxResizable || (nt(c.getElementsByClassName("".concat(Qe, "-line")), gt), nt(c.getElementsByClassName("".concat(Qe, "-point")), gt)), this.render(), this.ready = !0, this.setDragMode(n.dragMode), n.autoCrop && this.crop(), this.setData(n.data), pt(n.ready) && Ct(a, Dr, n.ready, {
|
|
6234
6235
|
once: !0
|
|
6235
6236
|
}), Sa(a, Dr);
|
|
6236
6237
|
}
|
|
@@ -6241,7 +6242,7 @@ var Bd = {
|
|
|
6241
6242
|
if (this.ready) {
|
|
6242
6243
|
this.ready = !1, this.unbind(), this.resetPreview();
|
|
6243
6244
|
var a = this.cropper.parentNode;
|
|
6244
|
-
a && a.removeChild(this.cropper),
|
|
6245
|
+
a && a.removeChild(this.cropper), Tt(this.element, gt);
|
|
6245
6246
|
}
|
|
6246
6247
|
}
|
|
6247
6248
|
}, {
|
|
@@ -6342,13 +6343,13 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6342
6343
|
width: "769px",
|
|
6343
6344
|
"before-close": s
|
|
6344
6345
|
}, {
|
|
6345
|
-
header:
|
|
6346
|
+
header: k(() => [
|
|
6346
6347
|
H("div", Yd, [
|
|
6347
6348
|
Y(y, {
|
|
6348
6349
|
size: "16",
|
|
6349
6350
|
style: { "margin-right": "3px", display: "inline", "vertical-align": "middle" }
|
|
6350
6351
|
}, {
|
|
6351
|
-
default:
|
|
6352
|
+
default: k(() => [
|
|
6352
6353
|
Y(f)
|
|
6353
6354
|
]),
|
|
6354
6355
|
_: 1
|
|
@@ -6356,7 +6357,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6356
6357
|
H("span", null, Fe(t.title), 1)
|
|
6357
6358
|
])
|
|
6358
6359
|
]),
|
|
6359
|
-
footer:
|
|
6360
|
+
footer: k(() => [
|
|
6360
6361
|
H("span", Kd, [
|
|
6361
6362
|
Y(O, {
|
|
6362
6363
|
class: "avatar-uploader",
|
|
@@ -6369,26 +6370,26 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6369
6370
|
"on-change": m,
|
|
6370
6371
|
"on-exceed": b
|
|
6371
6372
|
}, {
|
|
6372
|
-
trigger:
|
|
6373
|
+
trigger: k(() => [
|
|
6373
6374
|
Y(D, {
|
|
6374
6375
|
type: "info",
|
|
6375
6376
|
icon: "ele-Picture"
|
|
6376
6377
|
}, {
|
|
6377
|
-
default:
|
|
6378
|
+
default: k(() => v[4] || (v[4] = [
|
|
6378
6379
|
it("选择图片")
|
|
6379
6380
|
])),
|
|
6380
6381
|
_: 1,
|
|
6381
6382
|
__: [4]
|
|
6382
6383
|
})
|
|
6383
6384
|
]),
|
|
6384
|
-
default:
|
|
6385
|
+
default: k(() => [
|
|
6385
6386
|
Y(D, {
|
|
6386
6387
|
onClick: c,
|
|
6387
6388
|
type: "danger",
|
|
6388
6389
|
icon: "ele-Picture",
|
|
6389
6390
|
style: { "margin-left": "8px" }
|
|
6390
6391
|
}, {
|
|
6391
|
-
default:
|
|
6392
|
+
default: k(() => v[5] || (v[5] = [
|
|
6392
6393
|
it("删除图片")
|
|
6393
6394
|
])),
|
|
6394
6395
|
_: 1,
|
|
@@ -6402,7 +6403,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6402
6403
|
onClick: s,
|
|
6403
6404
|
id: "themeBorderButton"
|
|
6404
6405
|
}, {
|
|
6405
|
-
default:
|
|
6406
|
+
default: k(() => v[6] || (v[6] = [
|
|
6406
6407
|
it("取 消")
|
|
6407
6408
|
])),
|
|
6408
6409
|
_: 1,
|
|
@@ -6412,7 +6413,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6412
6413
|
onClick: u,
|
|
6413
6414
|
id: "themeButton"
|
|
6414
6415
|
}, {
|
|
6415
|
-
default:
|
|
6416
|
+
default: k(() => v[7] || (v[7] = [
|
|
6416
6417
|
it("确 定")
|
|
6417
6418
|
])),
|
|
6418
6419
|
_: 1,
|
|
@@ -6421,7 +6422,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6421
6422
|
])
|
|
6422
6423
|
])
|
|
6423
6424
|
]),
|
|
6424
|
-
default:
|
|
6425
|
+
default: k(() => [
|
|
6425
6426
|
H("div", Hd, [
|
|
6426
6427
|
H("div", Qd, [
|
|
6427
6428
|
H("img", {
|
|
@@ -6508,7 +6509,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6508
6509
|
alt: "头像查找失败",
|
|
6509
6510
|
onError: i
|
|
6510
6511
|
}, {
|
|
6511
|
-
default:
|
|
6512
|
+
default: k(() => [
|
|
6512
6513
|
Re(u.$slots, "avatarDefault", {}, void 0, !0)
|
|
6513
6514
|
]),
|
|
6514
6515
|
_: 3
|
|
@@ -6552,7 +6553,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6552
6553
|
},
|
|
6553
6554
|
emits: ["submitImage", "deleteImage"],
|
|
6554
6555
|
setup(t, { emit: e }) {
|
|
6555
|
-
const a = t, n = e, r = Le(() => "http://
|
|
6556
|
+
const a = t, n = e, r = Le(() => "http://222.92.178.198:63003"), i = _(""), o = _(""), l = _();
|
|
6556
6557
|
Ne(() => {
|
|
6557
6558
|
var d;
|
|
6558
6559
|
return (d = a.userInfo) == null ? void 0 : d.头像;
|
|
@@ -6600,7 +6601,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6600
6601
|
onDeleteImage: c,
|
|
6601
6602
|
clickStop: a == null ? void 0 : a.clickStop
|
|
6602
6603
|
}, {
|
|
6603
|
-
avatarDefault:
|
|
6604
|
+
avatarDefault: k(() => {
|
|
6604
6605
|
var p, v, f, y;
|
|
6605
6606
|
return [
|
|
6606
6607
|
it(Fe(((v = (p = t.userInfo) == null ? void 0 : p.account) == null ? void 0 : v.charAt(0)) || ((y = (f = t.userInfo) == null ? void 0 : f.姓名) == null ? void 0 : y.charAt(0)) || ""), 1)
|
|
@@ -6631,7 +6632,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6631
6632
|
children: [],
|
|
6632
6633
|
childMenus: []
|
|
6633
6634
|
}, sh = () => {
|
|
6634
|
-
const t = vi(), e = Qt(je), { platId: a, isSuperAdmin: n } =
|
|
6635
|
+
const t = vi(), e = Qt(je), { platId: a, isSuperAdmin: n } = xl(), r = (v) => {
|
|
6635
6636
|
const { id: f } = v;
|
|
6636
6637
|
return {
|
|
6637
6638
|
id: f,
|
|
@@ -6676,7 +6677,7 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6676
6677
|
});
|
|
6677
6678
|
}, m = async (v) => {
|
|
6678
6679
|
const f = await h(v);
|
|
6679
|
-
return await
|
|
6680
|
+
return await kl(f);
|
|
6680
6681
|
};
|
|
6681
6682
|
return {
|
|
6682
6683
|
isSuperAdmin: n,
|
|
@@ -6689,11 +6690,11 @@ const Yd = { style: { "text-align": "left" } }, Hd = { class: "cropper-warp" },
|
|
|
6689
6690
|
initEditForm: r
|
|
6690
6691
|
};
|
|
6691
6692
|
}, uh = Kt(je), { systemUrl: oa } = qe(uh);
|
|
6692
|
-
let da = oa.value === "" || !oa.value ? "http://
|
|
6693
|
+
let da = oa.value === "" || !oa.value ? "http://222.92.178.198:63003" : oa.value;
|
|
6693
6694
|
Ne(
|
|
6694
6695
|
() => oa.value,
|
|
6695
6696
|
() => {
|
|
6696
|
-
da = oa.value === "" || !oa.value ? "http://
|
|
6697
|
+
da = oa.value === "" || !oa.value ? "http://222.92.178.198:63003" : oa.value;
|
|
6697
6698
|
},
|
|
6698
6699
|
{ deep: !0, immediate: !0 }
|
|
6699
6700
|
);
|
|
@@ -6847,7 +6848,7 @@ const mh = () => {
|
|
|
6847
6848
|
initExecute: b,
|
|
6848
6849
|
initAssignMethodToPlatform: async (f) => await p(f)
|
|
6849
6850
|
};
|
|
6850
|
-
}, Sh = { class: "method-library" }, Ih = { class: "method-list" }, Eh = ["onClick", "title"], Mh = { class: "method-name" }, xh = { class: "operate" },
|
|
6851
|
+
}, Sh = { class: "method-library" }, Ih = { class: "method-list" }, Eh = ["onClick", "title"], Mh = { class: "method-name" }, xh = { class: "operate" }, kh = { class: "library-right-card" }, Th = { class: "method-operate" }, Bh = { class: "operate-right" }, Rh = { class: "method-detail" }, Oh = { class: "detail-form-wrapper" }, Ph = { class: "detail-footer" }, Lh = { class: "footer-right" }, Nh = /* @__PURE__ */ Ke({
|
|
6851
6852
|
__name: "index",
|
|
6852
6853
|
setup(t) {
|
|
6853
6854
|
const { isSuperAdmin: e, initMethodItem: a, initMethodList: n, initCreate: r, initUpdate: i, initDelete: o, initExecute: l } = Dh(), s = _([]), u = async (F) => {
|
|
@@ -6856,20 +6857,20 @@ const mh = () => {
|
|
|
6856
6857
|
d();
|
|
6857
6858
|
return;
|
|
6858
6859
|
}
|
|
6859
|
-
const
|
|
6860
|
-
d(
|
|
6860
|
+
const T = (E = s.value) == null ? void 0 : E.find((U) => U.id == F);
|
|
6861
|
+
d(T);
|
|
6861
6862
|
};
|
|
6862
6863
|
Ht(async () => {
|
|
6863
6864
|
await u();
|
|
6864
6865
|
});
|
|
6865
6866
|
const c = _(null), d = (F) => {
|
|
6866
|
-
var
|
|
6867
|
+
var T;
|
|
6867
6868
|
if (F) {
|
|
6868
6869
|
const E = bt(F);
|
|
6869
6870
|
c.value = E;
|
|
6870
6871
|
} else
|
|
6871
6872
|
c.value = null;
|
|
6872
|
-
(
|
|
6873
|
+
(T = h.value) == null || T.setContent((F == null ? void 0 : F.input) || ""), v(F);
|
|
6873
6874
|
}, h = _(), m = _(), b = Ea({
|
|
6874
6875
|
name: [
|
|
6875
6876
|
{ required: !0, message: "请输入名称", trigger: "blur" }
|
|
@@ -6880,13 +6881,13 @@ const mh = () => {
|
|
|
6880
6881
|
}), p = Ea(a()), v = async (F) => {
|
|
6881
6882
|
e.value && Object.assign(p, a(F));
|
|
6882
6883
|
}, f = async () => {
|
|
6883
|
-
const F = await r(p),
|
|
6884
|
-
await u(
|
|
6884
|
+
const F = await r(p), T = F == null ? void 0 : F.id;
|
|
6885
|
+
await u(T);
|
|
6885
6886
|
}, y = async () => {
|
|
6886
6887
|
await i(p), await u(p.id);
|
|
6887
6888
|
}, D = async () => {
|
|
6888
|
-
var
|
|
6889
|
-
await ((E = (
|
|
6889
|
+
var T, E;
|
|
6890
|
+
await ((E = (T = m.value) == null ? void 0 : T.validate) == null ? void 0 : E.call(T));
|
|
6890
6891
|
const F = Nn.service({
|
|
6891
6892
|
lock: !0,
|
|
6892
6893
|
text: "加载中...",
|
|
@@ -6905,22 +6906,22 @@ const mh = () => {
|
|
|
6905
6906
|
cancelButtonText: "取消",
|
|
6906
6907
|
type: "warning"
|
|
6907
6908
|
});
|
|
6908
|
-
const
|
|
6909
|
+
const T = Nn.service({
|
|
6909
6910
|
lock: !0,
|
|
6910
6911
|
text: "加载中...",
|
|
6911
6912
|
background: "rgba(0, 0, 0, 0.7)"
|
|
6912
6913
|
});
|
|
6913
6914
|
await O(F).finally(() => {
|
|
6914
|
-
|
|
6915
|
+
T.close();
|
|
6915
6916
|
});
|
|
6916
6917
|
}, g = () => {
|
|
6917
6918
|
var E, U;
|
|
6918
6919
|
const F = (U = (E = h == null ? void 0 : h.value) == null ? void 0 : E.getDeltaOps) == null ? void 0 : U.call(E);
|
|
6919
6920
|
return Ch(F) || [];
|
|
6920
6921
|
}, A = () => (p.description || "").split(",").map((U) => U.trim()).filter((U) => U), B = () => {
|
|
6921
|
-
const F = A(),
|
|
6922
|
+
const F = A(), T = g(), E = {};
|
|
6922
6923
|
return F.forEach((U, ee) => {
|
|
6923
|
-
E[U] =
|
|
6924
|
+
E[U] = T[ee] || "";
|
|
6924
6925
|
}), E;
|
|
6925
6926
|
}, S = () => {
|
|
6926
6927
|
const F = B();
|
|
@@ -6936,9 +6937,9 @@ const mh = () => {
|
|
|
6936
6937
|
lock: !0,
|
|
6937
6938
|
text: "加载中...",
|
|
6938
6939
|
background: "rgba(0, 0, 0, 0.7)"
|
|
6939
|
-
}),
|
|
6940
|
+
}), T = S();
|
|
6940
6941
|
try {
|
|
6941
|
-
const E = await l(
|
|
6942
|
+
const E = await l(T);
|
|
6942
6943
|
await Q(E), Bt.success("执行成功");
|
|
6943
6944
|
} catch {
|
|
6944
6945
|
Bt.error("执行失败");
|
|
@@ -6947,19 +6948,19 @@ const mh = () => {
|
|
|
6947
6948
|
}
|
|
6948
6949
|
}
|
|
6949
6950
|
};
|
|
6950
|
-
return (F,
|
|
6951
|
+
return (F, T) => {
|
|
6951
6952
|
const E = oe("svg-icon"), U = oe("el-card"), ee = oe("el-button"), ie = oe("el-input"), ue = oe("el-form-item"), z = oe("el-col"), xe = oe("el-row"), De = oe("xml-editor"), le = oe("el-form");
|
|
6952
6953
|
return M(), K("div", Sh, [
|
|
6953
6954
|
Y(U, {
|
|
6954
6955
|
class: "library-left-card",
|
|
6955
6956
|
"body-class": "library-left-card-body"
|
|
6956
6957
|
}, {
|
|
6957
|
-
header:
|
|
6958
|
+
header: k(() => T[7] || (T[7] = [
|
|
6958
6959
|
H("div", { class: "method-list-header" }, [
|
|
6959
6960
|
H("div", { class: "title" }, "方法列表")
|
|
6960
6961
|
], -1)
|
|
6961
6962
|
])),
|
|
6962
|
-
default:
|
|
6963
|
+
default: k(() => [
|
|
6963
6964
|
H("div", Ih, [
|
|
6964
6965
|
(M(!0), K($e, null, mt(s.value, (Se) => {
|
|
6965
6966
|
var V;
|
|
@@ -6984,15 +6985,15 @@ const mh = () => {
|
|
|
6984
6985
|
]),
|
|
6985
6986
|
_: 1
|
|
6986
6987
|
}),
|
|
6987
|
-
H("div",
|
|
6988
|
-
H("div",
|
|
6989
|
-
|
|
6988
|
+
H("div", kh, [
|
|
6989
|
+
H("div", Th, [
|
|
6990
|
+
T[9] || (T[9] = H("div", { class: "operate-left" }, null, -1)),
|
|
6990
6991
|
H("div", Bh, [
|
|
6991
6992
|
Y(ee, {
|
|
6992
6993
|
type: "primary",
|
|
6993
|
-
onClick:
|
|
6994
|
+
onClick: T[0] || (T[0] = (Se) => d())
|
|
6994
6995
|
}, {
|
|
6995
|
-
default:
|
|
6996
|
+
default: k(() => T[8] || (T[8] = [
|
|
6996
6997
|
it("创建方法")
|
|
6997
6998
|
])),
|
|
6998
6999
|
_: 1,
|
|
@@ -7009,20 +7010,20 @@ const mh = () => {
|
|
|
7009
7010
|
model: p,
|
|
7010
7011
|
rules: b
|
|
7011
7012
|
}, {
|
|
7012
|
-
default:
|
|
7013
|
+
default: k(() => [
|
|
7013
7014
|
Y(xe, { gutter: 20 }, {
|
|
7014
|
-
default:
|
|
7015
|
+
default: k(() => [
|
|
7015
7016
|
Y(z, { span: 12 }, {
|
|
7016
|
-
default:
|
|
7017
|
+
default: k(() => [
|
|
7017
7018
|
Y(ue, {
|
|
7018
7019
|
label: "名称",
|
|
7019
7020
|
"label-position": "top",
|
|
7020
7021
|
prop: "name"
|
|
7021
7022
|
}, {
|
|
7022
|
-
default:
|
|
7023
|
+
default: k(() => [
|
|
7023
7024
|
Y(ie, {
|
|
7024
7025
|
modelValue: p.name,
|
|
7025
|
-
"onUpdate:modelValue":
|
|
7026
|
+
"onUpdate:modelValue": T[1] || (T[1] = (Se) => p.name = Se),
|
|
7026
7027
|
clearable: ""
|
|
7027
7028
|
}, null, 8, ["modelValue"])
|
|
7028
7029
|
]),
|
|
@@ -7032,16 +7033,16 @@ const mh = () => {
|
|
|
7032
7033
|
_: 1
|
|
7033
7034
|
}),
|
|
7034
7035
|
Y(z, { span: 12 }, {
|
|
7035
|
-
default:
|
|
7036
|
+
default: k(() => [
|
|
7036
7037
|
Y(ue, {
|
|
7037
7038
|
label: "算法体",
|
|
7038
7039
|
"label-position": "top",
|
|
7039
7040
|
prop: "algorithm"
|
|
7040
7041
|
}, {
|
|
7041
|
-
default:
|
|
7042
|
+
default: k(() => [
|
|
7042
7043
|
Y(ie, {
|
|
7043
7044
|
modelValue: p.algorithm,
|
|
7044
|
-
"onUpdate:modelValue":
|
|
7045
|
+
"onUpdate:modelValue": T[2] || (T[2] = (Se) => p.algorithm = Se),
|
|
7045
7046
|
clearable: ""
|
|
7046
7047
|
}, null, 8, ["modelValue"])
|
|
7047
7048
|
]),
|
|
@@ -7054,18 +7055,18 @@ const mh = () => {
|
|
|
7054
7055
|
_: 1
|
|
7055
7056
|
}),
|
|
7056
7057
|
Y(xe, { gutter: 20 }, {
|
|
7057
|
-
default:
|
|
7058
|
+
default: k(() => [
|
|
7058
7059
|
Y(z, { span: 12 }, {
|
|
7059
|
-
default:
|
|
7060
|
+
default: k(() => [
|
|
7060
7061
|
Y(ue, {
|
|
7061
7062
|
label: "版本",
|
|
7062
7063
|
"label-position": "top",
|
|
7063
7064
|
prop: "version"
|
|
7064
7065
|
}, {
|
|
7065
|
-
default:
|
|
7066
|
+
default: k(() => [
|
|
7066
7067
|
Y(ie, {
|
|
7067
7068
|
modelValue: p.version,
|
|
7068
|
-
"onUpdate:modelValue":
|
|
7069
|
+
"onUpdate:modelValue": T[3] || (T[3] = (Se) => p.version = Se),
|
|
7069
7070
|
clearable: ""
|
|
7070
7071
|
}, null, 8, ["modelValue"])
|
|
7071
7072
|
]),
|
|
@@ -7075,16 +7076,16 @@ const mh = () => {
|
|
|
7075
7076
|
_: 1
|
|
7076
7077
|
}),
|
|
7077
7078
|
Y(z, { span: 12 }, {
|
|
7078
|
-
default:
|
|
7079
|
+
default: k(() => [
|
|
7079
7080
|
Y(ue, {
|
|
7080
7081
|
label: "描述",
|
|
7081
7082
|
"label-position": "top",
|
|
7082
7083
|
prop: "description"
|
|
7083
7084
|
}, {
|
|
7084
|
-
default:
|
|
7085
|
+
default: k(() => [
|
|
7085
7086
|
Y(ie, {
|
|
7086
7087
|
modelValue: p.description,
|
|
7087
|
-
"onUpdate:modelValue":
|
|
7088
|
+
"onUpdate:modelValue": T[4] || (T[4] = (Se) => p.description = Se),
|
|
7088
7089
|
clearable: ""
|
|
7089
7090
|
}, null, 8, ["modelValue"])
|
|
7090
7091
|
]),
|
|
@@ -7097,15 +7098,15 @@ const mh = () => {
|
|
|
7097
7098
|
_: 1
|
|
7098
7099
|
}),
|
|
7099
7100
|
Y(xe, { gutter: 20 }, {
|
|
7100
|
-
default:
|
|
7101
|
+
default: k(() => [
|
|
7101
7102
|
Y(z, { span: 24 }, {
|
|
7102
|
-
default:
|
|
7103
|
+
default: k(() => [
|
|
7103
7104
|
Y(ue, {
|
|
7104
7105
|
label: "输出",
|
|
7105
7106
|
"label-position": "top",
|
|
7106
7107
|
prop: "output"
|
|
7107
7108
|
}, {
|
|
7108
|
-
default:
|
|
7109
|
+
default: k(() => [
|
|
7109
7110
|
Y(De, {
|
|
7110
7111
|
class: "output-editor",
|
|
7111
7112
|
"model-value": p.output,
|
|
@@ -7121,21 +7122,21 @@ const mh = () => {
|
|
|
7121
7122
|
_: 1
|
|
7122
7123
|
}),
|
|
7123
7124
|
Y(xe, { gutter: 20 }, {
|
|
7124
|
-
default:
|
|
7125
|
+
default: k(() => [
|
|
7125
7126
|
Y(z, { span: 24 }, {
|
|
7126
|
-
default:
|
|
7127
|
+
default: k(() => [
|
|
7127
7128
|
Y(ue, {
|
|
7128
7129
|
label: "输入",
|
|
7129
7130
|
"label-position": "top",
|
|
7130
7131
|
prop: "input"
|
|
7131
7132
|
}, {
|
|
7132
|
-
default:
|
|
7133
|
+
default: k(() => [
|
|
7133
7134
|
Y(Oe(h), {
|
|
7134
7135
|
ref_key: "quillEditor",
|
|
7135
7136
|
ref: h,
|
|
7136
7137
|
class: "input-editor",
|
|
7137
7138
|
modelValue: p.input,
|
|
7138
|
-
"onUpdate:modelValue":
|
|
7139
|
+
"onUpdate:modelValue": T[5] || (T[5] = (Se) => p.input = Se),
|
|
7139
7140
|
clearable: ""
|
|
7140
7141
|
}, null, 8, ["modelValue"])
|
|
7141
7142
|
]),
|
|
@@ -7152,13 +7153,13 @@ const mh = () => {
|
|
|
7152
7153
|
}, 8, ["model", "rules"])
|
|
7153
7154
|
]),
|
|
7154
7155
|
H("div", Ph, [
|
|
7155
|
-
|
|
7156
|
+
T[12] || (T[12] = H("div", { class: "footer-left" }, null, -1)),
|
|
7156
7157
|
H("div", Lh, [
|
|
7157
7158
|
Y(ee, {
|
|
7158
7159
|
type: "primary",
|
|
7159
7160
|
onClick: D
|
|
7160
7161
|
}, {
|
|
7161
|
-
default:
|
|
7162
|
+
default: k(() => T[10] || (T[10] = [
|
|
7162
7163
|
it("保存")
|
|
7163
7164
|
])),
|
|
7164
7165
|
_: 1,
|
|
@@ -7167,9 +7168,9 @@ const mh = () => {
|
|
|
7167
7168
|
p.id ? (M(), ge(ee, {
|
|
7168
7169
|
key: 0,
|
|
7169
7170
|
type: "primary",
|
|
7170
|
-
onClick:
|
|
7171
|
+
onClick: T[6] || (T[6] = (Se) => j())
|
|
7171
7172
|
}, {
|
|
7172
|
-
default:
|
|
7173
|
+
default: k(() => T[11] || (T[11] = [
|
|
7173
7174
|
it("执行")
|
|
7174
7175
|
])),
|
|
7175
7176
|
_: 1,
|
|
@@ -7206,8 +7207,8 @@ const mh = () => {
|
|
|
7206
7207
|
"destroy-on-close": "",
|
|
7207
7208
|
"show-close": !1
|
|
7208
7209
|
}, {
|
|
7209
|
-
header:
|
|
7210
|
-
default:
|
|
7210
|
+
header: k(() => l[1] || (l[1] = [])),
|
|
7211
|
+
default: k(() => [
|
|
7211
7212
|
H("div", Uh, [
|
|
7212
7213
|
H("div", Yh, [
|
|
7213
7214
|
H("div", Hh, [
|
|
@@ -7220,7 +7221,7 @@ const mh = () => {
|
|
|
7220
7221
|
Y(Nh)
|
|
7221
7222
|
])
|
|
7222
7223
|
]),
|
|
7223
|
-
footer:
|
|
7224
|
+
footer: k(() => l[2] || (l[2] = [])),
|
|
7224
7225
|
_: 1
|
|
7225
7226
|
}, 8, ["modelValue"]);
|
|
7226
7227
|
};
|
|
@@ -7250,30 +7251,30 @@ const mh = () => {
|
|
|
7250
7251
|
},
|
|
7251
7252
|
emits: ["showChild", "buildContent", "setLoginInfo", "clearLogin", "updateVersion"],
|
|
7252
7253
|
setup(t, { emit: e }) {
|
|
7253
|
-
const a = _(null), n = Qt(je), { asideMenuLoading: r, importLoading: i, activeAsideMenu: o, asideMenus: l } = qe(n), s = _(!0), u = Kt(), { loginUserInfo: c } = qe(u), d = _(null), h = _(""), { logoUrl: m, platNameEn: b, getPreviousModel: p, rememberPreviousModelByPlatId: v } =
|
|
7254
|
+
const a = _(null), n = Qt(je), { asideMenuLoading: r, importLoading: i, activeAsideMenu: o, asideMenus: l } = qe(n), s = _(!0), u = Kt(), { loginUserInfo: c } = qe(u), d = _(null), h = _(""), { logoUrl: m, platNameEn: b, getPreviousModel: p, rememberPreviousModelByPlatId: v } = Bl(), { toPersonalCenter: f } = sh(), y = xa(je), { pageLoading: D } = qe(y);
|
|
7254
7255
|
hl("contentRef", d);
|
|
7255
7256
|
const O = e;
|
|
7256
7257
|
Ne(
|
|
7257
7258
|
() => l.value,
|
|
7258
7259
|
() => {
|
|
7259
|
-
var
|
|
7260
|
-
((
|
|
7260
|
+
var T;
|
|
7261
|
+
((T = l.value) == null ? void 0 : T.length) > 0 ? s.value = !1 : s.value = !0;
|
|
7261
7262
|
},
|
|
7262
7263
|
{ immediate: !0, deep: !0 }
|
|
7263
7264
|
);
|
|
7264
|
-
const R = Le(() => o.value.isRouter), g = async (
|
|
7265
|
+
const R = Le(() => o.value.isRouter), g = async (T) => {
|
|
7265
7266
|
const E = await Yr({
|
|
7266
|
-
url:
|
|
7267
|
+
url: T
|
|
7267
7268
|
});
|
|
7268
7269
|
return URL.createObjectURL(E == null ? void 0 : E.data);
|
|
7269
7270
|
};
|
|
7270
|
-
Ne(() => m.value, async (
|
|
7271
|
-
|
|
7271
|
+
Ne(() => m.value, async (T) => {
|
|
7272
|
+
T ? h.value = await g(T) : h.value = Rl;
|
|
7272
7273
|
}, { immediate: !0 });
|
|
7273
7274
|
const A = () => {
|
|
7274
7275
|
O("clearLogin"), sessionStorage.clear();
|
|
7275
|
-
const
|
|
7276
|
-
localStorage.clear(),
|
|
7276
|
+
const T = p();
|
|
7277
|
+
localStorage.clear(), T && v(T), window.location.reload();
|
|
7277
7278
|
}, B = async () => {
|
|
7278
7279
|
f();
|
|
7279
7280
|
}, S = () => {
|
|
@@ -7281,19 +7282,19 @@ const mh = () => {
|
|
|
7281
7282
|
}, Q = () => {
|
|
7282
7283
|
a.value !== null && a.value.click();
|
|
7283
7284
|
}, j = _(), F = () => {
|
|
7284
|
-
var
|
|
7285
|
-
(
|
|
7285
|
+
var T;
|
|
7286
|
+
(T = j.value) == null || T.openDialog();
|
|
7286
7287
|
};
|
|
7287
|
-
return (
|
|
7288
|
+
return (T, E) => {
|
|
7288
7289
|
const U = oe("el-button"), ee = oe("el-header"), ie = oe("el-aside"), ue = oe("router-view"), z = oe("el-main"), xe = oe("el-container"), De = fl("loading");
|
|
7289
7290
|
return M(), K($e, null, [
|
|
7290
7291
|
la((M(), ge(xe, {
|
|
7291
7292
|
class: "client-container",
|
|
7292
7293
|
"element-loading-text": "正在加载页面数据..."
|
|
7293
7294
|
}, {
|
|
7294
|
-
default:
|
|
7295
|
+
default: k(() => [
|
|
7295
7296
|
Y(ee, { class: "client-header" }, {
|
|
7296
|
-
default:
|
|
7297
|
+
default: k(() => [
|
|
7297
7298
|
H("div", Fh, [
|
|
7298
7299
|
Oe(m) ? (M(), K("div", _h, [
|
|
7299
7300
|
H("img", {
|
|
@@ -7307,19 +7308,19 @@ const mh = () => {
|
|
|
7307
7308
|
Y(zc, { mode: "horizontal" })
|
|
7308
7309
|
]),
|
|
7309
7310
|
H("div", Gh, [
|
|
7310
|
-
Re(
|
|
7311
|
+
Re(T.$slots, "default", {}, void 0, !0),
|
|
7311
7312
|
Y(U, {
|
|
7312
7313
|
class: "method-library-btn",
|
|
7313
7314
|
onClick: F
|
|
7314
7315
|
}, {
|
|
7315
|
-
default:
|
|
7316
|
+
default: k(() => E[0] || (E[0] = [
|
|
7316
7317
|
it("方法库")
|
|
7317
7318
|
])),
|
|
7318
7319
|
_: 1,
|
|
7319
7320
|
__: [0]
|
|
7320
7321
|
}),
|
|
7321
7322
|
Y(yo, null, {
|
|
7322
|
-
dropTitle:
|
|
7323
|
+
dropTitle: k(() => [
|
|
7323
7324
|
Y(Br, {
|
|
7324
7325
|
size: 35,
|
|
7325
7326
|
disabled: !0,
|
|
@@ -7327,7 +7328,7 @@ const mh = () => {
|
|
|
7327
7328
|
clickStop: !1
|
|
7328
7329
|
}, null, 8, ["userInfo"])
|
|
7329
7330
|
]),
|
|
7330
|
-
dropMenu:
|
|
7331
|
+
dropMenu: k(() => {
|
|
7331
7332
|
var le, Se, V, re, C, P;
|
|
7332
7333
|
return [
|
|
7333
7334
|
H("div", Vh, [
|
|
@@ -7401,12 +7402,12 @@ const mh = () => {
|
|
|
7401
7402
|
_: 3
|
|
7402
7403
|
}),
|
|
7403
7404
|
Y(xe, { class: "client-body" }, {
|
|
7404
|
-
default:
|
|
7405
|
+
default: k(() => [
|
|
7405
7406
|
Y(z, {
|
|
7406
7407
|
class: "client-main",
|
|
7407
7408
|
style: Lt({ paddingLeft: s.value ? "16px" : "0px" })
|
|
7408
7409
|
}, {
|
|
7409
|
-
default:
|
|
7410
|
+
default: k(() => [
|
|
7410
7411
|
s.value ? se("", !0) : la((M(), ge(ie, {
|
|
7411
7412
|
key: 0,
|
|
7412
7413
|
class: "client-aside",
|
|
@@ -7414,7 +7415,7 @@ const mh = () => {
|
|
|
7414
7415
|
"element-loading-text": "正在加载数据...",
|
|
7415
7416
|
width: "auto"
|
|
7416
7417
|
}, {
|
|
7417
|
-
default:
|
|
7418
|
+
default: k(() => [
|
|
7418
7419
|
Y(jc, { mode: "vertical" })
|
|
7419
7420
|
]),
|
|
7420
7421
|
_: 1
|
|
@@ -7435,7 +7436,7 @@ const mh = () => {
|
|
|
7435
7436
|
key: Se,
|
|
7436
7437
|
style: Lt({ display: (le == null ? void 0 : le.isShow) === !1 || !(le != null && le.comp) ? "none" : "flex" })
|
|
7437
7438
|
}, [
|
|
7438
|
-
Oe(ho) ? (M(), ge(Mn(Oe(
|
|
7439
|
+
Oe(ho) ? (M(), ge(Mn(Oe(Tc)(le.comp)), {
|
|
7439
7440
|
componentContent: le,
|
|
7440
7441
|
key: Oe(ai),
|
|
7441
7442
|
index: (le == null ? void 0 : le.id) ?? Se
|
|
@@ -7465,7 +7466,7 @@ const mh = () => {
|
|
|
7465
7466
|
], 64);
|
|
7466
7467
|
};
|
|
7467
7468
|
}
|
|
7468
|
-
}), tf = /* @__PURE__ */ st(ef, [["__scopeId", "data-v-10bd2e95"]]), Rn =
|
|
7469
|
+
}), tf = /* @__PURE__ */ st(ef, [["__scopeId", "data-v-10bd2e95"]]), Rn = yl("commonState", () => ({
|
|
7469
7470
|
commonSplit: _("$R")
|
|
7470
7471
|
})), af = Rn(je), { commonSplit: ct } = qe(af), Ut = (t) => {
|
|
7471
7472
|
var n, r, i, o, l;
|
|
@@ -7674,9 +7675,9 @@ const mh = () => {
|
|
|
7674
7675
|
p = p == null ? void 0 : p.filter((g) => g !== "");
|
|
7675
7676
|
let v = p == null ? void 0 : p.filter((g) => (g == null ? void 0 : g[0]) !== "=");
|
|
7676
7677
|
(v == null ? void 0 : v.length) > 0 && (v == null || v.forEach((g) => {
|
|
7677
|
-
var
|
|
7678
|
+
var T, E, U, ee, ie, ue;
|
|
7678
7679
|
let A = "", B = Be(g, ")"), S = B == null ? void 0 : B.filter((z) => (z == null ? void 0 : z[0]) === "@");
|
|
7679
|
-
(S == null ? void 0 : S.length) > 0 && (e = (E = S == null ? void 0 : S[0]) == null ? void 0 : E.slice(1, (
|
|
7680
|
+
(S == null ? void 0 : S.length) > 0 && (e = (E = S == null ? void 0 : S[0]) == null ? void 0 : E.slice(1, (T = S == null ? void 0 : S[0]) == null ? void 0 : T.length));
|
|
7680
7681
|
let Q = B == null ? void 0 : B.filter((z) => (z == null ? void 0 : z[0]) === "&");
|
|
7681
7682
|
Q = Lo(Q);
|
|
7682
7683
|
let j = B == null ? void 0 : B.filter((z) => (z == null ? void 0 : z[0]) === "$");
|
|
@@ -7706,8 +7707,8 @@ const mh = () => {
|
|
|
7706
7707
|
value: B
|
|
7707
7708
|
};
|
|
7708
7709
|
}), o = g == null ? void 0 : g.map((A) => {
|
|
7709
|
-
var Q, j, F,
|
|
7710
|
-
let B = (j = (Q = A == null ? void 0 : A.replace("==", Pe.value)) == null ? void 0 : Q.split(Pe.value)) == null ? void 0 : j[0], S = (
|
|
7710
|
+
var Q, j, F, T;
|
|
7711
|
+
let B = (j = (Q = A == null ? void 0 : A.replace("==", Pe.value)) == null ? void 0 : Q.split(Pe.value)) == null ? void 0 : j[0], S = (T = (F = A == null ? void 0 : A.replace("==", Pe.value)) == null ? void 0 : F.split(Pe.value)) == null ? void 0 : T[1];
|
|
7711
7712
|
return S = Ut("@" + S), {
|
|
7712
7713
|
label: B,
|
|
7713
7714
|
value: B,
|
|
@@ -7954,7 +7955,7 @@ const yf = (t, e) => {
|
|
|
7954
7955
|
},
|
|
7955
7956
|
emits: ["buildContent", "showChild", "clearLogin", "systemContent", "updateVersion"],
|
|
7956
7957
|
setup(t, { emit: e }) {
|
|
7957
|
-
const a = xa(je), n = Kt(je), { loginUserInfo: r } = qe(n), i = Qt(je), o =
|
|
7958
|
+
const a = xa(je), n = Kt(je), { loginUserInfo: r } = qe(n), i = Qt(je), o = pi(je), l = t, s = e, u = () => {
|
|
7958
7959
|
s("clearLogin");
|
|
7959
7960
|
}, c = (v) => {
|
|
7960
7961
|
s("showChild", v);
|
|
@@ -8041,17 +8042,17 @@ const yf = (t, e) => {
|
|
|
8041
8042
|
onClearLogin: u,
|
|
8042
8043
|
onUpdateVersion: d
|
|
8043
8044
|
}, {
|
|
8044
|
-
default:
|
|
8045
|
+
default: k(() => [
|
|
8045
8046
|
Re(v.$slots, "default", {}, void 0, !0)
|
|
8046
8047
|
]),
|
|
8047
8048
|
_: 3
|
|
8048
8049
|
}, 8, ["windowConfig", "showButton", "platform", "taskContent"])
|
|
8049
8050
|
]));
|
|
8050
8051
|
}
|
|
8051
|
-
}), Mf = /* @__PURE__ */ st(Ef, [["__scopeId", "data-v-f695055b"]]), xf = { class: "add-model-content" },
|
|
8052
|
+
}), Mf = /* @__PURE__ */ st(Ef, [["__scopeId", "data-v-f695055b"]]), xf = { class: "add-model-content" }, kf = {
|
|
8052
8053
|
key: 0,
|
|
8053
8054
|
class: "model-view"
|
|
8054
|
-
},
|
|
8055
|
+
}, Tf = {
|
|
8055
8056
|
class: "drop-menu",
|
|
8056
8057
|
style: { width: "120px" }
|
|
8057
8058
|
}, Bf = /* @__PURE__ */ Ke({
|
|
@@ -8097,7 +8098,7 @@ const yf = (t, e) => {
|
|
|
8097
8098
|
},
|
|
8098
8099
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData", "clearLogin", "clearFileContent", "systemContent", "executeWorkspace", "updateVersion"],
|
|
8099
8100
|
setup(t, { emit: e }) {
|
|
8100
|
-
const a = t, n = e, r = _([]), i = _([]), o = _(0), l = _(0), s = _(null), u = xa(je), c = Qt(je), { platform: d } = qe(c), h = _([]), m = _([]), b = Kt(), { loginUserInfo: p } = qe(b), v =
|
|
8101
|
+
const a = t, n = e, r = _([]), i = _([]), o = _(0), l = _(0), s = _(null), u = xa(je), c = Qt(je), { platform: d } = qe(c), h = _([]), m = _([]), b = Kt(), { loginUserInfo: p } = qe(b), v = pi(je), f = () => {
|
|
8101
8102
|
n("buildContent");
|
|
8102
8103
|
}, y = () => {
|
|
8103
8104
|
n("clearLogin");
|
|
@@ -8122,7 +8123,7 @@ const yf = (t, e) => {
|
|
|
8122
8123
|
const Q = S.target.files;
|
|
8123
8124
|
if (!Q) return;
|
|
8124
8125
|
r.value = [], m.value = [];
|
|
8125
|
-
const j = Array.from(Q).map(async (F) => await new Promise((
|
|
8126
|
+
const j = Array.from(Q).map(async (F) => await new Promise((T) => {
|
|
8126
8127
|
const E = new FileReader();
|
|
8127
8128
|
E.onload = (U) => {
|
|
8128
8129
|
try {
|
|
@@ -8131,7 +8132,7 @@ const yf = (t, e) => {
|
|
|
8131
8132
|
console.error("解析失败:", ee);
|
|
8132
8133
|
return;
|
|
8133
8134
|
}
|
|
8134
|
-
}, E.onerror = () =>
|
|
8135
|
+
}, E.onerror = () => T(`读取 ${F.name} 失败`), E.readAsText(F), S.target.value = "", s.value = null, l.value++;
|
|
8135
8136
|
}));
|
|
8136
8137
|
await Promise.all(j);
|
|
8137
8138
|
}, B = async () => {
|
|
@@ -8145,7 +8146,7 @@ const yf = (t, e) => {
|
|
|
8145
8146
|
return (S, Q) => {
|
|
8146
8147
|
const j = oe("svg-icon"), F = oe("el-button");
|
|
8147
8148
|
return M(), K("div", xf, [
|
|
8148
|
-
(a == null ? void 0 : a.mode) === "view" ? (M(), K("div",
|
|
8149
|
+
(a == null ? void 0 : a.mode) === "view" ? (M(), K("div", kf, [
|
|
8149
8150
|
(M(), ge(Mf, {
|
|
8150
8151
|
showButton: a == null ? void 0 : a.showButton,
|
|
8151
8152
|
platform: Oe(d),
|
|
@@ -8161,19 +8162,19 @@ const yf = (t, e) => {
|
|
|
8161
8162
|
onSystemContent: O,
|
|
8162
8163
|
onUpdateVersion: D
|
|
8163
8164
|
}, {
|
|
8164
|
-
default:
|
|
8165
|
+
default: k(() => [
|
|
8165
8166
|
Y(yo, null, {
|
|
8166
|
-
dropTitle:
|
|
8167
|
-
var
|
|
8167
|
+
dropTitle: k(() => {
|
|
8168
|
+
var T;
|
|
8168
8169
|
return [
|
|
8169
|
-
((
|
|
8170
|
+
((T = a == null ? void 0 : a.jsonContents) == null ? void 0 : T.length) === 0 && (a != null && a.showButton) ? (M(), ge(F, {
|
|
8170
8171
|
key: 0,
|
|
8171
8172
|
class: "system-default-button"
|
|
8172
8173
|
}, {
|
|
8173
|
-
icon:
|
|
8174
|
+
icon: k(() => [
|
|
8174
8175
|
Y(j, { name: "model" })
|
|
8175
8176
|
]),
|
|
8176
|
-
default:
|
|
8177
|
+
default: k(() => [
|
|
8177
8178
|
Q[0] || (Q[0] = it(" 模型 "))
|
|
8178
8179
|
]),
|
|
8179
8180
|
_: 1,
|
|
@@ -8181,16 +8182,16 @@ const yf = (t, e) => {
|
|
|
8181
8182
|
})) : se("", !0)
|
|
8182
8183
|
];
|
|
8183
8184
|
}),
|
|
8184
|
-
dropMenu:
|
|
8185
|
-
H("div",
|
|
8185
|
+
dropMenu: k(() => [
|
|
8186
|
+
H("div", Tf, [
|
|
8186
8187
|
Y(F, {
|
|
8187
8188
|
onClick: g,
|
|
8188
8189
|
style: { width: "100%", margin: "0" }
|
|
8189
8190
|
}, {
|
|
8190
|
-
icon:
|
|
8191
|
+
icon: k(() => [
|
|
8191
8192
|
Y(j, { name: "import" })
|
|
8192
8193
|
]),
|
|
8193
|
-
default:
|
|
8194
|
+
default: k(() => [
|
|
8194
8195
|
(M(), K("input", {
|
|
8195
8196
|
type: "file",
|
|
8196
8197
|
key: l.value,
|
|
@@ -8210,10 +8211,10 @@ const yf = (t, e) => {
|
|
|
8210
8211
|
onClick: B,
|
|
8211
8212
|
style: { width: "100%", margin: "0" }
|
|
8212
8213
|
}, {
|
|
8213
|
-
icon:
|
|
8214
|
+
icon: k(() => [
|
|
8214
8215
|
Y(j, { name: "clear" })
|
|
8215
8216
|
]),
|
|
8216
|
-
default:
|
|
8217
|
+
default: k(() => [
|
|
8217
8218
|
Q[2] || (Q[2] = it(" 清空模型 "))
|
|
8218
8219
|
]),
|
|
8219
8220
|
_: 1,
|
|
@@ -8230,7 +8231,7 @@ const yf = (t, e) => {
|
|
|
8230
8231
|
]);
|
|
8231
8232
|
};
|
|
8232
8233
|
}
|
|
8233
|
-
}),
|
|
8234
|
+
}), Hf = /* @__PURE__ */ st(Bf, [["__scopeId", "data-v-29f241ad"]]);
|
|
8234
8235
|
export {
|
|
8235
|
-
|
|
8236
|
+
Hf as default
|
|
8236
8237
|
};
|