@since2006/pages 1.0.0-build.2025011700 → 2025.8.1

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 (39) hide show
  1. package/dist/es/index.js +10 -8
  2. package/dist/es/src/app/module/ModuleAdd.vue.js +7 -0
  3. package/dist/es/src/app/module/ModuleAdd.vue2.js +280 -0
  4. package/dist/es/src/app/module/ModuleDetail.vue.js +133 -0
  5. package/dist/es/src/app/module/ModuleDetail.vue2.js +4 -0
  6. package/dist/es/src/app/module/ModuleEdit.vue.js +7 -0
  7. package/dist/es/src/app/module/ModuleEdit.vue2.js +283 -0
  8. package/dist/es/src/app/module/ModuleIndex.vue.js +218 -0
  9. package/dist/es/src/app/module/ModuleIndex.vue2.js +4 -0
  10. package/dist/es/src/app/module/api.js +14 -0
  11. package/dist/es/src/app/module/icon/IconSelectorModal.vue.js +7 -0
  12. package/dist/es/src/app/module/icon/IconSelectorModal.vue2.js +39 -0
  13. package/dist/es/src/app/module/index.js +9 -0
  14. package/dist/es/src/app/module/utils.js +11 -0
  15. package/dist/es/src/app/system/StatusIndex.vue.js +2 -2
  16. package/dist/es/src/app/system/StatusIndex.vue2.js +253 -160
  17. package/dist/es/src/app/system/api.js +3 -2
  18. package/dist/es/src/index.js +4 -2
  19. package/dist/es/style.css +1 -1
  20. package/dist/lib/index.js +1 -1
  21. package/dist/lib/src/app/module/ModuleAdd.vue.js +1 -0
  22. package/dist/lib/src/app/module/ModuleAdd.vue2.js +1 -0
  23. package/dist/lib/src/app/module/ModuleDetail.vue.js +1 -0
  24. package/dist/lib/src/app/module/ModuleDetail.vue2.js +1 -0
  25. package/dist/lib/src/app/module/ModuleEdit.vue.js +1 -0
  26. package/dist/lib/src/app/module/ModuleEdit.vue2.js +1 -0
  27. package/dist/lib/src/app/module/ModuleIndex.vue.js +1 -0
  28. package/dist/lib/src/app/module/ModuleIndex.vue2.js +1 -0
  29. package/dist/lib/src/app/module/api.js +1 -0
  30. package/dist/lib/src/app/module/icon/IconSelectorModal.vue.js +1 -0
  31. package/dist/lib/src/app/module/icon/IconSelectorModal.vue2.js +1 -0
  32. package/dist/lib/src/app/module/index.js +1 -0
  33. package/dist/lib/src/app/module/utils.js +1 -0
  34. package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
  35. package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
  36. package/dist/lib/src/app/system/api.js +1 -1
  37. package/dist/lib/src/index.js +1 -1
  38. package/dist/lib/style.css +1 -1
  39. package/package.json +2 -1
