@pubinfo/module-rbac 2.0.0-rc.3 → 2.0.0-rc.5
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.
- package/dist/{ComponentSelect-B1ZyenXP.js → ComponentSelect-Bhl9ciUm.js} +12 -12
- package/dist/ComponentSelect-Bhwuc86o.js +2 -0
- package/dist/ComponentSelect.css +1 -1
- package/dist/DynamicRoutesForm-CE2RPs7y.js +169 -0
- package/dist/DynamicRoutesForm-D35jFnxF.js +4 -0
- package/dist/IconSelect-Ct5FkeHI.js +4 -0
- package/dist/IconSelect-HAhfS6hd.js +661 -0
- package/dist/IconSelect.css +1 -0
- package/dist/{ImportExport-Clbc8xaw.js → ImportExport-ByRTssxP.js} +2 -2
- package/dist/ImportExport-D8uzaOMz.js +4 -0
- package/dist/{MetaForm-BWy4Lpr8.js → MetaForm-BSGuZXgj.js} +2 -2
- package/dist/{MetaForm-DpH9an5A.js → MetaForm-DErrpELP.js} +1 -1
- package/dist/OrgAndPosition-CF7ZJtNB.js +2 -0
- package/dist/{ResourceEdit-0_cYB0iu.js → ResourceEdit-DF-2_zoi.js} +115 -105
- package/dist/ResourceEdit-oAPLPUf0.js +11 -0
- package/dist/{ResourceRelation-DMWa09ae.js → ResourceRelation-BRseTUw2.js} +1 -1
- package/dist/RoleRelation-YaSQQxQ2.js +2 -0
- package/dist/{TenantEdit-D8-Pt7sf.js → TenantEdit-C28473_2.js} +1 -1
- package/dist/{UserAuthorization-DuioGghR.js → UserAuthorization-C4SLMNmh.js} +1 -1
- package/dist/UserEdit-CyCXz7g3.js +4 -0
- package/dist/{UserEdit-C6eNXSCu.js → UserEdit-EOTBOUZu.js} +1 -1
- package/dist/api/modules/assist/gonggaofuwu.d.ts +6 -6
- package/dist/api/modules/assist/qunzujiekou.d.ts +6 -6
- package/dist/api/modules/assist/quyujiekou.d.ts +5 -5
- package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +5 -5
- package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +14 -14
- package/dist/api/modules/configData/zidifuwu.d.ts +10 -10
- package/dist/api/modules/log/caozuorizhifuwu.d.ts +2 -2
- package/dist/api/modules/log/denglurizhifuwu.d.ts +2 -2
- package/dist/api/modules/rbac/gangweijiekou.d.ts +6 -6
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +7 -7
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -7
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +9 -9
- package/dist/api/modules/rbac/yonghujiekou.d.ts +15 -15
- package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +5 -5
- package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +4 -4
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +6 -6
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +13 -13
- package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +5 -5
- package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +4 -4
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +9 -9
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +23 -0
- package/dist/components/ResourceIcones/Select.vue.d.ts +48 -2
- package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +15 -6
- package/dist/components/RoleSelector/useRole.d.ts +68 -4
- package/dist/context.d.ts +1 -2
- package/dist/{drawerRole-DNsK5a6O.js → drawerRole-CzTW_I2H.js} +1 -1
- package/dist/{drawerRole-BeUNs7cF.js → drawerRole-tan379DU.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1427 -1431
- package/dist/{resource-CrhX7VRK.js → resource-CyI9ZpmF.js} +9 -8
- package/dist/{role-PjmrOdFd.js → role-B2tKqUvP.js} +2 -2
- package/dist/{role_group-Dlx-6BZF.js → role_group-DqzFHwKx.js} +1 -1
- package/dist/stores/view.d.ts +126 -21
- package/dist/{tenant-BGtOP_wo.js → tenant-C8kVbfgt.js} +2 -2
- package/dist/{toolbar_setting-OemNp6pO.js → toolbar_setting-Dc_h2Mfe.js} +23 -34
- package/dist/toolbar_setting.css +1 -1
- package/dist/{user-JCiGXodF.js → user-Dub4HhCZ.js} +3 -3
- package/dist/utils/routeSystem.d.ts +126 -21
- package/dist/views/blackWhiteList/index.vue.d.ts +40 -40
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +4 -4
- package/dist/views/data-permission/index.vue.d.ts +44 -44
- package/dist/views/dictionary/index.vue.d.ts +40 -40
- package/dist/views/dictionary/itemlist.vue.d.ts +40 -40
- package/dist/views/group/index.vue.d.ts +40 -40
- package/dist/views/log_center/components/browserType.vue.d.ts +2 -2
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +2 -2
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +2 -2
- package/dist/views/log_center/login_history.vue.d.ts +40 -40
- package/dist/views/log_center/operate_history.vue.d.ts +40 -40
- package/dist/views/position/index.vue.d.ts +40 -40
- package/dist/views/region/index.vue.d.ts +40 -40
- package/dist/views/resource/components/IconSelect.vue.d.ts +10 -0
- package/dist/views/resource/hooks/useMetaForm.d.ts +8 -1
- package/dist/views/resource/index.vue.d.ts +40 -40
- package/dist/views/role/components/ResourceRelation.vue.d.ts +40 -40
- package/dist/views/role/index.vue.d.ts +80 -80
- package/dist/views/role_group/index.vue.d.ts +40 -40
- package/dist/views/tenant/index.vue.d.ts +40 -40
- package/dist/views/toolbar_setting/animationData.d.ts +1 -3
- package/dist/views/user/index.vue.d.ts +40 -40
- package/package.json +7 -3
- package/src/components/DirectoryIcones/ComponentsIcones.vue +2 -2
- package/src/components/DirectoryIcones/FolderIcones.vue +2 -2
- package/src/components/DirectoryIcones/ModuleIcones.vue +2 -2
- package/src/components/DirectoryIcones/PackagesIcones.vue +2 -2
- package/src/components/DirectoryIcones/SrcIcones.vue +2 -2
- package/src/components/DirectoryIcones/ViewIcones.vue +2 -2
- package/src/components/ResourceIcones/BoxColorPicker.vue +172 -0
- package/src/components/ResourceIcones/Select.vue +227 -15
- package/src/context.ts +1 -17
- package/src/index.ts +3 -10
- package/src/views/resource/components/ComponentSelect.vue +10 -0
- package/src/views/resource/components/DynamicRoutesForm.vue +0 -8
- package/src/views/resource/components/IconSelect.vue +138 -0
- package/src/views/resource/components/ResourceEdit.vue +34 -28
- package/src/views/toolbar_setting/animationData.ts +0 -4
- package/src/views/toolbar_setting/index.vue +0 -13
- package/dist/ComponentSelect-DlVJI5an.js +0 -2
- package/dist/DynamicRoutesForm-Cu3WhRpA.js +0 -4
- package/dist/DynamicRoutesForm-qjbrykW4.js +0 -376
- package/dist/ImportExport-CtEZTU87.js +0 -4
- package/dist/OrgAndPosition-3lCm4Fyb.js +0 -2
- package/dist/ResourceEdit-CYPzEbqn.js +0 -10
- package/dist/RoleRelation-DySyilcs.js +0 -2
- package/dist/UserEdit-6HYbgtOh.js +0 -4
- /package/dist/{OrgAndPosition-DYxNkasL.js → OrgAndPosition-vnBrq-fn.js} +0 -0
- /package/dist/{ResourceRelation-CZ8hGgOm.js → ResourceRelation-B_4woLmP.js} +0 -0
- /package/dist/{ResourceRelation-DkKdZ3TD.js → ResourceRelation-CKolCnHC.js} +0 -0
- /package/dist/{RoleRelation-B1D1NM_L.js → RoleRelation-DXZxscPY.js} +0 -0
- /package/dist/{TenantEdit-DNJzo8SS.js → TenantEdit-B5_v0C8I.js} +0 -0
- /package/dist/{UserAuthorization-DPHUk69M.js → UserAuthorization-DTgmWH5Q.js} +0 -0
- /package/dist/{dayjs.min-DcxwBe2I.js → dayjs.min-CdDcH50N.js} +0 -0
- /package/dist/{drawerRole-DS7fbx1h.js → drawerRole-CwilBmOE.js} +0 -0
- /package/dist/{drawerRole-BdoMYLYW.js → drawerRole-E1jHM3v-.js} +0 -0
- /package/dist/{enum-D0U38jb6.js → enum-BMY6bmPA.js} +0 -0
- /package/dist/{safe_setting-DpWUCv2p.js → safe_setting-uj9p_wW0.js} +0 -0
- /package/dist/{tabbar_setting-9UKDc1Ev.js → tabbar_setting-HFHrLVgt.js} +0 -0
- /package/dist/{theme_setting-BBLaZ4NS.js → theme_setting-QgpSGXxq.js} +0 -0
- /package/dist/{watermark_setting-C1VFRfbW.js → watermark_setting-BcWy6p2_.js} +0 -0
|
@@ -3283,7 +3283,7 @@ var za = /* @__PURE__ */ l({
|
|
|
3283
3283
|
"stroke-linecap": "round",
|
|
3284
3284
|
"stroke-linejoin": "round"
|
|
3285
3285
|
}, [s("path", {
|
|
3286
|
-
|
|
3286
|
+
class: "stroke-dark dark:stroke-light",
|
|
3287
3287
|
d: "m1.87 8l.7-2.74a1 1 0 0 1 .96-.76h10.94a1 1 0 0 1 .97 1.24l-.219.875M6 13.5H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3288
3288
|
}), s("path", {
|
|
3289
3289
|
stroke: "#67B686",
|
|
@@ -3293,7 +3293,7 @@ var za = /* @__PURE__ */ l({
|
|
|
3293
3293
|
"stroke-linecap": "round",
|
|
3294
3294
|
"stroke-linejoin": "round"
|
|
3295
3295
|
}, [s("path", {
|
|
3296
|
-
|
|
3296
|
+
class: "stroke-dark dark:stroke-light",
|
|
3297
3297
|
d: "M4.5 4.5H12c.83 0 1.5.67 1.5 1.5v.5m-7.5 7H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3298
3298
|
}), s("path", {
|
|
3299
3299
|
stroke: "#67B686",
|
|
@@ -3325,13 +3325,13 @@ var Ua = /* @__PURE__ */ l({
|
|
|
3325
3325
|
let t = e;
|
|
3326
3326
|
return (e, n) => t.expanded ? (_(), o("svg", Va, [a(" Icon from Catppuccin Icons by Catppuccin - https://github.com/catppuccin/vscode-icons/blob/main/LICENSE "), n[0] ||= s("path", {
|
|
3327
3327
|
fill: "none",
|
|
3328
|
-
|
|
3328
|
+
class: "stroke-dark dark:stroke-light",
|
|
3329
3329
|
"stroke-linecap": "round",
|
|
3330
3330
|
"stroke-linejoin": "round",
|
|
3331
3331
|
d: "m1.87 8l.7-2.74a1 1 0 0 1 .96-.76h10.94a1 1 0 0 1 .97 1.24l-1.75 7a1 1 0 0 1-.97.76H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3332
3332
|
}, null, -1)])) : (_(), o("svg", Ha, [a(" Icon from Catppuccin Icons by Catppuccin - https://github.com/catppuccin/vscode-icons/blob/main/LICENSE "), n[1] ||= s("path", {
|
|
3333
3333
|
fill: "none",
|
|
3334
|
-
|
|
3334
|
+
class: "stroke-dark dark:stroke-light",
|
|
3335
3335
|
"stroke-linecap": "round",
|
|
3336
3336
|
"stroke-linejoin": "round",
|
|
3337
3337
|
d: "M4.5 4.5H12c.83 0 1.5.67 1.5 1.5v6c0 .83-.67 1.5-1.5 1.5H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
@@ -3365,7 +3365,7 @@ var qa = /* @__PURE__ */ l({
|
|
|
3365
3365
|
"stroke-linecap": "round",
|
|
3366
3366
|
"stroke-linejoin": "round"
|
|
3367
3367
|
}, [s("path", {
|
|
3368
|
-
|
|
3368
|
+
class: "stroke-dark dark:stroke-light",
|
|
3369
3369
|
d: "m1.875 8l.686-2.743a1 1 0 0 1 .97-.757h10.938a1 1 0 0 1 .97 1.243l-.315 1.26M6 13.5H2.004A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3370
3370
|
}), s("path", {
|
|
3371
3371
|
stroke: "#65bb87",
|
|
@@ -3375,7 +3375,7 @@ var qa = /* @__PURE__ */ l({
|
|
|
3375
3375
|
"stroke-linecap": "round",
|
|
3376
3376
|
"stroke-linejoin": "round"
|
|
3377
3377
|
}, [s("path", {
|
|
3378
|
-
|
|
3378
|
+
class: "stroke-dark dark:stroke-light",
|
|
3379
3379
|
d: "M4.5 4.5H12A1.5 1.5 0 0 1 13.5 6v.5m-7.5 7H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3380
3380
|
}), s("path", {
|
|
3381
3381
|
stroke: "#65bb87",
|
|
@@ -3410,7 +3410,7 @@ var Za = /* @__PURE__ */ l({
|
|
|
3410
3410
|
"stroke-linecap": "round",
|
|
3411
3411
|
"stroke-linejoin": "round"
|
|
3412
3412
|
}, [s("path", {
|
|
3413
|
-
|
|
3413
|
+
class: "stroke-dark dark:stroke-light",
|
|
3414
3414
|
d: "m1.875 8l.686-2.743a1 1 0 0 1 .97-.757h10.938a1 1 0 0 1 .97 1.243l-.315 1.26M6 13.5H2.004A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3415
3415
|
}), s("path", {
|
|
3416
3416
|
stroke: "#E23730",
|
|
@@ -3420,7 +3420,7 @@ var Za = /* @__PURE__ */ l({
|
|
|
3420
3420
|
"stroke-linecap": "round",
|
|
3421
3421
|
"stroke-linejoin": "round"
|
|
3422
3422
|
}, [s("path", {
|
|
3423
|
-
|
|
3423
|
+
class: "stroke-dark dark:stroke-light",
|
|
3424
3424
|
d: "M4.5 4.5H12A1.5 1.5 0 0 1 13.5 6v.5m-7.5 7H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3425
3425
|
}), s("path", {
|
|
3426
3426
|
stroke: "#E23730",
|
|
@@ -3455,7 +3455,7 @@ var to = /* @__PURE__ */ l({
|
|
|
3455
3455
|
"stroke-linecap": "round",
|
|
3456
3456
|
"stroke-linejoin": "round"
|
|
3457
3457
|
}, [s("path", {
|
|
3458
|
-
|
|
3458
|
+
class: "stroke-dark dark:stroke-light",
|
|
3459
3459
|
d: "m1.875 8l.686-2.743a1 1 0 0 1 .97-.757h10.938a1 1 0 0 1 .97 1.243l-.315 1.26M6 13.5H2.004A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3460
3460
|
}), s("path", {
|
|
3461
3461
|
stroke: "#65bb87",
|
|
@@ -3465,7 +3465,7 @@ var to = /* @__PURE__ */ l({
|
|
|
3465
3465
|
"stroke-linecap": "round",
|
|
3466
3466
|
"stroke-linejoin": "round"
|
|
3467
3467
|
}, [s("path", {
|
|
3468
|
-
|
|
3468
|
+
class: "stroke-dark dark:stroke-light",
|
|
3469
3469
|
d: "M4.5 4.5H12A1.5 1.5 0 0 1 13.5 6v.5m-7.5 7H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3470
3470
|
}), s("path", {
|
|
3471
3471
|
stroke: "#65bb87",
|
|
@@ -3500,7 +3500,7 @@ var ao = /* @__PURE__ */ l({
|
|
|
3500
3500
|
"stroke-linecap": "round",
|
|
3501
3501
|
"stroke-linejoin": "round"
|
|
3502
3502
|
}, [s("path", {
|
|
3503
|
-
|
|
3503
|
+
class: "stroke-dark dark:stroke-light",
|
|
3504
3504
|
d: "m1.875 8l.686-2.743a1 1 0 0 1 .97-.757h10.938a1 1 0 0 1 .97 1.243l-.315 1.26M6 13.5H2.004A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3505
3505
|
}), s("path", {
|
|
3506
3506
|
stroke: "#E23730",
|
|
@@ -3510,7 +3510,7 @@ var ao = /* @__PURE__ */ l({
|
|
|
3510
3510
|
"stroke-linecap": "round",
|
|
3511
3511
|
"stroke-linejoin": "round"
|
|
3512
3512
|
}, [s("path", {
|
|
3513
|
-
|
|
3513
|
+
class: "stroke-dark dark:stroke-light",
|
|
3514
3514
|
d: "M4.5 4.5H12A1.5 1.5 0 0 1 13.5 6v.5m-7.5 7H2A1.5 1.5 0 0 1 .5 12V3.5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1"
|
|
3515
3515
|
}), s("path", {
|
|
3516
3516
|
stroke: "#E23730",
|
package/dist/ComponentSelect.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.directory-tree-root .ant-tree-treenode-selected:before{background:#e6f4ff!important;border-radius:6px!important}.directory-tree-root .ant-tree-treenode:hover:before{border-radius:6px!important}.directory-tree-root .ant-tree-title{color:#000!important}.directory-tree-root .anticon-file{opacity:0!important}
|
|
1
|
+
.directory-tree-root .ant-tree-treenode-selected:before{background:#e6f4ff!important;border-radius:6px!important}.dark .directory-tree-root .ant-tree-treenode-selected:before{background:#3166d4!important;border-radius:6px!important}.directory-tree-root .ant-tree-treenode:hover:before{border-radius:6px!important}.directory-tree-root .ant-tree-title{color:#000!important}.dark .directory-tree-root .ant-tree-title{color:#fff!important}.directory-tree-root .anticon-file{opacity:0!important}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { b as e } from "./ComponentSelect-Bhl9ciUm.js";
|
|
2
|
+
import { d as t } from "./enum-BMY6bmPA.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, mergeModels as l, openBlock as u, resolveComponent as d, useModel as f, withCtx as p } from "vue";
|
|
4
|
+
import { Col as m, FormItem as h, Input as g } from "ant-design-vue/es";
|
|
5
|
+
var _ = /* @__PURE__ */ c({
|
|
6
|
+
name: "DynamicRoutesForm",
|
|
7
|
+
__name: "DynamicRoutesForm",
|
|
8
|
+
props: /* @__PURE__ */ l({ parent: {} }, {
|
|
9
|
+
modelValue: { default: { meta: {
|
|
10
|
+
url: "",
|
|
11
|
+
component: ""
|
|
12
|
+
} } },
|
|
13
|
+
modelModifiers: {}
|
|
14
|
+
}),
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(c) {
|
|
17
|
+
let l = f(c, "modelValue"), d = r(() => {
|
|
18
|
+
let e = l.value.type;
|
|
19
|
+
return {
|
|
20
|
+
path: [
|
|
21
|
+
t.INDEX,
|
|
22
|
+
t.MENU,
|
|
23
|
+
t.MICRO_APP,
|
|
24
|
+
t.NON_MENU,
|
|
25
|
+
t.IFRAME,
|
|
26
|
+
t.LINK
|
|
27
|
+
].includes(e),
|
|
28
|
+
component: [t.MENU, t.NON_MENU].includes(e),
|
|
29
|
+
iframe: [t.IFRAME].includes(e),
|
|
30
|
+
link: [t.LINK].includes(e),
|
|
31
|
+
routeName: [
|
|
32
|
+
t.MENU,
|
|
33
|
+
t.NON_MENU,
|
|
34
|
+
t.IFRAME,
|
|
35
|
+
t.LINK
|
|
36
|
+
].includes(e),
|
|
37
|
+
activeMenu: [
|
|
38
|
+
t.MENU,
|
|
39
|
+
t.NON_MENU,
|
|
40
|
+
t.IFRAME,
|
|
41
|
+
t.LINK
|
|
42
|
+
].includes(e)
|
|
43
|
+
};
|
|
44
|
+
}), _ = r(() => !0);
|
|
45
|
+
return (t, r) => {
|
|
46
|
+
let c = g, f = h, v = m;
|
|
47
|
+
return u(), o(n, null, [a(" eslint-disable-next-line "), _.value ? (u(), o(n, { key: 0 }, [
|
|
48
|
+
d.value.path ? (u(), i(v, {
|
|
49
|
+
key: 0,
|
|
50
|
+
span: 12
|
|
51
|
+
}, {
|
|
52
|
+
default: p(() => [s(f, {
|
|
53
|
+
label: "资源路径",
|
|
54
|
+
name: ["meta", "url"],
|
|
55
|
+
rules: [{
|
|
56
|
+
required: !0,
|
|
57
|
+
message: "请输入资源路径"
|
|
58
|
+
}]
|
|
59
|
+
}, {
|
|
60
|
+
default: p(() => [s(c, {
|
|
61
|
+
value: l.value.meta.url,
|
|
62
|
+
"onUpdate:value": r[0] ||= (e) => l.value.meta.url = e,
|
|
63
|
+
placeholder: "请输入资源路径",
|
|
64
|
+
maxlength: 256
|
|
65
|
+
}, null, 8, ["value"])]),
|
|
66
|
+
_: 1
|
|
67
|
+
})]),
|
|
68
|
+
_: 1
|
|
69
|
+
})) : a("v-if", !0),
|
|
70
|
+
d.value.component ? (u(), i(v, {
|
|
71
|
+
key: 1,
|
|
72
|
+
span: 24
|
|
73
|
+
}, {
|
|
74
|
+
default: p(() => [s(f, {
|
|
75
|
+
label: "组件路径",
|
|
76
|
+
name: ["meta", "component"],
|
|
77
|
+
rules: [{
|
|
78
|
+
required: !0,
|
|
79
|
+
message: "请输入组件路径"
|
|
80
|
+
}]
|
|
81
|
+
}, {
|
|
82
|
+
default: p(() => [s(e, {
|
|
83
|
+
modelValue: l.value.meta.component,
|
|
84
|
+
"onUpdate:modelValue": r[1] ||= (e) => l.value.meta.component = e,
|
|
85
|
+
scope: l.value.meta.scope,
|
|
86
|
+
"onUpdate:scope": r[2] ||= (e) => l.value.meta.scope = e
|
|
87
|
+
}, null, 8, ["modelValue", "scope"])]),
|
|
88
|
+
_: 1
|
|
89
|
+
})]),
|
|
90
|
+
_: 1
|
|
91
|
+
})) : a("v-if", !0),
|
|
92
|
+
d.value.link ? (u(), i(v, {
|
|
93
|
+
key: 2,
|
|
94
|
+
span: 24
|
|
95
|
+
}, {
|
|
96
|
+
default: p(() => [s(f, {
|
|
97
|
+
label: "外链地址",
|
|
98
|
+
name: ["meta", "link"]
|
|
99
|
+
}, {
|
|
100
|
+
default: p(() => [s(c, {
|
|
101
|
+
value: l.value.meta.link,
|
|
102
|
+
"onUpdate:value": r[3] ||= (e) => l.value.meta.link = e,
|
|
103
|
+
placeholder: "请输入外链地址",
|
|
104
|
+
maxlength: 256
|
|
105
|
+
}, null, 8, ["value"])]),
|
|
106
|
+
_: 1
|
|
107
|
+
})]),
|
|
108
|
+
_: 1
|
|
109
|
+
})) : a("v-if", !0),
|
|
110
|
+
d.value.iframe ? (u(), i(v, {
|
|
111
|
+
key: 3,
|
|
112
|
+
span: 24
|
|
113
|
+
}, {
|
|
114
|
+
default: p(() => [s(f, {
|
|
115
|
+
label: "内嵌地址",
|
|
116
|
+
name: ["meta", "iframe"]
|
|
117
|
+
}, {
|
|
118
|
+
default: p(() => [s(c, {
|
|
119
|
+
value: l.value.meta.iframe,
|
|
120
|
+
"onUpdate:value": r[4] ||= (e) => l.value.meta.iframe = e,
|
|
121
|
+
placeholder: "请输入内嵌地址",
|
|
122
|
+
maxlength: 256
|
|
123
|
+
}, null, 8, ["value"])]),
|
|
124
|
+
_: 1
|
|
125
|
+
})]),
|
|
126
|
+
_: 1
|
|
127
|
+
})) : a("v-if", !0),
|
|
128
|
+
d.value.routeName ? (u(), i(v, {
|
|
129
|
+
key: 4,
|
|
130
|
+
span: 12
|
|
131
|
+
}, {
|
|
132
|
+
default: p(() => [s(f, {
|
|
133
|
+
label: "路由名称",
|
|
134
|
+
name: ["meta", "routeName"]
|
|
135
|
+
}, {
|
|
136
|
+
default: p(() => [s(c, {
|
|
137
|
+
value: l.value.meta.routeName,
|
|
138
|
+
"onUpdate:value": r[5] ||= (e) => l.value.meta.routeName = e,
|
|
139
|
+
placeholder: "请输入路由名称(name)",
|
|
140
|
+
maxlength: 256
|
|
141
|
+
}, null, 8, ["value"])]),
|
|
142
|
+
_: 1
|
|
143
|
+
})]),
|
|
144
|
+
_: 1
|
|
145
|
+
})) : a("v-if", !0),
|
|
146
|
+
d.value.activeMenu ? (u(), i(v, {
|
|
147
|
+
key: 5,
|
|
148
|
+
span: 12
|
|
149
|
+
}, {
|
|
150
|
+
default: p(() => [s(f, {
|
|
151
|
+
label: "激活路径",
|
|
152
|
+
name: ["meta", "activeMenu"],
|
|
153
|
+
tooltip: "跳转到当前路由时,需要激活的菜单路径。 当不在导航菜单中显示时,需要指定激活路径"
|
|
154
|
+
}, {
|
|
155
|
+
default: p(() => [s(c, {
|
|
156
|
+
value: l.value.meta.activeMenu,
|
|
157
|
+
"onUpdate:value": r[6] ||= (e) => l.value.meta.activeMenu = e,
|
|
158
|
+
placeholder: "请输入激活路径",
|
|
159
|
+
maxlength: 256
|
|
160
|
+
}, null, 8, ["value"])]),
|
|
161
|
+
_: 1
|
|
162
|
+
})]),
|
|
163
|
+
_: 1
|
|
164
|
+
})) : a("v-if", !0)
|
|
165
|
+
], 64)) : a("v-if", !0)], 2112);
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
}), v = _;
|
|
169
|
+
export { v as b };
|