@since2006/pages 2025.8.1 → 2025.8.3

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 (93) hide show
  1. package/dist/es/index.js +15 -8
  2. package/dist/es/src/app/attachment/AttachmentEdit.vue.js +181 -0
  3. package/dist/es/src/app/attachment/AttachmentEdit.vue2.js +4 -0
  4. package/dist/es/src/app/attachment/AttachmentList.vue.js +178 -0
  5. package/dist/es/src/app/attachment/AttachmentList.vue2.js +4 -0
  6. package/dist/es/src/app/attachment/api.js +28 -0
  7. package/dist/es/src/app/attachment/index.js +7 -0
  8. package/dist/es/src/app/log/LogIndex.vue.js +238 -0
  9. package/dist/es/src/app/log/LogIndex.vue2.js +4 -0
  10. package/dist/es/src/app/log/LogView.vue.js +7 -0
  11. package/dist/es/src/app/log/LogView.vue2.js +164 -0
  12. package/dist/es/src/app/log/api.js +11 -0
  13. package/dist/es/src/app/log/index.js +7 -0
  14. package/dist/es/src/app/log/ua-icons.vue.js +7 -0
  15. package/dist/es/src/app/log/ua-icons.vue2.js +61 -0
  16. package/dist/es/src/app/metadata/MetadataCreate.vue.js +115 -0
  17. package/dist/es/src/app/metadata/MetadataCreate.vue2.js +4 -0
  18. package/dist/es/src/app/metadata/MetadataIndex.vue.js +179 -0
  19. package/dist/es/src/app/metadata/MetadataIndex.vue2.js +4 -0
  20. package/dist/es/src/app/metadata/MetadataUpdate.vue.js +128 -0
  21. package/dist/es/src/app/metadata/MetadataUpdate.vue2.js +4 -0
  22. package/dist/es/src/app/metadata/api.js +23 -0
  23. package/dist/es/src/app/metadata/index.js +7 -0
  24. package/dist/es/src/app/module/ModuleIndex.vue.js +5 -216
  25. package/dist/es/src/app/module/ModuleIndex.vue2.js +219 -2
  26. package/dist/es/src/app/module/index.js +5 -7
  27. package/dist/es/src/app/schedule/CronTypeSelect.vue.js +513 -0
  28. package/dist/es/src/app/schedule/CronTypeSelect.vue2.js +4 -0
  29. package/dist/es/src/app/schedule/ScheduleAdd.vue.js +7 -0
  30. package/dist/es/src/app/schedule/ScheduleAdd.vue2.js +191 -0
  31. package/dist/es/src/app/schedule/ScheduleEdit.vue.js +7 -0
  32. package/dist/es/src/app/schedule/ScheduleEdit.vue2.js +203 -0
  33. package/dist/es/src/app/schedule/ScheduleIndex.vue.js +279 -0
  34. package/dist/es/src/app/schedule/ScheduleIndex.vue2.js +4 -0
  35. package/dist/es/src/app/schedule/ScheduleLogList.vue.js +153 -0
  36. package/dist/es/src/app/schedule/ScheduleLogList.vue2.js +4 -0
  37. package/dist/es/src/app/schedule/ScheduleLogView.vue.js +7 -0
  38. package/dist/es/src/app/schedule/ScheduleLogView.vue2.js +116 -0
  39. package/dist/es/src/app/schedule/api.js +38 -0
  40. package/dist/es/src/app/schedule/index.js +7 -0
  41. package/dist/es/src/app/schedule/schedule.js +58 -0
  42. package/dist/es/src/app/system/StatusIndex.vue.js +2 -2
  43. package/dist/es/src/app/system/StatusIndex.vue2.js +318 -307
  44. package/dist/es/src/app/system/index.js +3 -5
  45. package/dist/es/src/index.js +10 -2
  46. package/dist/es/style.css +1 -1
  47. package/dist/lib/index.js +1 -1
  48. package/dist/lib/src/app/attachment/AttachmentEdit.vue.js +1 -0
  49. package/dist/lib/src/app/attachment/AttachmentEdit.vue2.js +1 -0
  50. package/dist/lib/src/app/attachment/AttachmentList.vue.js +1 -0
  51. package/dist/lib/src/app/attachment/AttachmentList.vue2.js +1 -0
  52. package/dist/lib/src/app/attachment/api.js +1 -0
  53. package/dist/lib/src/app/attachment/index.js +1 -0
  54. package/dist/lib/src/app/log/LogIndex.vue.js +1 -0
  55. package/dist/lib/src/app/log/LogIndex.vue2.js +1 -0
  56. package/dist/lib/src/app/log/LogView.vue.js +1 -0
  57. package/dist/lib/src/app/log/LogView.vue2.js +1 -0
  58. package/dist/lib/src/app/log/api.js +1 -0
  59. package/dist/lib/src/app/log/index.js +1 -0
  60. package/dist/lib/src/app/log/ua-icons.vue.js +1 -0
  61. package/dist/lib/src/app/log/ua-icons.vue2.js +1 -0
  62. package/dist/lib/src/app/metadata/MetadataCreate.vue.js +1 -0
  63. package/dist/lib/src/app/metadata/MetadataCreate.vue2.js +1 -0
  64. package/dist/lib/src/app/metadata/MetadataIndex.vue.js +1 -0
  65. package/dist/lib/src/app/metadata/MetadataIndex.vue2.js +1 -0
  66. package/dist/lib/src/app/metadata/MetadataUpdate.vue.js +1 -0
  67. package/dist/lib/src/app/metadata/MetadataUpdate.vue2.js +1 -0
  68. package/dist/lib/src/app/metadata/api.js +1 -0
  69. package/dist/lib/src/app/metadata/index.js +1 -0
  70. package/dist/lib/src/app/module/ModuleIndex.vue.js +1 -1
  71. package/dist/lib/src/app/module/ModuleIndex.vue2.js +1 -1
  72. package/dist/lib/src/app/module/index.js +1 -1
  73. package/dist/lib/src/app/schedule/CronTypeSelect.vue.js +1 -0
  74. package/dist/lib/src/app/schedule/CronTypeSelect.vue2.js +1 -0
  75. package/dist/lib/src/app/schedule/ScheduleAdd.vue.js +1 -0
  76. package/dist/lib/src/app/schedule/ScheduleAdd.vue2.js +1 -0
  77. package/dist/lib/src/app/schedule/ScheduleEdit.vue.js +1 -0
  78. package/dist/lib/src/app/schedule/ScheduleEdit.vue2.js +1 -0
  79. package/dist/lib/src/app/schedule/ScheduleIndex.vue.js +1 -0
  80. package/dist/lib/src/app/schedule/ScheduleIndex.vue2.js +1 -0
  81. package/dist/lib/src/app/schedule/ScheduleLogList.vue.js +1 -0
  82. package/dist/lib/src/app/schedule/ScheduleLogList.vue2.js +1 -0
  83. package/dist/lib/src/app/schedule/ScheduleLogView.vue.js +1 -0
  84. package/dist/lib/src/app/schedule/ScheduleLogView.vue2.js +1 -0
  85. package/dist/lib/src/app/schedule/api.js +1 -0
  86. package/dist/lib/src/app/schedule/index.js +1 -0
  87. package/dist/lib/src/app/schedule/schedule.js +1 -0
  88. package/dist/lib/src/app/system/StatusIndex.vue.js +1 -1
  89. package/dist/lib/src/app/system/StatusIndex.vue2.js +1 -1
  90. package/dist/lib/src/app/system/index.js +1 -1
  91. package/dist/lib/src/index.js +1 -1
  92. package/dist/lib/style.css +1 -1
  93. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { http as a } from "@since2006/utils";
