ss-component-new 1.3.695 → 1.3.697

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.
Files changed (85) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/{index-BHtNKL1L.js → index-BKK_dL6t.js} +1 -1
  3. package/dist/{index-ChNfRlIP.js → index-BKoAuSBh.js} +223 -18
  4. package/dist/index-D7JA6c9V.js +53058 -0
  5. package/dist/index-Dh-XsS5U.js +1044 -0
  6. package/dist/index-DpYqhPhA.js +182 -0
  7. package/dist/index-Q71ALCnS.js +213 -0
  8. package/dist/index-z0_YrIG2.js +50 -0
  9. package/dist/menu-BwJj321q.js +5217 -0
  10. package/dist/origin-eVVoOCRz.js +11430 -0
  11. package/dist/ss-component.css +2 -8
  12. package/dist/ss-component.js +28 -64
  13. package/dist/ss-component2.js +15 -75
  14. package/dist/ss-component3.js +1 -1
  15. package/package.json +8 -6
  16. package/public/config.js +1 -1
  17. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  18. package/dist/MTLLoader-fu1majr7.js +0 -657
  19. package/dist/URDFLoader-DG491kO8.js +0 -2299
  20. package/dist/animationData-iKsXhBLL.js +0 -83
  21. package/dist/array-hv-iolw_.js +0 -1045
  22. package/dist/clone-j0I6jGJI.js +0 -8
  23. package/dist/eleIcon-qStmsM1q.js +0 -29
  24. package/dist/fileUtil-UOt_otFo.js +0 -20
  25. package/dist/iconfont-jwZTqjI3.js +0 -1018
  26. package/dist/icons/svg/functionList.svg +0 -1
  27. package/dist/icons/svg/method.svg +0 -1
  28. package/dist/index-11kpzK0A.js +0 -209
  29. package/dist/index-B-aFq64D.js +0 -93
  30. package/dist/index-B344yCJI.js +0 -107
  31. package/dist/index-B4vSRtvT.js +0 -1000
  32. package/dist/index-BFw9okkt.js +0 -63010
  33. package/dist/index-BPMcUKIT.js +0 -103
  34. package/dist/index-BUqAl9Ev.js +0 -20549
  35. package/dist/index-Bcr-OqeW.js +0 -62
  36. package/dist/index-BhKxwXKI.js +0 -83
  37. package/dist/index-BjlQhL90.js +0 -84
  38. package/dist/index-BsvmdFpW.js +0 -627
  39. package/dist/index-C4jPBVPP.js +0 -55
  40. package/dist/index-CDx4Yfw0.js +0 -25280
  41. package/dist/index-CFm8dPNq.js +0 -331
  42. package/dist/index-CJlI35A-.js +0 -48
  43. package/dist/index-CV_jQDcg.js +0 -9
  44. package/dist/index-CWLgH0tL.js +0 -411
  45. package/dist/index-CWOXvFfD.js +0 -44
  46. package/dist/index-CeGa9pc6.js +0 -665
  47. package/dist/index-ClqA3eGZ.js +0 -28484
  48. package/dist/index-D-boFJIv.js +0 -873
  49. package/dist/index-D1pKtwPz.js +0 -119
  50. package/dist/index-DFOOD95R.js +0 -447
  51. package/dist/index-DKx2CTEL.js +0 -572
  52. package/dist/index-DNyQV8z1.js +0 -78
  53. package/dist/index-DUbSVaH3.js +0 -93
  54. package/dist/index-DUbk5m5P.js +0 -99
  55. package/dist/index-DZmXuPt5.js +0 -622
  56. package/dist/index-D_bmYgFA.js +0 -30
  57. package/dist/index-Dyn2r0VE.js +0 -470
  58. package/dist/index-YjBTGOkO.js +0 -61
  59. package/dist/index-bFrEKaq_.js +0 -8989
  60. package/dist/index-hMFaIKW2.js +0 -98
  61. package/dist/index-rlStojTL.js +0 -52
  62. package/dist/index-rr5LPnDh.js +0 -201
  63. package/dist/index-uF-ibwG0.js +0 -9
  64. package/dist/index.vue_vue_type_style_index_0_scoped_83e6d490_lang-Ww36oycE.js +0 -137877
  65. package/dist/isString-0ZglyOfu.js +0 -8
  66. package/dist/localIcon-D5UoFBU5.js +0 -76
  67. package/dist/main-Cx8oyhHy.js +0 -502
  68. package/dist/menuIndex-CwBxge00.js +0 -159
  69. package/dist/request-1RPa2bBn.js +0 -9048
  70. package/dist/threeModel-D0Z3a4Jl.js +0 -1108
  71. package/dist/threePreview-CzIm7J7g.js +0 -2259
  72. package/dist/threeSceneView-BbuwnDk9.js +0 -1290
  73. package/dist/threeSceneViewForCPMPIP-B7EufZpB.js +0 -539
  74. package/dist/threeTrackPathView-B4DWtZ5_.js +0 -620
  75. package/dist/threeViewerHost-CDYOyVIs.js +0 -233
  76. package/dist/urdfTree-CNIS8SgN.js +0 -254
  77. package/dist/workpieceTreePanel-CMBs8GTw.js +0 -559
  78. package/public/icons/svg/functionList.svg +0 -1
  79. package/public/icons/svg/method.svg +0 -1
  80. /package/dist/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  81. /package/dist/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  82. /package/dist/icons/svg/{Update.svg → update.svg} +0 -0
  83. /package/public/icons/svg/{tableClose.svg → table-close.svg} +0 -0
  84. /package/public/icons/svg/{tableExpand.svg → table-expand.svg} +0 -0
  85. /package/public/icons/svg/{Update.svg → update.svg} +0 -0
@@ -1,93 +0,0 @@
1
- import { ref as A, computed as c, onMounted as _ } from "vue";
2
- import { useRouter as C } from "vue-router";
3
- import { u as g, p as h, B as R, c as b, r as S, x as E } from "./index-bFrEKaq_.js";
4
- const l = {
5
- ALLOW: {
6
- value: "允许"
7
- },
8
- DENY: {
9
- value: "不允许"
10
- }
11
- }, M = "系统管理/用户管理", N = "用户列表", D = {
12
- title: "个人中心",
13
- path: "/个人中心",
14
- level: 1,
15
- show: !0,
16
- icon: "个人中心",
17
- carryData: !0,
18
- isPenultimate: !0,
19
- isRouter: !0,
20
- children: [],
21
- childMenus: []
22
- }, K = {
23
- BASE: {
24
- label: "基础信息",
25
- value: "base"
26
- },
27
- RESET_PASSWORD_BY_FACE_RECOGNITION: {
28
- label: "修改密码",
29
- value: "reset-password-by-face-recognition"
30
- }
31
- }, T = () => {
32
- const u = C(), s = g(h), { platId: o, isSuperAdmin: i } = R(), p = (e) => {
33
- const { id: t } = e;
34
- return {
35
- id: t,
36
- password: "",
37
- allow_reset_password: l.DENY.value
38
- };
39
- }, r = A([]), d = c(() => {
40
- var t, a;
41
- const e = (a = (t = r.value) == null ? void 0 : t.find) == null ? void 0 : a.call(t, (n) => n.property_name === N);
42
- return e == null ? void 0 : e.object_id;
43
- }), w = async () => {
44
- var a;
45
- const e = {
46
- pageName: M,
47
- platId: o.value
48
- }, t = await S(e);
49
- return ((a = t == null ? void 0 : t.data) == null ? void 0 : a.result) || [];
50
- }, f = async () => {
51
- const e = await w();
52
- r.value = e || [];
53
- };
54
- _(async () => {
55
- await f();
56
- });
57
- const y = c(() => `content_${d.value}`), m = async (e) => ({
58
- platId: o.value,
59
- changeContents: [
60
- {
61
- tableContents: [e],
62
- tableName: y.value
63
- }
64
- ]
65
- }), I = (e) => {
66
- const { allow_reset_password: t } = e;
67
- return t === l.ALLOW.value;
68
- }, v = async (e) => {
69
- const { id: t, password: a, allow_reset_password: n } = e;
70
- return m({
71
- id: t,
72
- password: a,
73
- allow_reset_password: n
74
- });
75
- }, P = async (e) => {
76
- const t = await v(e);
77
- return await E(t);
78
- };
79
- return {
80
- isSuperAdmin: i,
81
- toPersonalCenter: () => {
82
- const e = b(D);
83
- s.setAsideMenus([e]), s.setActiveMenuPath(e == null ? void 0 : e.path), s.setActiveAsideMenu(e), u.push(e.path);
84
- },
85
- isAllowReplacePassword: I,
86
- initReplacePassword: async (e) => await P(e),
87
- initEditForm: p
88
- };
89
- };
90
- export {
91
- K as t,
92
- T as u
93
- };
@@ -1,99 +0,0 @@
1
- import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
2
- import { g as I } from "./index-YjBTGOkO.js";
3
- import { useRouter as M } from "vue-router";
4
- import { E as g } from "./request-1RPa2bBn.js";
5
- import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
7
- __name: "index",
8
- setup(D) {
9
- const o = f({
10
- tenantKey: ""
11
- }), K = f({
12
- tenantKey: [
13
- { required: !0, message: "请选择模型", trigger: "blur" }
14
- ]
15
- }), m = i(null), y = i([]), k = M(), x = async () => {
16
- var n, t;
17
- try {
18
- const l = await I({
19
- key: {
20
- layer: "superAdmin"
21
- }
22
- });
23
- if (l.data.code === 200) {
24
- const r = (t = (n = l == null ? void 0 : l.data) == null ? void 0 : n.result) == null ? void 0 : t.flatMap((e) => e == null ? void 0 : e.key), p = r == null ? void 0 : r.map((e) => ({
25
- value: e == null ? void 0 : e.systemKey,
26
- label: `【${e == null ? void 0 : e.systemKey}】` + ((e == null ? void 0 : e.name) ?? "未知")
27
- }));
28
- y.value = [...p].sort((e, d) => e.value.localeCompare(d.value));
29
- } else
30
- g.error("获取模型数据响应失败");
31
- } catch {
32
- g.error("获取模型数据失败");
33
- }
34
- };
35
- E(() => {
36
- x();
37
- });
38
- const V = (n) => {
39
- n == null || n.validate((t) => {
40
- t && (console.log("submitForm", o), sessionStorage.setItem("tenantKey", o == null ? void 0 : o.tenantKey), k.push("/login"));
41
- });
42
- };
43
- return (n, t) => {
44
- const l = s("el-option"), r = s("el-select"), p = s("el-form-item"), e = s("el-form"), d = s("el-button");
45
- return _(), v("div", T, [
46
- b("div", $, [
47
- t[3] || (t[3] = b("div", { class: "tenant-title" }, "租户信息", -1)),
48
- u(e, {
49
- model: o,
50
- rules: K,
51
- ref_key: "formRef",
52
- ref: m
53
- }, {
54
- default: c(() => [
55
- u(p, {
56
- label: "",
57
- prop: "tenantKey"
58
- }, {
59
- default: c(() => [
60
- u(r, {
61
- modelValue: o.tenantKey,
62
- "onUpdate:modelValue": t[0] || (t[0] = (a) => o.tenantKey = a),
63
- placeholder: "请选择(可搜索查询)",
64
- filterable: "",
65
- clearable: ""
66
- }, {
67
- default: c(() => [
68
- (_(!0), v(w, null, A(y.value, (a) => (_(), B(l, {
69
- key: a.value,
70
- label: a.label,
71
- value: a.value
72
- }, null, 8, ["label", "value"]))), 128))
73
- ]),
74
- _: 1
75
- }, 8, ["modelValue"])
76
- ]),
77
- _: 1
78
- })
79
- ]),
80
- _: 1
81
- }, 8, ["model", "rules"]),
82
- u(d, {
83
- type: "primary",
84
- onClick: t[1] || (t[1] = (a) => V(m.value))
85
- }, {
86
- default: c(() => t[2] || (t[2] = [
87
- F(" 确认 ")
88
- ])),
89
- _: 1,
90
- __: [2]
91
- })
92
- ])
93
- ]);
94
- };
95
- }
96
- }), z = /* @__PURE__ */ N(q, [["__scopeId", "data-v-5d82b8dd"]]);
97
- export {
98
- z as default
99
- };