ss-component-new 1.3.735 → 1.3.737
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/MTLLoader-CkNZudBE.js +657 -0
- package/dist/URDFLoader-DIzEVzUD.js +2299 -0
- package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
- package/dist/animationData-DvL_4GZ5.js +83 -0
- package/dist/array-BN2tTnqd.js +1045 -0
- package/dist/clone-Dp_gc9ll.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-qStmsM1q.js +29 -0
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/iconfont-BwY2qVoK.js +1030 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/method.svg +1 -0
- package/dist/index-11kpzK0A.js +209 -0
- package/dist/index-5S_ATziA.js +25341 -0
- package/dist/index-B0H3C7WG.js +103 -0
- package/dist/index-B6ePvQgB.js +83 -0
- package/dist/index-BHtNKL1L.js +27 -0
- package/dist/index-BQrVYtnl.js +201 -0
- package/dist/index-BbyrFzEO.js +93 -0
- package/dist/index-Bej2dPck.js +873 -0
- package/dist/index-BooO2Bml.js +78 -0
- package/dist/index-BqZj6gM7.js +470 -0
- package/dist/index-Bw3sTXPI.js +8993 -0
- package/dist/index-BzUgGzuc.js +48 -0
- package/dist/index-C9nks7xM.js +30 -0
- package/dist/index-CGi0g-VN.js +627 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CWOXvFfD.js +44 -0
- package/dist/index-CWpFqtvA.js +1000 -0
- package/dist/index-CYwlat81.js +20578 -0
- package/dist/index-Cflxz2Xv.js +572 -0
- package/dist/index-Ch8te5LO.js +411 -0
- package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
- package/dist/index-Ckqlxqaw.js +119 -0
- package/dist/index-CpGn7sfE.js +93 -0
- package/dist/index-CydXQbtX.js +622 -0
- package/dist/index-DG4hoOWt.js +665 -0
- package/dist/index-DUbk5m5P.js +99 -0
- package/dist/index-DbHIH067.js +107 -0
- package/dist/index-DhUE8pTF.js +61 -0
- package/dist/index-Dhjj5seQ.js +98 -0
- package/dist/index-Ds6m_4JJ.js +28500 -0
- package/dist/index-DyCq_odP.js +331 -0
- package/dist/index-Ru-cNTPj.js +84 -0
- package/dist/index-UB_oCdlo.js +62 -0
- package/dist/index-XcH1poa0.js +63306 -0
- package/dist/index-YjBTGOkO.js +61 -0
- package/dist/index-jbOjjV0j.js +447 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js +137927 -0
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-BCc8TzAj.js +502 -0
- package/dist/menuIndex-BB0uVPRX.js +159 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/pyodide-Dc1Mu-0d.js +489 -0
- package/dist/request-1RPa2bBn.js +9048 -0
- package/dist/ss-component.css +8 -2
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BXXLFYOy.js +1109 -0
- package/dist/threePreview-DUfFZQ5q.js +3091 -0
- package/dist/threeSceneView-Dez2tha0.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-DDk128w_.js +539 -0
- package/dist/threeTrackPathView-DmE9QE_0.js +620 -0
- package/dist/threeViewerHost-7g8xu3oh.js +233 -0
- package/dist/urdfTree-VRms7Vm3.js +254 -0
- package/dist/workpieceTreePanel-DCSz_IDY.js +559 -0
- package/package.json +8 -11
- package/public/config.js +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/method.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-8KTFGqOM.js +0 -25
- package/dist/index-A8OE-eSF.js +0 -29
- package/dist/index-B2xkIV6C.js +0 -25
- package/dist/index-B3v82KuY.js +0 -1044
- package/dist/index-BggN-zvK.js +0 -634
- package/dist/index-C0HH0uAE.js +0 -188
- package/dist/index-C0U2Epeo.js +0 -25
- package/dist/index-C8GSZPvd.js +0 -4
- package/dist/index-CA0CoKiz.js +0 -25
- package/dist/index-CHjBtkir.js +0 -4
- package/dist/index-CJP9hdx4.js +0 -53
- package/dist/index-COeMUCuq.js +0 -213
- package/dist/index-COxVr3MC.js +0 -4
- package/dist/index-CXoQiaXz.js +0 -27
- package/dist/index-CdanNGTM.js +0 -4
- package/dist/index-CfwzR4gE.js +0 -469
- package/dist/index-CoEteqj_.js +0 -4
- package/dist/index-Cqt27z96.js +0 -23
- package/dist/index-Cqyl2URI.js +0 -32
- package/dist/index-CsdL6xGl.js +0 -181
- package/dist/index-CuIbbhNo.js +0 -25
- package/dist/index-D1WMhpsE.js +0 -26
- package/dist/index-D3G5ymZc.js +0 -4
- package/dist/index-D5oMkTBW.js +0 -35
- package/dist/index-DGogREB4.js +0 -26
- package/dist/index-DRqX_bCT.js +0 -4
- package/dist/index-DbUt70zC.js +0 -50
- package/dist/index-DnLZtsZU.js +0 -4
- package/dist/index-IoMa0kLh.js +0 -27
- package/dist/index-JkTP1vyC.js +0 -4
- package/dist/index-boICNvPL.js +0 -4
- package/dist/index-qO33lx52.js +0 -50664
- package/dist/index-uriwf_fo.js +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-B-JCE78v.js +0 -21
- package/dist/index.vue_vue_type_script_setup_true_lang-BSZB17y-.js +0 -42
- package/dist/index.vue_vue_type_script_setup_true_lang-Brir5Bym.js +0 -41
- package/dist/index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CARZt7yC.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-CVALRKBG.js +0 -48
- package/dist/index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js +0 -39
- package/dist/index.vue_vue_type_script_setup_true_lang-DAb-qhJ1.js +0 -40
- package/dist/index.vue_vue_type_script_setup_true_lang-DimtrEJj.js +0 -26
- package/dist/menu-ClNHLze7.js +0 -5208
- package/dist/platform-CPTootse.js +0 -11429
- /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{update.svg → Update.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
|
@@ -1,208 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const q = { class: "dialog-title" }, G = {
|
|
4
|
-
__name: "index",
|
|
5
|
-
props: {
|
|
6
|
-
title: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: ""
|
|
9
|
-
},
|
|
10
|
-
dialogWidth: {
|
|
11
|
-
type: [Number, String],
|
|
12
|
-
default: 600
|
|
13
|
-
},
|
|
14
|
-
visible: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: !1
|
|
17
|
-
},
|
|
18
|
-
fullScreen: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !1
|
|
21
|
-
},
|
|
22
|
-
// 仅在 resizable=true 时生效
|
|
23
|
-
dialogHeight: {
|
|
24
|
-
type: [Number, String],
|
|
25
|
-
default: 600
|
|
26
|
-
},
|
|
27
|
-
// 仅在 resizable=true 时生效
|
|
28
|
-
minWidth: {
|
|
29
|
-
type: [Number, String],
|
|
30
|
-
default: 400
|
|
31
|
-
},
|
|
32
|
-
// 仅在 resizable=true 时生效
|
|
33
|
-
minHeight: {
|
|
34
|
-
type: [Number, String],
|
|
35
|
-
default: 300
|
|
36
|
-
},
|
|
37
|
-
showClose: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: !0
|
|
40
|
-
},
|
|
41
|
-
closeOnClickModal: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !0
|
|
44
|
-
},
|
|
45
|
-
closeOnPressEscape: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: !0
|
|
48
|
-
},
|
|
49
|
-
modalClass: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: ""
|
|
52
|
-
},
|
|
53
|
-
alignCenter: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: !1
|
|
56
|
-
},
|
|
57
|
-
appendToBody: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: !0
|
|
60
|
-
},
|
|
61
|
-
zIndex: {
|
|
62
|
-
type: Number,
|
|
63
|
-
default: void 0
|
|
64
|
-
},
|
|
65
|
-
// 是否允许四边拖拽改变弹窗大小
|
|
66
|
-
resizable: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
default: !1
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
emits: ["beforeDestroy"],
|
|
72
|
-
setup(y, { emit: M }) {
|
|
73
|
-
const e = y, R = M, x = I(!1), o = L({
|
|
74
|
-
width: void 0,
|
|
75
|
-
height: void 0,
|
|
76
|
-
minWidth: void 0,
|
|
77
|
-
minHeight: void 0
|
|
78
|
-
});
|
|
79
|
-
let E = !1, v = "", W = 0, k = 0, g = 0, h = 0, F = 0, p = 0, z = null;
|
|
80
|
-
const T = (l) => {
|
|
81
|
-
var n, a;
|
|
82
|
-
const t = (a = (n = l == null ? void 0 : l.target) == null ? void 0 : n.closest) == null ? void 0 : a.call(n, ".el-dialog");
|
|
83
|
-
return t || null;
|
|
84
|
-
}, N = (l) => {
|
|
85
|
-
if (!l || l === "none")
|
|
86
|
-
return { tx: 0, ty: 0 };
|
|
87
|
-
let t = l.match(/matrix\(([^)]+)\)/);
|
|
88
|
-
if (t) {
|
|
89
|
-
const n = t[1].split(",").map((a) => Number(a.trim()));
|
|
90
|
-
return { tx: (n == null ? void 0 : n[4]) || 0, ty: (n == null ? void 0 : n[5]) || 0 };
|
|
91
|
-
}
|
|
92
|
-
if (t = l.match(/matrix3d\(([^)]+)\)/), t) {
|
|
93
|
-
const n = t[1].split(",").map((a) => Number(a.trim()));
|
|
94
|
-
return { tx: (n == null ? void 0 : n[12]) || 0, ty: (n == null ? void 0 : n[13]) || 0 };
|
|
95
|
-
}
|
|
96
|
-
return t = l.match(/translate\(\s*([-\d.]+)px\s*,\s*([-\d.]+)px\s*\)/), t ? { tx: Number(t[1]) || 0, ty: Number(t[2]) || 0 } : { tx: 0, ty: 0 };
|
|
97
|
-
}, $ = (l, t, n) => {
|
|
98
|
-
l.style.transform = `translate(${t}px, ${n}px)`;
|
|
99
|
-
}, m = (l, t) => {
|
|
100
|
-
if (!e.resizable) return;
|
|
101
|
-
const n = T(l);
|
|
102
|
-
if (!n) return;
|
|
103
|
-
z = n, E = !0, v = t, W = l.clientX, k = l.clientY;
|
|
104
|
-
const a = n.getBoundingClientRect();
|
|
105
|
-
g = a.width, h = a.height;
|
|
106
|
-
const c = window.getComputedStyle(n), { tx: d, ty: b } = N(c.transform);
|
|
107
|
-
F = d, p = b, document.addEventListener("mousemove", S), document.addEventListener("mouseup", H);
|
|
108
|
-
}, S = (l) => {
|
|
109
|
-
if (!E || !z) return;
|
|
110
|
-
const t = l.clientX - W, n = l.clientY - k, a = parseInt(o.minWidth || "0", 10) || 0, c = parseInt(o.minHeight || "0", 10) || 0;
|
|
111
|
-
let d = g, b = h, C = F, w = p;
|
|
112
|
-
if (v.includes("right") && (d = Math.max(a, g + t)), v.includes("bottom") && (b = Math.max(c, h + n)), v.includes("left")) {
|
|
113
|
-
const f = g - t;
|
|
114
|
-
f < a ? (d = a, C = F + (g - a)) : (d = f, C = F + t);
|
|
115
|
-
}
|
|
116
|
-
if (v.includes("top")) {
|
|
117
|
-
const f = h - n;
|
|
118
|
-
f < c ? (b = c, w = p + (h - c)) : (b = f, w = p + n);
|
|
119
|
-
}
|
|
120
|
-
o.width = `${d}px`, o.height = `${b}px`, $(z, C, w);
|
|
121
|
-
}, H = () => {
|
|
122
|
-
E = !1, v = "", z = null, document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", H);
|
|
123
|
-
}, V = () => {
|
|
124
|
-
R("beforeDestroy");
|
|
125
|
-
};
|
|
126
|
-
return O(
|
|
127
|
-
() => e == null ? void 0 : e.visible,
|
|
128
|
-
(l) => {
|
|
129
|
-
x.value = l, l && (e.resizable ? (o.width = typeof e.dialogWidth == "number" ? `${e.dialogWidth}px` : e.dialogWidth, o.height = typeof e.dialogHeight == "number" ? `${e.dialogHeight}px` : e.dialogHeight, o.minWidth = typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth, o.minHeight = typeof e.minHeight == "number" ? `${e.minHeight}px` : e.minHeight) : (o.width = void 0, o.height = void 0, o.minWidth = void 0, o.minHeight = void 0));
|
|
130
|
-
},
|
|
131
|
-
{ deep: !0, immediate: !0 }
|
|
132
|
-
), (l, t) => {
|
|
133
|
-
const n = X("el-dialog");
|
|
134
|
-
return i(), Y(n, {
|
|
135
|
-
modelValue: x.value,
|
|
136
|
-
"onUpdate:modelValue": t[8] || (t[8] = (a) => x.value = a),
|
|
137
|
-
width: e == null ? void 0 : e.dialogWidth,
|
|
138
|
-
"before-close": V,
|
|
139
|
-
draggable: "",
|
|
140
|
-
style: P(e != null && e.resizable ? o : void 0),
|
|
141
|
-
fullscreen: e == null ? void 0 : e.fullScreen,
|
|
142
|
-
"destroy-on-close": !0,
|
|
143
|
-
"show-close": e == null ? void 0 : e.showClose,
|
|
144
|
-
"close-on-click-modal": e == null ? void 0 : e.closeOnClickModal,
|
|
145
|
-
"modal-class": y.modalClass,
|
|
146
|
-
"close-on-press-escape": e == null ? void 0 : e.closeOnPressEscape,
|
|
147
|
-
"align-center": e == null ? void 0 : e.alignCenter,
|
|
148
|
-
"append-to-body": y.appendToBody,
|
|
149
|
-
"z-index": e == null ? void 0 : e.zIndex
|
|
150
|
-
}, {
|
|
151
|
-
header: B(() => [
|
|
152
|
-
A("div", q, U(e == null ? void 0 : e.title), 1),
|
|
153
|
-
D(l.$slots, "header", {}, void 0, !0)
|
|
154
|
-
]),
|
|
155
|
-
footer: B(() => [
|
|
156
|
-
D(l.$slots, "footer", {}, void 0, !0)
|
|
157
|
-
]),
|
|
158
|
-
default: B(() => [
|
|
159
|
-
D(l.$slots, "default", {}, void 0, !0),
|
|
160
|
-
e.resizable ? (i(), u("div", {
|
|
161
|
-
key: 0,
|
|
162
|
-
class: "resizable-handle top",
|
|
163
|
-
onMousedown: t[0] || (t[0] = s((a) => m(a, "top"), ["stop"]))
|
|
164
|
-
}, null, 32)) : r("", !0),
|
|
165
|
-
e.resizable ? (i(), u("div", {
|
|
166
|
-
key: 1,
|
|
167
|
-
class: "resizable-handle right",
|
|
168
|
-
onMousedown: t[1] || (t[1] = s((a) => m(a, "right"), ["stop"]))
|
|
169
|
-
}, null, 32)) : r("", !0),
|
|
170
|
-
e.resizable ? (i(), u("div", {
|
|
171
|
-
key: 2,
|
|
172
|
-
class: "resizable-handle bottom",
|
|
173
|
-
onMousedown: t[2] || (t[2] = s((a) => m(a, "bottom"), ["stop"]))
|
|
174
|
-
}, null, 32)) : r("", !0),
|
|
175
|
-
e.resizable ? (i(), u("div", {
|
|
176
|
-
key: 3,
|
|
177
|
-
class: "resizable-handle left",
|
|
178
|
-
onMousedown: t[3] || (t[3] = s((a) => m(a, "left"), ["stop"]))
|
|
179
|
-
}, null, 32)) : r("", !0),
|
|
180
|
-
e.resizable ? (i(), u("div", {
|
|
181
|
-
key: 4,
|
|
182
|
-
class: "resizable-handle top-left",
|
|
183
|
-
onMousedown: t[4] || (t[4] = s((a) => m(a, "top-left"), ["stop"]))
|
|
184
|
-
}, null, 32)) : r("", !0),
|
|
185
|
-
e.resizable ? (i(), u("div", {
|
|
186
|
-
key: 5,
|
|
187
|
-
class: "resizable-handle top-right",
|
|
188
|
-
onMousedown: t[5] || (t[5] = s((a) => m(a, "top-right"), ["stop"]))
|
|
189
|
-
}, null, 32)) : r("", !0),
|
|
190
|
-
e.resizable ? (i(), u("div", {
|
|
191
|
-
key: 6,
|
|
192
|
-
class: "resizable-handle bottom-left",
|
|
193
|
-
onMousedown: t[6] || (t[6] = s((a) => m(a, "bottom-left"), ["stop"]))
|
|
194
|
-
}, null, 32)) : r("", !0),
|
|
195
|
-
e.resizable ? (i(), u("div", {
|
|
196
|
-
key: 7,
|
|
197
|
-
class: "resizable-handle bottom-right",
|
|
198
|
-
onMousedown: t[7] || (t[7] = s((a) => m(a, "bottom-right"), ["stop"]))
|
|
199
|
-
}, null, 32)) : r("", !0)
|
|
200
|
-
]),
|
|
201
|
-
_: 3
|
|
202
|
-
}, 8, ["modelValue", "width", "style", "fullscreen", "show-close", "close-on-click-modal", "modal-class", "close-on-press-escape", "align-center", "append-to-body", "z-index"]);
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
}, Q = /* @__PURE__ */ j(G, [["__scopeId", "data-v-7917fe7b"]]), Z = [
|
|
1
|
+
const e = [
|
|
206
2
|
{
|
|
207
3
|
name: "--vertical-menu-bg",
|
|
208
4
|
value: "transparent"
|
|
@@ -299,7 +95,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
299
95
|
name: "--vertical-menu-padding",
|
|
300
96
|
value: "0.5rem"
|
|
301
97
|
}
|
|
302
|
-
],
|
|
98
|
+
], a = [
|
|
303
99
|
{
|
|
304
100
|
name: "--horizontal-menu-bg",
|
|
305
101
|
value: "#333333"
|
|
@@ -355,7 +151,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
355
151
|
name: "--horizontal-menuitem-font",
|
|
356
152
|
value: "var(--ssComponent-font-family)"
|
|
357
153
|
}
|
|
358
|
-
],
|
|
154
|
+
], n = [
|
|
359
155
|
{
|
|
360
156
|
name: "--vertical-menu-bg",
|
|
361
157
|
value: "transparent"
|
|
@@ -452,7 +248,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
452
248
|
name: "--vertical-menu-padding",
|
|
453
249
|
value: "0.5rem"
|
|
454
250
|
}
|
|
455
|
-
],
|
|
251
|
+
], t = [
|
|
456
252
|
{
|
|
457
253
|
name: "--horizontal-menu-bg",
|
|
458
254
|
value: "#333333"
|
|
@@ -508,7 +304,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
508
304
|
name: "--horizontal-menuitem-font",
|
|
509
305
|
value: "var(--ssComponent-font-family)"
|
|
510
306
|
}
|
|
511
|
-
],
|
|
307
|
+
], m = [
|
|
512
308
|
{
|
|
513
309
|
name: "--vertical-menu-bg",
|
|
514
310
|
value: "transparent"
|
|
@@ -605,7 +401,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
605
401
|
name: "--vertical-menu-padding",
|
|
606
402
|
value: "0.5rem"
|
|
607
403
|
}
|
|
608
|
-
],
|
|
404
|
+
], l = [
|
|
609
405
|
{
|
|
610
406
|
name: "--horizontal-menu-bg",
|
|
611
407
|
value: "#333333"
|
|
@@ -661,7 +457,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
661
457
|
name: "--horizontal-menuitem-font",
|
|
662
458
|
value: "var(--ssComponent-font-family)"
|
|
663
459
|
}
|
|
664
|
-
],
|
|
460
|
+
], u = [
|
|
665
461
|
{
|
|
666
462
|
name: "--user-avatar-bg",
|
|
667
463
|
value: "linear-gradient(to bottom, #73D2FF,#235096)"
|
|
@@ -702,7 +498,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
702
498
|
name: "--ssComponent-theme-watermark",
|
|
703
499
|
value: 'url("@/assets/image/watermark-blue.png")'
|
|
704
500
|
}
|
|
705
|
-
],
|
|
501
|
+
], o = [
|
|
706
502
|
{
|
|
707
503
|
name: "--user-avatar-bg",
|
|
708
504
|
value: "linear-gradient(to bottom, #96E13C,#196E05)"
|
|
@@ -744,7 +540,7 @@ const q = { class: "dialog-title" }, G = {
|
|
|
744
540
|
name: "--ssComponent-theme-watermark",
|
|
745
541
|
value: 'url("@/assets/image/watermark.png")'
|
|
746
542
|
}
|
|
747
|
-
],
|
|
543
|
+
], i = [
|
|
748
544
|
{
|
|
749
545
|
name: "--user-avatar-bg",
|
|
750
546
|
value: "linear-gradient(to bottom, #96E13C,#196E05)"
|
|
@@ -786,46 +582,15 @@ const q = { class: "dialog-title" }, G = {
|
|
|
786
582
|
name: "--ssComponent-theme-watermark",
|
|
787
583
|
value: 'url("@/assets/image/watermark.png")'
|
|
788
584
|
}
|
|
789
|
-
], me = [
|
|
790
|
-
{
|
|
791
|
-
name: "--ssRobot-bg",
|
|
792
|
-
value: "#323333"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
name: "--ssRobot-highlight",
|
|
796
|
-
value: "#bac01d"
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
name: "--ssRobot-highlight-rgb",
|
|
800
|
-
value: "186, 192, 29"
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
name: "--ssRobot-scrollbar-thumb",
|
|
804
|
-
value: "#4a4a4a"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
name: "--ssRobot-scrollbar-track",
|
|
808
|
-
value: "#252525"
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
name: "--ssRobot-scrollbar-thumb-hover",
|
|
812
|
-
value: "#5a5a5a"
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
name: "--ssRobot-btn-hover",
|
|
816
|
-
value: "#cad633"
|
|
817
|
-
}
|
|
818
585
|
];
|
|
819
586
|
export {
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
Q as s,
|
|
830
|
-
ie as t
|
|
587
|
+
e as a,
|
|
588
|
+
u as b,
|
|
589
|
+
o as c,
|
|
590
|
+
a as d,
|
|
591
|
+
t as e,
|
|
592
|
+
n as f,
|
|
593
|
+
l as g,
|
|
594
|
+
m as h,
|
|
595
|
+
i as t
|
|
831
596
|
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
|
+
import { S as x } from "./index-CGi0g-VN.js";
|
|
3
|
+
import { W as B } from "./index-XcH1poa0.js";
|
|
4
|
+
import { s as F } from "./index-11kpzK0A.js";
|
|
5
|
+
import { a as y } from "./index-5S_ATziA.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-Bw3sTXPI.js";
|
|
7
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const E = { class: "menu-module" }, M = {
|
|
9
|
+
class: "table-wrap",
|
|
10
|
+
"element-loading-text": "加载中..."
|
|
11
|
+
}, O = { class: "module-dialog-default" }, V = /* @__PURE__ */ C({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(P) {
|
|
14
|
+
const e = k({ ...x }), s = v(null), c = S(I), { configMenu: a } = N(c);
|
|
15
|
+
return D(() => {
|
|
16
|
+
var r;
|
|
17
|
+
e.formatFormData(a.value), b(() => {
|
|
18
|
+
var o, l;
|
|
19
|
+
(l = s.value) == null || l.setCurrentKey((o = a.value) == null ? void 0 : o.path), c.setActiveMenuPath("/平台管理/菜单管理");
|
|
20
|
+
}), a.value && e.getInitialSubStructure((r = a.value) == null ? void 0 : r.path);
|
|
21
|
+
}), (r, o) => {
|
|
22
|
+
const l = i("el-tree"), d = i("el-splitter-panel"), f = i("el-splitter"), g = i("el-button"), h = T("loading");
|
|
23
|
+
return u(), m("div", E, [
|
|
24
|
+
t(f, null, {
|
|
25
|
+
default: n(() => [
|
|
26
|
+
t(d, {
|
|
27
|
+
size: 208,
|
|
28
|
+
class: "tree-wrap",
|
|
29
|
+
min: 200
|
|
30
|
+
}, {
|
|
31
|
+
default: n(() => [
|
|
32
|
+
t(l, {
|
|
33
|
+
ref_key: "treeRef",
|
|
34
|
+
ref: s,
|
|
35
|
+
data: e.treeData,
|
|
36
|
+
"expand-on-click-node": !1,
|
|
37
|
+
"node-key": "path",
|
|
38
|
+
props: { children: "children", label: "label", path: "path" },
|
|
39
|
+
"highlight-current": "",
|
|
40
|
+
"default-expand-all": "",
|
|
41
|
+
"check-on-click-leaf": !1,
|
|
42
|
+
"check-strictly": "",
|
|
43
|
+
onNodeClick: e.clickNodeTrigger
|
|
44
|
+
}, null, 8, ["data", "onNodeClick"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}),
|
|
48
|
+
t(d, { min: 500 }, {
|
|
49
|
+
default: n(() => [
|
|
50
|
+
w((u(), m("div", M, [
|
|
51
|
+
t(B, {
|
|
52
|
+
itemData: e.menuPageData,
|
|
53
|
+
changedContent: e.changedRow,
|
|
54
|
+
operatingForm: e.operatingForm,
|
|
55
|
+
onOnFormChange: e.changeTrigger,
|
|
56
|
+
onChange: e.handleItemDataChange,
|
|
57
|
+
onClickTrigger: e.clickTrigger,
|
|
58
|
+
onOnButtonClick: e.clickRowButton
|
|
59
|
+
}, null, 8, ["itemData", "changedContent", "operatingForm", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
60
|
+
])), [
|
|
61
|
+
[h, e.tableLoading]
|
|
62
|
+
])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}),
|
|
69
|
+
t(F, {
|
|
70
|
+
class: "module-dialog",
|
|
71
|
+
title: e.dialogInfo.title,
|
|
72
|
+
visible: e.dialogInfo.show,
|
|
73
|
+
width: e.dialogInfo.width,
|
|
74
|
+
onBeforeDestroy: e.beforeDialogDestroy
|
|
75
|
+
}, {
|
|
76
|
+
default: n(() => [
|
|
77
|
+
p("div", O, [
|
|
78
|
+
t(y, {
|
|
79
|
+
rowContents: e.renderFormData,
|
|
80
|
+
isEnableWrap: !1,
|
|
81
|
+
isEdit: !0,
|
|
82
|
+
onChange: e.changeTrigger,
|
|
83
|
+
onClickTrigger: e.clickTrigger
|
|
84
|
+
}, null, 8, ["rowContents", "onChange", "onClickTrigger"])
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
footer: n(() => [
|
|
88
|
+
p("div", null, [
|
|
89
|
+
t(g, {
|
|
90
|
+
onClick: e.beforeDialogDestroy,
|
|
91
|
+
id: "themeBorderButton"
|
|
92
|
+
}, {
|
|
93
|
+
default: n(() => o[0] || (o[0] = [
|
|
94
|
+
_("取消")
|
|
95
|
+
])),
|
|
96
|
+
_: 1,
|
|
97
|
+
__: [0]
|
|
98
|
+
}, 8, ["onClick"]),
|
|
99
|
+
t(g, {
|
|
100
|
+
id: "themeButton",
|
|
101
|
+
onClick: e.clickSubmitForm
|
|
102
|
+
}, {
|
|
103
|
+
default: n(() => o[1] || (o[1] = [
|
|
104
|
+
_(" 确认 ")
|
|
105
|
+
])),
|
|
106
|
+
_: 1,
|
|
107
|
+
__: [1]
|
|
108
|
+
}, 8, ["onClick"])
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
113
|
+
]);
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}), G = /* @__PURE__ */ R(V, [["__scopeId", "data-v-74868a06"]]);
|
|
117
|
+
export {
|
|
118
|
+
G as default
|
|
119
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-Cflxz2Xv.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-C2itW9KG.js";
|
|
4
|
+
import "./index-BHtNKL1L.js";
|
|
5
|
+
import { f as E } from "./index-5S_ATziA.js";
|
|
6
|
+
import { b as N, s as U } from "./index-Bw3sTXPI.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import "./index-Ds6m_4JJ.js";
|
|
9
|
+
import "./request-1RPa2bBn.js";
|
|
10
|
+
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(G) {
|
|
14
|
+
const e = k({ ...I }), S = N(), { loginUserInfo: s } = U(S);
|
|
15
|
+
return D(() => {
|
|
16
|
+
var l;
|
|
17
|
+
e.getUserTableHeadersAsync(), e.refreshLoginUserInfoAsync((l = s == null ? void 0 : s.value) == null ? void 0 : l.id), x.value++;
|
|
18
|
+
}), (l, a) => {
|
|
19
|
+
var g, m, _, v, f, b, h;
|
|
20
|
+
const i = B("svg-icon"), c = T("loading");
|
|
21
|
+
return u(), y("div", z, [
|
|
22
|
+
t("div", F, [
|
|
23
|
+
t("div", H, [
|
|
24
|
+
t("div", K, [
|
|
25
|
+
p(o(w, {
|
|
26
|
+
size: 100,
|
|
27
|
+
disabled: e.uploadDisabled,
|
|
28
|
+
userInfo: n(s),
|
|
29
|
+
onSubmitImage: a[0] || (a[0] = (d) => e.submitImageAsync("avatarUrl", d))
|
|
30
|
+
}, null, 8, ["disabled", "userInfo"]), [
|
|
31
|
+
[c, e.avatarLoading]
|
|
32
|
+
])
|
|
33
|
+
])
|
|
34
|
+
]),
|
|
35
|
+
t("div", M, [
|
|
36
|
+
t("div", null, [
|
|
37
|
+
o(i, {
|
|
38
|
+
name: "userAccount",
|
|
39
|
+
style: { width: "15px", height: "15px" }
|
|
40
|
+
}),
|
|
41
|
+
t("span", null, r(((g = n(s)) == null ? void 0 : g.account) || (((m = n(s)) == null ? void 0 : m.姓名) ?? "未知")), 1)
|
|
42
|
+
]),
|
|
43
|
+
t("div", null, [
|
|
44
|
+
o(i, {
|
|
45
|
+
name: "role",
|
|
46
|
+
style: { width: "15px", height: "15px" }
|
|
47
|
+
}),
|
|
48
|
+
t("span", null, r(((_ = n(s)) == null ? void 0 : _.layer) === "superAdmin" ? "超级管理员" : ((v = n(s)) == null ? void 0 : v.角色名称) ?? "未知"), 1)
|
|
49
|
+
]),
|
|
50
|
+
t("div", null, [
|
|
51
|
+
o(i, {
|
|
52
|
+
name: "dept",
|
|
53
|
+
style: { width: "15px", height: "15px" }
|
|
54
|
+
}),
|
|
55
|
+
t("span", null, r(((f = n(s)) == null ? void 0 : f.部门名称) ?? "未知"), 1)
|
|
56
|
+
]),
|
|
57
|
+
t("div", null, [
|
|
58
|
+
o(i, {
|
|
59
|
+
name: "status",
|
|
60
|
+
style: { width: "15px", height: "15px" }
|
|
61
|
+
}),
|
|
62
|
+
t("span", null, r(((b = n(s)) == null ? void 0 : b.layer) === "superAdmin" ? "启用" : ((h = n(s)) == null ? void 0 : h.状态) ?? "未知"), 1)
|
|
63
|
+
])
|
|
64
|
+
]),
|
|
65
|
+
t("div", R, [
|
|
66
|
+
p(o(L, {
|
|
67
|
+
userInfo: n(s),
|
|
68
|
+
itemData: e.itemData,
|
|
69
|
+
onClickSignButton: e.clickSignButton,
|
|
70
|
+
onBeforeDestroy: e.beforeSignDestroy,
|
|
71
|
+
onClickSubmitSign: a[1] || (a[1] = (d) => e.submitImageAsync("signature", d))
|
|
72
|
+
}, null, 8, ["userInfo", "itemData", "onClickSignButton", "onBeforeDestroy"]), [
|
|
73
|
+
[c, e.signatureLoading]
|
|
74
|
+
])
|
|
75
|
+
])
|
|
76
|
+
]),
|
|
77
|
+
p((u(), y("div", j, [
|
|
78
|
+
(u(), A(E, {
|
|
79
|
+
key: n(x),
|
|
80
|
+
tabsContents: e.tabsContents,
|
|
81
|
+
onChangeTrigger: e.changeFormTrigger,
|
|
82
|
+
onClickTrigger: e.clickTabButton
|
|
83
|
+
}, null, 8, ["tabsContents", "onChangeTrigger", "onClickTrigger"]))
|
|
84
|
+
])), [
|
|
85
|
+
[c, e.loading]
|
|
86
|
+
])
|
|
87
|
+
]);
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}), te = /* @__PURE__ */ V(q, [["__scopeId", "data-v-3bdf3f4b"]]);
|
|
91
|
+
export {
|
|
92
|
+
te as default
|
|
93
|
+
};
|