2
+ function d(t) {
3
+ return a.get("/api/v2/metadata/config/query_metadatas", { params: t });
4
+ }
5
+ function n(t) {
6
+ return a.post("/api/v2/metadata/config/delete_metadata", { id: t });
7
+ }
8
+ function i(t) {
9
+ return a.post("/api/v2/metadata/config/create_metadata", t);
10
+ }
11
+ function r(t) {
12
+ return a.get("/api/v2/metadata/config/get_metadata?id=" + t);
13
+ }
14
+ function o(t) {
15
+ return a.post("/api/v2/metadata/config/update_metadata", t);
16
+ }
17
+ export {
18
+ i as createMetadata,
19
+ n as deleteMetadata,
20
+ r as getMetadata,
21
+ d as queryMetadatas,
22
+ o as updateMetadata
23
+ };
@@ -0,0 +1,7 @@
1
+ import t from "./MetadataIndex.vue.js";
2
+ import { withInstall as a } from "@since2006/utils";
3
+ const r = a(t);
4
+ export {
5
+ r as MetadataIndex,
6
+ r as default
7
+ };
@@ -1,218 +1,7 @@
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
- });
1
+ import o from "./ModuleIndex.vue2.js";
2
+ /* empty css */
3
+ import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ae963ea6"]]);
216
5
  export {
217
- ge as default
6
+ m as default
218
7
  };
