ss-component-new 1.3.647 → 1.3.648
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/{MTLLoader-CzUQTGKY.js → MTLLoader-BZFzdPnX.js} +1 -1
- package/dist/{URDFLoader-Cpc_aT68.js → URDFLoader-Ce6ST3KA.js} +2 -2
- package/dist/{animationData-BgDqzRLe.js → animationData-CH5BUmFv.js} +3 -3
- package/dist/{array-D8M1X1Ro.js → array-DnttreLx.js} +4 -4
- package/dist/{clone-DqQwDoSV.js → clone-Lj02KCaK.js} +1 -1
- package/dist/{eleIcon-Dtsx377t.js → eleIcon-DlIcb4df.js} +1 -1
- package/dist/{iconfont-B4WPRBLy.js → iconfont-D4KABMmd.js} +1 -1
- package/dist/{index-CB2B4YM9.js → index-82jv_BLj.js} +1 -1
- package/dist/{index-0Pw9Txsz.js → index-8noaAojX.js} +32 -32
- package/dist/{index-CFjNYQu4.js → index-B8LvIYsB.js} +2 -2
- package/dist/{index-BkAYMm70.js → index-BGll-BCG.js} +2 -2
- package/dist/{index-B2i-wZ7I.js → index-BKBRlHTG.js} +2 -2
- package/dist/{index-BjSS0ovo.js → index-BNeijxMN.js} +49 -49
- package/dist/{index-D8cOzz3g.js → index-BaBpTzW6.js} +3 -3
- package/dist/{index-DHmpeyMt.js → index-Bld7MkVu.js} +324 -314
- package/dist/{index-z5wovvkI.js → index-BmsO-R_T.js} +6 -6
- package/dist/{index-EhhmIYUi.js → index-Bnen55s5.js} +2 -2
- package/dist/{index-C9y1HVim.js → index-Bo2h_wXI.js} +4 -4
- package/dist/{index-DGmjWChr.js → index-C02plr9M.js} +1 -1
- package/dist/{index-BvrZtqVU.js → index-C6R12LHP.js} +4 -4
- package/dist/{index-C_c-5ZAh.js → index-CBJPyh-r.js} +4 -4
- package/dist/{index-BI3gwdBk.js → index-CG1vGzHt.js} +1 -1
- package/dist/{index-tLd2cEHX.js → index-CJySKIdc.js} +1 -1
- package/dist/{index-BrtXf90v.js → index-COG151iX.js} +23370 -23248
- package/dist/{index-Dzmh37xZ.js → index-COG1VSmJ.js} +6 -6
- package/dist/{index-FCnO8UeA.js → index-CWUDWgef.js} +2 -2
- package/dist/{index-Cnet9-km.js → index-CXWc_obJ.js} +5 -5
- package/dist/index-CaT7vMf3.js +11587 -0
- package/dist/{index-fxJSVddL.js → index-DDBlBNGz.js} +1 -1
- package/dist/{index-IXxKIj3h.js → index-DDwzZ4tq.js} +2 -2
- package/dist/{index-C_proWoC.js → index-DFRE32eZ.js} +2 -2
- package/dist/{index-NwTP3AQl.js → index-DIW18hAu.js} +5 -5
- package/dist/{index-DpcGBPYo.js → index-DZwnRZNI.js} +3 -3
- package/dist/{index-CDpLX430.js → index-DlFmNKos.js} +2 -2
- package/dist/{index-DT7MjPj0.js → index-DucNAU4U.js} +10 -10
- package/dist/{index-awI81WIz.js → index-DzMxMh46.js} +11 -11
- package/dist/{index-C4OLi6tq.js → index-a2lAUtbV.js} +75 -71
- package/dist/{index-BIxhrXtt.js → index-mdcn_vO2.js} +1 -1
- package/dist/{index-DLZVUgaP.js → index-neD21sAf.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CSocraHr.js} +4 -4
- package/dist/{isString-CXX7MUiv.js → isString-h0UV2hrP.js} +1 -1
- package/dist/{main-CAAw_Zsf.js → main-B7lrNiRx.js} +4 -4
- package/dist/{menuIndex-2JX7SuB8.js → menuIndex-BbxAsUl_.js} +1 -1
- package/dist/{request-D-LN5bvn.js → request-DolpfyNJ.js} +180 -179
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.js +13 -13
- package/dist/{threeModel-D7pZcypI.js → threeModel-DJRelezj.js} +5 -5
- package/dist/{threePreview-Cjupz9HK.js → threePreview-Pz5R0byR.js} +5 -5
- package/dist/{threeSceneView-DzpPQCjn.js → threeSceneView-CouxcEQi.js} +102 -102
- package/dist/{threeSceneViewForCPMPIP-C39zZNzT.js → threeSceneViewForCPMPIP-DpDvUUhu.js} +9 -9
- package/dist/{threeTrackPathView-DuiNPnon.js → threeTrackPathView-Ubv3KiZu.js} +6 -6
- package/dist/{threeViewerHost-URHOdtr5.js → threeViewerHost-Bp4vm58M.js} +3 -3
- package/dist/{urdfTree-CymLIkE8.js → urdfTree-BYmwkvtn.js} +1 -1
- package/dist/{workpieceTreePanel-DaTdJC9q.js → workpieceTreePanel-CJgl8JKx.js} +4 -4
- package/package.json +1 -1
- package/dist/index-C9QM6oa1.js +0 -11397
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as G, resolveComponent as
|
|
2
|
-
import { a5 as P9, a9 as V9, g as A9, aa as E9, ab as B9, ac as L9, a6 as Kn, ad as H9, ae as G9, af as R9, ag as N9, ah as Xn, ai as Qn } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
1
|
+
import { ref as G, resolveComponent as Q, createBlock as U, openBlock as _, defineComponent as n0, computed as i2, watch as Z2, createElementBlock as A, createVNode as X, withCtx as H, createElementVNode as o2, Fragment as O2, renderList as V2, withModifiers as Be, normalizeClass as _e, toDisplayString as $2, createSlots as ae, renderSlot as z2, nextTick as G0, onMounted as Te, createTextVNode as p0, isRef as C9, isReactive as k9, toRaw as D9, createCommentVNode as K, onBeforeUnmount as Q4, normalizeStyle as w0, resolveDynamicComponent as Et, normalizeProps as O9, guardReactiveProps as M9, unref as Y0, mergeProps as H1, reactive as o6, inject as b6, withDirectives as m3, vShow as _6, watchEffect as Ze, onUnmounted as Jt, resolveDirective as T9, h as Fn, toRefs as z9 } from "vue";
|
|
2
|
+
import { a5 as P9, a9 as V9, g as A9, aa as E9, ab as B9, ac as L9, a6 as Kn, ad as H9, ae as G9, af as R9, ag as N9, ah as Xn, ai as Qn } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CSocraHr.js";
|
|
3
3
|
import { _ as H2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import { S as Wt } from "./index-BHtNKL1L.js";
|
|
5
|
-
import {
|
|
6
|
-
import { a as Z4, p as Bt, s as Ut, u as en, c as F0, al as Ve, e as d8, aV as z3, o as F9, B as K9 } from "./index-
|
|
5
|
+
import { v as a8, w as c8, V as $9, W as Jn, E as Ye, s as J4, F as h8, p as J6, m as j9, cb as W9, aO as U9, aP as I9, ca as q9, b as Y9 } from "./request-DolpfyNJ.js";
|
|
6
|
+
import { a as Z4, p as Bt, s as Ut, u as en, c as F0, al as Ve, e as d8, aV as z3, o as F9, B as K9 } from "./index-C02plr9M.js";
|
|
7
7
|
import { _ as T0 } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
8
|
-
import { m as Zn, B as X9, X as u8 } from "./index-
|
|
8
|
+
import { m as Zn, B as X9, X as u8 } from "./index-a2lAUtbV.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { s as tn } from "./index-11kpzK0A.js";
|
|
11
|
-
import { T as ei, a as Q9 } from "./threeViewerHost-
|
|
12
|
-
import { A as J9 } from "./index-
|
|
11
|
+
import { T as ei, a as Q9 } from "./threeViewerHost-Bp4vm58M.js";
|
|
12
|
+
import { A as J9 } from "./index-DzMxMh46.js";
|
|
13
13
|
var Z9 = "[object Date]";
|
|
14
14
|
function er(i) {
|
|
15
15
|
return a8(i) && c8(i) == Z9;
|
|
@@ -46,7 +46,7 @@ const nr = {
|
|
|
46
46
|
setup(i) {
|
|
47
47
|
const e = i, t = G(e.value);
|
|
48
48
|
return (n, s) => {
|
|
49
|
-
const l =
|
|
49
|
+
const l = Q("el-switch");
|
|
50
50
|
return _(), U(l, {
|
|
51
51
|
modelValue: t.value,
|
|
52
52
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => t.value = o),
|
|
@@ -149,7 +149,7 @@ const nr = {
|
|
|
149
149
|
n("focus"), l.value && t.suggestList && t.suggestList.length > 0 && (a.value = !0);
|
|
150
150
|
};
|
|
151
151
|
return (m, S) => {
|
|
152
|
-
const M =
|
|
152
|
+
const M = Q("el-input"), O = Q("el-popover");
|
|
153
153
|
return Array.isArray(l.value) ? (_(), U(M, {
|
|
154
154
|
key: 1,
|
|
155
155
|
modelValue: l.value,
|
|
@@ -166,7 +166,7 @@ const nr = {
|
|
|
166
166
|
key: "0"
|
|
167
167
|
} : void 0
|
|
168
168
|
]), 1032, ["modelValue", "disabled"])) : (_(), A("div", ir, [
|
|
169
|
-
|
|
169
|
+
X(O, {
|
|
170
170
|
visible: a.value && i.suggestList.length > 0,
|
|
171
171
|
trigger: "manual",
|
|
172
172
|
placement: "bottom-start",
|
|
@@ -175,7 +175,7 @@ const nr = {
|
|
|
175
175
|
"popper-class": "input-suggest-popper"
|
|
176
176
|
}, {
|
|
177
177
|
reference: H(() => [
|
|
178
|
-
|
|
178
|
+
X(M, {
|
|
179
179
|
modelValue: l.value,
|
|
180
180
|
"onUpdate:modelValue": S[0] || (S[0] = (D) => l.value = D),
|
|
181
181
|
disabled: !(t != null && t.isEdit) || (t == null ? void 0 : t.disabled),
|
|
@@ -1037,7 +1037,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1037
1037
|
return Te(() => {
|
|
1038
1038
|
o.value = Ip();
|
|
1039
1039
|
}), (h, d) => {
|
|
1040
|
-
const u =
|
|
1040
|
+
const u = Q("el-input"), f = Q("el-popover");
|
|
1041
1041
|
return _(), U(f, {
|
|
1042
1042
|
width: "400",
|
|
1043
1043
|
visible: l.value,
|
|
@@ -1051,7 +1051,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1051
1051
|
class: "icon-wrap",
|
|
1052
1052
|
onClick: (v) => c(p)
|
|
1053
1053
|
}, [
|
|
1054
|
-
|
|
1054
|
+
X(Wt, {
|
|
1055
1055
|
name: p == null ? void 0 : p.value,
|
|
1056
1056
|
style: { width: "20px", height: "20px" }
|
|
1057
1057
|
}, null, 8, ["name"])
|
|
@@ -1059,7 +1059,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1059
1059
|
])
|
|
1060
1060
|
]),
|
|
1061
1061
|
reference: H(() => [
|
|
1062
|
-
|
|
1062
|
+
X(u, {
|
|
1063
1063
|
modelValue: s.value,
|
|
1064
1064
|
"onUpdate:modelValue": d[0] || (d[0] = (p) => s.value = p),
|
|
1065
1065
|
placeholder: "请输入",
|
|
@@ -1069,7 +1069,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1069
1069
|
onBlur: a
|
|
1070
1070
|
}, {
|
|
1071
1071
|
prepend: H(() => [
|
|
1072
|
-
|
|
1072
|
+
X(Wt, {
|
|
1073
1073
|
name: s.value,
|
|
1074
1074
|
style: { width: "20px", height: "20px" }
|
|
1075
1075
|
}, null, 8, ["name"])
|
|
@@ -1092,7 +1092,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1092
1092
|
n("clickTrigger", t == null ? void 0 : t.modelValue);
|
|
1093
1093
|
};
|
|
1094
1094
|
return (l, o) => {
|
|
1095
|
-
const r =
|
|
1095
|
+
const r = Q("el-link");
|
|
1096
1096
|
return _(), U(r, {
|
|
1097
1097
|
onClick: s,
|
|
1098
1098
|
type: "primary",
|
|
@@ -1128,7 +1128,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1128
1128
|
return Z2(() => t.modelValue, (d) => {
|
|
1129
1129
|
s.value = d;
|
|
1130
1130
|
}, { immediate: !0 }), (d, u) => {
|
|
1131
|
-
const f =
|
|
1131
|
+
const f = Q("el-tag"), p = Q("el-option"), g = Q("el-select"), v = Q("el-button");
|
|
1132
1132
|
return _(), A("div", null, [
|
|
1133
1133
|
(_(!0), A(O2, null, V2(s.value, (m) => (_(), U(f, {
|
|
1134
1134
|
key: m,
|
|
@@ -1190,7 +1190,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1190
1190
|
setup(i) {
|
|
1191
1191
|
const e = i, t = G(e.value);
|
|
1192
1192
|
return (n, s) => {
|
|
1193
|
-
const l =
|
|
1193
|
+
const l = Q("el-input");
|
|
1194
1194
|
return _(), U(l, {
|
|
1195
1195
|
modelValue: t.value,
|
|
1196
1196
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => t.value = o),
|
|
@@ -1217,7 +1217,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1217
1217
|
setup(i) {
|
|
1218
1218
|
const t = G(i.value);
|
|
1219
1219
|
return (n, s) => {
|
|
1220
|
-
const l =
|
|
1220
|
+
const l = Q("el-color-picker");
|
|
1221
1221
|
return _(), U(l, {
|
|
1222
1222
|
modelValue: t.value,
|
|
1223
1223
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => t.value = o),
|
|
@@ -1241,7 +1241,7 @@ const qp = { class: "icon-popover" }, Yp = ["onClick"], Fp = /* @__PURE__ */ n0(
|
|
|
1241
1241
|
setup(i) {
|
|
1242
1242
|
const t = G(i.value);
|
|
1243
1243
|
return (n, s) => {
|
|
1244
|
-
const l =
|
|
1244
|
+
const l = Q("el-input");
|
|
1245
1245
|
return _(), U(l, {
|
|
1246
1246
|
modelValue: t.value,
|
|
1247
1247
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => t.value = o),
|
|
@@ -1391,8 +1391,8 @@ const ng = async (i) => {
|
|
|
1391
1391
|
C2 && (s.value = C2[1]);
|
|
1392
1392
|
}
|
|
1393
1393
|
await G0();
|
|
1394
|
-
const
|
|
1395
|
-
d.value = (
|
|
1394
|
+
const J = (a2 = h.value) == null ? void 0 : a2.$el;
|
|
1395
|
+
d.value = (J == null ? void 0 : J.closest(".el-overlay")) ?? (J == null ? void 0 : J.closest(".el-dialog")) ?? document.body;
|
|
1396
1396
|
});
|
|
1397
1397
|
const f = (R) => {
|
|
1398
1398
|
n("update:modelValue", R), n("change", R), s.value = R;
|
|
@@ -1415,41 +1415,41 @@ const ng = async (i) => {
|
|
|
1415
1415
|
return P.value && R.push("multiple"), R;
|
|
1416
1416
|
}), O = (R) => {
|
|
1417
1417
|
var a2;
|
|
1418
|
-
const { value:
|
|
1419
|
-
return Array.isArray(a.value) || (a.value = []), ((a2 = a.value) == null ? void 0 : a2.find((C2) =>
|
|
1418
|
+
const { value: J } = R;
|
|
1419
|
+
return Array.isArray(a.value) || (a.value = []), ((a2 = a.value) == null ? void 0 : a2.find((C2) => J == C2)) && P.value ? "active" : "";
|
|
1420
1420
|
}, D = (R) => {
|
|
1421
|
-
let
|
|
1421
|
+
let J = gt(a.value);
|
|
1422
1422
|
const g2 = /* @__PURE__ */ new Set();
|
|
1423
1423
|
for (let a2 = 0; a2 < R.length; a2++) {
|
|
1424
1424
|
const C2 = R[a2];
|
|
1425
1425
|
g2.add(C2);
|
|
1426
1426
|
}
|
|
1427
|
-
|
|
1427
|
+
J = J.filter((a2) => g2.has(a2)), h8(a.value, J) || (a.value = J, n("tagChange", J));
|
|
1428
1428
|
}, w = (R) => {
|
|
1429
|
-
const { value:
|
|
1430
|
-
return a2 >= 0 ? g2.splice(a2, 1) : g2.push(
|
|
1429
|
+
const { value: J } = R, g2 = gt(a.value), a2 = g2.findIndex((C2) => C2 === J);
|
|
1430
|
+
return a2 >= 0 ? g2.splice(a2, 1) : g2.push(J), g2;
|
|
1431
1431
|
}, y = (R) => {
|
|
1432
1432
|
if (!P.value)
|
|
1433
1433
|
return;
|
|
1434
|
-
const
|
|
1435
|
-
a.value =
|
|
1434
|
+
const J = w(R);
|
|
1435
|
+
a.value = J, n("tagChange", J);
|
|
1436
1436
|
}, B = (R) => {
|
|
1437
1437
|
n("blurChange"), P.value && D(R);
|
|
1438
1438
|
}, P = i2(() => {
|
|
1439
1439
|
const R = t.optionUrl;
|
|
1440
1440
|
return !!(R != null && R.multiple);
|
|
1441
1441
|
}), z = i2(() => {
|
|
1442
|
-
var R,
|
|
1443
|
-
return !((R = t.optionUrl) != null && R.multipleLimit) && ((
|
|
1442
|
+
var R, J, g2;
|
|
1443
|
+
return !((R = t.optionUrl) != null && R.multipleLimit) && ((J = t.optionUrl) == null ? void 0 : J.multipleLimit) !== 0 ? 1 : parseInt((g2 = t.optionUrl) == null ? void 0 : g2.multipleLimit);
|
|
1444
1444
|
}), q = i2(() => {
|
|
1445
1445
|
var R;
|
|
1446
1446
|
return (R = r.value) == null ? void 0 : R.filter(
|
|
1447
|
-
(
|
|
1447
|
+
(J, g2, a2) => g2 === a2.findIndex((C2) => C2.value === J.value)
|
|
1448
1448
|
);
|
|
1449
1449
|
}), V = (R) => {
|
|
1450
1450
|
if (!R) return "";
|
|
1451
|
-
const
|
|
1452
|
-
return Object.keys(R).filter((a2) => !
|
|
1451
|
+
const J = /* @__PURE__ */ new Set(["id", "create_time", "update_time", "sort", "create_user_id", "update_user_id", "department_id", "relatedId"]);
|
|
1452
|
+
return Object.keys(R).filter((a2) => !J.has(a2) && R[a2] !== void 0 && R[a2] !== "").map((a2) => `${a2}: ${R[a2]}`).join("<br/>");
|
|
1453
1453
|
}, d2 = (R) => {
|
|
1454
1454
|
var a2, C2, P2, G2;
|
|
1455
1455
|
if (!(R != null && R.value) || !(((a2 = t.optionUrl) == null ? void 0 : a2.mainKey) && Array.isArray((C2 = t.optionUrl) == null ? void 0 : C2.menus) && t.optionUrl.menus.length > 0) || !((G2 = (P2 = t.optionUrl) == null ? void 0 : P2.words) != null && G2.length)) return "";
|
|
@@ -1474,8 +1474,8 @@ const ng = async (i) => {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
}, p2 = async () => {
|
|
1477
|
-
var R,
|
|
1478
|
-
if (((
|
|
1477
|
+
var R, J, g2, a2, C2, P2, G2, J2, r0, a0, $, j, y2, c2, R2, K2;
|
|
1478
|
+
if (((J = (R = t.optionUrl) == null ? void 0 : R.allSelectionContents) == null ? void 0 : J.length) > 0) {
|
|
1479
1479
|
let D2 = [], I2 = [], M2 = (g2 = t.optionUrl) == null ? void 0 : g2.filterContent;
|
|
1480
1480
|
Array.isArray(M2) || (M2 = (C2 = (a2 = M2 == null ? void 0 : M2.replaceAll("(", "")) == null ? void 0 : a2.replaceAll(")", "")) == null ? void 0 : C2.split("||")), M2 == null || M2.forEach((v2) => {
|
|
1481
1481
|
var x, c0, h0;
|
|
@@ -1505,15 +1505,15 @@ const ng = async (i) => {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
await r2((K2 = r.value) == null ? void 0 : K2.map((D2) => D2 == null ? void 0 : D2.value)), n("click");
|
|
1507
1507
|
};
|
|
1508
|
-
return (R,
|
|
1509
|
-
const g2 =
|
|
1508
|
+
return (R, J) => {
|
|
1509
|
+
const g2 = Q("el-tooltip"), a2 = Q("el-option"), C2 = Q("el-select");
|
|
1510
1510
|
return o.value ? o.value ? (_(), U(Lt, {
|
|
1511
1511
|
key: 1,
|
|
1512
1512
|
modelValue: l.value,
|
|
1513
|
-
"onUpdate:modelValue":
|
|
1513
|
+
"onUpdate:modelValue": J[0] || (J[0] = (P2) => l.value = P2),
|
|
1514
1514
|
onChange: S,
|
|
1515
1515
|
onBlur: v
|
|
1516
|
-
}, null, 8, ["modelValue"])) :
|
|
1516
|
+
}, null, 8, ["modelValue"])) : K("", !0) : (_(), U(C2, {
|
|
1517
1517
|
key: 0,
|
|
1518
1518
|
ref_key: "selectRef",
|
|
1519
1519
|
ref: h,
|
|
@@ -1784,7 +1784,7 @@ const ng = async (i) => {
|
|
|
1784
1784
|
r("blurChange", d.value, {
|
|
1785
1785
|
changeProp: $
|
|
1786
1786
|
});
|
|
1787
|
-
},
|
|
1787
|
+
}, J = ($, j) => {
|
|
1788
1788
|
r("create", {
|
|
1789
1789
|
item: $,
|
|
1790
1790
|
value: j
|
|
@@ -1877,7 +1877,7 @@ const ng = async (i) => {
|
|
|
1877
1877
|
{ deep: !0 }
|
|
1878
1878
|
), ($, j) => {
|
|
1879
1879
|
var I2;
|
|
1880
|
-
const y2 =
|
|
1880
|
+
const y2 = Q("el-form-item"), c2 = Q("el-tab-pane"), R2 = Q("el-tabs"), K2 = Q("el-form"), D2 = Q("el-button");
|
|
1881
1881
|
return _(), A("div", {
|
|
1882
1882
|
class: "form-content",
|
|
1883
1883
|
style: w0(y.value)
|
|
@@ -1900,7 +1900,7 @@ const ng = async (i) => {
|
|
|
1900
1900
|
loading: g.value,
|
|
1901
1901
|
alt: "上传背景"
|
|
1902
1902
|
}, null, 8, rg)
|
|
1903
|
-
])) :
|
|
1903
|
+
])) : K("", !0),
|
|
1904
1904
|
o2("div", ag, [
|
|
1905
1905
|
m.value ? (_(), U(K2, {
|
|
1906
1906
|
key: 0,
|
|
@@ -1949,24 +1949,24 @@ const ng = async (i) => {
|
|
|
1949
1949
|
onBlurChange: (W0) => R((x == null ? void 0 : x.prop) ?? (x == null ? void 0 : x.name)),
|
|
1950
1950
|
wholeValue: d.value,
|
|
1951
1951
|
onTagChange: (W0) => p2(W0, (x == null ? void 0 : x.prop) ?? x.name),
|
|
1952
|
-
onCreate: (W0) =>
|
|
1952
|
+
onCreate: (W0) => J(x, W0),
|
|
1953
1953
|
config: x == null ? void 0 : x.config,
|
|
1954
1954
|
configModel: (x == null ? void 0 : x.prop) ?? (x == null ? void 0 : x.name),
|
|
1955
1955
|
selectedTagList: (x == null ? void 0 : x.selectValue) ?? []
|
|
1956
|
-
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "originalValue", "optionUrl", "onBlurChange", "wholeValue", "onTagChange", "onCreate", "config", "configModel", "selectedTagList"])) :
|
|
1956
|
+
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "originalValue", "optionUrl", "onBlurChange", "wholeValue", "onTagChange", "onCreate", "config", "configModel", "selectedTagList"])) : K("", !0),
|
|
1957
1957
|
(x == null ? void 0 : x.type) === "Url" ? (_(), A("div", fg, [
|
|
1958
|
-
|
|
1958
|
+
X(T0, {
|
|
1959
1959
|
class: "calculator-content form-preview",
|
|
1960
1960
|
onClickTrigger: (W0) => P(d.value[(x == null ? void 0 : x.prop) ?? x.name]),
|
|
1961
1961
|
modelValue: "详情"
|
|
1962
1962
|
}, null, 8, ["onClickTrigger"])
|
|
1963
|
-
])) :
|
|
1963
|
+
])) : K("", !0),
|
|
1964
1964
|
typeof d.value[(x == null ? void 0 : x.prop) ?? x.name] == "string" && ((h0 = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && h0.includes(".stl") || (C = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && C.includes(".obj") || ($e = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && $e.includes(".urdf") || (A0 = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && A0.includes(".STL") || (se = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && se.includes(".ls") || (ue = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && ue.includes(".uv") || (le = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && le.includes(".UV") || (fe = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && fe.includes(".cpt") || (X0 = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && X0.includes(".CPT") || (pe = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && pe.includes(".cyd") || (C0 = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && C0.includes(".CYD") || (rt = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && rt.includes(".nc") || (at = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && at.includes(".NC") || (ct = d.value[(x == null ? void 0 : x.prop) ?? x.name]) != null && ct.includes(".csv")) ? (_(), U(T0, {
|
|
1965
1965
|
key: 2,
|
|
1966
1966
|
class: "calculator-content form-preview",
|
|
1967
1967
|
onClickTrigger: (W0) => d2(d.value[(x == null ? void 0 : x.prop) ?? x.name]),
|
|
1968
1968
|
modelValue: "预览"
|
|
1969
|
-
}, null, 8, ["onClickTrigger"])) :
|
|
1969
|
+
}, null, 8, ["onClickTrigger"])) : K("", !0)
|
|
1970
1970
|
];
|
|
1971
1971
|
}),
|
|
1972
1972
|
_: 2
|
|
@@ -1987,7 +1987,7 @@ const ng = async (i) => {
|
|
|
1987
1987
|
onChange: (h0) => G2(h0, x)
|
|
1988
1988
|
}, {
|
|
1989
1989
|
append: H(() => [
|
|
1990
|
-
|
|
1990
|
+
X(f1, {
|
|
1991
1991
|
value: x == null ? void 0 : x.type,
|
|
1992
1992
|
content: B.value,
|
|
1993
1993
|
placeholder: "类型",
|
|
@@ -1997,16 +1997,16 @@ const ng = async (i) => {
|
|
|
1997
1997
|
]),
|
|
1998
1998
|
_: 2
|
|
1999
1999
|
}, 1032, ["value", "onChange"])) : (_(), A("div", dg, [
|
|
2000
|
-
x != null && x.required || x != null && x.isMain ? (_(), A("span", ug, "*")) :
|
|
2000
|
+
x != null && x.required || x != null && x.isMain ? (_(), A("span", ug, "*")) : K("", !0),
|
|
2001
2001
|
p0(" " + $2(x == null ? void 0 : x.label), 1)
|
|
2002
2002
|
]))
|
|
2003
|
-
], 4)) :
|
|
2003
|
+
], 4)) : K("", !0)
|
|
2004
2004
|
]),
|
|
2005
2005
|
key: "0"
|
|
2006
2006
|
} : void 0
|
|
2007
2007
|
]), 1032, ["prop", "class", "disabled", "style"]))), 128))
|
|
2008
2008
|
])
|
|
2009
|
-
])) :
|
|
2009
|
+
])) : K("", !0),
|
|
2010
2010
|
((S0 = (j0 = S.value) == null ? void 0 : j0.tabList) == null ? void 0 : S0.length) > 0 ? (_(), U(R2, {
|
|
2011
2011
|
key: 1,
|
|
2012
2012
|
class: "layer-tab",
|
|
@@ -2056,24 +2056,24 @@ const ng = async (i) => {
|
|
|
2056
2056
|
onBlurChange: (ge) => R((C == null ? void 0 : C.prop) ?? (C == null ? void 0 : C.name)),
|
|
2057
2057
|
wholeValue: d.value,
|
|
2058
2058
|
onTagChange: (ge) => p2(ge, (C == null ? void 0 : C.prop) ?? C.name),
|
|
2059
|
-
onCreate: (ge) =>
|
|
2059
|
+
onCreate: (ge) => J(C, ge),
|
|
2060
2060
|
config: C == null ? void 0 : C.config,
|
|
2061
2061
|
configModel: (C == null ? void 0 : C.prop) ?? (C == null ? void 0 : C.name),
|
|
2062
2062
|
selectedTagList: (C == null ? void 0 : C.selectValue) ?? []
|
|
2063
|
-
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "originalValue", "optionUrl", "onBlurChange", "wholeValue", "onTagChange", "onCreate", "config", "configModel", "selectedTagList"])) :
|
|
2063
|
+
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "originalValue", "optionUrl", "onBlurChange", "wholeValue", "onTagChange", "onCreate", "config", "configModel", "selectedTagList"])) : K("", !0),
|
|
2064
2064
|
(C == null ? void 0 : C.type) === "Url" ? (_(), A("div", mg, [
|
|
2065
|
-
|
|
2065
|
+
X(T0, {
|
|
2066
2066
|
class: "calculator-content form-preview",
|
|
2067
2067
|
onClickTrigger: (ge) => P(d.value[(C == null ? void 0 : C.prop) ?? C.name]),
|
|
2068
2068
|
modelValue: "详情"
|
|
2069
2069
|
}, null, 8, ["onClickTrigger"])
|
|
2070
|
-
])) :
|
|
2070
|
+
])) : K("", !0),
|
|
2071
2071
|
typeof d.value[(C == null ? void 0 : C.prop) ?? C.name] == "string" && ((A0 = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && A0.includes(".stl") || (se = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && se.includes(".obj") || (ue = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && ue.includes(".urdf") || (le = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && le.includes(".STL") || (fe = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && fe.includes(".ls") || (X0 = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && X0.includes(".uv") || (pe = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && pe.includes(".UV") || (C0 = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && C0.includes(".cpt") || (rt = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && rt.includes(".CPT") || (at = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && at.includes(".cyd") || (ct = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && ct.includes(".CYD") || (W0 = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && W0.includes(".nc") || (U1 = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && U1.includes(".NC") || (I1 = d.value[(C == null ? void 0 : C.prop) ?? C.name]) != null && I1.includes(".csv")) ? (_(), U(T0, {
|
|
2072
2072
|
key: 2,
|
|
2073
2073
|
class: "calculator-content form-preview",
|
|
2074
2074
|
onClickTrigger: (ge) => d2(d.value[(C == null ? void 0 : C.prop) ?? C.name]),
|
|
2075
2075
|
modelValue: "预览"
|
|
2076
|
-
}, null, 8, ["onClickTrigger"])) :
|
|
2076
|
+
}, null, 8, ["onClickTrigger"])) : K("", !0)
|
|
2077
2077
|
];
|
|
2078
2078
|
}),
|
|
2079
2079
|
_: 2
|
|
@@ -2094,7 +2094,7 @@ const ng = async (i) => {
|
|
|
2094
2094
|
onChange: (A0) => G2(A0, C)
|
|
2095
2095
|
}, {
|
|
2096
2096
|
append: H(() => [
|
|
2097
|
-
|
|
2097
|
+
X(f1, {
|
|
2098
2098
|
value: C == null ? void 0 : C.type,
|
|
2099
2099
|
content: B.value,
|
|
2100
2100
|
placeholder: "类型",
|
|
@@ -2104,14 +2104,14 @@ const ng = async (i) => {
|
|
|
2104
2104
|
]),
|
|
2105
2105
|
_: 2
|
|
2106
2106
|
}, 1032, ["value", "onChange"])) : (_(), A("div", gg, [
|
|
2107
|
-
C != null && C.required || C != null && C.isMain ? (_(), A("span", vg, "*")) :
|
|
2107
|
+
C != null && C.required || C != null && C.isMain ? (_(), A("span", vg, "*")) : K("", !0),
|
|
2108
2108
|
p0(" " + $2(C == null ? void 0 : C.labelName), 1)
|
|
2109
2109
|
]))
|
|
2110
|
-
], 4)) :
|
|
2110
|
+
], 4)) : K("", !0)
|
|
2111
2111
|
]),
|
|
2112
2112
|
key: "0"
|
|
2113
2113
|
} : void 0
|
|
2114
|
-
]), 1032, ["prop", "class", "disabled", "style"]))), 128)) :
|
|
2114
|
+
]), 1032, ["prop", "class", "disabled", "style"]))), 128)) : K("", !0)
|
|
2115
2115
|
])
|
|
2116
2116
|
];
|
|
2117
2117
|
}),
|
|
@@ -2119,7 +2119,7 @@ const ng = async (i) => {
|
|
|
2119
2119
|
}, 1032, ["label", "name"]))), 256))
|
|
2120
2120
|
]),
|
|
2121
2121
|
_: 1
|
|
2122
|
-
}, 8, ["modelValue", "onTabClick"])) :
|
|
2122
|
+
}, 8, ["modelValue", "onTabClick"])) : K("", !0),
|
|
2123
2123
|
((v2 = t.buttonValue) == null ? void 0 : v2.length) > 0 && i.isButtonRow ? (_(), A("div", {
|
|
2124
2124
|
key: 2,
|
|
2125
2125
|
class: "form-button",
|
|
@@ -2137,9 +2137,9 @@ const ng = async (i) => {
|
|
|
2137
2137
|
modelValue: x == null ? void 0 : x.label,
|
|
2138
2138
|
style: w0({ background: (x == null ? void 0 : x.background) ?? "var(--ssComponent-primary-color)" }),
|
|
2139
2139
|
buttonType: ""
|
|
2140
|
-
}, null, 8, ["onClickTrigger", "modelValue", "style"])) :
|
|
2140
|
+
}, null, 8, ["onClickTrigger", "modelValue", "style"])) : K("", !0)
|
|
2141
2141
|
]))), 128))
|
|
2142
|
-
], 4)) :
|
|
2142
|
+
], 4)) : K("", !0)
|
|
2143
2143
|
];
|
|
2144
2144
|
}),
|
|
2145
2145
|
_: 1
|
|
@@ -2188,24 +2188,24 @@ const ng = async (i) => {
|
|
|
2188
2188
|
onBlurChange: (C0) => R((b == null ? void 0 : b.prop) ?? (b == null ? void 0 : b.name)),
|
|
2189
2189
|
wholeValue: d.value,
|
|
2190
2190
|
onTagChange: (C0) => p2(C0, (b == null ? void 0 : b.prop) ?? b.name),
|
|
2191
|
-
onCreate: (C0) =>
|
|
2191
|
+
onCreate: (C0) => J(b, C0),
|
|
2192
2192
|
config: b == null ? void 0 : b.config,
|
|
2193
2193
|
configModel: (b == null ? void 0 : b.prop) ?? (b == null ? void 0 : b.name),
|
|
2194
2194
|
selectedTagList: (b == null ? void 0 : b.selectValue) ?? []
|
|
2195
|
-
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "originalValue", "optionUrl", "onBlurChange", "wholeValue", "onTagChange", "onCreate", "config", "configModel", "selectedTagList"])) :
|
|
2195
|
+
}, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "originalValue", "optionUrl", "onBlurChange", "wholeValue", "onTagChange", "onCreate", "config", "configModel", "selectedTagList"])) : K("", !0),
|
|
2196
2196
|
(b == null ? void 0 : b.type) === "Url" && !(b != null && b.isFormColHidden) ? (_(), A("div", bg, [
|
|
2197
|
-
|
|
2197
|
+
X(T0, {
|
|
2198
2198
|
class: "calculator-content form-preview",
|
|
2199
2199
|
onClickTrigger: (C0) => P(d.value[(b == null ? void 0 : b.prop) ?? b.name]),
|
|
2200
2200
|
modelValue: "详情"
|
|
2201
2201
|
}, null, 8, ["onClickTrigger"])
|
|
2202
|
-
])) :
|
|
2202
|
+
])) : K("", !0),
|
|
2203
2203
|
typeof d.value[(b == null ? void 0 : b.prop) ?? b.name] == "string" && ((S0 = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && S0.includes(".stl") || (v2 = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && v2.includes(".obj") || (x = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && x.includes(".urdf") || (c0 = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && c0.includes(".STL") || (h0 = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && h0.includes(".ls") || (C = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && C.includes(".uv") || ($e = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && $e.includes(".UV") || (A0 = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && A0.includes(".cpt") || (se = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && se.includes(".CPT") || (ue = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && ue.includes(".cyd") || (le = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && le.includes(".CYD") || (fe = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && fe.includes(".nc") || (X0 = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && X0.includes(".NC") || (pe = d.value[(b == null ? void 0 : b.prop) ?? b.name]) != null && pe.includes(".csv")) ? (_(), U(T0, {
|
|
2204
2204
|
key: 2,
|
|
2205
2205
|
class: "calculator-content form-preview",
|
|
2206
2206
|
onClickTrigger: (C0) => d2(d.value[(b == null ? void 0 : b.prop) ?? b.name]),
|
|
2207
2207
|
modelValue: "预览"
|
|
2208
|
-
}, null, 8, ["onClickTrigger"])) :
|
|
2208
|
+
}, null, 8, ["onClickTrigger"])) : K("", !0)
|
|
2209
2209
|
];
|
|
2210
2210
|
}),
|
|
2211
2211
|
_: 2
|
|
@@ -2226,7 +2226,7 @@ const ng = async (i) => {
|
|
|
2226
2226
|
onChange: (S0) => G2(S0, b)
|
|
2227
2227
|
}, {
|
|
2228
2228
|
append: H(() => [
|
|
2229
|
-
|
|
2229
|
+
X(f1, {
|
|
2230
2230
|
value: b == null ? void 0 : b.type,
|
|
2231
2231
|
content: B.value,
|
|
2232
2232
|
placeholder: "类型",
|
|
@@ -2236,10 +2236,10 @@ const ng = async (i) => {
|
|
|
2236
2236
|
]),
|
|
2237
2237
|
_: 2
|
|
2238
2238
|
}, 1032, ["value", "onChange"])) : (_(), A("div", wg, [
|
|
2239
|
-
b != null && b.required || b != null && b.isMain ? (_(), A("span", xg, "*")) :
|
|
2239
|
+
b != null && b.required || b != null && b.isMain ? (_(), A("span", xg, "*")) : K("", !0),
|
|
2240
2240
|
p0(" " + $2(b == null ? void 0 : b.label), 1)
|
|
2241
2241
|
]))
|
|
2242
|
-
], 4)) :
|
|
2242
|
+
], 4)) : K("", !0)
|
|
2243
2243
|
]),
|
|
2244
2244
|
key: "0"
|
|
2245
2245
|
} : void 0
|
|
@@ -2257,9 +2257,9 @@ const ng = async (i) => {
|
|
|
2257
2257
|
modelValue: b == null ? void 0 : b.label,
|
|
2258
2258
|
style: w0({ background: (b == null ? void 0 : b.background) ?? "var(--ssComponent-primary-color)" }),
|
|
2259
2259
|
buttonType: ""
|
|
2260
|
-
}, null, 8, ["onClickTrigger", "modelValue", "style"])) :
|
|
2260
|
+
}, null, 8, ["onClickTrigger", "modelValue", "style"])) : K("", !0)
|
|
2261
2261
|
]))), 128))
|
|
2262
|
-
])) :
|
|
2262
|
+
])) : K("", !0)
|
|
2263
2263
|
];
|
|
2264
2264
|
}),
|
|
2265
2265
|
_: 1
|
|
@@ -2271,7 +2271,7 @@ const ng = async (i) => {
|
|
|
2271
2271
|
class: "form-button-content",
|
|
2272
2272
|
onClick: (j0) => r0(M2 == null ? void 0 : M2.label, t.isEnableWrap ? a.value : c.value)
|
|
2273
2273
|
}, [
|
|
2274
|
-
|
|
2274
|
+
X(D2, {
|
|
2275
2275
|
id: "themeButton",
|
|
2276
2276
|
style: w0({ background: (M2 == null ? void 0 : M2.background) ?? "var(--ssbutton-theme-bg)", color: "var(--ssbutton-theme-color)" })
|
|
2277
2277
|
}, {
|
|
@@ -2281,7 +2281,7 @@ const ng = async (i) => {
|
|
|
2281
2281
|
_: 2
|
|
2282
2282
|
}, 1032, ["style"])
|
|
2283
2283
|
], 8, Sg))), 128))
|
|
2284
|
-
])) :
|
|
2284
|
+
])) : K("", !0)
|
|
2285
2285
|
], 4);
|
|
2286
2286
|
};
|
|
2287
2287
|
}
|
|
@@ -2345,7 +2345,7 @@ const ng = async (i) => {
|
|
|
2345
2345
|
s("change", o), s("blurChange");
|
|
2346
2346
|
};
|
|
2347
2347
|
return (o, r) => {
|
|
2348
|
-
const a =
|
|
2348
|
+
const a = Q("el-radio"), c = Q("el-radio-group");
|
|
2349
2349
|
return _(), U(c, {
|
|
2350
2350
|
modelValue: n.value,
|
|
2351
2351
|
"onUpdate:modelValue": r[0] || (r[0] = (h) => n.value = h),
|
|
@@ -2395,7 +2395,7 @@ const ng = async (i) => {
|
|
|
2395
2395
|
s("change", o);
|
|
2396
2396
|
};
|
|
2397
2397
|
return (o, r) => {
|
|
2398
|
-
const a =
|
|
2398
|
+
const a = Q("el-checkbox"), c = Q("el-checkbox-group");
|
|
2399
2399
|
return _(), U(c, {
|
|
2400
2400
|
modelValue: n.value,
|
|
2401
2401
|
"onUpdate:modelValue": r[0] || (r[0] = (h) => n.value = h),
|
|
@@ -2456,7 +2456,7 @@ const ng = async (i) => {
|
|
|
2456
2456
|
}
|
|
2457
2457
|
}, Pg = {};
|
|
2458
2458
|
function Vg(i, e) {
|
|
2459
|
-
const t =
|
|
2459
|
+
const t = Q("el-card");
|
|
2460
2460
|
return _(), U(t, null, {
|
|
2461
2461
|
default: H(() => [
|
|
2462
2462
|
z2(i.$slots, "content")
|
|
@@ -2523,8 +2523,8 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2523
2523
|
setup(i) {
|
|
2524
2524
|
return (e, t) => {
|
|
2525
2525
|
var r, a, c, h, d, u, f, p, g, v;
|
|
2526
|
-
const n =
|
|
2527
|
-
return i.column.isHidden ?
|
|
2526
|
+
const n = Q("svg-icon"), s = Q("el-tooltip"), l = Q("RecurseCol", !0), o = Q("el-table-column");
|
|
2527
|
+
return i.column.isHidden ? K("", !0) : (_(), U(o, {
|
|
2528
2528
|
key: 0,
|
|
2529
2529
|
label: i.column.label,
|
|
2530
2530
|
prop: i.column.prop,
|
|
@@ -2547,7 +2547,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2547
2547
|
effect: "light"
|
|
2548
2548
|
}, {
|
|
2549
2549
|
default: H(() => [
|
|
2550
|
-
|
|
2550
|
+
X(n, {
|
|
2551
2551
|
name: "operate",
|
|
2552
2552
|
style: { width: "15px", height: "15px" }
|
|
2553
2553
|
})
|
|
@@ -2628,8 +2628,8 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2628
2628
|
};
|
|
2629
2629
|
return (d, u) => {
|
|
2630
2630
|
var g, v, m, S, M, O, D, w, y, B;
|
|
2631
|
-
const f =
|
|
2632
|
-
return i.column.isTableColHidden ?
|
|
2631
|
+
const f = Q("svg-icon"), p = Q("el-table-column");
|
|
2632
|
+
return i.column.isTableColHidden ? K("", !0) : (_(), U(p, {
|
|
2633
2633
|
key: 0,
|
|
2634
2634
|
label: i.column.label,
|
|
2635
2635
|
prop: i.column.prop,
|
|
@@ -2655,7 +2655,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2655
2655
|
append: H(() => {
|
|
2656
2656
|
var P;
|
|
2657
2657
|
return [
|
|
2658
|
-
|
|
2658
|
+
X(f1, {
|
|
2659
2659
|
value: (P = i.column) == null ? void 0 : P.columnType,
|
|
2660
2660
|
content: l.value,
|
|
2661
2661
|
clearable: !1,
|
|
@@ -2701,12 +2701,12 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2701
2701
|
}, ae({ _: 2 }, [
|
|
2702
2702
|
V2(d.$slots, (V, d2) => ({
|
|
2703
2703
|
name: d2,
|
|
2704
|
-
fn: H(({ row: r2, slotData: p2, item: R, column:
|
|
2704
|
+
fn: H(({ row: r2, slotData: p2, item: R, column: J }) => [
|
|
2705
2705
|
z2(d.$slots, d2, H1({ ref_for: !0 }, p2 ?? r2, {
|
|
2706
2706
|
item: R ?? z,
|
|
2707
2707
|
slotData: p2 ?? r2,
|
|
2708
2708
|
row: r2,
|
|
2709
|
-
column:
|
|
2709
|
+
column: J,
|
|
2710
2710
|
columnProp: z
|
|
2711
2711
|
}))
|
|
2712
2712
|
])
|
|
@@ -2730,9 +2730,9 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2730
2730
|
},
|
|
2731
2731
|
setup(i) {
|
|
2732
2732
|
return (e, t) => {
|
|
2733
|
-
const n =
|
|
2733
|
+
const n = Q("el-card");
|
|
2734
2734
|
return _(), A("div", null, [
|
|
2735
|
-
|
|
2735
|
+
X(n, null, {
|
|
2736
2736
|
header: H(() => [
|
|
2737
2737
|
z2(e.$slots, "header", {}, void 0, !0)
|
|
2738
2738
|
]),
|
|
@@ -2746,7 +2746,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2746
2746
|
}),
|
|
2747
2747
|
i.showTag ? (_(), A("div", $g, [
|
|
2748
2748
|
z2(e.$slots, "status", {}, void 0, !0)
|
|
2749
|
-
])) :
|
|
2749
|
+
])) : K("", !0)
|
|
2750
2750
|
]);
|
|
2751
2751
|
};
|
|
2752
2752
|
}
|
|
@@ -2781,10 +2781,13 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2781
2781
|
key: 2,
|
|
2782
2782
|
class: "table-content"
|
|
2783
2783
|
}, iv = {
|
|
2784
|
-
key: 2,
|
|
2785
|
-
class: "table-card-wrap"
|
|
2786
|
-
}, sv = { class: "card-header" }, lv = ["title"], ov = ["title"], rv = ["title"], av = { class: "card-footer" }, cv = { class: "table-bottom-wrap" }, hv = {
|
|
2787
2784
|
key: 3,
|
|
2785
|
+
class: "table-card-wrap"
|
|
2786
|
+
}, sv = { class: "card-header" }, lv = ["title"], ov = ["title"], rv = ["title"], av = { class: "card-footer" }, cv = {
|
|
2787
|
+
key: 4,
|
|
2788
|
+
class: "table-bottom-wrap"
|
|
2789
|
+
}, hv = {
|
|
2790
|
+
key: 5,
|
|
2788
2791
|
class: "table-bottom-button"
|
|
2789
2792
|
}, dv = { style: { display: "flex", gap: "8px", "flex-direction": "column", "align-items": "start" } }, uv = {
|
|
2790
2793
|
__name: "index",
|
|
@@ -2857,6 +2860,10 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
2857
2860
|
hideHeaderContent: {
|
|
2858
2861
|
type: Boolean,
|
|
2859
2862
|
default: !1
|
|
2863
|
+
},
|
|
2864
|
+
collapsed: {
|
|
2865
|
+
type: Boolean,
|
|
2866
|
+
default: !1
|
|
2860
2867
|
}
|
|
2861
2868
|
},
|
|
2862
2869
|
emits: ["addNewRow", "clickButton", "handleColTypeChange", "handleColEditChange", "submitEditingTable", "change", "cellChange", "cellInput", "selectSuggest", "selectChange", "dbClickRow", "fixRow", "doSizeChange", "doCurrentChange", "buttonClick", "contentClick", "rowClick", "preview", "sortChange"],
|
|
@@ -3028,7 +3035,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3028
3035
|
T,
|
|
3029
3036
|
".el-popper, .el-select__popper, .el-select-dropdown, .el-picker__popper, .el-picker-panel,.el-dialog__wrapper, .el-overlay, .el-message-box__wrapper, .el-popover"
|
|
3030
3037
|
) || D("submitEditingTable");
|
|
3031
|
-
},
|
|
3038
|
+
}, J = i2(() => n == null ? void 0 : n.extraButton), g2 = i2(() => n == null ? void 0 : n.extraButton), a2 = G(0), C2 = G(!1), P2 = (k, T, L) => {
|
|
3032
3039
|
a2.value = k == null ? void 0 : k.id;
|
|
3033
3040
|
}, G2 = (k, T, L) => {
|
|
3034
3041
|
a2.value = 0;
|
|
@@ -3353,7 +3360,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3353
3360
|
});
|
|
3354
3361
|
return (k, T) => {
|
|
3355
3362
|
var Y, h2, u2, f2, t2, E2, e0, k0, X2;
|
|
3356
|
-
const L =
|
|
3363
|
+
const L = Q("el-icon"), N = Q("svg-icon"), s2 = Q("el-table-column"), l2 = Q("el-table"), S2 = Q("el-pagination");
|
|
3357
3364
|
return _(), A("div", {
|
|
3358
3365
|
class: "table-content-show",
|
|
3359
3366
|
ref_key: "tableOuterRef",
|
|
@@ -3361,20 +3368,23 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3361
3368
|
}, [
|
|
3362
3369
|
!i.hideHeaderContent && ((Y = i.columns) == null ? void 0 : Y.length) > 0 ? (_(), U(Lg, {
|
|
3363
3370
|
key: 0,
|
|
3364
|
-
buttons:
|
|
3371
|
+
buttons: J.value,
|
|
3365
3372
|
onButtonClick: b,
|
|
3366
3373
|
columns: f.value
|
|
3367
3374
|
}, {
|
|
3368
3375
|
headerButton: H(() => [
|
|
3369
3376
|
z2(k.$slots, "headerButton", {
|
|
3370
|
-
buttons:
|
|
3377
|
+
buttons: J.value,
|
|
3371
3378
|
columns: f.value
|
|
3372
3379
|
}, void 0, !0)
|
|
3373
3380
|
]),
|
|
3374
3381
|
_: 3
|
|
3375
|
-
}, 8, ["buttons", "columns"])) :
|
|
3376
|
-
z2(k.$slots, "viewport", {
|
|
3377
|
-
|
|
3382
|
+
}, 8, ["buttons", "columns"])) : K("", !0),
|
|
3383
|
+
i.collapsed ? K("", !0) : z2(k.$slots, "viewport", {
|
|
3384
|
+
key: 1,
|
|
3385
|
+
id: "excludeElementId"
|
|
3386
|
+
}, void 0, !0),
|
|
3387
|
+
!i.collapsed && !i.isCardViewport && ((h2 = i.columns) == null ? void 0 : h2.length) > 0 ? (_(), U(l2, {
|
|
3378
3388
|
border: !0,
|
|
3379
3389
|
"highlight-current-row": "",
|
|
3380
3390
|
class: "table-wrap",
|
|
@@ -3419,15 +3429,15 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3419
3429
|
class: "ss-empty-add",
|
|
3420
3430
|
onClick: T[0] || (T[0] = Be((b2) => se({ id: "__empty__" }, 0), ["stop"]))
|
|
3421
3431
|
}, [
|
|
3422
|
-
|
|
3432
|
+
X(L, { size: 14 }, {
|
|
3423
3433
|
default: H(() => [
|
|
3424
|
-
|
|
3434
|
+
X(Y0(J6))
|
|
3425
3435
|
]),
|
|
3426
3436
|
_: 1
|
|
3427
3437
|
})
|
|
3428
3438
|
], 512)), [
|
|
3429
3439
|
[_6, C2.value]
|
|
3430
|
-
]) :
|
|
3440
|
+
]) : K("", !0)
|
|
3431
3441
|
], 32)
|
|
3432
3442
|
]),
|
|
3433
3443
|
default: H(() => {
|
|
@@ -3443,7 +3453,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3443
3453
|
default: H(({ row: W, $index: je }) => [
|
|
3444
3454
|
m3(o2("div", qg, [
|
|
3445
3455
|
o2("span", Yg, [
|
|
3446
|
-
|
|
3456
|
+
X(N, {
|
|
3447
3457
|
name: "drag",
|
|
3448
3458
|
style: { width: "15px", height: "15px", cursor: "move" }
|
|
3449
3459
|
})
|
|
@@ -3453,9 +3463,9 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3453
3463
|
style: { cursor: "pointer" },
|
|
3454
3464
|
onClick: Be((We) => se(W, je), ["stop"])
|
|
3455
3465
|
}, [
|
|
3456
|
-
|
|
3466
|
+
X(L, { size: 12 }, {
|
|
3457
3467
|
default: H(() => [
|
|
3458
|
-
|
|
3468
|
+
X(Y0(J6))
|
|
3459
3469
|
]),
|
|
3460
3470
|
_: 1
|
|
3461
3471
|
})
|
|
@@ -3465,9 +3475,9 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3465
3475
|
style: { cursor: "pointer" },
|
|
3466
3476
|
onClick: Be((We) => A0(W, je), ["stop"])
|
|
3467
3477
|
}, [
|
|
3468
|
-
|
|
3478
|
+
X(L, { size: 12 }, {
|
|
3469
3479
|
default: H(() => [
|
|
3470
|
-
|
|
3480
|
+
X(Y0(j9))
|
|
3471
3481
|
]),
|
|
3472
3482
|
_: 1
|
|
3473
3483
|
})
|
|
@@ -3477,14 +3487,14 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3477
3487
|
])
|
|
3478
3488
|
]),
|
|
3479
3489
|
_: 1
|
|
3480
|
-
}, 8, ["align"])) :
|
|
3490
|
+
}, 8, ["align"])) : K("", !0),
|
|
3481
3491
|
i.allowSelect && i.isEditViewport ? (_(), U(s2, {
|
|
3482
3492
|
key: 1,
|
|
3483
3493
|
type: "selection",
|
|
3484
3494
|
width: (b2 = i.columns) != null && b2.some((W) => W == null ? void 0 : W.showSummary) ? 55 : 38,
|
|
3485
3495
|
fixed: "",
|
|
3486
3496
|
selectable: c2
|
|
3487
|
-
}, null, 8, ["width"])) :
|
|
3497
|
+
}, null, 8, ["width"])) : K("", !0),
|
|
3488
3498
|
n != null && n.showIndex && !((q2 = n == null ? void 0 : n.tableData) != null && q2.some((W) => W == null ? void 0 : W.children)) && ((N2 = (_2 = n == null ? void 0 : n.columns) == null ? void 0 : _2[0]) == null ? void 0 : N2.prop) !== "disabled" ? (_(), U(s2, {
|
|
3489
3499
|
key: 2,
|
|
3490
3500
|
type: "index",
|
|
@@ -3495,10 +3505,10 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3495
3505
|
sortable: ""
|
|
3496
3506
|
}, {
|
|
3497
3507
|
default: H(({ row: W, column: je, $index: We }) => [
|
|
3498
|
-
i.isEditViewport ?
|
|
3508
|
+
i.isEditViewport ? K("", !0) : (_(), A("span", Xg, $2(We + 1), 1))
|
|
3499
3509
|
]),
|
|
3500
3510
|
_: 1
|
|
3501
|
-
})) :
|
|
3511
|
+
})) : K("", !0),
|
|
3502
3512
|
(ve = i.tableData) != null && ve.some((W) => W == null ? void 0 : W.children) && ((oe = i.columns) == null ? void 0 : oe.length) > 0 ? (_(), U(s2, {
|
|
3503
3513
|
key: 3,
|
|
3504
3514
|
type: "index",
|
|
@@ -3508,10 +3518,10 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3508
3518
|
align: "center"
|
|
3509
3519
|
}, {
|
|
3510
3520
|
default: H(({ row: W, column: je, $index: We }) => [
|
|
3511
|
-
i.isEditViewport ?
|
|
3521
|
+
i.isEditViewport ? K("", !0) : (_(), A("span", Qg, $2(We + 1), 1))
|
|
3512
3522
|
]),
|
|
3513
3523
|
_: 1
|
|
3514
|
-
})) :
|
|
3524
|
+
})) : K("", !0),
|
|
3515
3525
|
(_(!0), A(O2, null, V2(f.value, (W, je) => {
|
|
3516
3526
|
var We;
|
|
3517
3527
|
return _(), A(O2, null, [
|
|
@@ -3524,7 +3534,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3524
3534
|
onHandleColTypeChange: p2
|
|
3525
3535
|
}, {
|
|
3526
3536
|
operateHeader: H(() => [
|
|
3527
|
-
(W == null ? void 0 : W.label) === "操作" ? z2(k.$slots, "operateCol", { key: 0 }, void 0, !0) :
|
|
3537
|
+
(W == null ? void 0 : W.label) === "操作" ? z2(k.$slots, "operateCol", { key: 0 }, void 0, !0) : K("", !0)
|
|
3528
3538
|
]),
|
|
3529
3539
|
content: H(({ row: w2, item: i0, slotData: ht, scope: _9, column: m0, columnProp: Dt, $index: y9 }) => {
|
|
3530
3540
|
var $n, jn, Wn, Un, In, qn;
|
|
@@ -3554,11 +3564,11 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3554
3564
|
item: i0,
|
|
3555
3565
|
slotData: ht
|
|
3556
3566
|
}, void 0, !0)
|
|
3557
|
-
])) :
|
|
3567
|
+
])) : K("", !0)
|
|
3558
3568
|
], 64)) : ((Un = i.columns) == null ? void 0 : Un.findIndex((x2) => (x2 == null ? void 0 : x2.prop) === (W == null ? void 0 : W.prop))) >= ((w2 == null ? void 0 : w2.level) ?? -1) ? (_(), A(O2, { key: 1 }, [
|
|
3559
3569
|
p0($2(R2(w2, W, i0, ht)), 1)
|
|
3560
|
-
], 64)) :
|
|
3561
|
-
], 12, Jg)) :
|
|
3570
|
+
], 64)) : K("", !0)
|
|
3571
|
+
], 12, Jg)) : K("", !0),
|
|
3562
3572
|
((W == null ? void 0 : W.type) ?? "text") === "operate" ? (_(), A("span", {
|
|
3563
3573
|
key: 1,
|
|
3564
3574
|
class: "table-operate",
|
|
@@ -3574,13 +3584,13 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3574
3584
|
key: 0,
|
|
3575
3585
|
onClick: (x2) => C(w2),
|
|
3576
3586
|
class: "blue-table-operate table-operate-content"
|
|
3577
|
-
}, "编辑", 8, ev)) :
|
|
3587
|
+
}, "编辑", 8, ev)) : K("", !0),
|
|
3578
3588
|
i.isShowDelete ? (_(), A("span", {
|
|
3579
3589
|
key: 1,
|
|
3580
3590
|
onClick: (x2) => $e(w2),
|
|
3581
3591
|
class: "red-table-operate table-operate-content"
|
|
3582
|
-
}, "删除", 8, tv)) :
|
|
3583
|
-
], 4)) :
|
|
3592
|
+
}, "删除", 8, tv)) : K("", !0)
|
|
3593
|
+
], 4)) : K("", !0),
|
|
3584
3594
|
(w2 == null ? void 0 : w2.tableEditType) === "edit" ? (_(), A("span", nv, [
|
|
3585
3595
|
(m0 == null ? void 0 : m0.property) === "disabled" || W != null && W.isReadonly ? (_(), A(O2, { key: 0 }, [
|
|
3586
3596
|
p0($2(w2[m0 == null ? void 0 : m0.property]), 1)
|
|
@@ -3604,17 +3614,17 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3604
3614
|
ge(x2, w2, W), D("cellChange", w2, m0, x2);
|
|
3605
3615
|
}
|
|
3606
3616
|
}, null, 40, ["modelValue", "onUpdate:modelValue", "content", "optionUrl", "suggest-list", "loading", "onFocus", "onInput", "onSelectSuggest", "onChange"]))
|
|
3607
|
-
])) :
|
|
3617
|
+
])) : K("", !0)
|
|
3608
3618
|
];
|
|
3609
3619
|
}),
|
|
3610
3620
|
_: 2
|
|
3611
|
-
}, 1032, ["tableData", "column", "isEditViewport"])) :
|
|
3621
|
+
}, 1032, ["tableData", "column", "isEditViewport"])) : K("", !0)
|
|
3612
3622
|
], 64);
|
|
3613
3623
|
}), 256))
|
|
3614
3624
|
];
|
|
3615
3625
|
}),
|
|
3616
3626
|
_: 3
|
|
3617
|
-
}, 8, ["data", "show-summary", "sum-text", "default-sort"])) : (_(), A("div", iv, [
|
|
3627
|
+
}, 8, ["data", "show-summary", "sum-text", "default-sort"])) : i.collapsed ? K("", !0) : (_(), A("div", iv, [
|
|
3618
3628
|
(_(!0), A(O2, null, V2(p.value, (b2) => (_(), U(Wg, {
|
|
3619
3629
|
key: b2 == null ? void 0 : b2.id,
|
|
3620
3630
|
showTag: !1
|
|
@@ -3663,21 +3673,21 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3663
3673
|
onClick: (N2) => v2("编辑", b2, { extra: { label: "编辑" } }),
|
|
3664
3674
|
name: "card-edit",
|
|
3665
3675
|
style: { width: "15px", height: "15px", color: "var(--ssComponent-theme-color)" }
|
|
3666
|
-
}, null, 8, ["onClick"])) :
|
|
3676
|
+
}, null, 8, ["onClick"])) : K("", !0),
|
|
3667
3677
|
(_2 = i.rowButton) != null && _2.find((N2) => (N2 == null ? void 0 : N2.label) === "删除") ? (_(), U(N, {
|
|
3668
3678
|
key: 1,
|
|
3669
3679
|
onClick: (N2) => v2("删除", b2, { extra: { label: "删除" } }),
|
|
3670
3680
|
name: "card-delete",
|
|
3671
3681
|
style: { width: "15px", height: "15px", color: "#ff0000" }
|
|
3672
|
-
}, null, 8, ["onClick"])) :
|
|
3682
|
+
}, null, 8, ["onClick"])) : K("", !0)
|
|
3673
3683
|
])
|
|
3674
3684
|
];
|
|
3675
3685
|
}),
|
|
3676
3686
|
_: 2
|
|
3677
3687
|
}, 1024))), 128))
|
|
3678
3688
|
])),
|
|
3679
|
-
|
|
3680
|
-
i.isCardViewport ?
|
|
3689
|
+
i.collapsed ? K("", !0) : (_(), A("div", cv, [
|
|
3690
|
+
i.isCardViewport ? K("", !0) : z2(k.$slots, "batchButton", {
|
|
3681
3691
|
key: 0,
|
|
3682
3692
|
buttons: g2.value,
|
|
3683
3693
|
columns: f.value
|
|
@@ -3691,14 +3701,14 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3691
3701
|
"page-size": ((e0 = i.pageObj) == null ? void 0 : e0.pageSize) ?? 10,
|
|
3692
3702
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
3693
3703
|
total: ((k0 = i.pageObj) == null ? void 0 : k0.total) ?? 0
|
|
3694
|
-
}, null, 8, ["current-page", "page-sizes", "page-size", "total"])) :
|
|
3695
|
-
]),
|
|
3696
|
-
((X2 = n == null ? void 0 : n.bottomButton) == null ? void 0 : X2.length) > 0 ? (_(), A("div", hv, [
|
|
3704
|
+
}, null, 8, ["current-page", "page-sizes", "page-size", "total"])) : K("", !0)
|
|
3705
|
+
])),
|
|
3706
|
+
!i.collapsed && ((X2 = n == null ? void 0 : n.bottomButton) == null ? void 0 : X2.length) > 0 ? (_(), A("div", hv, [
|
|
3697
3707
|
(_(!0), A(O2, null, V2(n == null ? void 0 : n.bottomButton, (b2, q2) => (_(), A("div", {
|
|
3698
3708
|
key: q2,
|
|
3699
3709
|
class: "table-child-button"
|
|
3700
3710
|
}, [
|
|
3701
|
-
|
|
3711
|
+
X(T0, {
|
|
3702
3712
|
onClickTrigger: T[4] || (T[4] = () => {
|
|
3703
3713
|
}),
|
|
3704
3714
|
disabled: w.value === (b2 == null ? void 0 : b2.label),
|
|
@@ -3706,13 +3716,13 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3706
3716
|
onClick: (_2) => B(b2)
|
|
3707
3717
|
}, null, 8, ["disabled", "modelValue", "onClick"])
|
|
3708
3718
|
]))), 128))
|
|
3709
|
-
])) :
|
|
3710
|
-
m3(
|
|
3719
|
+
])) : K("", !0),
|
|
3720
|
+
m3(X(Ag, {
|
|
3711
3721
|
style: w0({ top: u.y + "px", left: u.x + "px", position: "fixed", zIndex: 999 })
|
|
3712
3722
|
}, {
|
|
3713
3723
|
content: H(() => [
|
|
3714
3724
|
o2("div", dv, [
|
|
3715
|
-
|
|
3725
|
+
X(T0, {
|
|
3716
3726
|
emptyColor: !0,
|
|
3717
3727
|
onClickTrigger: I2,
|
|
3718
3728
|
modelValue: "删除本行",
|
|
@@ -3725,7 +3735,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3725
3735
|
modelValue: "批量删除选中行",
|
|
3726
3736
|
buttonType: "",
|
|
3727
3737
|
style: { marginLeft: "0px" }
|
|
3728
|
-
})) :
|
|
3738
|
+
})) : K("", !0)
|
|
3729
3739
|
])
|
|
3730
3740
|
]),
|
|
3731
3741
|
_: 1
|
|
@@ -3735,7 +3745,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3735
3745
|
], 512);
|
|
3736
3746
|
};
|
|
3737
3747
|
}
|
|
3738
|
-
}, fv = /* @__PURE__ */ H2(uv, [["__scopeId", "data-v-
|
|
3748
|
+
}, fv = /* @__PURE__ */ H2(uv, [["__scopeId", "data-v-b1d1e7c2"]]), pv = {
|
|
3739
3749
|
__name: "index",
|
|
3740
3750
|
props: {
|
|
3741
3751
|
value: String,
|
|
@@ -3834,7 +3844,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3834
3844
|
s("blurChange");
|
|
3835
3845
|
};
|
|
3836
3846
|
return (a, c) => {
|
|
3837
|
-
const h =
|
|
3847
|
+
const h = Q("el-cascader");
|
|
3838
3848
|
return _(), U(h, {
|
|
3839
3849
|
modelValue: n.value,
|
|
3840
3850
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d),
|
|
@@ -3864,7 +3874,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3864
3874
|
setup(i) {
|
|
3865
3875
|
const e = i, t = G(e.value);
|
|
3866
3876
|
return (n, s) => {
|
|
3867
|
-
const l =
|
|
3877
|
+
const l = Q("el-option"), o = Q("el-select");
|
|
3868
3878
|
return _(), U(o, {
|
|
3869
3879
|
modelValue: t.value,
|
|
3870
3880
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r),
|
|
@@ -3905,21 +3915,21 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3905
3915
|
};
|
|
3906
3916
|
return Te(() => {
|
|
3907
3917
|
}), (o, r) => {
|
|
3908
|
-
const a =
|
|
3918
|
+
const a = Q("MenuItem", !0), c = Q("el-sub-menu"), h = Q("el-menu-item");
|
|
3909
3919
|
return _(!0), A(O2, null, V2(i.menuList, (d) => (_(), A(O2, null, [
|
|
3910
3920
|
d.show && d.children && d.children.length > 0 ? (_(), U(c, {
|
|
3911
3921
|
index: d.path,
|
|
3912
3922
|
key: d.path
|
|
3913
3923
|
}, {
|
|
3914
3924
|
title: H(() => [
|
|
3915
|
-
|
|
3925
|
+
X(Wt, {
|
|
3916
3926
|
name: d.icon ?? ((d == null ? void 0 : d.level) <= 2 ? "default" : ""),
|
|
3917
3927
|
class: "menu-icon"
|
|
3918
3928
|
}, null, 8, ["name"]),
|
|
3919
3929
|
z2(o.$slots, "title", { menu: d })
|
|
3920
3930
|
]),
|
|
3921
3931
|
default: H(() => [
|
|
3922
|
-
|
|
3932
|
+
X(a, {
|
|
3923
3933
|
menuList: d.children,
|
|
3924
3934
|
onClickMenu: n,
|
|
3925
3935
|
onOpenMenu: s,
|
|
@@ -3943,13 +3953,13 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3943
3953
|
z2(o.$slots, "title", { menu: d })
|
|
3944
3954
|
]),
|
|
3945
3955
|
default: H(() => [
|
|
3946
|
-
|
|
3956
|
+
X(Wt, {
|
|
3947
3957
|
name: d.icon ?? ((d == null ? void 0 : d.level) <= 2 ? "default" : ""),
|
|
3948
3958
|
class: "menu-icon"
|
|
3949
3959
|
}, null, 8, ["name"])
|
|
3950
3960
|
]),
|
|
3951
3961
|
_: 2
|
|
3952
|
-
}, 1032, ["index", "onClick"])) :
|
|
3962
|
+
}, 1032, ["index", "onClick"])) : K("", !0)
|
|
3953
3963
|
], 64))), 256);
|
|
3954
3964
|
};
|
|
3955
3965
|
}
|
|
@@ -3991,7 +4001,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
3991
4001
|
m.value && m.value.open(O);
|
|
3992
4002
|
}
|
|
3993
4003
|
}), (O, D) => {
|
|
3994
|
-
const w =
|
|
4004
|
+
const w = Q("el-sub-menu"), y = Q("el-menu-item"), B = Q("el-menu");
|
|
3995
4005
|
return _(), U(B, {
|
|
3996
4006
|
ref_key: "menuRef",
|
|
3997
4007
|
ref: m,
|
|
@@ -4017,14 +4027,14 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
4017
4027
|
style: w0(P.style)
|
|
4018
4028
|
}, {
|
|
4019
4029
|
title: H(() => [
|
|
4020
|
-
|
|
4030
|
+
X(Wt, {
|
|
4021
4031
|
name: P.icon ?? ((P == null ? void 0 : P.level) <= 2 ? "default" : ""),
|
|
4022
4032
|
class: "menu-icon"
|
|
4023
4033
|
}, null, 8, ["name"]),
|
|
4024
4034
|
z2(O.$slots, "title", { menu: P }, void 0, !0)
|
|
4025
4035
|
]),
|
|
4026
4036
|
default: H(() => [
|
|
4027
|
-
|
|
4037
|
+
X(mv, {
|
|
4028
4038
|
menuList: P.children,
|
|
4029
4039
|
onClickMenu: d
|
|
4030
4040
|
}, ae({ _: 2 }, [
|
|
@@ -4047,13 +4057,13 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
4047
4057
|
z2(O.$slots, "title", { menu: P }, void 0, !0)
|
|
4048
4058
|
]),
|
|
4049
4059
|
default: H(() => [
|
|
4050
|
-
|
|
4060
|
+
X(Wt, {
|
|
4051
4061
|
name: P.icon ?? ((P == null ? void 0 : P.level) <= 2 ? "default" : ""),
|
|
4052
4062
|
class: "menu-icon"
|
|
4053
4063
|
}, null, 8, ["name"])
|
|
4054
4064
|
]),
|
|
4055
4065
|
_: 2
|
|
4056
|
-
}, 1032, ["index", "style", "onClick"])) :
|
|
4066
|
+
}, 1032, ["index", "style", "onClick"])) : K("", !0)
|
|
4057
4067
|
], 64))), 256))
|
|
4058
4068
|
]),
|
|
4059
4069
|
_: 3
|
|
@@ -4085,7 +4095,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
4085
4095
|
t("update:modelValue", s), t("change", s);
|
|
4086
4096
|
};
|
|
4087
4097
|
return (s, l) => {
|
|
4088
|
-
const o =
|
|
4098
|
+
const o = Q("el-date-picker");
|
|
4089
4099
|
return _(), U(o, {
|
|
4090
4100
|
"model-value": i.modelValue,
|
|
4091
4101
|
"onUpdate:modelValue": n,
|
|
@@ -4121,7 +4131,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
4121
4131
|
t("change", l);
|
|
4122
4132
|
};
|
|
4123
4133
|
return (l, o) => {
|
|
4124
|
-
const r =
|
|
4134
|
+
const r = Q("el-date-picker");
|
|
4125
4135
|
return _(), U(r, {
|
|
4126
4136
|
"model-value": i.modelValue,
|
|
4127
4137
|
"onUpdate:modelValue": n,
|
|
@@ -4154,7 +4164,7 @@ const Ag = /* @__PURE__ */ H2(Pg, [["render", Vg]]), Eg = { class: "extra-button
|
|
|
4154
4164
|
setup(i) {
|
|
4155
4165
|
const e = i, t = G(e.value);
|
|
4156
4166
|
return (n, s) => {
|
|
4157
|
-
const l =
|
|
4167
|
+
const l = Q("el-input");
|
|
4158
4168
|
return _(), U(l, {
|
|
4159
4169
|
modelValue: t.value,
|
|
4160
4170
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => t.value = o),
|
|
@@ -4267,9 +4277,9 @@ const Cv = { class: "docx-renderer" }, kv = {
|
|
|
4267
4277
|
c(d);
|
|
4268
4278
|
}), (h, d) => {
|
|
4269
4279
|
var g;
|
|
4270
|
-
const u =
|
|
4280
|
+
const u = Q("el-table-column"), f = Q("el-table"), p = Q("el-pagination");
|
|
4271
4281
|
return _(), A("div", zv, [
|
|
4272
|
-
|
|
4282
|
+
X(f, {
|
|
4273
4283
|
class: "csv-table",
|
|
4274
4284
|
data: a.value,
|
|
4275
4285
|
stripe: ""
|
|
@@ -4284,7 +4294,7 @@ const Cv = { class: "docx-renderer" }, kv = {
|
|
|
4284
4294
|
_: 1
|
|
4285
4295
|
}, 8, ["data"]),
|
|
4286
4296
|
o2("div", Pv, [
|
|
4287
|
-
|
|
4297
|
+
X(p, {
|
|
4288
4298
|
class: "pagination-self",
|
|
4289
4299
|
onCurrentChange: r,
|
|
4290
4300
|
"current-page": s == null ? void 0 : s.currentPage,
|
|
@@ -11950,7 +11960,7 @@ class Aw {
|
|
|
11950
11960
|
this.editContext.removeEventListener(e, this.handlers[e]);
|
|
11951
11961
|
}
|
|
11952
11962
|
}
|
|
11953
|
-
class
|
|
11963
|
+
class Z {
|
|
11954
11964
|
/**
|
|
11955
11965
|
The current editor state.
|
|
11956
11966
|
*/
|
|
@@ -12249,7 +12259,7 @@ class J {
|
|
|
12249
12259
|
let t = !0;
|
|
12250
12260
|
for (let n of e)
|
|
12251
12261
|
for (let s of n.effects)
|
|
12252
|
-
if (s.is(
|
|
12262
|
+
if (s.is(Z.announce)) {
|
|
12253
12263
|
t && (this.announceDOM.textContent = ""), t = !1;
|
|
12254
12264
|
let l = this.announceDOM.appendChild(document.createElement("div"));
|
|
12255
12265
|
l.textContent = s.value;
|
|
@@ -12257,7 +12267,7 @@ class J {
|
|
|
12257
12267
|
}
|
|
12258
12268
|
mountStyles() {
|
|
12259
12269
|
this.styleModules = this.state.facet(c1);
|
|
12260
|
-
let e = this.state.facet(
|
|
12270
|
+
let e = this.state.facet(Z.cspNonce);
|
|
12261
12271
|
et.mount(this.root, this.styleModules.concat(Tw).reverse(), e ? { nonce: e } : void 0);
|
|
12262
12272
|
}
|
|
12263
12273
|
readMeasured() {
|
|
@@ -12683,30 +12693,30 @@ class J {
|
|
|
12683
12693
|
return ((t = s == null ? void 0 : s.rootView) === null || t === void 0 ? void 0 : t.view) || null;
|
|
12684
12694
|
}
|
|
12685
12695
|
}
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
|
|
12696
|
+
Z.styleModule = c1;
|
|
12697
|
+
Z.inputHandler = ll;
|
|
12698
|
+
Z.clipboardInputFilter = cn;
|
|
12699
|
+
Z.clipboardOutputFilter = hn;
|
|
12700
|
+
Z.scrollHandler = cl;
|
|
12701
|
+
Z.focusChangeEffect = ol;
|
|
12702
|
+
Z.perLineTextDirection = rl;
|
|
12703
|
+
Z.exceptionSink = sl;
|
|
12704
|
+
Z.updateListener = k4;
|
|
12705
|
+
Z.editable = Ee;
|
|
12706
|
+
Z.mouseSelectionStyle = il;
|
|
12707
|
+
Z.dragMovesSelection = nl;
|
|
12708
|
+
Z.clickAddsSelectionRange = tl;
|
|
12709
|
+
Z.decorations = D1;
|
|
12710
|
+
Z.outerDecorations = ul;
|
|
12711
|
+
Z.atomicRanges = un;
|
|
12712
|
+
Z.bidiIsolatedRanges = fl;
|
|
12713
|
+
Z.scrollMargins = pl;
|
|
12714
|
+
Z.darkTheme = T4;
|
|
12715
|
+
Z.cspNonce = /* @__PURE__ */ n2.define({ combine: (i) => i.length ? i[0] : "" });
|
|
12716
|
+
Z.contentAttributes = dn;
|
|
12717
|
+
Z.editorAttributes = dl;
|
|
12718
|
+
Z.lineWrapping = /* @__PURE__ */ Z.contentAttributes.of({ class: "cm-lineWrapping" });
|
|
12719
|
+
Z.announce = /* @__PURE__ */ k2.define();
|
|
12710
12720
|
const Ew = 4096, Ii = {};
|
|
12711
12721
|
class H3 {
|
|
12712
12722
|
constructor(e, t, n, s, l, o) {
|
|
@@ -12756,7 +12766,7 @@ function Lw(i, e) {
|
|
|
12756
12766
|
function s3(i, e, t) {
|
|
12757
12767
|
return e.altKey && (i = "Alt-" + i), e.ctrlKey && (i = "Ctrl-" + i), e.metaKey && (i = "Meta-" + i), t !== !1 && e.shiftKey && (i = "Shift-" + i), i;
|
|
12758
12768
|
}
|
|
12759
|
-
const Hw = /* @__PURE__ */ kt.default(/* @__PURE__ */
|
|
12769
|
+
const Hw = /* @__PURE__ */ kt.default(/* @__PURE__ */ Z.domEventHandlers({
|
|
12760
12770
|
keydown(i, e) {
|
|
12761
12771
|
return Pl(zl(e.state), i, e, "editor");
|
|
12762
12772
|
}
|
|
@@ -12908,22 +12918,22 @@ function $w(i, e, t) {
|
|
|
12908
12918
|
}
|
|
12909
12919
|
function M(D, w, y) {
|
|
12910
12920
|
let B = 1e9, P = -1e9, z = [];
|
|
12911
|
-
function q(r2, p2, R,
|
|
12921
|
+
function q(r2, p2, R, J, g2) {
|
|
12912
12922
|
let a2 = i.coordsAtPos(r2, r2 == y.to ? -2 : 2), C2 = i.coordsAtPos(R, R == y.from ? 2 : -2);
|
|
12913
|
-
!a2 || !C2 || (B = Math.min(a2.top, C2.top, B), P = Math.max(a2.bottom, C2.bottom, P), g2 == F2.LTR ? z.push(l && p2 ? d : a2.left, l &&
|
|
12923
|
+
!a2 || !C2 || (B = Math.min(a2.top, C2.top, B), P = Math.max(a2.bottom, C2.bottom, P), g2 == F2.LTR ? z.push(l && p2 ? d : a2.left, l && J ? u : C2.right) : z.push(!l && J ? d : C2.left, !l && p2 ? u : a2.right));
|
|
12914
12924
|
}
|
|
12915
12925
|
let V = D ?? y.from, d2 = w ?? y.to;
|
|
12916
12926
|
for (let r2 of i.visibleRanges)
|
|
12917
12927
|
if (r2.to > V && r2.from < d2)
|
|
12918
12928
|
for (let p2 = Math.max(r2.from, V), R = Math.min(r2.to, d2); ; ) {
|
|
12919
|
-
let
|
|
12920
|
-
for (let g2 of i.bidiSpans(
|
|
12921
|
-
let a2 = g2.from +
|
|
12929
|
+
let J = i.state.doc.lineAt(p2);
|
|
12930
|
+
for (let g2 of i.bidiSpans(J)) {
|
|
12931
|
+
let a2 = g2.from + J.from, C2 = g2.to + J.from;
|
|
12922
12932
|
if (a2 >= R)
|
|
12923
12933
|
break;
|
|
12924
12934
|
C2 > p2 && q(Math.max(a2, p2), D == null && a2 <= V, Math.min(C2, R), w == null && C2 >= d2, g2.dir);
|
|
12925
12935
|
}
|
|
12926
|
-
if (p2 =
|
|
12936
|
+
if (p2 = J.to + 1, p2 >= R)
|
|
12927
12937
|
break;
|
|
12928
12938
|
}
|
|
12929
12939
|
return z.length == 0 && q(V, D == null, d2, w == null, i.textDirection), { top: B, bottom: P, horizontal: z };
|
|
@@ -13041,7 +13051,7 @@ const qw = /* @__PURE__ */ Al({
|
|
|
13041
13051
|
return i.docChanged || i.selectionSet || i.viewportChanged || El(i);
|
|
13042
13052
|
},
|
|
13043
13053
|
class: "cm-selectionLayer"
|
|
13044
|
-
}), Yw = /* @__PURE__ */ kt.highest(/* @__PURE__ */
|
|
13054
|
+
}), Yw = /* @__PURE__ */ kt.highest(/* @__PURE__ */ Z.theme({
|
|
13045
13055
|
".cm-line": {
|
|
13046
13056
|
"& ::selection, &::selection": { backgroundColor: "transparent !important" },
|
|
13047
13057
|
caretColor: "transparent !important"
|
|
@@ -13389,7 +13399,7 @@ function ux(i, e) {
|
|
|
13389
13399
|
}
|
|
13390
13400
|
function fx(i) {
|
|
13391
13401
|
let e = (t) => t.altKey && t.button == 0;
|
|
13392
|
-
return
|
|
13402
|
+
return Z.mouseSelectionStyle.of((t, n) => e(n) ? ux(t, n) : null);
|
|
13393
13403
|
}
|
|
13394
13404
|
const px = {
|
|
13395
13405
|
Alt: [18, (i) => !!i.altKey],
|
|
@@ -13420,7 +13430,7 @@ function vx(i = {}) {
|
|
|
13420
13430
|
});
|
|
13421
13431
|
return [
|
|
13422
13432
|
n,
|
|
13423
|
-
|
|
13433
|
+
Z.contentAttributes.of((s) => {
|
|
13424
13434
|
var l;
|
|
13425
13435
|
return !((l = s.plugin(n)) === null || l === void 0) && l.isDown ? gx : null;
|
|
13426
13436
|
})
|
|
@@ -13622,7 +13632,7 @@ function es(i, e) {
|
|
|
13622
13632
|
let t = parseInt(i.style.left, 10);
|
|
13623
13633
|
(isNaN(t) || Math.abs(e - t) > 1) && (i.style.left = e + "px");
|
|
13624
13634
|
}
|
|
13625
|
-
const wx = /* @__PURE__ */
|
|
13635
|
+
const wx = /* @__PURE__ */ Z.baseTheme({
|
|
13626
13636
|
".cm-tooltip": {
|
|
13627
13637
|
zIndex: 500,
|
|
13628
13638
|
boxSizing: "border-box"
|
|
@@ -13931,7 +13941,7 @@ const Gl = /* @__PURE__ */ o0.fromClass(class {
|
|
|
13931
13941
|
this.top.sync([]), this.bottom.sync([]);
|
|
13932
13942
|
}
|
|
13933
13943
|
}, {
|
|
13934
|
-
provide: (i) =>
|
|
13944
|
+
provide: (i) => Z.scrollMargins.of((e) => {
|
|
13935
13945
|
let t = e.plugin(i);
|
|
13936
13946
|
return t && { top: t.top.scrollMargin(), bottom: t.bottom.scrollMargin() };
|
|
13937
13947
|
})
|
|
@@ -14108,7 +14118,7 @@ const Tx = /* @__PURE__ */ o0.fromClass(class {
|
|
|
14108
14118
|
this.dom.remove(), this.domAfter && this.domAfter.remove();
|
|
14109
14119
|
}
|
|
14110
14120
|
}, {
|
|
14111
|
-
provide: (i) =>
|
|
14121
|
+
provide: (i) => Z.scrollMargins.of((e) => {
|
|
14112
14122
|
let t = e.plugin(i);
|
|
14113
14123
|
if (!t || t.gutters.length == 0 || !t.fixed)
|
|
14114
14124
|
return null;
|
|
@@ -15416,7 +15426,7 @@ function Ux(i) {
|
|
|
15416
15426
|
return;
|
|
15417
15427
|
} else
|
|
15418
15428
|
throw new RangeError(`Unrecognized record size: ${r2}`);
|
|
15419
|
-
let
|
|
15429
|
+
let J = a[q], g2, a2, C2 = V - D;
|
|
15420
15430
|
if (d2 - V <= s && (a2 = v(r.pos - w, P))) {
|
|
15421
15431
|
let P2 = new Uint16Array(a2.size - a2.skip), G2 = r.pos - a2.size, J2 = P2.length;
|
|
15422
15432
|
for (; r.pos > G2; )
|
|
@@ -15429,10 +15439,10 @@ function Ux(i) {
|
|
|
15429
15439
|
for (; r.pos > P2; )
|
|
15430
15440
|
r0 >= 0 && r.id == r0 && r.size >= 0 ? (r.end <= $ - s && (p(G2, J2, V, a0, r.end, $, r0, p2, R), a0 = G2.length, $ = r.end), r.next()) : z > 2500 ? u(V, P2, G2, J2) : d(V, P2, G2, J2, r0, z + 1);
|
|
15431
15441
|
if (r0 >= 0 && a0 > 0 && a0 < G2.length && p(G2, J2, V, a0, V, $, r0, p2, R), G2.reverse(), J2.reverse(), r0 > -1 && a0 > 0) {
|
|
15432
|
-
let j = f(
|
|
15433
|
-
g2 = Sn(
|
|
15442
|
+
let j = f(J, R);
|
|
15443
|
+
g2 = Sn(J, G2, J2, 0, G2.length, 0, d2 - V, j, j);
|
|
15434
15444
|
} else
|
|
15435
|
-
g2 = g(
|
|
15445
|
+
g2 = g(J, G2, J2, d2 - V, p2 - d2, R);
|
|
15436
15446
|
}
|
|
15437
15447
|
y.push(g2), B.push(C2);
|
|
15438
15448
|
}
|
|
@@ -15494,7 +15504,7 @@ function Ux(i) {
|
|
|
15494
15504
|
let p2 = y.pos - r2;
|
|
15495
15505
|
if (r2 < 0 || p2 < d2 || y.start < q)
|
|
15496
15506
|
break;
|
|
15497
|
-
let R = y.id >= o ? 4 : 0,
|
|
15507
|
+
let R = y.id >= o ? 4 : 0, J = y.start;
|
|
15498
15508
|
for (y.next(); y.pos > p2; ) {
|
|
15499
15509
|
if (y.size < 0)
|
|
15500
15510
|
if (y.size == -3)
|
|
@@ -15504,7 +15514,7 @@ function Ux(i) {
|
|
|
15504
15514
|
else y.id >= o && (R += 4);
|
|
15505
15515
|
y.next();
|
|
15506
15516
|
}
|
|
15507
|
-
P =
|
|
15517
|
+
P = J, B += r2, z += R;
|
|
15508
15518
|
}
|
|
15509
15519
|
return (w < 0 || B == D) && (V.size = B, V.start = P, V.skip = z), V.size > 4 ? V : void 0;
|
|
15510
15520
|
}
|
|
@@ -16706,7 +16716,7 @@ const G6 = typeof navigator < "u" && (!((H6 = navigator.scheduling) === null ||
|
|
|
16706
16716
|
enables: (i) => [
|
|
16707
16717
|
re.state,
|
|
16708
16718
|
ib,
|
|
16709
|
-
|
|
16719
|
+
Z.contentAttributes.compute([i], (e) => {
|
|
16710
16720
|
let t = e.facet(i);
|
|
16711
16721
|
return t && t.name ? { "data-language": t.name } : {};
|
|
16712
16722
|
})
|
|
@@ -17031,7 +17041,7 @@ const Ct = /* @__PURE__ */ y0.define({
|
|
|
17031
17041
|
}));
|
|
17032
17042
|
return e.selection && (i = ps(i, e.selection.main.head)), i;
|
|
17033
17043
|
},
|
|
17034
|
-
provide: (i) =>
|
|
17044
|
+
provide: (i) => Z.decorations.from(i),
|
|
17035
17045
|
toJSON(i, e) {
|
|
17036
17046
|
let t = [];
|
|
17037
17047
|
return i.between(0, e.doc.length, (n, s) => {
|
|
@@ -17096,7 +17106,7 @@ const xb = (i) => {
|
|
|
17096
17106
|
};
|
|
17097
17107
|
function no(i, e, t = !0) {
|
|
17098
17108
|
let n = i.state.doc.lineAt(e.from).number, s = i.state.doc.lineAt(e.to).number;
|
|
17099
|
-
return
|
|
17109
|
+
return Z.announce.of(`${i.state.phrase(t ? "Folded lines" : "Unfolded lines")} ${n} ${i.state.phrase("to")} ${s}.`);
|
|
17100
17110
|
}
|
|
17101
17111
|
const _b = (i) => {
|
|
17102
17112
|
let { state: e } = i, t = [];
|
|
@@ -17221,7 +17231,7 @@ function Ob(i = {}) {
|
|
|
17221
17231
|
so()
|
|
17222
17232
|
];
|
|
17223
17233
|
}
|
|
17224
|
-
const Mb = /* @__PURE__ */
|
|
17234
|
+
const Mb = /* @__PURE__ */ Z.baseTheme({
|
|
17225
17235
|
".cm-foldPlaceholder": {
|
|
17226
17236
|
backgroundColor: "#eee",
|
|
17227
17237
|
border: "1px solid #ddd",
|
|
@@ -17282,7 +17292,7 @@ function N6(i) {
|
|
|
17282
17292
|
}
|
|
17283
17293
|
function Tb(i, e) {
|
|
17284
17294
|
let t = [Pb], n;
|
|
17285
|
-
return i instanceof p6 && (i.module && t.push(
|
|
17295
|
+
return i instanceof p6 && (i.module && t.push(Z.styleModule.of(i.module)), n = i.themeType), e != null && e.fallback ? t.push(oo.of(i)) : n ? t.push(R4.computeN([Z.darkTheme], (s) => s.facet(Z.darkTheme) == (n == "dark") ? [i] : [])) : t.push(R4.of(i)), t;
|
|
17286
17296
|
}
|
|
17287
17297
|
class zb {
|
|
17288
17298
|
constructor(e) {
|
|
@@ -17383,7 +17393,7 @@ const Pb = /* @__PURE__ */ kt.high(/* @__PURE__ */ o0.fromClass(zb, {
|
|
|
17383
17393
|
tag: I.invalid,
|
|
17384
17394
|
color: "#f00"
|
|
17385
17395
|
}
|
|
17386
|
-
]), Ab = /* @__PURE__ */
|
|
17396
|
+
]), Ab = /* @__PURE__ */ Z.baseTheme({
|
|
17387
17397
|
"&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" },
|
|
17388
17398
|
"&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" }
|
|
17389
17399
|
}), ro = 1e4, ao = "()[]{}", co = /* @__PURE__ */ n2.define({
|
|
@@ -17416,7 +17426,7 @@ const Hb = /* @__PURE__ */ y0.define({
|
|
|
17416
17426
|
}
|
|
17417
17427
|
return m2.set(t, !0);
|
|
17418
17428
|
},
|
|
17419
|
-
provide: (i) =>
|
|
17429
|
+
provide: (i) => Z.decorations.from(i)
|
|
17420
17430
|
}), Gb = [
|
|
17421
17431
|
Hb,
|
|
17422
17432
|
Ab
|
|
@@ -17699,7 +17709,7 @@ function e_(i = {}) {
|
|
|
17699
17709
|
return [
|
|
17700
17710
|
po,
|
|
17701
17711
|
fo.of(i),
|
|
17702
|
-
|
|
17712
|
+
Z.domEventHandlers({
|
|
17703
17713
|
beforeinput(e, t) {
|
|
17704
17714
|
let n = e.inputType == "historyUndo" ? go : e.inputType == "historyRedo" ? W4 : null;
|
|
17705
17715
|
return n ? (e.preventDefault(), n(t)) : !1;
|
|
@@ -17914,7 +17924,7 @@ const So = (i) => yo(i, !1), Co = (i) => yo(i, !0);
|
|
|
17914
17924
|
function ko(i) {
|
|
17915
17925
|
let e = i.scrollDOM.clientHeight < i.scrollDOM.scrollHeight - 2, t = 0, n = 0, s;
|
|
17916
17926
|
if (e) {
|
|
17917
|
-
for (let l of i.state.facet(
|
|
17927
|
+
for (let l of i.state.facet(Z.scrollMargins)) {
|
|
17918
17928
|
let o = l(i);
|
|
17919
17929
|
o != null && o.top && (t = Math.max(o == null ? void 0 : o.top, t)), o != null && o.bottom && (n = Math.max(o == null ? void 0 : o.bottom, n));
|
|
17920
17930
|
}
|
|
@@ -17935,7 +17945,7 @@ function Do(i, e) {
|
|
|
17935
17945
|
let l;
|
|
17936
17946
|
if (t.selfScroll) {
|
|
17937
17947
|
let o = i.coordsAtPos(n.selection.main.head), r = i.scrollDOM.getBoundingClientRect(), a = r.top + t.marginTop, c = r.bottom - t.marginBottom;
|
|
17938
|
-
o && o.top > a && o.bottom < c && (l =
|
|
17948
|
+
o && o.top > a && o.bottom < c && (l = Z.scrollIntoView(s.main.head, { y: "start", yMargin: o.top - a }));
|
|
17939
17949
|
}
|
|
17940
17950
|
return i.dispatch(Pe(n, s), { effects: l }), !0;
|
|
17941
17951
|
}
|
|
@@ -18020,12 +18030,12 @@ function j1(i, e) {
|
|
|
18020
18030
|
return s.changes.empty ? !1 : (i.dispatch(n.update(s, {
|
|
18021
18031
|
scrollIntoView: !0,
|
|
18022
18032
|
userEvent: t,
|
|
18023
|
-
effects: t == "delete.selection" ?
|
|
18033
|
+
effects: t == "delete.selection" ? Z.announce.of(n.phrase("Selection deleted")) : void 0
|
|
18024
18034
|
})), !0);
|
|
18025
18035
|
}
|
|
18026
18036
|
function d3(i, e, t) {
|
|
18027
|
-
if (i instanceof
|
|
18028
|
-
for (let n of i.state.facet(
|
|
18037
|
+
if (i instanceof Z)
|
|
18038
|
+
for (let n of i.state.facet(Z.atomicRanges).map((s) => s(i)))
|
|
18029
18039
|
n.between(e, e, (s, l) => {
|
|
18030
18040
|
s < e && l > e && (e = t ? l : s);
|
|
18031
18041
|
});
|
|
@@ -18477,7 +18487,7 @@ function q4(i) {
|
|
|
18477
18487
|
} else c && a && (f = f * (a == "-" ? -1 : 1) + r.number);
|
|
18478
18488
|
let p = o.doc.line(Math.max(1, Math.min(o.doc.lines, f))), g = E.cursor(p.from + Math.max(0, Math.min(u, p.length)));
|
|
18479
18489
|
i.dispatch({
|
|
18480
|
-
effects: [x1.of(!1),
|
|
18490
|
+
effects: [x1.of(!1), Z.scrollIntoView(g.from, { y: "center" })],
|
|
18481
18491
|
selection: g
|
|
18482
18492
|
}), i.focus();
|
|
18483
18493
|
}
|
|
@@ -18500,7 +18510,7 @@ const x1 = /* @__PURE__ */ k2.define(), Ms = /* @__PURE__ */ y0.define({
|
|
|
18500
18510
|
i.state.field(Ms, !1) == null && t.push(k2.appendConfig.of([Ms, ly])), i.dispatch({ effects: t }), e = M1(i, q4);
|
|
18501
18511
|
}
|
|
18502
18512
|
return e && e.dom.querySelector("input").select(), !0;
|
|
18503
|
-
}, ly = /* @__PURE__ */
|
|
18513
|
+
}, ly = /* @__PURE__ */ Z.baseTheme({
|
|
18504
18514
|
".cm-panel.cm-gotoLine": {
|
|
18505
18515
|
padding: "2px 6px 4px",
|
|
18506
18516
|
position: "relative",
|
|
@@ -18582,7 +18592,7 @@ const uy = /* @__PURE__ */ o0.fromClass(class {
|
|
|
18582
18592
|
}
|
|
18583
18593
|
}, {
|
|
18584
18594
|
decorations: (i) => i.decorations
|
|
18585
|
-
}), fy = /* @__PURE__ */
|
|
18595
|
+
}), fy = /* @__PURE__ */ Z.baseTheme({
|
|
18586
18596
|
".cm-selectionMatch": { backgroundColor: "#99ff7780" },
|
|
18587
18597
|
".cm-searchMatch .cm-selectionMatch": { backgroundColor: "transparent" }
|
|
18588
18598
|
}), py = ({ state: i, dispatch: e }) => {
|
|
@@ -18617,7 +18627,7 @@ const vy = ({ state: i, dispatch: e }) => {
|
|
|
18617
18627
|
let s = gy(i, n);
|
|
18618
18628
|
return s ? (e(i.update({
|
|
18619
18629
|
selection: i.selection.addRange(E.range(s.from, s.to), !1),
|
|
18620
|
-
effects:
|
|
18630
|
+
effects: Z.scrollIntoView(s.to)
|
|
18621
18631
|
})), !0) : !1;
|
|
18622
18632
|
}, t1 = /* @__PURE__ */ n2.define({
|
|
18623
18633
|
combine(i) {
|
|
@@ -18628,7 +18638,7 @@ const vy = ({ state: i, dispatch: e }) => {
|
|
|
18628
18638
|
regexp: !1,
|
|
18629
18639
|
wholeWord: !1,
|
|
18630
18640
|
createPanel: (e) => new My(e),
|
|
18631
|
-
scrollToMatch: (e) =>
|
|
18641
|
+
scrollToMatch: (e) => Z.scrollIntoView(e)
|
|
18632
18642
|
});
|
|
18633
18643
|
}
|
|
18634
18644
|
});
|
|
@@ -18893,7 +18903,7 @@ const Q3 = /* @__PURE__ */ W1((i, { query: e }) => {
|
|
|
18893
18903
|
if (!l)
|
|
18894
18904
|
return !1;
|
|
18895
18905
|
let o = l, r = [], a, c, h = [];
|
|
18896
|
-
o.from == n && o.to == s && (c = t.toText(e.getReplacement(o)), r.push({ from: o.from, to: o.to, insert: c }), o = e.nextMatch(t, o.from, o.to), h.push(
|
|
18906
|
+
o.from == n && o.to == s && (c = t.toText(e.getReplacement(o)), r.push({ from: o.from, to: o.to, insert: c }), o = e.nextMatch(t, o.from, o.to), h.push(Z.announce.of(t.phrase("replaced match on line $", t.doc.lineAt(n).number) + ".")));
|
|
18897
18907
|
let d = i.state.changes(r);
|
|
18898
18908
|
return o && (a = E.single(o.from, o.to).map(d), h.push(An(i, o)), h.push(t.facet(t1).scrollToMatch(a.main, i))), i.dispatch({
|
|
18899
18909
|
changes: d,
|
|
@@ -18913,7 +18923,7 @@ const Q3 = /* @__PURE__ */ W1((i, { query: e }) => {
|
|
|
18913
18923
|
let n = i.state.phrase("replaced $ matches", t.length) + ".";
|
|
18914
18924
|
return i.dispatch({
|
|
18915
18925
|
changes: t,
|
|
18916
|
-
effects:
|
|
18926
|
+
effects: Z.announce.of(n),
|
|
18917
18927
|
userEvent: "input.replace.all"
|
|
18918
18928
|
}), !0;
|
|
18919
18929
|
});
|
|
@@ -19089,9 +19099,9 @@ function An(i, { from: e, to: t }) {
|
|
|
19089
19099
|
break;
|
|
19090
19100
|
}
|
|
19091
19101
|
}
|
|
19092
|
-
return
|
|
19102
|
+
return Z.announce.of(`${i.state.phrase("current match")}. ${r} ${i.state.phrase("on line")} ${n.number}.`);
|
|
19093
19103
|
}
|
|
19094
|
-
const Ty = /* @__PURE__ */
|
|
19104
|
+
const Ty = /* @__PURE__ */ Z.baseTheme({
|
|
19095
19105
|
".cm-panel.cm-search": {
|
|
19096
19106
|
padding: "2px 6px 4px",
|
|
19097
19107
|
position: "relative",
|
|
@@ -19796,7 +19806,7 @@ const En = /* @__PURE__ */ k2.define({
|
|
|
19796
19806
|
},
|
|
19797
19807
|
provide: (i) => [
|
|
19798
19808
|
xn.from(i, (e) => e.tooltip),
|
|
19799
|
-
|
|
19809
|
+
Z.contentAttributes.from(i, (e) => e.attrs)
|
|
19800
19810
|
]
|
|
19801
19811
|
});
|
|
19802
19812
|
function Bn(i, e) {
|
|
@@ -19933,7 +19943,7 @@ const Jy = 50, Zy = 1e3, eS = /* @__PURE__ */ o0.fromClass(class {
|
|
|
19933
19943
|
this.composing == 3 && setTimeout(() => this.view.dispatch({ effects: Z3.of(!1) }), 20), this.composing = 0;
|
|
19934
19944
|
}
|
|
19935
19945
|
}
|
|
19936
|
-
}), tS = typeof navigator == "object" && /* @__PURE__ */ /Win/.test(navigator.platform), nS = /* @__PURE__ */ kt.highest(/* @__PURE__ */
|
|
19946
|
+
}), tS = typeof navigator == "object" && /* @__PURE__ */ /Win/.test(navigator.platform), nS = /* @__PURE__ */ kt.highest(/* @__PURE__ */ Z.domEventHandlers({
|
|
19937
19947
|
keydown(i, e) {
|
|
19938
19948
|
let t = e.state.field(H0, !1);
|
|
19939
19949
|
if (!t || !t.open || t.open.disabled || t.open.selected < 0 || i.key.length > 1 || i.ctrlKey && !(tS && i.altKey) || i.metaKey)
|
|
@@ -19941,7 +19951,7 @@ const Jy = 50, Zy = 1e3, eS = /* @__PURE__ */ o0.fromClass(class {
|
|
|
19941
19951
|
let n = t.open.options[t.open.selected], s = t.active.find((o) => o.source == n.source), l = n.completion.commitCharacters || s.result.commitCharacters;
|
|
19942
19952
|
return l && l.indexOf(i.key) > -1 && Bn(e, n), !1;
|
|
19943
19953
|
}
|
|
19944
|
-
})), iS = /* @__PURE__ */
|
|
19954
|
+
})), iS = /* @__PURE__ */ Z.baseTheme({
|
|
19945
19955
|
".cm-tooltip.cm-tooltip-autocomplete": {
|
|
19946
19956
|
"& > ul": {
|
|
19947
19957
|
fontFamily: "monospace",
|
|
@@ -20104,7 +20114,7 @@ function i9(i) {
|
|
|
20104
20114
|
function s9(i, e) {
|
|
20105
20115
|
return i.languageDataAt("closeBrackets", e)[0] || E1;
|
|
20106
20116
|
}
|
|
20107
|
-
const lS = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), oS = /* @__PURE__ */
|
|
20117
|
+
const lS = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(navigator.userAgent), oS = /* @__PURE__ */ Z.inputHandler.of((i, e, t, n) => {
|
|
20108
20118
|
if ((lS ? i.composing : i.compositionStarted) || i.state.readOnly)
|
|
20109
20119
|
return !1;
|
|
20110
20120
|
let s = i.state.selection.main;
|
|
@@ -20379,7 +20389,7 @@ const r9 = /* @__PURE__ */ k2.define(), Hn = /* @__PURE__ */ k2.define(), a9 = /
|
|
|
20379
20389
|
},
|
|
20380
20390
|
provide: (i) => [
|
|
20381
20391
|
T1.from(i, (e) => e.panel),
|
|
20382
|
-
|
|
20392
|
+
Z.decorations.from(i, (e) => e.diagnostics)
|
|
20383
20393
|
]
|
|
20384
20394
|
}), xS = /* @__PURE__ */ m2.mark({ class: "cm-lintRange cm-lintRange-active" });
|
|
20385
20395
|
function bS(i, e, t) {
|
|
@@ -20605,7 +20615,7 @@ function DS(i, e = 'viewBox="0 0 40 40"') {
|
|
|
20605
20615
|
function g3(i) {
|
|
20606
20616
|
return DS(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${i}" fill="none" stroke-width=".7"/>`, 'width="6" height="3"');
|
|
20607
20617
|
}
|
|
20608
|
-
const OS = /* @__PURE__ */
|
|
20618
|
+
const OS = /* @__PURE__ */ Z.baseTheme({
|
|
20609
20619
|
".cm-diagnostic": {
|
|
20610
20620
|
padding: "3px 6px 3px 8px",
|
|
20611
20621
|
marginLeft: "-1px",
|
|
@@ -20709,7 +20719,7 @@ function TS(i) {
|
|
|
20709
20719
|
}
|
|
20710
20720
|
const zS = [
|
|
20711
20721
|
K0,
|
|
20712
|
-
/* @__PURE__ */
|
|
20722
|
+
/* @__PURE__ */ Z.decorations.compute([K0], (i) => {
|
|
20713
20723
|
let { selected: e, panel: t } = i.field(K0);
|
|
20714
20724
|
return !e || !t || e.from == e.to ? m2.none : m2.set([
|
|
20715
20725
|
xS.range(e.from, e.to)
|
|
@@ -22295,7 +22305,7 @@ function t8(i, e, t = i.length) {
|
|
|
22295
22305
|
let n = e.firstChild, s = n && n.getChild("TagName");
|
|
22296
22306
|
return s ? i.sliceString(s.from, Math.min(s.to, t)) : "";
|
|
22297
22307
|
}
|
|
22298
|
-
const cC = /* @__PURE__ */
|
|
22308
|
+
const cC = /* @__PURE__ */ Z.inputHandler.of((i, e, t, n, s) => {
|
|
22299
22309
|
if (i.composing || i.state.readOnly || e != t || n != ">" && n != "/" || !X4.isActiveAt(i.state, e, -1))
|
|
22300
22310
|
return !1;
|
|
22301
22311
|
let l = s(), { state: o } = l, r = o.changeByRange((a) => {
|
|
@@ -22343,9 +22353,9 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22343
22353
|
n.value = r.target.result;
|
|
22344
22354
|
}, o.readAsText(l);
|
|
22345
22355
|
}), Ze(() => {
|
|
22346
|
-
const s = new
|
|
22356
|
+
const s = new Z({
|
|
22347
22357
|
doc: n.value,
|
|
22348
|
-
extensions: [d9, f9(),
|
|
22358
|
+
extensions: [d9, f9(), Z.lineWrapping, A2.readOnly.of(!0)],
|
|
22349
22359
|
parent: document.querySelector("#xml-editor")
|
|
22350
22360
|
});
|
|
22351
22361
|
s.dom.style.width = "100%";
|
|
@@ -22362,9 +22372,9 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22362
22372
|
setup(i) {
|
|
22363
22373
|
const e = i, t = i2(() => e.blobUrl), n = i2(() => [e.blobUrl]);
|
|
22364
22374
|
return (s, l) => {
|
|
22365
|
-
const o =
|
|
22375
|
+
const o = Q("el-image");
|
|
22366
22376
|
return _(), A("div", pC, [
|
|
22367
|
-
|
|
22377
|
+
X(o, {
|
|
22368
22378
|
class: "render-img",
|
|
22369
22379
|
src: t.value,
|
|
22370
22380
|
"zoom-rate": 1.2,
|
|
@@ -22482,8 +22492,8 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22482
22492
|
isNc: u.value
|
|
22483
22493
|
}));
|
|
22484
22494
|
const c = i2(() => (r == null ? void 0 : r.value) === "cpt"), h = i2(() => (r == null ? void 0 : r.value) === "uv"), d = i2(() => (r == null ? void 0 : r.value) === "cyd"), u = i2(() => (r == null ? void 0 : r.value) === "nc"), f = i2(() => (r == null ? void 0 : r.value) === "txt"), p = i2(() => {
|
|
22485
|
-
var z, q, V, d2, r2, p2, R,
|
|
22486
|
-
return ((q = (z = n.blobUrl) == null ? void 0 : z.toUpperCase()) == null ? void 0 : q.includes(".OBJ")) || ((d2 = (V = n.blobUrl) == null ? void 0 : V.toUpperCase()) == null ? void 0 : d2.includes(".GLB")) || ((p2 = (r2 = n.fileName) == null ? void 0 : r2.toUpperCase()) == null ? void 0 : p2.includes(".GLB")) || ((
|
|
22495
|
+
var z, q, V, d2, r2, p2, R, J, g2, a2;
|
|
22496
|
+
return ((q = (z = n.blobUrl) == null ? void 0 : z.toUpperCase()) == null ? void 0 : q.includes(".OBJ")) || ((d2 = (V = n.blobUrl) == null ? void 0 : V.toUpperCase()) == null ? void 0 : d2.includes(".GLB")) || ((p2 = (r2 = n.fileName) == null ? void 0 : r2.toUpperCase()) == null ? void 0 : p2.includes(".GLB")) || ((J = (R = n.blobUrl) == null ? void 0 : R.toUpperCase()) == null ? void 0 : J.includes(".STL")) || ((a2 = (g2 = n.blobUrl) == null ? void 0 : g2.toUpperCase()) == null ? void 0 : a2.includes(".MTL")) || (r == null ? void 0 : r.value) === "obj" || (r == null ? void 0 : r.value) === "stl";
|
|
22487
22497
|
}), g = i2(() => (r == null ? void 0 : r.value) === "ls"), v = i2(() => {
|
|
22488
22498
|
var z, q;
|
|
22489
22499
|
return ((q = (z = n.blobUrl) == null ? void 0 : z.toUpperCase()) == null ? void 0 : q.includes(".URDF")) || (r == null ? void 0 : r.value) === "urdf";
|
|
@@ -22495,7 +22505,7 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22495
22505
|
t("destroy");
|
|
22496
22506
|
}), (z, q) => (_(), A("div", CC, [
|
|
22497
22507
|
a.value ? (_(), A("div", kC, [
|
|
22498
|
-
|
|
22508
|
+
X(ei, {
|
|
22499
22509
|
files: o.value,
|
|
22500
22510
|
"three-data": {
|
|
22501
22511
|
data: {
|
|
@@ -22508,63 +22518,63 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22508
22518
|
}
|
|
22509
22519
|
}
|
|
22510
22520
|
}, null, 8, ["files", "three-data"])
|
|
22511
|
-
])) :
|
|
22521
|
+
])) : K("", !0),
|
|
22512
22522
|
S.value ? (_(), A("div", DC, [
|
|
22513
|
-
|
|
22523
|
+
X(Dv, {
|
|
22514
22524
|
fileName: l.value,
|
|
22515
22525
|
blobUrl: s.value
|
|
22516
22526
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22517
|
-
])) :
|
|
22527
|
+
])) : K("", !0),
|
|
22518
22528
|
p.value || v.value ? (_(), A("div", OC, [
|
|
22519
22529
|
(_(), U(ei, {
|
|
22520
22530
|
files: o.value,
|
|
22521
22531
|
key: n == null ? void 0 : n.fullScreen
|
|
22522
22532
|
}, null, 8, ["files"]))
|
|
22523
|
-
])) :
|
|
22533
|
+
])) : K("", !0),
|
|
22524
22534
|
O.value ? (_(), A("div", MC, [
|
|
22525
|
-
|
|
22535
|
+
X(Tv, {
|
|
22526
22536
|
fileName: l.value,
|
|
22527
22537
|
blobUrl: s.value
|
|
22528
22538
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22529
|
-
])) :
|
|
22539
|
+
])) : K("", !0),
|
|
22530
22540
|
M.value ? (_(), A("div", TC, [
|
|
22531
|
-
|
|
22541
|
+
X(Av, {
|
|
22532
22542
|
fileName: l.value,
|
|
22533
22543
|
blobUrl: s.value
|
|
22534
22544
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22535
|
-
])) :
|
|
22545
|
+
])) : K("", !0),
|
|
22536
22546
|
D.value ? (_(), A("div", zC, [
|
|
22537
|
-
|
|
22547
|
+
X(Rv, {
|
|
22538
22548
|
fileName: l.value,
|
|
22539
22549
|
blobUrl: s.value
|
|
22540
22550
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22541
|
-
])) :
|
|
22551
|
+
])) : K("", !0),
|
|
22542
22552
|
w.value ? (_(), A("div", PC, [
|
|
22543
|
-
|
|
22553
|
+
X(vC, {
|
|
22544
22554
|
fileName: l.value,
|
|
22545
22555
|
blobUrl: s.value
|
|
22546
22556
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22547
|
-
])) :
|
|
22557
|
+
])) : K("", !0),
|
|
22548
22558
|
y.value ? (_(), A("div", VC, [
|
|
22549
|
-
|
|
22559
|
+
X(xC, {
|
|
22550
22560
|
fileName: l.value,
|
|
22551
22561
|
blobUrl: s.value
|
|
22552
22562
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22553
|
-
])) :
|
|
22563
|
+
])) : K("", !0),
|
|
22554
22564
|
B.value ? (_(), A("div", AC, [
|
|
22555
|
-
|
|
22565
|
+
X(SC, {
|
|
22556
22566
|
fileName: l.value,
|
|
22557
22567
|
blobUrl: s.value
|
|
22558
22568
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22559
22569
|
])) : !S.value && !O.value && !D.value && !v.value && !w.value && !y.value && !p.value && !B.value && !a.value && !M.value ? (_(), A("div", EC, [
|
|
22560
|
-
|
|
22570
|
+
X(fC, {
|
|
22561
22571
|
fileName: l.value,
|
|
22562
22572
|
blobUrl: s.value
|
|
22563
22573
|
}, null, 8, ["fileName", "blobUrl"])
|
|
22564
|
-
])) :
|
|
22574
|
+
])) : K("", !0),
|
|
22565
22575
|
P.value ? (_(), A("div", BC, q[0] || (q[0] = [
|
|
22566
22576
|
o2("div", null, "当前文件格式暂不支持预览", -1)
|
|
22567
|
-
]))) :
|
|
22577
|
+
]))) : K("", !0)
|
|
22568
22578
|
]));
|
|
22569
22579
|
}
|
|
22570
22580
|
}, p9 = /* @__PURE__ */ H2(LC, [["__scopeId", "data-v-4865dc6a"]]), HC = { class: "file-preview-container" }, GC = {
|
|
@@ -22617,9 +22627,9 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22617
22627
|
onClick: (g) => c(p)
|
|
22618
22628
|
}, $2(f == null ? void 0 : f.name), 9, RC)
|
|
22619
22629
|
], 2))), 128))
|
|
22620
|
-
])) :
|
|
22630
|
+
])) : K("", !0),
|
|
22621
22631
|
o2("div", NC, [
|
|
22622
|
-
|
|
22632
|
+
X(p9, {
|
|
22623
22633
|
class: "right-item",
|
|
22624
22634
|
fileName: r.value,
|
|
22625
22635
|
blobUrl: a.value,
|
|
@@ -22663,7 +22673,7 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22663
22673
|
URL.revokeObjectURL(m);
|
|
22664
22674
|
}));
|
|
22665
22675
|
}), (p, g) => {
|
|
22666
|
-
const v =
|
|
22676
|
+
const v = Q("el-icon");
|
|
22667
22677
|
return _(), U(tn, {
|
|
22668
22678
|
class: "file-preview-dialog",
|
|
22669
22679
|
visible: s.value,
|
|
@@ -22679,21 +22689,21 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22679
22689
|
title: a.value
|
|
22680
22690
|
}, $2(a.value), 9, WC),
|
|
22681
22691
|
o2("div", UC, [
|
|
22682
|
-
|
|
22692
|
+
X(v, null, {
|
|
22683
22693
|
default: H(() => [
|
|
22684
|
-
|
|
22694
|
+
X(Y0(W9), { onClick: c })
|
|
22685
22695
|
]),
|
|
22686
22696
|
_: 1
|
|
22687
22697
|
}),
|
|
22688
|
-
|
|
22698
|
+
X(v, null, {
|
|
22689
22699
|
default: H(() => [
|
|
22690
|
-
|
|
22700
|
+
X(Y0(U9), { onClick: d })
|
|
22691
22701
|
]),
|
|
22692
22702
|
_: 1
|
|
22693
22703
|
}),
|
|
22694
|
-
|
|
22704
|
+
X(v, null, {
|
|
22695
22705
|
default: H(() => [
|
|
22696
|
-
|
|
22706
|
+
X(Y0(I9), { onClick: u })
|
|
22697
22707
|
]),
|
|
22698
22708
|
_: 1
|
|
22699
22709
|
})
|
|
@@ -22767,18 +22777,18 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22767
22777
|
}, g = async (w) => {
|
|
22768
22778
|
var B, P, z, q, V, d2, r2, p2, R;
|
|
22769
22779
|
if ((w == null ? void 0 : w.oldUrl) || (w == null ? void 0 : w.url)) {
|
|
22770
|
-
const
|
|
22780
|
+
const J = K9.service({
|
|
22771
22781
|
lock: !0,
|
|
22772
22782
|
text: "Loading",
|
|
22773
22783
|
background: "rgba(0, 0, 0, 0.7)"
|
|
22774
22784
|
});
|
|
22775
22785
|
h.value = w != null && w.oldUrl ? (z = w == null ? void 0 : w.oldUrl) == null ? void 0 : z.split("/")[((P = (B = w == null ? void 0 : w.oldUrl) == null ? void 0 : B.split("/")) == null ? void 0 : P.length) - 1] : (w == null ? void 0 : w.name) + "." + ((R = (V = (q = F0(w)) == null ? void 0 : q.url) == null ? void 0 : V.split(".")) == null ? void 0 : R[((p2 = (r2 = (d2 = F0(w)) == null ? void 0 : d2.url) == null ? void 0 : r2.split(".")) == null ? void 0 : p2.length) - 1]), d.value = await p(w).finally(() => {
|
|
22776
|
-
|
|
22786
|
+
J.close();
|
|
22777
22787
|
});
|
|
22778
22788
|
} else {
|
|
22779
22789
|
h.value = w == null ? void 0 : w.name;
|
|
22780
|
-
const
|
|
22781
|
-
d.value = URL.createObjectURL(
|
|
22790
|
+
const J = w.raw;
|
|
22791
|
+
d.value = URL.createObjectURL(J);
|
|
22782
22792
|
}
|
|
22783
22793
|
r.value = [{
|
|
22784
22794
|
name: h.value,
|
|
@@ -22841,11 +22851,11 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22841
22851
|
}, y.readAsDataURL(w.raw);
|
|
22842
22852
|
};
|
|
22843
22853
|
return (w, y) => {
|
|
22844
|
-
const B =
|
|
22854
|
+
const B = Q("svg-icon"), P = Q("el-icon"), z = Q("el-upload"), q = T9("loading");
|
|
22845
22855
|
return t != null && t.isEdit && !(t != null && t.disabled) ? (_(), A("div", YC, [
|
|
22846
22856
|
o2("div", FC, [
|
|
22847
22857
|
(_(!0), A(O2, null, V2(l.value, (V) => {
|
|
22848
|
-
var d2, r2, p2, R,
|
|
22858
|
+
var d2, r2, p2, R, J, g2;
|
|
22849
22859
|
return _(), A("div", {
|
|
22850
22860
|
class: "upload-content-title",
|
|
22851
22861
|
key: V,
|
|
@@ -22854,9 +22864,9 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22854
22864
|
o2("div", {
|
|
22855
22865
|
style: { width: "90%", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" },
|
|
22856
22866
|
title: V == null ? void 0 : V.name
|
|
22857
|
-
}, $2((r2 = (d2 = V == null ? void 0 : V.url) == null ? void 0 : d2.split(".")) != null && r2[1] ? (V == null ? void 0 : V.name) + "." + ((g2 = (p2 = V == null ? void 0 : V.url) == null ? void 0 : p2.split(".")) == null ? void 0 : g2[((
|
|
22867
|
+
}, $2((r2 = (d2 = V == null ? void 0 : V.url) == null ? void 0 : d2.split(".")) != null && r2[1] ? (V == null ? void 0 : V.name) + "." + ((g2 = (p2 = V == null ? void 0 : V.url) == null ? void 0 : p2.split(".")) == null ? void 0 : g2[((J = (R = V == null ? void 0 : V.url) == null ? void 0 : R.split(".")) == null ? void 0 : J.length) - 1]) : V == null ? void 0 : V.name), 9, KC),
|
|
22858
22868
|
o2("div", XC, [
|
|
22859
|
-
|
|
22869
|
+
X(B, {
|
|
22860
22870
|
class: "icon-blue",
|
|
22861
22871
|
name: "EyeFill",
|
|
22862
22872
|
style: { width: "20px", height: "20px", cursor: "pointer" },
|
|
@@ -22866,14 +22876,14 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22866
22876
|
]);
|
|
22867
22877
|
}), 128))
|
|
22868
22878
|
]),
|
|
22869
|
-
|
|
22879
|
+
X(tn, {
|
|
22870
22880
|
visible: c.value,
|
|
22871
22881
|
onBeforeDestroy: O,
|
|
22872
22882
|
title: "上传文件"
|
|
22873
22883
|
}, {
|
|
22874
22884
|
default: H(() => [
|
|
22875
22885
|
m3((_(), A("div", null, [
|
|
22876
|
-
|
|
22886
|
+
X(z, {
|
|
22877
22887
|
"file-list": u.value,
|
|
22878
22888
|
"onUpdate:fileList": y[0] || (y[0] = (V) => u.value = V),
|
|
22879
22889
|
multiple: "",
|
|
@@ -22888,9 +22898,9 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22888
22898
|
o2("div", { class: "el-upload__tip tip-content" }, " 请上传大小不超过10MB的文件 ", -1)
|
|
22889
22899
|
])),
|
|
22890
22900
|
default: H(() => [
|
|
22891
|
-
|
|
22901
|
+
X(P, { class: "el-icon--upload" }, {
|
|
22892
22902
|
default: H(() => [
|
|
22893
|
-
|
|
22903
|
+
X(Y0(q9))
|
|
22894
22904
|
]),
|
|
22895
22905
|
_: 1
|
|
22896
22906
|
}),
|
|
@@ -22900,18 +22910,18 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22900
22910
|
], -1))
|
|
22901
22911
|
]),
|
|
22902
22912
|
file: H(({ file: V, index: d2 }) => {
|
|
22903
|
-
var r2, p2, R,
|
|
22913
|
+
var r2, p2, R, J;
|
|
22904
22914
|
return [
|
|
22905
22915
|
o2("div", QC, [
|
|
22906
|
-
o2("div", JC, $2((p2 = (r2 = V == null ? void 0 : V.url) == null ? void 0 : r2.split(".")) != null && p2[1] ? (V == null ? void 0 : V.name) + "." + ((
|
|
22916
|
+
o2("div", JC, $2((p2 = (r2 = V == null ? void 0 : V.url) == null ? void 0 : r2.split(".")) != null && p2[1] ? (V == null ? void 0 : V.name) + "." + ((J = (R = V == null ? void 0 : V.url) == null ? void 0 : R.split(".")) == null ? void 0 : J[1]) : V == null ? void 0 : V.name), 1),
|
|
22907
22917
|
o2("div", ZC, [
|
|
22908
|
-
|
|
22918
|
+
X(B, {
|
|
22909
22919
|
class: "icon-blue",
|
|
22910
22920
|
name: "EyeFill",
|
|
22911
22921
|
style: { width: "20px", height: "20px", cursor: "pointer" },
|
|
22912
22922
|
onClick: (g2) => g(V)
|
|
22913
22923
|
}, null, 8, ["onClick"]),
|
|
22914
|
-
|
|
22924
|
+
X(B, {
|
|
22915
22925
|
class: "icon-blue",
|
|
22916
22926
|
name: "Cancel",
|
|
22917
22927
|
style: { width: "20px", height: "20px", cursor: "pointer" },
|
|
@@ -22929,13 +22939,13 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22929
22939
|
]),
|
|
22930
22940
|
footer: H(() => [
|
|
22931
22941
|
o2("div", ek, [
|
|
22932
|
-
|
|
22942
|
+
X(T0, {
|
|
22933
22943
|
onClickTrigger: O,
|
|
22934
22944
|
id: "themeBorderButton",
|
|
22935
22945
|
disabled: s.value,
|
|
22936
22946
|
modelValue: "取消"
|
|
22937
22947
|
}, null, 8, ["disabled"]),
|
|
22938
|
-
|
|
22948
|
+
X(T0, {
|
|
22939
22949
|
type: "primary",
|
|
22940
22950
|
onClickTrigger: M,
|
|
22941
22951
|
id: "themeButton",
|
|
@@ -22950,14 +22960,14 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22950
22960
|
key: 0,
|
|
22951
22961
|
fileDataList: r.value,
|
|
22952
22962
|
onDestroy: v
|
|
22953
|
-
}, null, 8, ["fileDataList"])) :
|
|
22954
|
-
|
|
22963
|
+
}, null, 8, ["fileDataList"])) : K("", !0),
|
|
22964
|
+
X(T0, {
|
|
22955
22965
|
type: "primary",
|
|
22956
22966
|
onClickTrigger: f,
|
|
22957
22967
|
class: "upload-button",
|
|
22958
22968
|
modelValue: "上传"
|
|
22959
22969
|
})
|
|
22960
|
-
])) :
|
|
22970
|
+
])) : K("", !0);
|
|
22961
22971
|
};
|
|
22962
22972
|
}
|
|
22963
22973
|
}, n8 = /* @__PURE__ */ H2(tk, [["__scopeId", "data-v-00515aff"]]), nk = /* @__PURE__ */ n0({
|
|
@@ -22999,7 +23009,7 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
22999
23009
|
console.log(133, c);
|
|
23000
23010
|
};
|
|
23001
23011
|
return (c, h) => {
|
|
23002
|
-
const d =
|
|
23012
|
+
const d = Q("el-icon"), u = Q("el-upload");
|
|
23003
23013
|
return _(), U(u, {
|
|
23004
23014
|
class: "upload-demo",
|
|
23005
23015
|
drag: "",
|
|
@@ -23013,9 +23023,9 @@ const cC = /* @__PURE__ */ J.inputHandler.of((i, e, t, n, s) => {
|
|
|
23013
23023
|
"on-remove": r
|
|
23014
23024
|
}, {
|
|
23015
23025
|
default: H(() => [
|
|
23016
|
-
|
|
23026
|
+
X(d, null, {
|
|
23017
23027
|
default: H(() => [
|
|
23018
|
-
|
|
23028
|
+
X(Y0(J6))
|
|
23019
23029
|
]),
|
|
23020
23030
|
_: 1
|
|
23021
23031
|
})
|
|
@@ -23663,7 +23673,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23663
23673
|
};
|
|
23664
23674
|
return (w, y) => {
|
|
23665
23675
|
var q, V, d2;
|
|
23666
|
-
const B =
|
|
23676
|
+
const B = Q("el-input-number"), P = Q("el-color-picker"), z = Q("el-button");
|
|
23667
23677
|
return _(), A("div", null, [
|
|
23668
23678
|
o2("div", dk, [
|
|
23669
23679
|
z2(w.$slots, "signatureRender", {}, void 0, !0),
|
|
@@ -23671,7 +23681,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23671
23681
|
z2(w.$slots, "signatureTypes", {}, void 0, !0)
|
|
23672
23682
|
])
|
|
23673
23683
|
]),
|
|
23674
|
-
|
|
23684
|
+
X(tn, {
|
|
23675
23685
|
class: "signature-dialog",
|
|
23676
23686
|
title: (q = i.signPadInfo) == null ? void 0 : q.dialogTitle,
|
|
23677
23687
|
dialogWidth: `${((V = i.signPadInfo) == null ? void 0 : V.dialogWidth) ?? 30}%`,
|
|
@@ -23680,7 +23690,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23680
23690
|
}, {
|
|
23681
23691
|
default: H(() => [
|
|
23682
23692
|
o2("div", fk, [
|
|
23683
|
-
|
|
23693
|
+
X(Y0(hk), {
|
|
23684
23694
|
ref_key: "signaturePadRef",
|
|
23685
23695
|
ref: n,
|
|
23686
23696
|
options: h.value,
|
|
@@ -23691,7 +23701,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23691
23701
|
o2("div", pk, [
|
|
23692
23702
|
o2("div", null, [
|
|
23693
23703
|
y[2] || (y[2] = o2("span", null, "画笔粗细:", -1)),
|
|
23694
|
-
|
|
23704
|
+
X(B, {
|
|
23695
23705
|
modelValue: o.signOptions.minWidth,
|
|
23696
23706
|
"onUpdate:modelValue": y[0] || (y[0] = (r2) => o.signOptions.minWidth = r2),
|
|
23697
23707
|
min: 0.5,
|
|
@@ -23702,7 +23712,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23702
23712
|
]),
|
|
23703
23713
|
o2("div", null, [
|
|
23704
23714
|
y[3] || (y[3] = o2("span", null, "画笔颜色:", -1)),
|
|
23705
|
-
|
|
23715
|
+
X(P, {
|
|
23706
23716
|
modelValue: o.signOptions.penColor,
|
|
23707
23717
|
"onUpdate:modelValue": y[1] || (y[1] = (r2) => o.signOptions.penColor = r2),
|
|
23708
23718
|
"color-format": "hex",
|
|
@@ -23710,7 +23720,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23710
23720
|
}, null, 8, ["modelValue"])
|
|
23711
23721
|
]),
|
|
23712
23722
|
o2("div", null, [
|
|
23713
|
-
|
|
23723
|
+
X(z, {
|
|
23714
23724
|
size: "small",
|
|
23715
23725
|
disabled: !a.value,
|
|
23716
23726
|
onClick: m
|
|
@@ -23721,7 +23731,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23721
23731
|
_: 1,
|
|
23722
23732
|
__: [4]
|
|
23723
23733
|
}, 8, ["disabled"]),
|
|
23724
|
-
|
|
23734
|
+
X(z, {
|
|
23725
23735
|
size: "small",
|
|
23726
23736
|
disabled: !c.value,
|
|
23727
23737
|
onClick: S
|
|
@@ -23732,7 +23742,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23732
23742
|
_: 1,
|
|
23733
23743
|
__: [5]
|
|
23734
23744
|
}, 8, ["disabled"]),
|
|
23735
|
-
|
|
23745
|
+
X(z, {
|
|
23736
23746
|
size: "small",
|
|
23737
23747
|
onClick: M
|
|
23738
23748
|
}, {
|
|
@@ -23746,14 +23756,14 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23746
23756
|
])
|
|
23747
23757
|
]),
|
|
23748
23758
|
footer: H(() => [
|
|
23749
|
-
|
|
23759
|
+
X(z, { onClick: O }, {
|
|
23750
23760
|
default: H(() => y[7] || (y[7] = [
|
|
23751
23761
|
p0("取消")
|
|
23752
23762
|
])),
|
|
23753
23763
|
_: 1,
|
|
23754
23764
|
__: [7]
|
|
23755
23765
|
}),
|
|
23756
|
-
|
|
23766
|
+
X(z, {
|
|
23757
23767
|
type: "primary",
|
|
23758
23768
|
onClick: D
|
|
23759
23769
|
}, {
|
|
@@ -23777,10 +23787,10 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23777
23787
|
n && (await G0(), (s = e.value) == null || s.update());
|
|
23778
23788
|
};
|
|
23779
23789
|
return (n, s) => {
|
|
23780
|
-
const l =
|
|
23790
|
+
const l = Q("el-dropdown-menu"), o = Q("el-dropdown");
|
|
23781
23791
|
return _(), U(o, { onVisibleChange: t }, {
|
|
23782
23792
|
dropdown: H(() => [
|
|
23783
|
-
|
|
23793
|
+
X(l, null, {
|
|
23784
23794
|
default: H(() => [
|
|
23785
23795
|
z2(n.$slots, "dropMenu")
|
|
23786
23796
|
]),
|
|
@@ -23973,7 +23983,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
23973
23983
|
setup(i) {
|
|
23974
23984
|
const e = i;
|
|
23975
23985
|
return (t, n) => {
|
|
23976
|
-
const s =
|
|
23986
|
+
const s = Q("el-image");
|
|
23977
23987
|
return _(), U(s, {
|
|
23978
23988
|
style: { width: "100px", height: "100px" },
|
|
23979
23989
|
src: e == null ? void 0 : e.modelValue,
|
|
@@ -24019,7 +24029,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
24019
24029
|
r.value = u, n("tagChange", u);
|
|
24020
24030
|
};
|
|
24021
24031
|
return (d, u) => {
|
|
24022
|
-
const f =
|
|
24032
|
+
const f = Q("el-option"), p = Q("el-select");
|
|
24023
24033
|
return _(), U(p, {
|
|
24024
24034
|
class: "multiple-checkbox",
|
|
24025
24035
|
modelValue: s.value,
|
|
@@ -24074,7 +24084,7 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
24074
24084
|
t("change", l);
|
|
24075
24085
|
};
|
|
24076
24086
|
return (l, o) => {
|
|
24077
|
-
const r =
|
|
24087
|
+
const r = Q("el-time-picker");
|
|
24078
24088
|
return _(), U(r, {
|
|
24079
24089
|
"model-value": i.modelValue,
|
|
24080
24090
|
"onUpdate:modelValue": n,
|
|
@@ -24108,13 +24118,13 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
24108
24118
|
n == null || n.destroy();
|
|
24109
24119
|
}), Te(() => {
|
|
24110
24120
|
const s = document.querySelector("#xml-editor");
|
|
24111
|
-
t.value = JSON.stringify(e.modelValue, null, 2), s && (n = new
|
|
24121
|
+
t.value = JSON.stringify(e.modelValue, null, 2), s && (n = new Z({
|
|
24112
24122
|
state: A2.create({
|
|
24113
24123
|
doc: t.value,
|
|
24114
24124
|
extensions: [
|
|
24115
24125
|
d9,
|
|
24116
24126
|
f9(),
|
|
24117
|
-
|
|
24127
|
+
Z.lineWrapping,
|
|
24118
24128
|
A2.readOnly.of(e.readonly)
|
|
24119
24129
|
]
|
|
24120
24130
|
}),
|
|
@@ -24154,9 +24164,9 @@ const dk = { class: "signature-wrap" }, uk = { class: "signature-types" }, fk =
|
|
|
24154
24164
|
setup(i) {
|
|
24155
24165
|
const e = i, t = G(e == null ? void 0 : e.carouselList);
|
|
24156
24166
|
return (n, s) => {
|
|
24157
|
-
const l =
|
|
24167
|
+
const l = Q("el-carousel-item"), o = Q("el-carousel");
|
|
24158
24168
|
return _(), A("div", null, [
|
|
24159
|
-
|
|
24169
|
+
X(o, { trigger: "click" }, {
|
|
24160
24170
|
default: H(() => [
|
|
24161
24171
|
(_(!0), A(O2, null, V2(t.value, (r, a) => (_(), U(l, { key: a }, {
|
|
24162
24172
|
default: H(() => [
|
|
@@ -24248,7 +24258,7 @@ const Hk = ["onDblclick"], Gk = {
|
|
|
24248
24258
|
},
|
|
24249
24259
|
{ deep: !0, immediate: !0 }
|
|
24250
24260
|
), (h, d) => {
|
|
24251
|
-
const u =
|
|
24261
|
+
const u = Q("el-tab-pane"), f = Q("el-tabs");
|
|
24252
24262
|
return _(), U(f, {
|
|
24253
24263
|
modelValue: l.value,
|
|
24254
24264
|
"onUpdate:modelValue": d[0] || (d[0] = (p) => l.value = p),
|
|
@@ -24267,7 +24277,7 @@ const Hk = ["onDblclick"], Gk = {
|
|
|
24267
24277
|
key: 0,
|
|
24268
24278
|
onDblclick: (m) => r(p),
|
|
24269
24279
|
class: "normal-label"
|
|
24270
|
-
}, $2(p == null ? void 0 : p.label), 41, Hk)) :
|
|
24280
|
+
}, $2(p == null ? void 0 : p.label), 41, Hk)) : K("", !0),
|
|
24271
24281
|
p != null && p.contents && ((v = p == null ? void 0 : p.contents) == null ? void 0 : v.length) > 0 ? (_(), A("div", Gk, [
|
|
24272
24282
|
(_(!0), A(O2, null, V2(p == null ? void 0 : p.contents, (m, S) => (_(), A("div", {
|
|
24273
24283
|
key: S,
|
|
@@ -24278,9 +24288,9 @@ const Hk = ["onDblclick"], Gk = {
|
|
|
24278
24288
|
modelValue: m.value,
|
|
24279
24289
|
"onUpdate:modelValue": (M) => m.value = M,
|
|
24280
24290
|
content: (m == null ? void 0 : m.contents) ?? []
|
|
24281
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) :
|
|
24291
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : K("", !0)
|
|
24282
24292
|
]))), 128))
|
|
24283
|
-
])) :
|
|
24293
|
+
])) : K("", !0),
|
|
24284
24294
|
z2(h.$slots, `${(p == null ? void 0 : p.value) ?? ""}_header`, {}, void 0, !0)
|
|
24285
24295
|
];
|
|
24286
24296
|
}),
|
|
@@ -24309,7 +24319,7 @@ const Hk = ["onDblclick"], Gk = {
|
|
|
24309
24319
|
]),
|
|
24310
24320
|
key: "0"
|
|
24311
24321
|
} : void 0
|
|
24312
|
-
]), 1064, ["modelValue", "onUpdate:modelValue", "content"])) :
|
|
24322
|
+
]), 1064, ["modelValue", "onUpdate:modelValue", "content"])) : K("", !0)
|
|
24313
24323
|
]))), 128))
|
|
24314
24324
|
], !0)
|
|
24315
24325
|
]),
|