@@ -0,0 +1,283 @@
1
+ import { defineComponent as G, ref as i, reactive as H, watch as J, resolveComponent as r, openBlock as U, createBlock as q, withCtx as n, createVNode as t, resolveDynamicComponent as K, unref as N, createTextVNode as h } from "vue";
2
+ import Q from "./icon/IconSelectorModal.vue.js";
3
+ import { message as W } from "ant-design-vue";
4
+ import { SearchOutlined as X } from "@ant-design/icons-vue";
5
+ import { getModule as Y, getModules as Z, getDocs as ee, updateModule as te } from "./api.js";
6
+ import { PermPanel as le } from "@since2006/components";
7
+ const de = /* @__PURE__ */ G({
8
+ __name: "ModuleEdit",
9
+ props: {
10
+ open: {
11
+ type: Boolean,
12
+ default: !1
13
+ },
14
+ moduleId: {
15
+ type: String,
16
+ required: !0
17
+ }
18
+ },
19
+ emits: ["update:open", "success", "cancel"],
20
+ setup(_, { emit: y }) {
21
+ const m = _, b = i(), f = i(!1), g = i([]), I = i([]), p = i([]), c = i({
22
+ icon: !1
23
+ }), w = {
24
+ id: "",
25
+ cateId: "",
26
+ parentId: "",
27
+ name: "",
28
+ icon: "",
29
+ path: "",
30
+ component: "",
31
+ seqNo: "",
32
+ remark: "",
33
+ state: "0",
34
+ target: !1,
35
+ permissionSummary: ""
36
+ }, l = H({ ...w }), x = {
37
+ name: [{ required: !0, message: "请填写模块名称" }],
38
+ seqNo: [{ required: !0, type: "number", message: "请填写数字类型顺序号" }]
39
+ }, v = y;
40
+ J(
41
+ () => m.open,
42
+ (a) => {
43
+ a && (D(), L());
44
+ }
45
+ );
46
+ const D = () => {
47
+ Object.assign(l, w), p.value = [];
48
+ }, O = (a, e) => e.componentOptions.children[0].text.toLowerCase().indexOf(a.toLowerCase()) >= 0, L = () => {
49
+ Y(m.moduleId).then((a) => {
50
+ const e = a.result;
51
+ e.target = e.target === 1, Object.assign(l, a.result), p.value = [...a.result.permissions.map((d) => d.id)];
52
+ }), Z().then((a) => {
53
+ const e = [];
54
+ k(e, a.result, [m.moduleId]), g.value = e;
55
+ }), ee().then((a) => {
56
+ I.value = F(a.result);
57
+ });
58
+ }, V = () => {
59
+ c.value.icon = !0;
60
+ }, E = (a) => {
61
+ c.value.icon = !1, l.icon = a;
62
+ }, M = () => {
63
+ b.value.validateFields().then(() => {
64
+ f.value = !0;
65
+ const a = {
66
+ ...l,
67
+ target: l.target ? 1 : 0,
68
+ permIds: p.value,
69
+ seqNo: parseInt(l.seqNo)
70
+ };
71
+ te(a).then((e) => {
72
+ e.code === 200 && (W.success("编辑模块成功"), v("update:open", !1), v("success", e.result.id, e.result.parentId, e.result.srcParentId));
73
+ });
74
+ }).finally(() => {
75
+ f.value = !1;
76
+ });
77
+ }, B = () => {
78
+ v("update:open", !1);
79
+ }, F = (a) => a.map((e) => ({
80
+ value: e.id,
81
+ label: e.name
82
+ })), k = (a, e, d) => {
83
+ e && e.forEach((u) => {
84
+ if (!d.includes(u.id)) {
85
+ const s = { value: u.id, title: u.name, children: [] };
86
+ k(s.children, u.children, d), a.push(s);
87
+ }
88
+ });
89
+ };
90
+ return (a, e) => {
91
+ const d = r("a-tree-select"), u = r("a-form-item"), s = r("a-input"), P = r("a-select"), R = r("a-input-number"), S = r("a-radio"), j = r("a-radio-group"), A = r("a-switch"), C = r("a-col"), T = r("a-row"), $ = r("a-form"), z = r("a-modal");
92
+ return U(), q(z, {
93
+ title: "编辑系统模块",
94
+ width: 800,
95
+ visible: _.open,
96
+ "mask-closable": !1,
97
+ "confirm-loading": f.value,
98
+ "destroy-on-close": "",
99
+ onOk: M,
100
+ onCancel: B
101
+ }, {
102
+ default: n(() => [
103
+ t($, {
104
+ ref_key: "formRef",
105
+ ref: b,
106
+ model: l,
107
+ rules: x,
108
+ "label-col": { span: 5 },
109
+ "wrapper-col": { span: 15 }
110
+ }, {
111
+ default: n(() => [
112
+ t(T, null, {
113
+ default: n(() => [
114
+ t(C, { span: 15 }, {
115
+ default: n(() => [
116
+ t(u, { label: "上级模块" }, {
117
+ default: n(() => [
118
+ t(d, {
119
+ value: l.parentId,
120
+ "onUpdate:value": e[0] || (e[0] = (o) => l.parentId = o),
121
+ treeData: g.value,
122
+ treeDefaultExpandAll: "",
123
+ allowClear: ""
124
+ }, null, 8, ["value", "treeData"])
125
+ ]),
126
+ _: 1
127
+ }),
128
+ t(u, {
129
+ label: "模块名称",
130
+ name: "name"
131
+ }, {
132
+ default: n(() => [
133
+ t(s, {
134
+ value: l.name,
135
+ "onUpdate:value": e[1] || (e[1] = (o) => l.name = o),
136
+ placeholder: "模块名称"
137
+ }, null, 8, ["value"])
138
+ ]),
139
+ _: 1
140
+ }),
141
+ t(u, { label: "文档类别" }, {
142
+ default: n(() => [
143
+ t(P, {
144
+ value: l.cateId,
145
+ "onUpdate:value": e[2] || (e[2] = (o) => l.cateId = o),
146
+ "show-search": "",
147
+ "option-filter-prop": "children",
148
+ "filter-option": O,
149
+ options: I.value,
150
+ allowClear: ""
151
+ }, null, 8, ["value", "options"])
152
+ ]),
153
+ _: 1
154
+ }),
155
+ t(u, { label: "模块图标" }, {
156
+ default: n(() => [
157
+ t(s, {
158
+ value: l.icon,
159
+ "onUpdate:value": e[3] || (e[3] = (o) => l.icon = o),
160
+ placeholder: "点击右侧按钮选择图标"
161
+ }, {
162
+ prefix: n(() => [
163
+ (U(), q(K(l.icon), { style: { color: "#108b16" } }))
164
+ ]),
165
+ addonAfter: n(() => [
166
+ t(N(X), { onClick: V })
167
+ ]),
168
+ _: 1
169
+ }, 8, ["value"])
170
+ ]),
171
+ _: 1
172
+ }),
173
+ t(u, {
174
+ label: "顺序号",
175
+ name: "seqNo"
176
+ }, {
177
+ default: n(() => [
178
+ t(R, {
179
+ value: l.seqNo,
180
+ "onUpdate:value": e[4] || (e[4] = (o) => l.seqNo = o),
181
+ placeholder: "顺序号"
182
+ }, null, 8, ["value"])
183
+ ]),
184
+ _: 1
185
+ }),
186
+ t(u, { label: "访问路径" }, {
187
+ default: n(() => [
188
+ t(s, {
189
+ value: l.path,
190
+ "onUpdate:value": e[5] || (e[5] = (o) => l.path = o),
191
+ placeholder: "访问路径"
192
+ }, null, 8, ["value"])
193
+ ]),
194
+ _: 1
195
+ }),
196
+ t(u, { label: "模板文件" }, {
197
+ default: n(() => [
198
+ t(s, {
199
+ value: l.component,
200
+ "onUpdate:value": e[6] || (e[6] = (o) => l.component = o),
201
+ placeholder: "@/epp/module/viewName"
202
+ }, null, 8, ["value"])
203
+ ]),
204
+ _: 1
205
+ }),
206
+ t(u, { label: "是否显示" }, {
207
+ default: n(() => [
208
+ t(j, {
209
+ value: l.state,
210
+ "onUpdate:value": e[7] || (e[7] = (o) => l.state = o)
211
+ }, {
212
+ default: n(() => [
213
+ t(S, { value: "1" }, {
214
+ default: n(() => e[12] || (e[12] = [
215
+ h("显示")
216
+ ])),
217
+ _: 1
218
+ }),
219
+ t(S, { value: "0" }, {
220
+ default: n(() => e[13] || (e[13] = [
221
+ h("隐藏")
222
+ ])),
223
+ _: 1
224
+ })
225
+ ]),
226
+ _: 1
227
+ }, 8, ["value"])
228
+ ]),
229
+ _: 1
230
+ }),
231
+ t(u, { label: "打开方式" }, {
232
+ default: n(() => [
233
+ t(A, {
234
+ checked: l.target,
235
+ "onUpdate:checked": e[8] || (e[8] = (o) => l.target = o),
236
+ "checked-children": "新开窗口",
237
+ "un-checked-children": "内部窗口"
238
+ }, null, 8, ["checked"])
239
+ ]),
240
+ _: 1
241
+ }),
242
+ t(u, { label: "描述" }, {
243
+ default: n(() => [
244
+ t(s, {
245
+ value: l.remark,
246
+ "onUpdate:value": e[9] || (e[9] = (o) => l.remark = o),
247
+ placeholder: "描述"
248
+ }, null, 8, ["value"])
249
+ ]),
250
+ _: 1
251
+ })
252
+ ]),
253
+ _: 1
254
+ }),
255
+ t(C, { span: 9 }, {
256
+ default: n(() => [
257
+ t(N(le), {
258
+ modelValue: p.value,
259
+ "onUpdate:modelValue": e[10] || (e[10] = (o) => p.value = o)
260
+ }, null, 8, ["modelValue"])
261
+ ]),
262
+ _: 1
263
+ })
264
+ ]),
265
+ _: 1
266
+ })
267
+ ]),
268
+ _: 1
269
+ }, 8, ["model"]),
270
+ t(Q, {
271
+ visible: c.value.icon,
272
+ onSuccess: E,
273
+ onCancel: e[11] || (e[11] = (o) => c.value.icon = !1)
274
+ }, null, 8, ["visible"])
275
+ ]),
276
+ _: 1
277
+ }, 8, ["visible", "confirm-loading"]);
278
+ };
279
+ }
280
+ });
281
+ export {
282
+ de as default
283
+ };
@@ -0,0 +1,218 @@
1
+ import { defineComponent as J, ref as f, reactive as T, resolveComponent as d, openBlock as w, createElementBlock as Q, createVNode as n, withCtx as a, createElementVNode as v, unref as y, createTextVNode as g, withDirectives as x, vShow as A, createBlock as W, resolveDynamicComponent as X } from "vue";
2
+ import { message as Y } from "ant-design-vue";
3
+ import { getModulesNoCache as C, getModule as Z, deleteModule as ee } from "./api.js";
4
+ import { mapTreeData as k } from "./utils.js";
5
+ import { PlusOutlined as K, EditOutlined as oe, DeleteOutlined as te } from "@ant-design/icons-vue";
6
+ import ne from "./ModuleDetail.vue.js";
7
+ import le from "./ModuleAdd.vue.js";
8
+ import ae from "./ModuleEdit.vue.js";
9
+ const de = { class: "ant-pro-table-list-toolbar" }, se = { class: "ant-pro-table-list-toolbar-container" }, ue = { class: "ant-pro-table-list-toolbar-right" }, ge = /* @__PURE__ */ J({
10
+ __name: "ModuleIndex",
11
+ setup(re) {
12
+ const L = f(), s = f([]), b = f([]), r = f([]), u = T({
13
+ id: "",
14
+ cateId: "",
15
+ parentId: "",
16
+ icon: "",
17
+ component: "",
18
+ path: "",
19
+ seqNo: "",
20
+ remark: "",
21
+ permsSummary: ""
22
+ }), E = f(!0), i = T({
23
+ openAdd: !1,
24
+ openEdit: !1
25
+ }), M = f(!1), O = () => {
26
+ C().then((o) => {
27
+ r.value = k(o.result), h(r.value[0].key);
28
+ });
29
+ }, N = (o) => {
30
+ s.value = o;
31
+ }, B = (o) => new Promise((e) => {
32
+ if (o.dataRef.children) {
33
+ e("当前节点没有子模块");
34
+ return;
35
+ }
36
+ C(o.dataRef.key).then((t) => {
37
+ o.dataRef.children = k(t.result), r.value = [...r.value], e("获取模块数据成功");
38
+ });
39
+ }), V = (o, e) => {
40
+ const t = e.node.dataRef, l = s.value.includes(t.key);
41
+ if (t.isLeaf || (e.selected ? l || s.value.push(t.key) : l && (s.value = s.value.filter((c) => c !== t.key))), o.length === 0)
42
+ return;
43
+ const p = o[0];
44
+ h(p);
45
+ }, h = (o) => {
46
+ E.value = !0, Z(o).then((e) => {
47
+ Object.assign(u, e.result), E.value = !1;
48
+ }).catch((e) => {
49
+ console.log(e);
50
+ });
51
+ }, U = () => {
52
+ M.value = !0, i.openAdd = !0;
53
+ }, j = () => {
54
+ M.value = !1, i.openAdd = !0;
55
+ }, q = (o) => {
56
+ m(o);
57
+ }, P = () => {
58
+ i.openEdit = !0;
59
+ }, $ = (o, e, t) => {
60
+ h(o), e === t || m(t), m(e);
61
+ }, z = () => {
62
+ ee(u.id).then((o) => {
63
+ Y.success("删除成功"), m(o.result.parentId);
64
+ });
65
+ }, m = (o) => {
66
+ C(o).then((e) => {
67
+ o ? D(r.value, o, k(e.result)) : r.value = k(e.result);
68
+ });
69
+ }, D = (o, e, t) => {
70
+ o.forEach((l) => {
71
+ if (l.key === e) {
72
+ l.isLeaf = t.length === 0;
73
+ const p = S([l], 0);
74
+ b.value = b.value.filter((c) => !p.includes(c)), s.value = s.value.filter((c) => !p.includes(c)), l.children = t;
75
+ } else
76
+ l.children && D(l.children, e, t);
77
+ });
78
+ }, S = (o, e) => {
79
+ let t = [];
80
+ return o.forEach((l) => {
81
+ e > 0 && t.push(l.key), l.children && (t = t.concat(S(l.children, ++e)));
82
+ }), t;
83
+ };
84
+ return O(), (o, e) => {
85
+ const t = d("a-button"), l = d("a-popconfirm"), p = d("a-button-group"), c = d("a-space"), F = d("a-tree"), R = d("a-col"), G = d("a-skeleton"), H = d("a-row"), I = d("a-card");
86
+ return w(), Q("div", null, [
87
+ n(I, {
88
+ "body-style": { padding: "0 20px 20px 10px" },
89
+ ref_key: "fusRef",
90
+ ref: L
91
+ }, {
92
+ default: a(() => [
93
+ v("div", de, [
94
+ v("div", se, [
95
+ e[6] || (e[6] = v("div", { class: "ant-pro-table-list-toolbar-left" }, [
96
+ v("div", { class: "ant-pro-table-list-toolbar-title" }, "模块配置")
97
+ ], -1)),
98
+ v("div", ue, [
99
+ n(c, { align: "center" }, {
100
+ default: a(() => [
101
+ n(p, null, {
102
+ default: a(() => [
103
+ n(t, { onClick: U }, {
104
+ default: a(() => [
105
+ n(y(K)),
106
+ e[2] || (e[2] = g(" 添加根模块 "))
107
+ ]),
108
+ _: 1
109
+ }),
110
+ x(n(t, { onClick: j }, {
111
+ default: a(() => [
112
+ n(y(K)),
113
+ e[3] || (e[3] = g(" 添加子模块 "))
114
+ ]),
115
+ _: 1
116
+ }, 512), [
117
+ [A, u.id]
118
+ ]),
119
+ x(n(t, { onClick: P }, {
120
+ default: a(() => [
121
+ n(y(oe)),
122
+ e[4] || (e[4] = g(" 修改模块 "))
123
+ ]),
124
+ _: 1
125
+ }, 512), [
126
+ [A, u.id]
127
+ ]),
128
+ n(l, {
129
+ title: "是否确认删除模块?",
130
+ onConfirm: z
131
+ }, {
132
+ default: a(() => [
133
+ x(n(t, { danger: "" }, {
134
+ default: a(() => [
135
+ n(y(te)),
136
+ e[5] || (e[5] = g(" 删除模块 "))
137
+ ]),
138
+ _: 1
139
+ }, 512), [
140
+ [A, u.id]
141
+ ])
142
+ ]),
143
+ _: 1
144
+ })
145
+ ]),
146
+ _: 1
147
+ })
148
+ ]),
149
+ _: 1
150
+ })
151
+ ])
152
+ ])
153
+ ]),
154
+ n(H, null, {
155
+ default: a(() => [
156
+ n(R, {
157
+ sm: 5,
158
+ md: 4
159
+ }, {
160
+ default: a(() => [
161
+ n(F, {
162
+ showIcon: !0,
163
+ expandedKeys: s.value,
164
+ loadedKeys: b.value,
165
+ treeData: r.value,
166
+ onExpand: N,
167
+ loadData: B,
168
+ onSelect: V
169
+ }, {
170
+ icon: a((_) => [
171
+ (w(), W(X(_.iconName)))
172
+ ]),
173
+ _: 1
174
+ }, 8, ["expandedKeys", "loadedKeys", "treeData"])
175
+ ]),
176
+ _: 1
177
+ }),
178
+ n(R, {
179
+ sm: 19,
180
+ md: 20
181
+ }, {
182
+ default: a(() => [
183
+ n(G, { loading: E.value }, {
184
+ default: a(() => [
185
+ n(ne, { module: u }, null, 8, ["module"])
186
+ ]),
187
+ _: 1
188
+ }, 8, ["loading"])
189
+ ]),
190
+ _: 1
191
+ })
192
+ ]),
193
+ _: 1
194
+ })
195
+ ]),
196
+ _: 1
197
+ }, 512),
198
+ n(le, {
199
+ ref: "moduleAdd",
200
+ open: i.openAdd,
201
+ "onUpdate:open": e[0] || (e[0] = (_) => i.openAdd = _),
202
+ "parent-id": M.value ? null : u.id,
203
+ onSuccess: q
204
+ }, null, 8, ["open", "parent-id"]),
205
+ n(ae, {
206
+ ref: "moduleEdit",
207
+ open: i.openEdit,
208
+ "onUpdate:open": e[1] || (e[1] = (_) => i.openEdit = _),
209
+ "module-id": u.id,
210
+ onSuccess: $
211
+ }, null, 8, ["open", "module-id"])
212
+ ]);
213
+ };
214
+ }
215
+ });
216
+ export {
217
+ ge as default
218
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./ModuleIndex.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,14 @@
1
+ import { http as t } from "@since2006/utils";
2
+ const l = () => t.get("/api/1/workflow/cate/get_doc_list.json"), d = (e) => t.post("/api/v2/module/create_module", e), r = (e) => t.get("/api/v2/module/get_module", { params: { id: e } }), s = () => t.get("/api/v2/module/get_cache_modules"), a = (e = null) => {
3
+ const o = {};
4
+ return e && (o.parentId = e), t.get("/api/1/module/get_modules_nocache.json", { params: o });
5
+ }, n = (e) => t.post("/api/v2/module/delete_module", { id: e }), c = (e) => t.post("/api/v2/module/update_module", e);
6
+ export {
7
+ d as createModule,
8
+ n as deleteModule,
9
+ l as getDocs,
10
+ r as getModule,
11
+ s as getModules,
12
+ a as getModulesNoCache,
13
+ c as updateModule
14
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./IconSelectorModal.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-33554e43"]]);
5
+ export {
6
+ m as default
7
+ };
@@ -0,0 +1,39 @@
1
+ import { defineComponent as i, ref as r, resolveComponent as m, openBlock as f, createBlock as p, withCtx as u, createVNode as d, unref as _ } from "vue";
2
+ import { IconSelect as v } from "@since2006/components";
3
+ const x = /* @__PURE__ */ i({
4
+ __name: "IconSelectorModal",
5
+ props: {
6
+ visible: {
7
+ default: !1
8
+ }
9
+ },
10
+ emits: ["success", "cancel"],
11
+ setup(c, { emit: n }) {
12
+ const t = r(""), o = n, s = (e) => {
13
+ t.value = e, o("success", e);
14
+ }, l = () => {
15
+ o("cancel");
16
+ };
17
+ return (e, h) => {
18
+ const a = m("a-modal");
19
+ return f(), p(a, {
20
+ visible: c.visible,
21
+ width: 900,
22
+ footer: null,
23
+ onCancel: l
24
+ }, {
25
+ default: u(() => [
26
+ d(_(v), {
27
+ "class-name": "icon-selector",
28
+ "icon-font-size": "24px",
29
+ onChange: s
30
+ })
31
+ ]),
32
+ _: 1
33
+ }, 8, ["visible"]);
34
+ };
35
+ }
36
+ });
37
+ export {
38
+ x as default
39
+ };
@@ -0,0 +1,9 @@
1
+ import a from "./ModuleIndex.vue.js";
2
+ const s = (n) => (n.install = (t) => {
3
+ const e = n.name || n.__name;
4
+ t.component(e, n);
5
+ }, n), o = s(a);
6
+ export {
7
+ o as ModuleIndex,
8
+ o as default
9
+ };
@@ -0,0 +1,11 @@
1
+ const n = (a) => a ? a.map((e) => ({
2
+ key: e.id,
3
+ title: e.name,
4
+ isLeaf: !e.hasChildren,
5
+ iconName: e.icon,
6
+ type: e.type,
7
+ seqNo: e.seqNo
8
+ })) : [];
9
+ export {
10
+ n as mapTreeData
11
+ };
@@ -1,7 +1,7 @@
1
1
  import t from "./StatusIndex.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-f46e2d33"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-1f96ab02"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };