cc1-admin-front 0.0.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 (84) hide show
  1. package/README.md +1 -0
  2. package/dist/App.vue.d.ts +2 -0
  3. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  4. package/dist/apis/auth/ApiAuthApi.d.ts +7 -0
  5. package/dist/apis/auth/ApiAuthMenu.d.ts +6 -0
  6. package/dist/apis/auth/ApiAuthPhone.d.ts +3 -0
  7. package/dist/apis/auth/ApiAuthRole.d.ts +12 -0
  8. package/dist/apis/auth/ApiAuthUser.d.ts +7 -0
  9. package/dist/apis/auth/ApiCaptcha.d.ts +4 -0
  10. package/dist/apis/auth/ApiLoginLog.d.ts +4 -0
  11. package/dist/apis/cron/ApiCron.d.ts +6 -0
  12. package/dist/apis/db/ApiDb.d.ts +4 -0
  13. package/dist/apis/email/ApiEmailConfig.d.ts +6 -0
  14. package/dist/apis/log/ApiErrorLog.d.ts +4 -0
  15. package/dist/apis/schedule/ApiJob.d.ts +8 -0
  16. package/dist/apis/sms/ApiSmsConfig.d.ts +7 -0
  17. package/dist/apis/system/ApiApp.d.ts +4 -0
  18. package/dist/apis/system/ApiSystemConfig.d.ts +6 -0
  19. package/dist/apis/system/ApiSystemTenant.d.ts +6 -0
  20. package/dist/apis/types/query.d.ts +4 -0
  21. package/dist/cc1-admin-front.css +1 -0
  22. package/dist/cc1-admin-front.js +937 -0
  23. package/dist/cc1-admin-front.umd.cjs +1 -0
  24. package/dist/components/editor/index.vue.d.ts +18 -0
  25. package/dist/components/formList/index.vue.d.ts +97 -0
  26. package/dist/components/index.d.ts +6 -0
  27. package/dist/components/particle/yinhua/index.vue.d.ts +2 -0
  28. package/dist/components/routeEvent/index.vue.d.ts +2 -0
  29. package/dist/enum/Enum.d.ts +15 -0
  30. package/dist/index--6fokZC8.js +172 -0
  31. package/dist/index-BTuR22Wh.js +41 -0
  32. package/dist/index-Bk_LJXIb.js +257 -0
  33. package/dist/index-C8fkVOS0.js +127 -0
  34. package/dist/index-CJ5aGrl0.js +152 -0
  35. package/dist/index-CatA5C4N.js +132 -0
  36. package/dist/index-D47lvu37.js +333 -0
  37. package/dist/index-D8U8yEvx.js +49 -0
  38. package/dist/index-DFNCjb_F.js +69 -0
  39. package/dist/index-DU5RPuKk.js +95 -0
  40. package/dist/index-Dkl3LwVN.js +143 -0
  41. package/dist/index-DvZhYqrw.js +113 -0
  42. package/dist/index-O3L87IEQ.js +157 -0
  43. package/dist/index-pxgBPi_e.js +197 -0
  44. package/dist/index-rnNeo1-y.js +184 -0
  45. package/dist/index-tQ4ZyO21.js +592 -0
  46. package/dist/index-uPQ6O40Q.js +180 -0
  47. package/dist/index.d.ts +41 -0
  48. package/dist/plugins/index.d.ts +6 -0
  49. package/dist/plugins/tools-form.d.ts +7 -0
  50. package/dist/plugins/tools-javascript.d.ts +6 -0
  51. package/dist/plugins/tools-vue3.d.ts +6 -0
  52. package/dist/plugins/uivite.d.ts +6 -0
  53. package/dist/router/index.d.ts +1 -0
  54. package/dist/sstore/index.d.ts +5 -0
  55. package/dist/sstore/scurd.d.ts +10 -0
  56. package/dist/sstore/ssys.d.ts +85 -0
  57. package/dist/sstore/suser.d.ts +20 -0
  58. package/dist/sstore/sutil.d.ts +16 -0
  59. package/dist/sstore/svf.d.ts +73 -0
  60. package/dist/utils/Config.d.ts +7 -0
  61. package/dist/utils/HttpConfig.d.ts +4 -0
  62. package/dist/utils/System.d.ts +71 -0
  63. package/dist/views/error/index.vue.d.ts +2 -0
  64. package/dist/views/layout/com/Header.vue.d.ts +2 -0
  65. package/dist/views/layout/com/Sidebar.vue.d.ts +2 -0
  66. package/dist/views/layout/index.vue.d.ts +2 -0
  67. package/dist/views/login/index.vue.d.ts +2 -0
  68. package/dist/views/pages/auth/api/index.vue.d.ts +2 -0
  69. package/dist/views/pages/auth/menu/com/addDialog.vue.d.ts +39 -0
  70. package/dist/views/pages/auth/menu/com/addIconItem.vue.d.ts +40 -0
  71. package/dist/views/pages/auth/menu/com/colorChoose.vue.d.ts +23 -0
  72. package/dist/views/pages/auth/menu/index.vue.d.ts +2 -0
  73. package/dist/views/pages/auth/role/index.vue.d.ts +2 -0
  74. package/dist/views/pages/auth/user/index.vue.d.ts +2 -0
  75. package/dist/views/pages/db/index.vue.d.ts +2 -0
  76. package/dist/views/pages/email/config/index.vue.d.ts +2 -0
  77. package/dist/views/pages/home/index.vue.d.ts +2 -0
  78. package/dist/views/pages/log/error/index.vue.d.ts +2 -0
  79. package/dist/views/pages/log/loginlog/index.vue.d.ts +2 -0
  80. package/dist/views/pages/schedule/job/index.vue.d.ts +2 -0
  81. package/dist/views/pages/sms/config/index.vue.d.ts +2 -0
  82. package/dist/views/pages/system/config/index.vue.d.ts +2 -0
  83. package/dist/views/pages/system/tenant/index.vue.d.ts +2 -0
  84. package/package.json +66 -0