@@ -1,4 +1,221 @@
1
- import f from "./ModuleIndex.vue.js";
1
+ import { defineComponent as J, ref as f, reactive as w, resolveComponent as d, openBlock as R, 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 { LayoutTwoTone as oe, PlusOutlined as K, EditOutlined as te, DeleteOutlined as ne } from "@ant-design/icons-vue";
6
+ import le from "./ModuleDetail.vue.js";
7
+ import ae from "./ModuleAdd.vue.js";
8
+ import de from "./ModuleEdit.vue.js";
9
+ const se = { class: "ant-pro-table-list-toolbar" }, ue = { class: "ant-pro-table-list-toolbar-container" }, re = { class: "ant-pro-table-list-toolbar-left" }, ie = { class: "ant-pro-table-list-toolbar-title" }, ce = { class: "ant-pro-table-list-toolbar-right" }, be = /* @__PURE__ */ J({
10
+ __name: "ModuleIndex",
11
+ setup(pe) {
12
+ const L = f(), s = f([]), h = f([]), r = f([]), u = w({
13
+ id: "",
14
+ cateId: "",
15
+ parentId: "",
16
+ icon: "",
17
+ component: "",
18
+ path: "",
19
+ seqNo: "",
20
+ remark: "",
21
+ permsSummary: ""
22
+ }), b = f(!0), i = w({
23
+ openAdd: !1,
24
+ openEdit: !1
25
+ }), E = f(!1), O = () => {
26
+ C().then((o) => {
27
+ r.value = k(o.result), M(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
+ M(p);
45
+ }, M = (o) => {
46
+ b.value = !0, Z(o).then((e) => {
47
+ Object.assign(u, e.result), b.value = !1;
48
+ }).catch((e) => {
49
+ console.log(e);
50
+ });
51
+ }, U = () => {
52
+ E.value = !0, i.openAdd = !0;
53
+ }, j = () => {
54
+ E.value = !1, i.openAdd = !0;
55
+ }, q = (o) => {
56
+ m(o);
57
+ }, P = () => {
58
+ i.openEdit = !0;
59
+ }, $ = (o, e, t) => {
60
+ M(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 = T([l], 0);
74
+ h.value = h.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
+ }, T = (o, e) => {
79
+ let t = [];
80
+ return o.forEach((l) => {
81
+ e > 0 && t.push(l.key), l.children && (t = t.concat(T(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"), S = d("a-col"), G = d("a-skeleton"), H = d("a-row"), I = d("a-card");
86
+ return R(), 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", se, [
94
+ v("div", ue, [
95
+ v("div", re, [
96
+ v("div", ie, [
97
+ n(y(oe)),
98
+ e[2] || (e[2] = g(" 模块配置 "))
99
+ ])
100
+ ]),
101
+ v("div", ce, [
102
+ n(c, { align: "center" }, {
103
+ default: a(() => [
104
+ n(p, null, {
105
+ default: a(() => [
106
+ n(t, { onClick: U }, {
107
+ default: a(() => [
108
+ n(y(K)),
109
+ e[3] || (e[3] = g(" 添加根模块 "))
110
+ ]),
111
+ _: 1
112
+ }),
113
+ x(n(t, { onClick: j }, {
114
+ default: a(() => [
115
+ n(y(K)),
116
+ e[4] || (e[4] = g(" 添加子模块 "))
117
+ ]),
118
+ _: 1
119
+ }, 512), [
120
+ [A, u.id]
121
+ ]),
122
+ x(n(t, { onClick: P }, {
123
+ default: a(() => [
124
+ n(y(te)),
125
+ e[5] || (e[5] = g(" 修改模块 "))
126
+ ]),
127
+ _: 1
128
+ }, 512), [
129
+ [A, u.id]
130
+ ]),
131
+ n(l, {
132
+ title: "是否确认删除模块?",
133
+ onConfirm: z
134
+ }, {
135
+ default: a(() => [
136
+ x(n(t, { danger: "" }, {
137
+ default: a(() => [
138
+ n(y(ne)),
139
+ e[6] || (e[6] = g(" 删除模块 "))
140
+ ]),
141
+ _: 1
142
+ }, 512), [
143
+ [A, u.id]
144
+ ])
145
+ ]),
146
+ _: 1
147
+ })
148
+ ]),
149
+ _: 1
150
+ })
151
+ ]),
152
+ _: 1
153
+ })
154
+ ])
155
+ ])
156
+ ]),
157
+ n(H, null, {
158
+ default: a(() => [
159
+ n(S, {
160
+ sm: 5,
161
+ md: 4
162
+ }, {
163
+ default: a(() => [
164
+ n(F, {
165
+ showIcon: !0,
166
+ expandedKeys: s.value,
167
+ loadedKeys: h.value,
168
+ treeData: r.value,
169
+ onExpand: N,
170
+ loadData: B,
171
+ onSelect: V
172
+ }, {
173
+ icon: a((_) => [
174
+ (R(), W(X(_.iconName)))
175
+ ]),
176
+ _: 1
177
+ }, 8, ["expandedKeys", "loadedKeys", "treeData"])
178
+ ]),
179
+ _: 1
180
+ }),
181
+ n(S, {
182
+ sm: 19,
183
+ md: 20
184
+ }, {
185
+ default: a(() => [
186
+ n(G, { loading: b.value }, {
187
+ default: a(() => [
188
+ n(le, { module: u }, null, 8, ["module"])
189
+ ]),
190
+ _: 1
191
+ }, 8, ["loading"])
192
+ ]),
193
+ _: 1
194
+ })
195
+ ]),
196
+ _: 1
197
+ })
198
+ ]),
199
+ _: 1
200
+ }, 512),
201
+ n(ae, {
202
+ ref: "moduleAdd",
203
+ open: i.openAdd,
204
+ "onUpdate:open": e[0] || (e[0] = (_) => i.openAdd = _),
205
+ "parent-id": E.value ? null : u.id,
206
+ onSuccess: q
207
+ }, null, 8, ["open", "parent-id"]),
208
+ n(de, {
209
+ ref: "moduleEdit",
210
+ open: i.openEdit,
211
+ "onUpdate:open": e[1] || (e[1] = (_) => i.openEdit = _),
212
+ "module-id": u.id,
213
+ onSuccess: $
214
+ }, null, 8, ["open", "module-id"])
215
+ ]);
216
+ };
217
+ }
218
+ });
2
219
  export {
3
- f as default
220
+ be as default
4
221
  };
@@ -1,9 +1,7 @@
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);
1
+ import o from "./ModuleIndex.vue.js";
2
+ import { withInstall as e } from "@since2006/utils";
3
+ const l = e(o);
6
4
  export {
7
- o as ModuleIndex,
8
- o as default
5
+ l as ModuleIndex,
6
+ l as default
9
7
  };