ss-component-new 1.3.699 → 1.3.701

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 (84) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/MTLLoader-DC5Di-ql.js +657 -0
  3. package/dist/URDFLoader-BqfNCQLH.js +2299 -0
  4. package/dist/animationData-BNQm3jIu.js +83 -0
  5. package/dist/array-BXz16Xf3.js +1045 -0
  6. package/dist/clone-Dp_gc9ll.js +8 -0
  7. package/dist/config.js +1 -1
  8. package/dist/eleIcon-qStmsM1q.js +29 -0
  9. package/dist/fileUtil-UOt_otFo.js +20 -0
  10. package/dist/iconfont-B2Moc_Mi.js +1026 -0
  11. package/dist/icons/svg/functionList.svg +1 -0
  12. package/dist/icons/svg/method.svg +1 -0
  13. package/dist/index-11kpzK0A.js +209 -0
  14. package/dist/index-B0H3C7WG.js +103 -0
  15. package/dist/index-B3OyTnhN.js +119 -0
  16. package/dist/{index-BKK_dL6t.js → index-BHtNKL1L.js} +1 -1
  17. package/dist/index-Bbwy0rRx.js +411 -0
  18. package/dist/index-BbyrFzEO.js +93 -0
  19. package/dist/index-Bk_HGMFV.js +20578 -0
  20. package/dist/index-BooO2Bml.js +78 -0
  21. package/dist/index-BpgixwCC.js +83 -0
  22. package/dist/index-Bw3sTXPI.js +8993 -0
  23. package/dist/index-Bz8vSCfN.js +84 -0
  24. package/dist/index-CAm10a_p.js +107 -0
  25. package/dist/index-CGVmScXF.js +470 -0
  26. package/dist/index-CGi0g-VN.js +627 -0
  27. package/dist/index-CTD1ZbEQ.js +873 -0
  28. package/dist/index-CV_jQDcg.js +9 -0
  29. package/dist/index-CWOXvFfD.js +44 -0
  30. package/dist/{index-BKoAuSBh.js → index-ChNfRlIP.js} +18 -223
  31. package/dist/index-Ch_Lf81f.js +63004 -0
  32. package/dist/index-CjsQSzV6.js +572 -0
  33. package/dist/index-Ck_oTi7E.js +25297 -0
  34. package/dist/index-CydXQbtX.js +622 -0
  35. package/dist/index-DAJxL40d.js +55 -0
  36. package/dist/index-DBsEVMiM.js +201 -0
  37. package/dist/index-DG4hoOWt.js +665 -0
  38. package/dist/index-DUbk5m5P.js +99 -0
  39. package/dist/index-Ds6m_4JJ.js +28500 -0
  40. package/dist/index-DupTchhl.js +1000 -0
  41. package/dist/index-DyCq_odP.js +331 -0
  42. package/dist/index-DynGQqC3.js +93 -0
  43. package/dist/index-UB_oCdlo.js +62 -0
  44. package/dist/index-YjBTGOkO.js +61 -0
  45. package/dist/index-ib1DMe8v.js +98 -0
  46. package/dist/index-jbOjjV0j.js +447 -0
  47. package/dist/index-ke-XsSa7.js +30 -0
  48. package/dist/index-lPVVum78.js +48 -0
  49. package/dist/index-rlStojTL.js +52 -0
  50. package/dist/index-uF-ibwG0.js +9 -0
  51. package/dist/{index-DzkvwqGK.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D9DRZPyb.js} +113595 -105662
  52. package/dist/isString-0ZglyOfu.js +8 -0
  53. package/dist/localIcon-D5UoFBU5.js +76 -0
  54. package/dist/main-1uytY6Nj.js +502 -0
  55. package/dist/menuIndex-BB0uVPRX.js +159 -0
  56. package/dist/request-1RPa2bBn.js +9048 -0
  57. package/dist/ss-component.css +8 -2
  58. package/dist/ss-component.js +64 -28
  59. package/dist/ss-component2.js +75 -15
  60. package/dist/ss-component3.js +1 -1
  61. package/dist/threeModel-BEmaHjYZ.js +1109 -0
  62. package/dist/threePreview-D7ncVQLV.js +2810 -0
  63. package/dist/threeSceneView-ClvW-1FZ.js +1290 -0
  64. package/dist/threeSceneViewForCPMPIP-D7zwZFBW.js +539 -0
  65. package/dist/threeTrackPathView-VySiazeH.js +620 -0
  66. package/dist/threeViewerHost-sD-GHVTI.js +233 -0
  67. package/dist/urdfTree-B-7DfE39.js +254 -0
  68. package/dist/workpieceTreePanel-DB06G34P.js +559 -0
  69. package/package.json +6 -8
  70. package/public/config.js +1 -1
  71. package/public/icons/svg/functionList.svg +1 -0
  72. package/public/icons/svg/method.svg +1 -0
  73. package/dist/index-BqyJXXmI.js +0 -213
  74. package/dist/index-CTEz1Xq6.js +0 -182
  75. package/dist/index-CrIVk8ml.js +0 -1044
  76. package/dist/index-D1ebCzlM.js +0 -50
  77. package/dist/menu-ZnhLgjWw.js +0 -5218
  78. package/dist/origin-Bs605dr-.js +0 -11468
  79. /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
  80. /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  81. /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
  82. /package/public/icons/svg/{update.svg → Update.svg} +0 -0
  83. /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
  84. /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1780642425297" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2833" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M384 806.4l275.2-275.2-57.6-57.6-19.2 19.2c-12.8 12.8-38.4 12.8-51.2 0-12.8-12.8-12.8-38.4 0-51.2l19.2-19.2c25.6-25.6 64-25.6 89.6 0l64 70.4c25.6 25.6 25.6 64 0 89.6l-275.2 275.2c6.4 12.8 12.8 32 12.8 44.8 0 51.2-44.8 96-96 96S256 947.2 256 896s44.8-96 96-96c12.8 0 25.6 0 32 6.4z m275.2-563.2L384 518.4l57.6 57.6 19.2-19.2c12.8-12.8 38.4-12.8 51.2 0 12.8 12.8 12.8 38.4 0 51.2l-25.6 25.6c-25.6 25.6-64 25.6-89.6 0l-64-70.4c-25.6-25.6-25.6-64 0-89.6L614.4 192c-6.4-12.8-6.4-19.2-6.4-32 0-51.2 44.8-96 96-96s96 44.8 96 96S755.2 256 704 256c-19.2 0-32-6.4-44.8-12.8z m198.4 275.2l-128-128c-12.8-12.8-12.8-38.4 0-51.2 12.8-12.8 38.4-12.8 51.2 0l128 128c12.8 12.8 19.2 32 19.2 51.2 0 19.2-6.4 38.4-19.2 51.2l-128 128c-12.8 12.8-38.4 12.8-51.2 0-12.8-12.8-12.8-38.4 0-51.2l128-128z m-691.2 0l128 128c12.8 12.8 12.8 38.4 0 51.2-12.8 12.8-38.4 12.8-51.2 0l-128-128c-12.8-12.8-19.2-32-19.2-51.2 0-19.2 6.4-38.4 19.2-51.2l128-128c12.8-12.8 38.4-12.8 51.2 0 12.8 12.8 12.8 38.4 0 51.2l-128 128z" p-id="2834"></path></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1782276995812" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4176" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M469.745309 0a469.745309 469.745309 0 1 0 0 939.490619A469.745309 469.745309 0 0 0 469.809272 0z m0 81.872821a387.872488 387.872488 0 1 1 0 775.744977 387.872488 387.872488 0 0 1 0-775.744977z" fill="#444444" p-id="4177"></path><path d="M753.485804 753.485804a40.93641 40.93641 0 0 1 55.264154-2.4306l2.558525 2.4306 200.204633 200.076706a40.93641 40.93641 0 0 1-55.328118 60.317242l-2.622488-2.4306-200.140669-200.076705a40.93641 40.93641 0 0 1 0-57.886643z" fill="#444444" p-id="4178"></path><path d="M266.086668 552.64154c15.351154 0 29.423045 8.571061 36.45899 22.19521l-1.982857-2.878341c45.733646 70.487382 115.005728 111.295866 198.477627 113.598539l7.419724 0.063963V767.557695c-112.575129 0-208.327951-53.217334-270.308235-144.556699l-4.28553-6.396314 0.191889-0.127927a40.93641 40.93641 0 0 1 34.028392-63.771252z" p-id="4179"></path></svg>
@@ -0,0 +1,209 @@
1
+ import { ref as L, reactive as O, watch as X, resolveComponent as Y, createBlock as P, openBlock as s, normalizeStyle as U, withCtx as S, renderSlot as B, createElementBlock as a, createCommentVNode as r, withModifiers as u, createElementVNode as j, toDisplayString as q } from "vue";
2
+ /* empty css */
3
+ import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ const F = { class: "dialog-title" }, G = {
5
+ __name: "index",
6
+ props: {
7
+ title: {
8
+ type: String,
9
+ default: ""
10
+ },
11
+ dialogWidth: {
12
+ type: [Number, String],
13
+ default: 600
14
+ },
15
+ visible: {
16
+ type: Boolean,
17
+ default: !1
18
+ },
19
+ fullScreen: {
20
+ type: Boolean,
21
+ default: !1
22
+ },
23
+ // 仅在 resizable=true 时生效
24
+ dialogHeight: {
25
+ type: [Number, String],
26
+ default: 600
27
+ },
28
+ // 仅在 resizable=true 时生效
29
+ minWidth: {
30
+ type: [Number, String],
31
+ default: 400
32
+ },
33
+ // 仅在 resizable=true 时生效
34
+ minHeight: {
35
+ type: [Number, String],
36
+ default: 300
37
+ },
38
+ showClose: {
39
+ type: Boolean,
40
+ default: !0
41
+ },
42
+ closeOnClickModal: {
43
+ type: Boolean,
44
+ default: !0
45
+ },
46
+ closeOnPressEscape: {
47
+ type: Boolean,
48
+ default: !0
49
+ },
50
+ modalClass: {
51
+ type: String,
52
+ default: ""
53
+ },
54
+ alignCenter: {
55
+ type: Boolean,
56
+ default: !1
57
+ },
58
+ appendToBody: {
59
+ type: Boolean,
60
+ default: !0
61
+ },
62
+ zIndex: {
63
+ type: Number,
64
+ default: void 0
65
+ },
66
+ // 是否允许四边拖拽改变弹窗大小
67
+ resizable: {
68
+ type: Boolean,
69
+ default: !1
70
+ }
71
+ },
72
+ emits: ["beforeDestroy"],
73
+ setup(w, { emit: $ }) {
74
+ const e = w, T = $, v = L(!1), o = O({
75
+ width: void 0,
76
+ height: void 0,
77
+ minWidth: void 0,
78
+ minHeight: void 0
79
+ });
80
+ let W = !1, m = "", C = 0, E = 0, h = 0, y = 0, p = 0, z = 0, x = null;
81
+ const D = (i) => {
82
+ var n, l;
83
+ const t = (l = (n = i == null ? void 0 : i.target) == null ? void 0 : n.closest) == null ? void 0 : l.call(n, ".el-dialog");
84
+ return t || null;
85
+ }, I = (i) => {
86
+ if (!i || i === "none")
87
+ return { tx: 0, ty: 0 };
88
+ let t = i.match(/matrix\(([^)]+)\)/);
89
+ if (t) {
90
+ const n = t[1].split(",").map((l) => Number(l.trim()));
91
+ return { tx: (n == null ? void 0 : n[4]) || 0, ty: (n == null ? void 0 : n[5]) || 0 };
92
+ }
93
+ if (t = i.match(/matrix3d\(([^)]+)\)/), t) {
94
+ const n = t[1].split(",").map((l) => Number(l.trim()));
95
+ return { tx: (n == null ? void 0 : n[12]) || 0, ty: (n == null ? void 0 : n[13]) || 0 };
96
+ }
97
+ return t = i.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 };
98
+ }, R = (i, t, n) => {
99
+ i.style.transform = `translate(${t}px, ${n}px)`;
100
+ }, d = (i, t) => {
101
+ if (!e.resizable) return;
102
+ const n = D(i);
103
+ if (!n) return;
104
+ x = n, W = !0, m = t, C = i.clientX, E = i.clientY;
105
+ const l = n.getBoundingClientRect();
106
+ h = l.width, y = l.height;
107
+ const f = window.getComputedStyle(n), { tx: g, ty: c } = I(f.transform);
108
+ p = g, z = c, document.addEventListener("mousemove", M), document.addEventListener("mouseup", N);
109
+ }, M = (i) => {
110
+ if (!W || !x) return;
111
+ const t = i.clientX - C, n = i.clientY - E, l = parseInt(o.minWidth || "0", 10) || 0, f = parseInt(o.minHeight || "0", 10) || 0;
112
+ let g = h, c = y, H = p, k = z;
113
+ if (m.includes("right") && (g = Math.max(l, h + t)), m.includes("bottom") && (c = Math.max(f, y + n)), m.includes("left")) {
114
+ const b = h - t;
115
+ b < l ? (g = l, H = p + (h - l)) : (g = b, H = p + t);
116
+ }
117
+ if (m.includes("top")) {
118
+ const b = y - n;
119
+ b < f ? (c = f, k = z + (y - f)) : (c = b, k = z + n);
120
+ }
121
+ o.width = `${g}px`, o.height = `${c}px`, R(x, H, k);
122
+ }, N = () => {
123
+ W = !1, m = "", x = null, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", N);
124
+ }, V = () => {
125
+ T("beforeDestroy");
126
+ };
127
+ return X(
128
+ () => e == null ? void 0 : e.visible,
129
+ (i) => {
130
+ v.value = i, i && (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));
131
+ },
132
+ { deep: !0, immediate: !0 }
133
+ ), (i, t) => {
134
+ const n = Y("el-dialog");
135
+ return s(), P(n, {
136
+ modelValue: v.value,
137
+ "onUpdate:modelValue": t[8] || (t[8] = (l) => v.value = l),
138
+ width: e == null ? void 0 : e.dialogWidth,
139
+ "before-close": V,
140
+ draggable: "",
141
+ style: U(e != null && e.resizable ? o : void 0),
142
+ fullscreen: e == null ? void 0 : e.fullScreen,
143
+ "destroy-on-close": !0,
144
+ "show-close": e == null ? void 0 : e.showClose,
145
+ "close-on-click-modal": e == null ? void 0 : e.closeOnClickModal,
146
+ "modal-class": w.modalClass,
147
+ "close-on-press-escape": e == null ? void 0 : e.closeOnPressEscape,
148
+ "align-center": e == null ? void 0 : e.alignCenter,
149
+ "append-to-body": w.appendToBody,
150
+ "z-index": e == null ? void 0 : e.zIndex
151
+ }, {
152
+ header: S(() => [
153
+ j("div", F, q(e == null ? void 0 : e.title), 1),
154
+ B(i.$slots, "header", {}, void 0, !0)
155
+ ]),
156
+ footer: S(() => [
157
+ B(i.$slots, "footer", {}, void 0, !0)
158
+ ]),
159
+ default: S(() => [
160
+ B(i.$slots, "default", {}, void 0, !0),
161
+ e.resizable ? (s(), a("div", {
162
+ key: 0,
163
+ class: "resizable-handle top",
164
+ onMousedown: t[0] || (t[0] = u((l) => d(l, "top"), ["stop"]))
165
+ }, null, 32)) : r("", !0),
166
+ e.resizable ? (s(), a("div", {
167
+ key: 1,
168
+ class: "resizable-handle right",
169
+ onMousedown: t[1] || (t[1] = u((l) => d(l, "right"), ["stop"]))
170
+ }, null, 32)) : r("", !0),
171
+ e.resizable ? (s(), a("div", {
172
+ key: 2,
173
+ class: "resizable-handle bottom",
174
+ onMousedown: t[2] || (t[2] = u((l) => d(l, "bottom"), ["stop"]))
175
+ }, null, 32)) : r("", !0),
176
+ e.resizable ? (s(), a("div", {
177
+ key: 3,
178
+ class: "resizable-handle left",
179
+ onMousedown: t[3] || (t[3] = u((l) => d(l, "left"), ["stop"]))
180
+ }, null, 32)) : r("", !0),
181
+ e.resizable ? (s(), a("div", {
182
+ key: 4,
183
+ class: "resizable-handle top-left",
184
+ onMousedown: t[4] || (t[4] = u((l) => d(l, "top-left"), ["stop"]))
185
+ }, null, 32)) : r("", !0),
186
+ e.resizable ? (s(), a("div", {
187
+ key: 5,
188
+ class: "resizable-handle top-right",
189
+ onMousedown: t[5] || (t[5] = u((l) => d(l, "top-right"), ["stop"]))
190
+ }, null, 32)) : r("", !0),
191
+ e.resizable ? (s(), a("div", {
192
+ key: 6,
193
+ class: "resizable-handle bottom-left",
194
+ onMousedown: t[6] || (t[6] = u((l) => d(l, "bottom-left"), ["stop"]))
195
+ }, null, 32)) : r("", !0),
196
+ e.resizable ? (s(), a("div", {
197
+ key: 7,
198
+ class: "resizable-handle bottom-right",
199
+ onMousedown: t[7] || (t[7] = u((l) => d(l, "bottom-right"), ["stop"]))
200
+ }, null, 32)) : r("", !0)
201
+ ]),
202
+ _: 3
203
+ }, 8, ["modelValue", "width", "style", "fullscreen", "show-close", "close-on-click-modal", "modal-class", "close-on-press-escape", "align-center", "append-to-body", "z-index"]);
204
+ };
205
+ }
206
+ }, Z = /* @__PURE__ */ A(G, [["__scopeId", "data-v-16b3a6b2"]]);
207
+ export {
208
+ Z as s
209
+ };
@@ -0,0 +1,103 @@
1
+ import { ref as _, computed as A } from "vue";
2
+ import { a as I, g as M } from "./index-YjBTGOkO.js";
3
+ import { E as N } from "./index-Bw3sTXPI.js";
4
+ import { E as s } from "./request-1RPa2bBn.js";
5
+ const K = _([]), T = A(() => [
6
+ {
7
+ key: "extraButton",
8
+ contents: [
9
+ {
10
+ label: "清空",
11
+ background: "#f56c6c",
12
+ color: "#ffffff"
13
+ }
14
+ ]
15
+ },
16
+ {
17
+ key: "rowButton",
18
+ contents: []
19
+ },
20
+ {
21
+ key: "header",
22
+ contents: [
23
+ {
24
+ label: "账号",
25
+ prop: "account",
26
+ filterable: !0
27
+ },
28
+ {
29
+ label: "姓名",
30
+ prop: "userName",
31
+ filterable: !0
32
+ },
33
+ {
34
+ label: "时间",
35
+ prop: "timeStamp",
36
+ sortable: !0
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ key: "tableContents",
42
+ contents: K.value
43
+ }
44
+ ]), j = (l, n, r) => {
45
+ l === "清空" && N.confirm("是否确认清空所有日志", "", {
46
+ confirmButtonText: "确认",
47
+ cancelButtonText: "取消",
48
+ type: "warning"
49
+ }).then(async () => {
50
+ var e, o;
51
+ try {
52
+ const a = await I({ ids: n });
53
+ ((e = a == null ? void 0 : a.data) == null ? void 0 : e.code) === 200 ? (s.success("清空日志成功"), r(!0)) : (s.error(((o = a == null ? void 0 : a.data) == null ? void 0 : o.message) ?? "清空请求响应失败"), r(!1));
54
+ } catch {
55
+ s.error("清空操作处理失败"), r(!1);
56
+ }
57
+ }).catch(() => {
58
+ r(!1);
59
+ });
60
+ }, O = async (l = "login") => {
61
+ var n, r, e;
62
+ try {
63
+ const o = await M({
64
+ key: {
65
+ systemKey: sessionStorage.getItem("systemKey"),
66
+ pageKey: "/log",
67
+ type: "system",
68
+ logType: l
69
+ }
70
+ });
71
+ if (((n = o == null ? void 0 : o.data) == null ? void 0 : n.code) === 200)
72
+ return (e = (r = o == null ? void 0 : o.data) == null ? void 0 : r.result) == null ? void 0 : e.map((a) => {
73
+ var t, u, c, p, f, d, y, g, v, b, S, h, w, B, D, x, E, k;
74
+ return l === "login" ? {
75
+ ...(u = (t = a == null ? void 0 : a.value) == null ? void 0 : t.detail) == null ? void 0 : u.data,
76
+ timeStamp: (c = a == null ? void 0 : a.value) == null ? void 0 : c.timeStamp,
77
+ id: a == null ? void 0 : a.id,
78
+ type: (f = (p = a == null ? void 0 : a.value) == null ? void 0 : p.detail) == null ? void 0 : f.type
79
+ } : {
80
+ timeStamp: (d = a == null ? void 0 : a.value) == null ? void 0 : d.timeStamp,
81
+ account: (y = a == null ? void 0 : a.value) == null ? void 0 : y.account,
82
+ userName: (g = a == null ? void 0 : a.value) == null ? void 0 : g.userName,
83
+ module: typeof ((v = a == null ? void 0 : a.value) == null ? void 0 : v.module) == "string" ? (S = (b = a == null ? void 0 : a.value) == null ? void 0 : b.module) != null && S.startsWith("/") ? (w = (h = a == null ? void 0 : a.value) == null ? void 0 : h.module) == null ? void 0 : w.substring(1) : (B = a == null ? void 0 : a.value) == null ? void 0 : B.module : (x = (D = a == null ? void 0 : a.value) == null ? void 0 : D.module) == null ? void 0 : x.pageKey,
84
+ id: a == null ? void 0 : a.id,
85
+ type: (k = (E = a == null ? void 0 : a.value) == null ? void 0 : E.detail) == null ? void 0 : k.type
86
+ };
87
+ });
88
+ s.error("获取数据响应失败");
89
+ } catch (o) {
90
+ throw new Error("获取数据失败" + o);
91
+ }
92
+ }, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
93
+ __proto__: null,
94
+ clickButton: j,
95
+ getLogTableDataAsync: O,
96
+ pageData: T,
97
+ tableData: K
98
+ }, Symbol.toStringTag, { value: "Module" }));
99
+ export {
100
+ W as S,
101
+ j as c,
102
+ O as g
103
+ };
@@ -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-Ch_Lf81f.js";
4
+ import { s as F } from "./index-11kpzK0A.js";
5
+ import { a as y } from "./index-Ck_oTi7E.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
+ };
@@ -21,7 +21,7 @@ const u = ["xlink:href"], _ = {
21
21
  m("use", { "xlink:href": n.value }, null, 8, u)
22
22
  ], 16));
23
23
  }
24
- }, f = /* @__PURE__ */ p(_, [["__scopeId", "data-v-27348cb0"]]);
24
+ }, f = /* @__PURE__ */ p(_, [["__scopeId", "data-v-b0571675"]]);
25
25
  export {
26
26
  f as S
27
27
  };