ss-component-new 1.3.736 → 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-BeE5LpiD.js +0 -50679
- 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-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-D7CiXPV2.js +0 -634
- 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-LuY_QZlf.js +0 -181
- package/dist/index-boICNvPL.js +0 -4
- 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
package/dist/index-C0HH0uAE.js
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, resolveComponent as d, createElementBlock as p, openBlock as u, Fragment as h, renderList as O, createBlock as s, withCtx as c, createVNode as _, mergeProps as y, ref as v, watch as $, nextTick as H, createElementVNode as k, renderSlot as b, createSlots as R, normalizeStyle as E } from "vue";
|
|
2
|
-
const j = /* @__PURE__ */ g({
|
|
3
|
-
__name: "vxeTableChildHeader",
|
|
4
|
-
props: {
|
|
5
|
-
columns: {
|
|
6
|
-
type: Array,
|
|
7
|
-
default: () => []
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup(m) {
|
|
11
|
-
return (t, i) => {
|
|
12
|
-
const o = d("vxe-colgroup"), a = d("vxe-column");
|
|
13
|
-
return u(!0), p(h, null, O(m.columns, (n, e) => {
|
|
14
|
-
var l;
|
|
15
|
-
return u(), p(h, { key: e }, [
|
|
16
|
-
((l = n.children) == null ? void 0 : l.length) > 0 ? (u(), s(o, {
|
|
17
|
-
key: 0,
|
|
18
|
-
title: n.title
|
|
19
|
-
}, {
|
|
20
|
-
default: c(() => [
|
|
21
|
-
_(C, {
|
|
22
|
-
columns: n.children
|
|
23
|
-
}, null, 8, ["columns"])
|
|
24
|
-
]),
|
|
25
|
-
_: 2
|
|
26
|
-
}, 1032, ["title"])) : (u(), s(a, y({
|
|
27
|
-
key: 1,
|
|
28
|
-
ref_for: !0
|
|
29
|
-
}, n), null, 16))
|
|
30
|
-
], 64);
|
|
31
|
-
}), 128);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}), w = /* @__PURE__ */ g({
|
|
35
|
-
__name: "index",
|
|
36
|
-
props: {
|
|
37
|
-
extra: {
|
|
38
|
-
type: Object,
|
|
39
|
-
default: () => {
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
modelValue: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: ""
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
setup(m) {
|
|
48
|
-
const t = m, i = v(null), o = v(!1), a = v(null);
|
|
49
|
-
return $(
|
|
50
|
-
() => a.value,
|
|
51
|
-
() => {
|
|
52
|
-
H(() => {
|
|
53
|
-
var n, e;
|
|
54
|
-
(e = (n = i.value) == null ? void 0 : n.updatePopper) == null || e.call(n);
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
|
-
{ deep: !0, immediate: !0 }
|
|
58
|
-
), (n, e) => {
|
|
59
|
-
var r, f;
|
|
60
|
-
const l = d("el-popover");
|
|
61
|
-
return u(), s(l, {
|
|
62
|
-
visible: o.value,
|
|
63
|
-
"onUpdate:visible": e[0] || (e[0] = (x) => o.value = x),
|
|
64
|
-
ref_key: "popOverRef",
|
|
65
|
-
ref: i,
|
|
66
|
-
trigger: ((r = t == null ? void 0 : t.extra) == null ? void 0 : r.trigger) ?? "hover",
|
|
67
|
-
placement: ((f = t == null ? void 0 : t.extra) == null ? void 0 : f.placement) ?? "bottom",
|
|
68
|
-
"trigger-keys": []
|
|
69
|
-
}, {
|
|
70
|
-
reference: c(() => [
|
|
71
|
-
k("div", null, [
|
|
72
|
-
b(n.$slots, "reference", {
|
|
73
|
-
ref_key: "referenceRef",
|
|
74
|
-
ref: a
|
|
75
|
-
})
|
|
76
|
-
])
|
|
77
|
-
]),
|
|
78
|
-
default: c(() => [
|
|
79
|
-
k("div", null, [
|
|
80
|
-
b(n.$slots, "content")
|
|
81
|
-
])
|
|
82
|
-
]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 8, ["visible", "trigger", "placement"]);
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
}), C = /* @__PURE__ */ g({
|
|
88
|
-
__name: "vxeTableHeader",
|
|
89
|
-
props: {
|
|
90
|
-
columns: {
|
|
91
|
-
type: Array,
|
|
92
|
-
default: () => []
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
setup(m) {
|
|
96
|
-
return (t, i) => {
|
|
97
|
-
const o = d("vxe-colgroup"), a = d("svg-icon"), n = d("vxe-column");
|
|
98
|
-
return u(!0), p(h, null, O(m.columns, (e, l) => {
|
|
99
|
-
var r;
|
|
100
|
-
return u(), p(h, { key: l }, [
|
|
101
|
-
((r = e.children) == null ? void 0 : r.length) > 0 ? (u(), s(o, {
|
|
102
|
-
key: 0,
|
|
103
|
-
title: e.title
|
|
104
|
-
}, {
|
|
105
|
-
default: c(() => [
|
|
106
|
-
_(j, {
|
|
107
|
-
columns: e.children
|
|
108
|
-
}, null, 8, ["columns"])
|
|
109
|
-
]),
|
|
110
|
-
_: 2
|
|
111
|
-
}, 1032, ["title"])) : (u(), s(n, y({
|
|
112
|
-
key: 1,
|
|
113
|
-
ref_for: !0
|
|
114
|
-
}, e), R({ _: 2 }, [
|
|
115
|
-
e.field === "operate" ? {
|
|
116
|
-
name: "default",
|
|
117
|
-
fn: c(() => [
|
|
118
|
-
_(w, { extra: { trigger: "hover", placement: "left-start" } }, {
|
|
119
|
-
reference: c(() => [
|
|
120
|
-
_(a, {
|
|
121
|
-
name: "more",
|
|
122
|
-
style: E({ width: e == null ? void 0 : e.iconWidth, height: e == null ? void 0 : e.iconHeight })
|
|
123
|
-
}, null, 8, ["style"])
|
|
124
|
-
]),
|
|
125
|
-
_: 2
|
|
126
|
-
}, 1024)
|
|
127
|
-
]),
|
|
128
|
-
key: "0"
|
|
129
|
-
} : void 0,
|
|
130
|
-
e.field === "operate" ? {
|
|
131
|
-
name: "header",
|
|
132
|
-
fn: c(() => [
|
|
133
|
-
_(a, {
|
|
134
|
-
name: e == null ? void 0 : e.icon,
|
|
135
|
-
style: E({ width: e == null ? void 0 : e.iconWidth, height: e == null ? void 0 : e.iconHeight })
|
|
136
|
-
}, null, 8, ["name", "style"])
|
|
137
|
-
]),
|
|
138
|
-
key: "1"
|
|
139
|
-
} : void 0
|
|
140
|
-
]), 1040))
|
|
141
|
-
], 64);
|
|
142
|
-
}), 128);
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
}), S = /* @__PURE__ */ g({
|
|
146
|
-
__name: "index",
|
|
147
|
-
props: {
|
|
148
|
-
itemElement: {
|
|
149
|
-
type: Object,
|
|
150
|
-
default: () => {
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
extra: {
|
|
154
|
-
type: Object,
|
|
155
|
-
default: () => ({})
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
setup(m) {
|
|
159
|
-
const t = m, i = v([]), o = v([]), a = (n, e) => {
|
|
160
|
-
let l = n;
|
|
161
|
-
return l = l == null ? void 0 : l.map((r) => {
|
|
162
|
-
var f;
|
|
163
|
-
return e == null || e.forEach((x) => {
|
|
164
|
-
r[x] = r == null ? void 0 : r.prop;
|
|
165
|
-
}), r.children && ((f = r.children) == null ? void 0 : f.length) > 0 && (r.children = a(r.children, e)), r;
|
|
166
|
-
}), l;
|
|
167
|
-
};
|
|
168
|
-
return $(
|
|
169
|
-
() => t == null ? void 0 : t.itemElement,
|
|
170
|
-
() => {
|
|
171
|
-
var n, e;
|
|
172
|
-
i.value = (n = t == null ? void 0 : t.itemElement) == null ? void 0 : n.columns, o.value = (e = t == null ? void 0 : t.itemElement) == null ? void 0 : e.tableData, i.value = a(i.value, ["field", "title"]);
|
|
173
|
-
},
|
|
174
|
-
{ deep: !0, immediate: !0 }
|
|
175
|
-
), (n, e) => {
|
|
176
|
-
const l = d("vxe-table");
|
|
177
|
-
return u(), s(l, y({ data: o.value }, t == null ? void 0 : t.extra), {
|
|
178
|
-
default: c(() => [
|
|
179
|
-
_(C, { columns: i.value }, null, 8, ["columns"])
|
|
180
|
-
]),
|
|
181
|
-
_: 1
|
|
182
|
-
}, 16, ["data"]);
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
export {
|
|
187
|
-
S as default
|
|
188
|
-
};
|
package/dist/index-C0U2Epeo.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, resolveComponent as a, createBlock as c, openBlock as s, normalizeProps as d, guardReactiveProps as l, withCtx as p, renderSlot as _ } from "vue";
|
|
2
|
-
const f = /* @__PURE__ */ n({
|
|
3
|
-
__name: "index",
|
|
4
|
-
props: {
|
|
5
|
-
extra: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => ({})
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup(t) {
|
|
11
|
-
const e = t;
|
|
12
|
-
return (o, m) => {
|
|
13
|
-
const r = a("vxe-card");
|
|
14
|
-
return s(), c(r, d(l(e == null ? void 0 : e.extra)), {
|
|
15
|
-
default: p(() => [
|
|
16
|
-
_(o.$slots, "default")
|
|
17
|
-
]),
|
|
18
|
-
_: 3
|
|
19
|
-
}, 16);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
f as default
|
|
25
|
-
};
|
package/dist/index-C8GSZPvd.js
DELETED
package/dist/index-CA0CoKiz.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, resolveComponent as a, createBlock as p, openBlock as s, normalizeProps as c, guardReactiveProps as l, withCtx as i, renderSlot as _ } from "vue";
|
|
2
|
-
const u = /* @__PURE__ */ r({
|
|
3
|
-
__name: "index",
|
|
4
|
-
props: {
|
|
5
|
-
extra: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => ({})
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
setup(e) {
|
|
11
|
-
const t = e;
|
|
12
|
-
return (o, d) => {
|
|
13
|
-
const n = a("vxe-link");
|
|
14
|
-
return s(), p(n, c(l(t.extra)), {
|
|
15
|
-
default: i(() => [
|
|
16
|
-
_(o.$slots, "default")
|
|
17
|
-
]),
|
|
18
|
-
_: 3
|
|
19
|
-
}, 16);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
u as default
|
|
25
|
-
};
|
package/dist/index-CHjBtkir.js
DELETED
package/dist/index-CJP9hdx4.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, ref as b, watch as v, resolveComponent as g, createBlock as p, openBlock as l, mergeProps as w, withCtx as C, createElementVNode as i, createElementBlock as a, Fragment as s, renderList as f, toDisplayString as y } from "vue";
|
|
2
|
-
const B = /* @__PURE__ */ x({
|
|
3
|
-
__name: "index",
|
|
4
|
-
props: {
|
|
5
|
-
itemElement: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => {
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
extra: {
|
|
11
|
-
type: Object,
|
|
12
|
-
default: () => ({})
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(k) {
|
|
16
|
-
const e = k, h = b([]), _ = b([]);
|
|
17
|
-
return v(
|
|
18
|
-
() => e == null ? void 0 : e.itemElement,
|
|
19
|
-
() => {
|
|
20
|
-
var m, u, t;
|
|
21
|
-
let o = [];
|
|
22
|
-
h.value = (m = e == null ? void 0 : e.itemElement) == null ? void 0 : m.columns, (t = (u = e == null ? void 0 : e.itemElement) == null ? void 0 : u.tableData) == null || t.forEach((n) => {
|
|
23
|
-
var c, E;
|
|
24
|
-
let r = [];
|
|
25
|
-
(E = (c = e == null ? void 0 : e.itemElement) == null ? void 0 : c.columns) == null || E.forEach((d) => {
|
|
26
|
-
r.push(n == null ? void 0 : n[d == null ? void 0 : d.prop]);
|
|
27
|
-
}), o.push(r);
|
|
28
|
-
}), _.value = o;
|
|
29
|
-
},
|
|
30
|
-
{ deep: !0, immediate: !0 }
|
|
31
|
-
), (o, m) => {
|
|
32
|
-
const u = g("n-table");
|
|
33
|
-
return l(), p(u, w(e.extra, { "single-column": "" }), {
|
|
34
|
-
default: C(() => [
|
|
35
|
-
i("thead", null, [
|
|
36
|
-
i("tr", null, [
|
|
37
|
-
(l(!0), a(s, null, f(h.value, (t, n) => (l(), a("th", { key: n }, y(t == null ? void 0 : t.label), 1))), 128))
|
|
38
|
-
])
|
|
39
|
-
]),
|
|
40
|
-
i("tbody", null, [
|
|
41
|
-
(l(!0), a(s, null, f(_.value, (t, n) => (l(), a("tr", { key: n }, [
|
|
42
|
-
(l(!0), a(s, null, f(t, (r, c) => (l(), a("td", { key: c }, y(r), 1))), 128))
|
|
43
|
-
]))), 128))
|
|
44
|
-
])
|
|
45
|
-
]),
|
|
46
|
-
_: 1
|
|
47
|
-
}, 16);
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
export {
|
|
52
|
-
B as default
|
|
53
|
-
};
|
package/dist/index-COeMUCuq.js
DELETED
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import { defineComponent as P, ref as R, computed as W, watch as m, nextTick as z, onMounted as I, onUnmounted as U, resolveComponent as N, createElementBlock as S, openBlock as g, createBlock as V } from "vue";
|
|
2
|
-
import { u as G, g as $, v as q } from "./platform-CPTootse.js";
|
|
3
|
-
import { p as k, s as _, u as J } from "./menu-ClNHLze7.js";
|
|
4
|
-
import { l as Q } from "./index-DbUt70zC.js";
|
|
5
|
-
import { useRouter as X } from "vue-router";
|
|
6
|
-
import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
const Z = { key: 0 }, p = /* @__PURE__ */ P({
|
|
8
|
-
__name: "index",
|
|
9
|
-
props: {
|
|
10
|
-
windowConfig: {
|
|
11
|
-
type: Object,
|
|
12
|
-
default: () => {
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
systemInfo: {
|
|
16
|
-
type: Object,
|
|
17
|
-
default: () => {
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
systemKey: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
pathContent: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
},
|
|
28
|
-
mode: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: "view"
|
|
31
|
-
},
|
|
32
|
-
content: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: ""
|
|
35
|
-
},
|
|
36
|
-
jsonContents: {
|
|
37
|
-
type: Array,
|
|
38
|
-
default: () => []
|
|
39
|
-
},
|
|
40
|
-
showButton: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: !1
|
|
43
|
-
},
|
|
44
|
-
nodeDev: {
|
|
45
|
-
type: String,
|
|
46
|
-
default: ""
|
|
47
|
-
},
|
|
48
|
-
pageKey: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: ""
|
|
51
|
-
},
|
|
52
|
-
interfaceContent: {
|
|
53
|
-
type: Array,
|
|
54
|
-
default: () => []
|
|
55
|
-
},
|
|
56
|
-
loginContent: {
|
|
57
|
-
type: Object,
|
|
58
|
-
default: () => {
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
menuFiles: {
|
|
62
|
-
type: Array,
|
|
63
|
-
default: () => []
|
|
64
|
-
},
|
|
65
|
-
workspaceHistoryData: {
|
|
66
|
-
type: Array,
|
|
67
|
-
default: () => []
|
|
68
|
-
},
|
|
69
|
-
// 用于打开/拣选工作区
|
|
70
|
-
workspaceInfo: {
|
|
71
|
-
type: Object,
|
|
72
|
-
default: () => []
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
emits: [
|
|
76
|
-
"buildContent",
|
|
77
|
-
"openThreeBuild",
|
|
78
|
-
"threeData",
|
|
79
|
-
"setLoginInfo",
|
|
80
|
-
"projectLogin",
|
|
81
|
-
"updateApiUrl",
|
|
82
|
-
"clearFileContent",
|
|
83
|
-
"systemContent",
|
|
84
|
-
"getMenuPathValue",
|
|
85
|
-
"executeWorkspace",
|
|
86
|
-
"updateVersion"
|
|
87
|
-
],
|
|
88
|
-
setup(d, { emit: L }) {
|
|
89
|
-
const D = X(), u = G(k), { loginUserInfo: s } = _(u), l = J(k), C = R(!0), { activeMenuPath: h } = _(l), e = d, o = L, A = W(() => {
|
|
90
|
-
var t, n;
|
|
91
|
-
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.accounttype) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
92
|
-
}), F = (t) => {
|
|
93
|
-
o("systemContent", t);
|
|
94
|
-
}, E = () => {
|
|
95
|
-
o("updateVersion");
|
|
96
|
-
}, j = () => {
|
|
97
|
-
o("clearFileContent");
|
|
98
|
-
};
|
|
99
|
-
m(
|
|
100
|
-
() => e == null ? void 0 : e.menuFiles,
|
|
101
|
-
() => {
|
|
102
|
-
var t;
|
|
103
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && l.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
104
|
-
},
|
|
105
|
-
{ deep: !0, immediate: !0 }
|
|
106
|
-
), m(
|
|
107
|
-
() => h.value,
|
|
108
|
-
async () => {
|
|
109
|
-
var n, i, c;
|
|
110
|
-
if (!((n = s == null ? void 0 : s.value) != null && n.plat_id)) return;
|
|
111
|
-
let t = await $({
|
|
112
|
-
platId: parseInt((i = s == null ? void 0 : s.value) == null ? void 0 : i.plat_id)
|
|
113
|
-
});
|
|
114
|
-
t = (c = t == null ? void 0 : t.data) == null ? void 0 : c.result, l.setDataFiles(t), o("getMenuPathValue", h.value);
|
|
115
|
-
},
|
|
116
|
-
{ deep: !0, immediate: !0 }
|
|
117
|
-
), m(
|
|
118
|
-
() => e == null ? void 0 : e.loginContent,
|
|
119
|
-
async () => {
|
|
120
|
-
C.value = !0;
|
|
121
|
-
let t = e == null ? void 0 : e.loginContent;
|
|
122
|
-
if (t != null && t.account && (t != null && t.password) && (await Q(t), status)) {
|
|
123
|
-
let n = await q();
|
|
124
|
-
o("systemContent", n == null ? void 0 : n.allMenuContents), D.push("/"), l.setHasClickEditComp(!1);
|
|
125
|
-
}
|
|
126
|
-
C.value = !1, await z();
|
|
127
|
-
},
|
|
128
|
-
{ deep: !0, immediate: !0 }
|
|
129
|
-
);
|
|
130
|
-
const B = (t) => {
|
|
131
|
-
o("projectLogin", t);
|
|
132
|
-
}, T = () => {
|
|
133
|
-
o("projectLogin", "");
|
|
134
|
-
};
|
|
135
|
-
m(
|
|
136
|
-
() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo],
|
|
137
|
-
async ([t, n]) => {
|
|
138
|
-
u.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
139
|
-
},
|
|
140
|
-
{ immediate: !0 }
|
|
141
|
-
), m(
|
|
142
|
-
() => e == null ? void 0 : e.interfaceContent,
|
|
143
|
-
() => {
|
|
144
|
-
var i, c, r, y, f;
|
|
145
|
-
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((i = e == null ? void 0 : e.interfaceContent) == null ? void 0 : i.length) === 0)
|
|
146
|
-
return;
|
|
147
|
-
let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((a) => a == null ? void 0 : a.includes("VITE_API_NEW_URL")), n = (r = e == null ? void 0 : e.interfaceContent) == null ? void 0 : r.find((a) => a == null ? void 0 : a.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
148
|
-
n = (y = n == null ? void 0 : n.split("=")) == null ? void 0 : y[1], n = n == null ? void 0 : n.trim(), t = (f = t == null ? void 0 : t.split("=")) == null ? void 0 : f[1], t = t == null ? void 0 : t.trim(), u.setExtraUrl(n ?? ""), u.setSystemUrl(t ?? "");
|
|
149
|
-
},
|
|
150
|
-
{ immediate: !0, deep: !0 }
|
|
151
|
-
), I(async () => {
|
|
152
|
-
e.systemInfo && u.setSystemInfo(e.systemInfo);
|
|
153
|
-
});
|
|
154
|
-
const x = () => {
|
|
155
|
-
o("buildContent");
|
|
156
|
-
}, K = () => {
|
|
157
|
-
o("setLoginInfo");
|
|
158
|
-
}, M = (t) => {
|
|
159
|
-
o("openThreeBuild", t);
|
|
160
|
-
}, b = (t) => {
|
|
161
|
-
o("threeData", t);
|
|
162
|
-
}, H = (t) => {
|
|
163
|
-
o("updateApiUrl", t);
|
|
164
|
-
}, O = (t) => {
|
|
165
|
-
o("executeWorkspace", t);
|
|
166
|
-
}, w = () => {
|
|
167
|
-
var f, a, v;
|
|
168
|
-
const t = e != null && e.windowConfig ? (f = e == null ? void 0 : e.windowConfig) == null ? void 0 : f.width : window.innerWidth, n = (a = e == null ? void 0 : e.windowConfig) != null && a.height ? (v = e == null ? void 0 : e.windowConfig) == null ? void 0 : v.height : window.innerHeight;
|
|
169
|
-
l.setSystemHeight(n);
|
|
170
|
-
const i = 1920, c = 16, r = t / i, y = c * r;
|
|
171
|
-
document.documentElement.style.fontSize = `${y}px`;
|
|
172
|
-
};
|
|
173
|
-
return I(() => {
|
|
174
|
-
w(), window.addEventListener("resize", w);
|
|
175
|
-
}), U(() => {
|
|
176
|
-
window.removeEventListener("resize", w);
|
|
177
|
-
}), (t, n) => {
|
|
178
|
-
const i = N("router-view");
|
|
179
|
-
return g(), S("div", null, [
|
|
180
|
-
C.value ? (g(), S("div", Z)) : (g(), V(i, {
|
|
181
|
-
key: 1,
|
|
182
|
-
mode: e == null ? void 0 : e.mode,
|
|
183
|
-
content: e == null ? void 0 : e.content,
|
|
184
|
-
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
185
|
-
pathContent: e == null ? void 0 : e.pathContent,
|
|
186
|
-
showButton: A.value,
|
|
187
|
-
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
188
|
-
windowConfig: d.windowConfig,
|
|
189
|
-
systemInfo: d.systemInfo,
|
|
190
|
-
"old-systemKey": d.systemKey,
|
|
191
|
-
onBuildContent: x,
|
|
192
|
-
onProjectLogin: B,
|
|
193
|
-
onClearLogin: T,
|
|
194
|
-
onUpdateApiUrl: H,
|
|
195
|
-
onOpenThreeBuild: M,
|
|
196
|
-
pageKey: d.pageKey,
|
|
197
|
-
onThreeData: b,
|
|
198
|
-
onSetLoginInfo: K,
|
|
199
|
-
loginContent: e == null ? void 0 : e.loginContent,
|
|
200
|
-
onUpdateVersion: E,
|
|
201
|
-
onClearFileContent: j,
|
|
202
|
-
onSystemContent: F,
|
|
203
|
-
onExecuteWorkspace: O,
|
|
204
|
-
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
205
|
-
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
206
|
-
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
207
|
-
]);
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
}), se = /* @__PURE__ */ Y(p, [["__scopeId", "data-v-0b0d7544"]]);
|
|
211
|
-
export {
|
|
212
|
-
se as default
|
|
213
|
-
};
|
package/dist/index-COxVr3MC.js
DELETED
package/dist/index-CXoQiaXz.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, ref as u, resolveComponent as d, createBlock as m, openBlock as p, mergeProps as c } from "vue";
|
|
2
|
-
const f = /* @__PURE__ */ r({
|
|
3
|
-
__name: "index",
|
|
4
|
-
props: {
|
|
5
|
-
extra: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => ({})
|
|
8
|
-
},
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: String,
|
|
11
|
-
default: ""
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
setup(l) {
|
|
15
|
-
const e = l, t = u(e == null ? void 0 : e.modelValue);
|
|
16
|
-
return (s, o) => {
|
|
17
|
-
const a = d("vxe-date-picker");
|
|
18
|
-
return p(), m(a, c(e.extra, {
|
|
19
|
-
modelValue: t.value,
|
|
20
|
-
"onUpdate:modelValue": o[0] || (o[0] = (n) => t.value = n)
|
|
21
|
-
}), null, 16, ["modelValue"]);
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
f as default
|
|
27
|
-
};
|
package/dist/index-CdanNGTM.js
DELETED