@@ -0,0 +1,592 @@
1
+ import { defineComponent as C, ref as j, reactive as N, onMounted as D, onUnmounted as E, resolveComponent as p, openBlock as u, createElementBlock as h, normalizeStyle as R, createBlock as x, createCommentVNode as w, watch as $, Fragment as k, renderList as L, withDirectives as M, vModelText as O, nextTick as z, withCtx as f, createElementVNode as a, createVNode as m, createTextVNode as g, toDisplayString as y } from "vue";
2
+ import { ApiAuthMenu as A, scurd as F, ssys as H } from "./cc1-admin-front.js";
3
+ import { Scope as W } from "cc1-vue3";
4
+ import { TSys as V } from "cc1-form";
5
+ import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const q = /* @__PURE__ */ C({
7
+ __name: "addIconItem",
8
+ props: {
9
+ isbig: { default: !1 },
10
+ el: { default: {} },
11
+ lib: { default: "" },
12
+ color: { default: "" },
13
+ nofill: { default: !1 }
14
+ },
15
+ setup(_) {
16
+ const n = j({}), l = N({
17
+ show: !1,
18
+ observer: {}
19
+ });
20
+ return D(() => {
21
+ l.observer = new IntersectionObserver(
22
+ (r, e) => {
23
+ r.forEach((i) => {
24
+ l.show = i.isIntersecting;
25
+ });
26
+ },
27
+ { threshold: 0 }
28
+ ), l.observer.observe(n.value);
29
+ }), E(() => {
30
+ l.observer.disconnect();
31
+ }), (r, e) => {
32
+ const i = p("VIcon");
33
+ return u(), h("span", {
34
+ style: R({ minHeight: _.isbig ? "40px" : "20px" }),
35
+ ref_key: "_dom",
36
+ ref: n
37
+ }, [
38
+ l.show ? (u(), x(i, {
39
+ key: 0,
40
+ lib: _.lib,
41
+ name: _.el.name,
42
+ size: _.isbig ? 40 : 20,
43
+ color: _.color,
44
+ nofill: _.nofill
45
+ }, null, 8, ["lib", "name", "size", "color", "nofill"])) : w("", !0)
46
+ ], 4);
47
+ };
48
+ }
49
+ }), G = {
50
+ class: "row items-center",
51
+ style: { gap: "10px" }
52
+ }, J = ["onUpdate:modelValue"], K = /* @__PURE__ */ C({
53
+ __name: "colorChoose",
54
+ props: {
55
+ colors: { default: [] },
56
+ length: { default: 6 }
57
+ },
58
+ emits: ["update:colors"],
59
+ setup(_, { emit: n }) {
60
+ const l = _, r = n, e = N({
61
+ color: []
62
+ });
63
+ for (let d = 0; d < l.length; d++)
64
+ e.color.push({ value: l.colors[d] || "#000000" });
65
+ const i = () => r(
66
+ "update:colors",
67
+ e.color.map((d) => d.value)
68
+ );
69
+ i();
70
+ const o = W.Timer();
71
+ let c = null;
72
+ return $(
73
+ () => e.color,
74
+ () => {
75
+ o.un(c), c = o.once(() => {
76
+ i();
77
+ }, 100);
78
+ },
79
+ { deep: !0 }
80
+ ), (d, t) => (u(), h("div", G, [
81
+ (u(!0), h(k, null, L(e.color, (v, b) => M((u(), h("input", {
82
+ type: "color",
83
+ "onUpdate:modelValue": (I) => e.color[b].value = I
84
+ }, null, 8, J)), [
85
+ [O, e.color[b].value]
86
+ ])), 256))
87
+ ]));
88
+ }
89
+ }), P = {
90
+ class: "row items-center",
91
+ style: { height: "60px", overflow: "auto" }
92
+ }, Q = {
93
+ class: "row items-center",
94
+ style: { gap: "10px", margin: "15px 0" }
95
+ }, X = {
96
+ class: "row items-center",
97
+ style: { gap: "10px", "margin-bottom": "15px" }
98
+ }, Y = { class: "row items-center" }, Z = {
99
+ class: "flex items-center",
100
+ style: { "margin-bottom": "10px" }
101
+ }, ee = { style: { "margin-left": "10px" } }, oe = {
102
+ key: 0,
103
+ class: "row"
104
+ }, le = ["onClick"], te = {
105
+ style: { width: "0px" },
106
+ class: "flex flex-center"
107
+ }, ne = { style: { "text-wrap": "nowrap" } }, ie = { class: "dialog-footer" }, se = /* @__PURE__ */ C({
108
+ __name: "addDialog",
109
+ props: {
110
+ show: { default: !1 },
111
+ iconName: { default: "home" },
112
+ iconLib: { default: "ant" },
113
+ iconFill: { default: [] }
114
+ },
115
+ emits: ["close", "update:show"],
116
+ setup(_, { emit: n }) {
117
+ const l = _;
118
+ $(
119
+ () => l.show,
120
+ () => {
121
+ e.show = l.show, e.show && e.open();
122
+ }
123
+ );
124
+ const r = n, e = N({
125
+ libs: [],
126
+ lib: "",
127
+ size: 0,
128
+ nofill: !1,
129
+ isbig: !1,
130
+ getlibs: async () => {
131
+ if (e.libs.length) return;
132
+ const i = VConf.vicon, o = `${i.url}/_keys.json`;
133
+ let c = await i.fun.getRes(o);
134
+ c || (c = await i.fun.getResorce(o, !0));
135
+ const d = `${i.url}/_size.json`;
136
+ let t = await i.fun.getRes(d);
137
+ t || (t = await i.fun.getResorce(d, !0)), e.size = t.num, e.libs = c;
138
+ },
139
+ init: () => {
140
+ e.lib = l.iconLib || "ant", e.item.lib = l.iconLib || "ant", e.item.name = l.iconName || "home", e.color.length = 0, e.color.push(...l.iconFill);
141
+ },
142
+ changeLib: () => {
143
+ e.open(!1);
144
+ },
145
+ list: {},
146
+ title: "选择图标",
147
+ findName: "",
148
+ color: [],
149
+ item: {
150
+ lib: "",
151
+ name: ""
152
+ },
153
+ show: !1,
154
+ showIcon: !1,
155
+ open: async (i = !0) => {
156
+ V.loading(!0);
157
+ const o = VConf.vicon;
158
+ await e.getlibs(), i && e.init(), e.showIcon = !1;
159
+ const c = e.lib, d = `${o.url}/${c}/_all.json`;
160
+ if (e.list[c] || (e.list[c] = []), e.list[c].length) {
161
+ z(() => {
162
+ e.showIcon = !0;
163
+ }), V.loading(!1);
164
+ return;
165
+ }
166
+ let t = await o.fun.getRes(d);
167
+ t || (t = await o.fun.getResorce(d, !0));
168
+ const v = Object.keys(t);
169
+ e.list[c] = [];
170
+ for (let b = 0; b < v.length; b++)
171
+ e.list[c].push({
172
+ name: v[b]
173
+ });
174
+ z(() => {
175
+ e.showIcon = !0;
176
+ }), V.loading(!1);
177
+ },
178
+ choose: async (i) => {
179
+ e.item.lib = e.lib, e.item.name = i.name, await StrUtil.copyText(`${e.lib}-${i.name}`);
180
+ },
181
+ close: () => {
182
+ e.show = !1;
183
+ },
184
+ closeItem: () => {
185
+ r("close", { lib: e.item.lib, name: e.item.name, color: e.color }), e.close();
186
+ }
187
+ });
188
+ return $(
189
+ () => e.show,
190
+ () => {
191
+ r("update:show", e.show);
192
+ }
193
+ ), (i, o) => {
194
+ const c = p("el-radio"), d = p("el-radio-group"), t = p("el-input"), v = p("el-switch"), b = p("el-tooltip"), I = p("VIcon"), B = p("el-scrollbar"), U = p("el-button"), S = p("el-dialog");
195
+ return u(), x(S, {
196
+ modelValue: e.show,
197
+ "onUpdate:modelValue": o[5] || (o[5] = (s) => e.show = s),
198
+ title: e.title,
199
+ "close-on-click-modal": !1,
200
+ style: { width: "950px" },
201
+ "z-index": 1e4
202
+ }, {
203
+ footer: f(() => [
204
+ a("span", ie, [
205
+ m(U, {
206
+ onClick: e.close
207
+ }, {
208
+ default: f(() => o[15] || (o[15] = [
209
+ g("关闭", -1)
210
+ ])),
211
+ _: 1,
212
+ __: [15]
213
+ }, 8, ["onClick"]),
214
+ m(U, {
215
+ type: "primary",
216
+ onClick: e.closeItem
217
+ }, {
218
+ default: f(() => o[16] || (o[16] = [
219
+ g("确定", -1)
220
+ ])),
221
+ _: 1,
222
+ __: [16]
223
+ }, 8, ["onClick"])
224
+ ])
225
+ ]),
226
+ default: f(() => [
227
+ a("div", P, [
228
+ m(d, {
229
+ modelValue: e.lib,
230
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => e.lib = s),
231
+ onChange: e.changeLib
232
+ }, {
233
+ default: f(() => [
234
+ (u(!0), h(k, null, L(e.libs, (s) => (u(), x(c, {
235
+ value: s,
236
+ size: "small"
237
+ }, {
238
+ default: f(() => [
239
+ g(y(s), 1)
240
+ ]),
241
+ _: 2
242
+ }, 1032, ["value"]))), 256))
243
+ ]),
244
+ _: 1
245
+ }, 8, ["modelValue", "onChange"])
246
+ ]),
247
+ a("div", Q, [
248
+ o[6] || (o[6] = a("div", null, "条件:", -1)),
249
+ m(t, {
250
+ modelValue: e.findName,
251
+ "onUpdate:modelValue": o[1] || (o[1] = (s) => e.findName = s),
252
+ style: { width: "160px" },
253
+ placeholder: "查找"
254
+ }, null, 8, ["modelValue"]),
255
+ o[7] || (o[7] = a("div", null, "当前可选图标库数量:", -1)),
256
+ g(" " + y(e.libs.length) + "个 ", 1),
257
+ o[8] || (o[8] = a("div", null, "当前可选图标数量:", -1)),
258
+ g(" " + y(e.size) + "个 ", 1),
259
+ o[9] || (o[9] = a("div", null, "总大小:", -1)),
260
+ o[10] || (o[10] = g(" 43.49M ", -1))
261
+ ]),
262
+ a("div", X, [
263
+ o[13] || (o[13] = a("div", null, "放大:", -1)),
264
+ m(v, {
265
+ modelValue: e.isbig,
266
+ "onUpdate:modelValue": o[2] || (o[2] = (s) => e.isbig = s)
267
+ }, null, 8, ["modelValue"]),
268
+ m(b, {
269
+ effect: "dark",
270
+ content: "开启时使用图标库上传时的颜色示例:chroma、chromab、bank等多色图标库",
271
+ placement: "top"
272
+ }, {
273
+ default: f(() => [
274
+ a("div", Y, [
275
+ o[11] || (o[11] = a("div", null, "颜色控制:", -1)),
276
+ m(v, {
277
+ modelValue: e.nofill,
278
+ "onUpdate:modelValue": o[3] || (o[3] = (s) => e.nofill = s)
279
+ }, null, 8, ["modelValue"])
280
+ ])
281
+ ]),
282
+ _: 1
283
+ }),
284
+ !e.nofill && e.showIcon ? (u(), h(k, { key: 0 }, [
285
+ o[12] || (o[12] = a("div", null, "颜色:", -1)),
286
+ m(K, {
287
+ colors: e.color,
288
+ "onUpdate:colors": o[4] || (o[4] = (s) => e.color = s)
289
+ }, null, 8, ["colors"])
290
+ ], 64)) : w("", !0)
291
+ ]),
292
+ a("div", Z, [
293
+ o[14] || (o[14] = a("div", null, "当前选中:", -1)),
294
+ m(I, {
295
+ lib: e.item.lib,
296
+ name: e.item.name,
297
+ color: e.color
298
+ }, null, 8, ["lib", "name", "color"]),
299
+ a("div", ee, y(e.item.lib) + "-" + y(e.item.name), 1)
300
+ ]),
301
+ m(B, { "max-height": "400px" }, {
302
+ default: f(() => [
303
+ e.showIcon ? (u(), h("div", oe, [
304
+ (u(!0), h(k, null, L(e.list[e.lib], (s) => (u(), h(k, null, [
305
+ !e.findName || s.name.indexOf(e.findName) != -1 ? (u(), h("div", {
306
+ key: 0,
307
+ class: "iconlist column flex-center",
308
+ onClick: (me) => e.choose(s),
309
+ style: R({
310
+ background: s.name === e.item.name && e.lib === e.item.lib ? "#c8ebff" : void 0,
311
+ height: e.isbig ? "80px" : "60px",
312
+ width: e.isbig ? "180px" : "90px"
313
+ })
314
+ }, [
315
+ m(q, {
316
+ isbig: e.isbig,
317
+ el: s,
318
+ color: e.color,
319
+ nofill: e.nofill,
320
+ lib: e.lib
321
+ }, null, 8, ["isbig", "el", "color", "nofill", "lib"]),
322
+ a("div", te, [
323
+ a("div", ne, y(s.name), 1)
324
+ ])
325
+ ], 12, le)) : w("", !0)
326
+ ], 64))), 256))
327
+ ])) : w("", !0)
328
+ ]),
329
+ _: 1
330
+ })
331
+ ]),
332
+ _: 1
333
+ }, 8, ["modelValue", "title"]);
334
+ };
335
+ }
336
+ }), ae = /* @__PURE__ */ T(se, [["__scopeId", "data-v-b9c727d4"]]), re = { class: "flex flex-center" }, ce = { class: "row" }, ue = ["onClick"], de = /* @__PURE__ */ C({
337
+ __name: "index",
338
+ setup(_) {
339
+ const n = N({
340
+ routers: [],
341
+ initRouters: () => {
342
+ n.routers = [];
343
+ const l = (r, e) => {
344
+ r.forEach((i) => {
345
+ if (i.path) {
346
+ let o = i.path.split("/:")[0];
347
+ o.length && e.push({
348
+ path: o,
349
+ label: o,
350
+ value: o
351
+ });
352
+ }
353
+ i.children && l(i.children, e);
354
+ });
355
+ };
356
+ l(V.routes, n.routers);
357
+ },
358
+ icon: {
359
+ visible: !1,
360
+ current: null,
361
+ form: {
362
+ iconName: "",
363
+ iconLib: "",
364
+ iconFill: ["#1890ff"]
365
+ },
366
+ show(l) {
367
+ n.icon.current = l, n.icon.visible = !0;
368
+ },
369
+ select(l) {
370
+ n.icon.current.iconLib = l.lib, n.icon.current.iconName = l.name, n.icon.current.iconFill = l.color;
371
+ }
372
+ },
373
+ data: [],
374
+ option: {
375
+ api: A,
376
+ data(l) {
377
+ return n.data = H.getTableTree(l), n.data;
378
+ },
379
+ form: {
380
+ openBefore: async (l, r) => {
381
+ F.form.openBefore.parentId(l, r, n.data, n.option), F.setOptionsData(n.option, "url", n.routers);
382
+ },
383
+ submitBefore(l, r) {
384
+ l.iconName?.length || (l.iconLib = "", l.iconName = "", l.iconFill = []);
385
+ }
386
+ },
387
+ search: {
388
+ show: !1
389
+ },
390
+ table: {
391
+ border: !0,
392
+ index: !1
393
+ },
394
+ column: [
395
+ {
396
+ key: "parentId",
397
+ label: "父级",
398
+ type: "tree-select",
399
+ value: "0",
400
+ form: {
401
+ span: 12
402
+ },
403
+ options: {
404
+ treeSelect: {
405
+ data: [],
406
+ multiple: !1
407
+ }
408
+ },
409
+ show: {
410
+ table: !1
411
+ }
412
+ },
413
+ {
414
+ key: "title",
415
+ label: "名称",
416
+ type: "input",
417
+ value: "",
418
+ sort: {
419
+ table: 1
420
+ }
421
+ },
422
+ {
423
+ key: "type",
424
+ label: "类型",
425
+ type: "select",
426
+ value: 0,
427
+ options: {
428
+ select: {
429
+ data: [
430
+ { label: "目录", value: 0 },
431
+ { label: "路由", value: 1 }
432
+ ]
433
+ }
434
+ },
435
+ sort: {
436
+ table: 2
437
+ }
438
+ },
439
+ {
440
+ key: "icon",
441
+ label: "图标",
442
+ type: "input",
443
+ value: "",
444
+ sort: {
445
+ table: 3
446
+ }
447
+ },
448
+ {
449
+ key: "show",
450
+ label: "显示",
451
+ type: "switch",
452
+ value: !0,
453
+ show: {
454
+ table: !1
455
+ }
456
+ },
457
+ {
458
+ key: "url",
459
+ label: "地址",
460
+ type: "select",
461
+ value: "",
462
+ show: {
463
+ form: (l) => l.type === 1
464
+ },
465
+ options: {
466
+ select: {
467
+ filterable: !0,
468
+ data: []
469
+ }
470
+ },
471
+ table: {
472
+ minWidth: "250px",
473
+ align: "left"
474
+ },
475
+ form: {
476
+ span: 12
477
+ },
478
+ sort: {
479
+ table: 4
480
+ }
481
+ },
482
+ {
483
+ key: "sort",
484
+ label: "排序",
485
+ type: "input",
486
+ value: 0,
487
+ table: {
488
+ width: "80px",
489
+ align: "center"
490
+ },
491
+ sort: {
492
+ table: 5
493
+ }
494
+ },
495
+ {
496
+ key: "desc",
497
+ label: "备注",
498
+ type: "input",
499
+ value: "",
500
+ show: {
501
+ table: !1
502
+ }
503
+ }
504
+ ],
505
+ tools: {
506
+ add: (l) => l === void 0 ? !0 : l.type === 0,
507
+ update: !0,
508
+ delete: !0,
509
+ export: {
510
+ show: !1
511
+ },
512
+ expand: !0
513
+ }
514
+ }
515
+ });
516
+ return n.initRouters(), (l, r) => {
517
+ const e = p("VIcon"), i = p("el-tag"), o = p("el-switch"), c = p("el-button"), d = p("t-curd");
518
+ return u(), x(d, {
519
+ option: n.option
520
+ }, {
521
+ "table-icon": f(({ row: t }) => [
522
+ a("div", re, [
523
+ t.iconName ? (u(), x(e, {
524
+ key: 0,
525
+ lib: t.iconLib,
526
+ name: t.iconName,
527
+ color: t.iconFill,
528
+ size: "18"
529
+ }, null, 8, ["lib", "name", "color"])) : w("", !0)
530
+ ])
531
+ ]),
532
+ "table-type": f(({ row: t }) => [
533
+ m(i, {
534
+ type: t.type === 0 ? "warning" : void 0
535
+ }, {
536
+ default: f(() => [
537
+ g(y(t.type === 0 ? "目录" : "路由"), 1)
538
+ ]),
539
+ _: 2
540
+ }, 1032, ["type"])
541
+ ]),
542
+ "form-show": f(({ row: t, item: v }) => [
543
+ t.type === 1 ? (u(), x(o, {
544
+ key: 0,
545
+ modelValue: t[v.key],
546
+ "onUpdate:modelValue": (b) => t[v.key] = b
547
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : w("", !0)
548
+ ]),
549
+ "form-icon": f(({ row: t, item: v }) => [
550
+ a("div", ce, [
551
+ m(c, {
552
+ style: { "margin-right": "16px" },
553
+ onClick: (b) => n.icon.show(t)
554
+ }, {
555
+ default: f(() => r[1] || (r[1] = [
556
+ g("选择图标", -1)
557
+ ])),
558
+ _: 2,
559
+ __: [1]
560
+ }, 1032, ["onClick"]),
561
+ t.iconName ? (u(), h("div", {
562
+ key: 0,
563
+ class: "iconlist",
564
+ onClick: (b) => t.iconName = ""
565
+ }, [
566
+ m(e, {
567
+ lib: t.iconLib,
568
+ name: t.iconName,
569
+ color: t.iconFill,
570
+ size: "26"
571
+ }, null, 8, ["lib", "name", "color"])
572
+ ], 8, ue)) : w("", !0)
573
+ ])
574
+ ]),
575
+ "tools-right": f(() => [
576
+ m(ae, {
577
+ iconName: n.icon.form.iconName,
578
+ iconLib: n.icon.form.iconLib,
579
+ iconFill: n.icon.form.iconFill,
580
+ show: n.icon.visible,
581
+ "onUpdate:show": r[0] || (r[0] = (t) => n.icon.visible = t),
582
+ onClose: n.icon.select
583
+ }, null, 8, ["iconName", "iconLib", "iconFill", "show", "onClose"])
584
+ ]),
585
+ _: 1
586
+ }, 8, ["option"]);
587
+ };
588
+ }
589
+ }), ve = /* @__PURE__ */ T(de, [["__scopeId", "data-v-888f75ee"]]);
590
+ export {
591
+ ve as default
592
+ };