@pubinfo/module-rbac 2.0.11 → 2.0.13
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/{IconSelect-CkqLR5Dg.js → IconSelect-Cco4lJFZ.js} +1 -1
- package/dist/IconSelect.css +1 -1
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-C9GJFjrV.js +757 -0
- package/dist/LayoutForm-DqDnsQcr.js +173 -0
- package/dist/LayoutForm.css +1 -0
- package/dist/{MetaForm-DtlyvzoM.js → MetaForm-s74FbAc9.js} +51 -43
- package/dist/{ResourceEdit-WpEdbzaw.js → ResourceEdit-CNYAteRE.js} +1 -1
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-BLqs77A8.js +433 -0
- package/dist/{ResourceRelation-DGiGYy6V.js → ResourceRelation-CeM9Eq39.js} +10 -11
- package/dist/{ResourceRelation-26FnHEfU.js → ResourceRelation-qhIdXLAy.js} +12 -13
- package/dist/{TenantEdit-B24X5nND.js → TenantEdit-C61O1pSu.js} +1 -1
- package/dist/{TenantEdit.vue_vue_type_script_setup_true_lang-Bu5HcJJv.js → TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js} +39 -40
- package/dist/{UserAuthorization-Co6JV0py.js → UserAuthorization-rqttVub5.js} +9 -10
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +1 -1
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +1 -1
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +3 -0
- package/dist/components/ResourceIcones/Select.vue.d.ts +3 -0
- package/dist/{createAndEditDataPermission-BhOLGGna.js → createAndEditDataPermission-DPeFulie.js} +1 -1
- package/dist/{createAndEditDataPermission.vue_vue_type_script_setup_true_lang-D5wInKwO.js → createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js} +98 -101
- package/dist/{drawerRole-DHLv47_z.js → drawerRole-CXGVqxPX.js} +1 -1
- package/dist/{drawerRole-DUWRM43j.js → drawerRole-CfJjf3v_.js} +1 -1
- package/dist/{drawerRole.vue_vue_type_script_setup_true_lang-BET5ukoo.js → drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js} +42 -43
- package/dist/{drawerRole.vue_vue_type_script_setup_true_lang-BK3zjhop.js → drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js} +1 -1
- package/dist/{index-Csfu3kAr.js → index-B5aP0re3.js} +6 -7
- package/dist/{index-DwpOyfRe.js → index-BEB4liGe.js} +8 -9
- package/dist/{index-DfuGXjYh.js → index-BNwGLzXe.js} +21 -22
- package/dist/{index-ioZh8Qom.js → index-BXvJhqJD.js} +6 -7
- package/dist/{index-DdoOaWs-.js → index-BsZjgoZQ.js} +1 -1
- package/dist/{index-BFx8F5lO.js → index-C2G4xRrJ.js} +8 -9
- package/dist/{index-x9Iim2eD.js → index-C5WD-YUu.js} +7 -8
- package/dist/{index-rNYtJ7Om.js → index-CbVJdR5M.js} +6 -7
- package/dist/{index-DECno0gv.js → index-ChWnVs6j.js} +2 -2
- package/dist/{index-C9hHp4Iw.js → index-CoZM8pyH.js} +1 -1
- package/dist/{index-B2tTTlBE.js → index-Copy5kiW.js} +276 -273
- package/dist/index-D3Xw_aOi.js +144 -0
- package/dist/{index-CCw3ZJgQ.js → index-DHVEXch0.js} +8 -9
- package/dist/{index-COWUocfL.js → index-Dl0hWfIE.js} +7 -8
- package/dist/{index-BIpmC999.js → index-En8oOf9e.js} +8 -9
- package/dist/{index-ZQuRR9fG.js → index-VZuizuKs.js} +1 -1
- package/dist/{index-BwWrE3dY.js → index-XhYtVVT9.js} +6 -7
- package/dist/{index-BUmMaC21.js → index-nAPHtTM7.js} +5 -6
- package/dist/{index-y9CQTo95.js → index-qn7U9T51.js} +9 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2588 -2289
- package/dist/index10.css +1 -1
- package/dist/index11.css +1 -1
- package/dist/index12.css +1 -1
- package/dist/index13.css +1 -1
- package/dist/index14.css +1 -1
- package/dist/index15.css +1 -1
- package/dist/index16.css +1 -1
- package/dist/index17.css +1 -1
- package/dist/index4.css +1 -1
- package/dist/index5.css +1 -1
- package/dist/index6.css +1 -1
- package/dist/index7.css +1 -1
- package/dist/index8.css +1 -1
- package/dist/index9.css +1 -1
- package/dist/{loginHistoryDetail-B6eI-TmJ.js → loginHistoryDetail-BZVwG8m2.js} +1 -1
- package/dist/{login_history-B4Q1NCJn.js → login_history-CMZGS2PN.js} +5 -6
- package/dist/{operateHistoryDetail-CLZ9lyua.js → operateHistoryDetail-Badx3zl-.js} +1 -1
- package/dist/{operate_history-KASZ7_JO.js → operate_history-B42WNY1u.js} +5 -6
- package/dist/{setItem-BwMHXOUm.js → setItem-Blb3dox4.js} +1 -1
- package/dist/{useAppAndResource-38HCqYKa.js → useAppAndResource-DDywX2iz.js} +11 -12
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -3
- package/dist/views/data-permission/index.vue.d.ts +3 -3
- package/dist/views/resource/components/LayoutForm.vue.d.ts +10 -0
- package/dist/views/resource/hooks/useLayoutForm.d.ts +12 -0
- package/dist/views/resource/model.d.ts +12 -0
- package/package.json +3 -3
- package/src/components/ResourceIcones/BoxColorPicker.vue +64 -8
- package/src/components/ResourceIcones/Select.vue +13 -5
- package/src/index.ts +1 -0
- package/src/views/organization/index.vue +17 -10
- package/src/views/resource/components/IconSelect.vue +6 -2
- package/src/views/resource/components/LayoutForm.vue +92 -0
- package/src/views/resource/components/ResourceEdit.vue +24 -0
- package/src/views/resource/hooks/useLayoutForm.ts +57 -0
- package/src/views/resource/hooks/useMetaForm.ts +2 -0
- package/src/views/resource/model.ts +21 -1
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-BoGxAoNd.js +0 -703
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-id6jZAko.js +0 -392
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/enum-CTUzwCYG.js +0 -4
- package/dist/index-53oBz1jp.js +0 -299
- package/dist/index-DVt5k9xh.js +0 -145
- package/dist/index18.css +0 -1
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { Divider as k, Row as v, Col as x, FormItem as w, Switch as F } from "ant-design-vue/es";
|
|
2
|
+
import { computed as _, defineComponent as V, useModel as h, createElementBlock as C, createCommentVNode as E, unref as l, openBlock as L, createVNode as t, withCtx as o, createTextVNode as N, createElementVNode as i } from "vue";
|
|
3
|
+
import "./enum-CjyX3J0o.js";
|
|
4
|
+
import { RESOURCE_TYPE as p } from "pubinfo";
|
|
5
|
+
import { _ as c } from "./HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js";
|
|
6
|
+
import { _ as P } from "./index.js";
|
|
7
|
+
import './LayoutForm.css';function U(n) {
|
|
8
|
+
const f = _(() => {
|
|
9
|
+
const u = n.value.type;
|
|
10
|
+
return [p.APP, p.DYNAMIC_APP].includes(u);
|
|
11
|
+
}), a = _(() => {
|
|
12
|
+
if (!n.value.meta?.layout)
|
|
13
|
+
return {
|
|
14
|
+
header: !0,
|
|
15
|
+
sidebar: !0,
|
|
16
|
+
tabs: !0,
|
|
17
|
+
toolbar: !0
|
|
18
|
+
};
|
|
19
|
+
const u = {
|
|
20
|
+
header: !0,
|
|
21
|
+
sidebar: !0,
|
|
22
|
+
tabs: !0,
|
|
23
|
+
toolbar: !0
|
|
24
|
+
};
|
|
25
|
+
return n.value.meta.layout = {
|
|
26
|
+
...u,
|
|
27
|
+
...n.value.meta.layout
|
|
28
|
+
}, n.value.meta.layout;
|
|
29
|
+
});
|
|
30
|
+
return {
|
|
31
|
+
show: f,
|
|
32
|
+
layoutForm: a
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
const j = { key: 0 }, T = /* @__PURE__ */ V({
|
|
36
|
+
name: "LayoutForm",
|
|
37
|
+
__name: "LayoutForm",
|
|
38
|
+
props: {
|
|
39
|
+
modelValue: {
|
|
40
|
+
default: {
|
|
41
|
+
meta: {
|
|
42
|
+
layout: {
|
|
43
|
+
header: !0,
|
|
44
|
+
sidebar: !0,
|
|
45
|
+
tabs: !0,
|
|
46
|
+
toolbar: !0
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
modelModifiers: {}
|
|
52
|
+
},
|
|
53
|
+
emits: ["update:modelValue"],
|
|
54
|
+
setup(n) {
|
|
55
|
+
const f = h(n, "modelValue"), { layoutForm: a, show: u } = U(f);
|
|
56
|
+
return (A, e) => {
|
|
57
|
+
const b = k, r = F, d = w, m = x, y = v;
|
|
58
|
+
return l(u) ? (L(), C("div", j, [
|
|
59
|
+
t(b, null, {
|
|
60
|
+
default: o(() => e[4] || (e[4] = [
|
|
61
|
+
N("布局配置")
|
|
62
|
+
])),
|
|
63
|
+
_: 1,
|
|
64
|
+
__: [4]
|
|
65
|
+
}),
|
|
66
|
+
t(y, { gutter: [8, 8] }, {
|
|
67
|
+
default: o(() => [
|
|
68
|
+
t(m, { span: 12 }, {
|
|
69
|
+
default: o(() => [
|
|
70
|
+
t(d, {
|
|
71
|
+
name: "enable",
|
|
72
|
+
"label-col": { span: 0 }
|
|
73
|
+
}, {
|
|
74
|
+
default: o(() => [
|
|
75
|
+
t(c, { class: "flex items-center justify-between" }, {
|
|
76
|
+
default: o(() => [
|
|
77
|
+
e[5] || (e[5] = i("div", { class: "text-sm font-medium" }, " 显示 Header ", -1)),
|
|
78
|
+
t(r, {
|
|
79
|
+
checked: l(a).header,
|
|
80
|
+
"onUpdate:checked": e[0] || (e[0] = (s) => l(a).header = s)
|
|
81
|
+
}, null, 8, ["checked"])
|
|
82
|
+
]),
|
|
83
|
+
_: 1,
|
|
84
|
+
__: [5]
|
|
85
|
+
})
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
})
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}),
|
|
92
|
+
t(m, { span: 12 }, {
|
|
93
|
+
default: o(() => [
|
|
94
|
+
t(d, {
|
|
95
|
+
name: "enable",
|
|
96
|
+
"label-col": { span: 0 }
|
|
97
|
+
}, {
|
|
98
|
+
default: o(() => [
|
|
99
|
+
t(c, { class: "flex items-center justify-between" }, {
|
|
100
|
+
default: o(() => [
|
|
101
|
+
e[6] || (e[6] = i("div", { class: "text-sm font-medium" }, " 显示 Sidebar ", -1)),
|
|
102
|
+
t(r, {
|
|
103
|
+
checked: l(a).sidebar,
|
|
104
|
+
"onUpdate:checked": e[1] || (e[1] = (s) => l(a).sidebar = s)
|
|
105
|
+
}, null, 8, ["checked"])
|
|
106
|
+
]),
|
|
107
|
+
_: 1,
|
|
108
|
+
__: [6]
|
|
109
|
+
})
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
})
|
|
113
|
+
]),
|
|
114
|
+
_: 1
|
|
115
|
+
}),
|
|
116
|
+
t(m, { span: 12 }, {
|
|
117
|
+
default: o(() => [
|
|
118
|
+
t(d, {
|
|
119
|
+
name: "enable",
|
|
120
|
+
"label-col": { span: 0 }
|
|
121
|
+
}, {
|
|
122
|
+
default: o(() => [
|
|
123
|
+
t(c, { class: "flex items-center justify-between" }, {
|
|
124
|
+
default: o(() => [
|
|
125
|
+
e[7] || (e[7] = i("div", { class: "text-sm font-medium" }, " 显示 Tabs ", -1)),
|
|
126
|
+
t(r, {
|
|
127
|
+
checked: l(a).tabs,
|
|
128
|
+
"onUpdate:checked": e[2] || (e[2] = (s) => l(a).tabs = s)
|
|
129
|
+
}, null, 8, ["checked"])
|
|
130
|
+
]),
|
|
131
|
+
_: 1,
|
|
132
|
+
__: [7]
|
|
133
|
+
})
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
})
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}),
|
|
140
|
+
t(m, { span: 12 }, {
|
|
141
|
+
default: o(() => [
|
|
142
|
+
t(d, {
|
|
143
|
+
name: "enable",
|
|
144
|
+
"label-col": { span: 0 }
|
|
145
|
+
}, {
|
|
146
|
+
default: o(() => [
|
|
147
|
+
t(c, { class: "flex items-center justify-between" }, {
|
|
148
|
+
default: o(() => [
|
|
149
|
+
e[8] || (e[8] = i("div", { class: "text-sm font-medium" }, " 显示 Toolbar ", -1)),
|
|
150
|
+
t(r, {
|
|
151
|
+
checked: l(a).toolbar,
|
|
152
|
+
"onUpdate:checked": e[3] || (e[3] = (s) => l(a).toolbar = s)
|
|
153
|
+
}, null, 8, ["checked"])
|
|
154
|
+
]),
|
|
155
|
+
_: 1,
|
|
156
|
+
__: [8]
|
|
157
|
+
})
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
})
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
})
|
|
164
|
+
]),
|
|
165
|
+
_: 1
|
|
166
|
+
})
|
|
167
|
+
])) : E("", !0);
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
}), Y = /* @__PURE__ */ P(T, [["__scopeId", "data-v-8c0e12f9"]]);
|
|
171
|
+
export {
|
|
172
|
+
Y as default
|
|
173
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.form-item-bottom-0[data-v-8c0e12f9],.ant-form-item[data-v-8c0e12f9]{margin-bottom:0}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Divider as w, Row as
|
|
2
|
-
import { computed as C, watch as
|
|
1
|
+
import { Divider as w, Row as M, Col as T, FormItem as P, Switch as U, Input as A } from "ant-design-vue/es";
|
|
2
|
+
import { computed as C, watch as k, defineComponent as D, useModel as j, createElementBlock as E, openBlock as c, createVNode as l, withCtx as u, createTextVNode as O, createBlock as f, createCommentVNode as p, createElementVNode as o, unref as _ } from "vue";
|
|
3
3
|
import "./enum-CjyX3J0o.js";
|
|
4
4
|
import { RESOURCE_TYPE as d } from "pubinfo";
|
|
5
5
|
import { _ as b } from "./HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js";
|
|
6
|
-
import { _ as
|
|
6
|
+
import { _ as I } from "./index.js";
|
|
7
7
|
import './MetaForm.css';const x = {
|
|
8
8
|
url: "",
|
|
9
9
|
component: "",
|
|
@@ -11,7 +11,7 @@ import './MetaForm.css';const x = {
|
|
|
11
11
|
scope: "",
|
|
12
12
|
activeMenu: void 0,
|
|
13
13
|
isDev: !1,
|
|
14
|
-
devText: "
|
|
14
|
+
devText: "该功能暂未上线,敬请期待!",
|
|
15
15
|
cache: !1,
|
|
16
16
|
cacheName: void 0,
|
|
17
17
|
noCache: void 0,
|
|
@@ -20,9 +20,16 @@ import './MetaForm.css';const x = {
|
|
|
20
20
|
tabbar: !0,
|
|
21
21
|
breadcrumb: !0,
|
|
22
22
|
link: void 0,
|
|
23
|
-
iframe: void 0
|
|
23
|
+
iframe: void 0,
|
|
24
|
+
layout: {
|
|
25
|
+
header: !0,
|
|
26
|
+
sidebar: !0,
|
|
27
|
+
tabs: !0,
|
|
28
|
+
toolbar: !0
|
|
29
|
+
},
|
|
30
|
+
partyLogin: void 0
|
|
24
31
|
};
|
|
25
|
-
function
|
|
32
|
+
function z(a) {
|
|
26
33
|
const t = C(() => {
|
|
27
34
|
const n = a.value.type;
|
|
28
35
|
return {
|
|
@@ -35,23 +42,24 @@ function B(a) {
|
|
|
35
42
|
sidebar: ![d.APP, d.DYNAMIC_APP, d.BUTTON, d.NON_MENU].includes(n),
|
|
36
43
|
// 标签栏显示选项可见性:应用、动态应用和目录不显示此选项
|
|
37
44
|
tabbar: ![d.APP, d.DYNAMIC_APP, d.INDEX, d.BUTTON].includes(n),
|
|
38
|
-
breadcrumb: ![d.BUTTON].includes(n)
|
|
45
|
+
breadcrumb: ![d.BUTTON].includes(n),
|
|
46
|
+
dynamic: [d.IFRAME, d.LINK].includes(n)
|
|
39
47
|
};
|
|
40
48
|
});
|
|
41
|
-
|
|
49
|
+
k(
|
|
42
50
|
() => a.value.type,
|
|
43
51
|
(n, e) => {
|
|
44
|
-
n !== e && n && e &&
|
|
52
|
+
n !== e && n && e && m();
|
|
45
53
|
},
|
|
46
54
|
{ immediate: !1 }
|
|
47
|
-
),
|
|
55
|
+
), k(
|
|
48
56
|
() => a.value.meta?.isDev,
|
|
49
57
|
(n, e) => {
|
|
50
58
|
e === !0 && n === !1 && a.value.meta && (a.value.meta.devText = x.devText), e === !1 && n === !0 && a.value.meta && !a.value.meta.devText && (a.value.meta.devText = x.devText);
|
|
51
59
|
},
|
|
52
60
|
{ immediate: !1 }
|
|
53
61
|
);
|
|
54
|
-
function
|
|
62
|
+
function m() {
|
|
55
63
|
if (a.value.meta || (a.value.meta = { ...x }), a.value.meta.cache) {
|
|
56
64
|
const n = a.value.meta.cache;
|
|
57
65
|
typeof n == "boolean" && (a.value.meta.cache = n), typeof n == "string" && (a.value.meta.cacheName = n, a.value.meta.cache = !0), Array.isArray(n) && (a.value.meta.cacheName = n.join(","), a.value.meta.cache = !0);
|
|
@@ -60,10 +68,10 @@ function B(a) {
|
|
|
60
68
|
}
|
|
61
69
|
return {
|
|
62
70
|
show: t,
|
|
63
|
-
resetIncompatibleOptions:
|
|
71
|
+
resetIncompatibleOptions: m
|
|
64
72
|
};
|
|
65
73
|
}
|
|
66
|
-
const
|
|
74
|
+
const B = { class: "flex items-center justify-between" }, F = { class: "flex items-center justify-between" }, S = /* @__PURE__ */ D({
|
|
67
75
|
name: "MetaForm",
|
|
68
76
|
__name: "MetaForm",
|
|
69
77
|
props: {
|
|
@@ -79,22 +87,22 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
79
87
|
},
|
|
80
88
|
emits: ["update:modelValue"],
|
|
81
89
|
setup(a) {
|
|
82
|
-
const t = j(a, "modelValue"), { show:
|
|
90
|
+
const t = j(a, "modelValue"), { show: m } = z(t);
|
|
83
91
|
return (n, e) => {
|
|
84
|
-
const
|
|
92
|
+
const y = w, v = U, i = P, r = T, h = A, N = M;
|
|
85
93
|
return c(), E("div", null, [
|
|
86
|
-
l(
|
|
94
|
+
l(y, null, {
|
|
87
95
|
default: u(() => e[10] || (e[10] = [
|
|
88
96
|
O("其他配置")
|
|
89
97
|
])),
|
|
90
98
|
_: 1,
|
|
91
99
|
__: [10]
|
|
92
100
|
}),
|
|
93
|
-
l(
|
|
101
|
+
l(N, { gutter: [8, 8] }, {
|
|
94
102
|
default: u(() => [
|
|
95
103
|
l(r, { span: 12 }, {
|
|
96
104
|
default: u(() => [
|
|
97
|
-
l(
|
|
105
|
+
l(i, {
|
|
98
106
|
name: "enable",
|
|
99
107
|
"label-col": { span: 0 }
|
|
100
108
|
}, {
|
|
@@ -116,7 +124,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
116
124
|
]),
|
|
117
125
|
_: 1
|
|
118
126
|
}),
|
|
119
|
-
_(
|
|
127
|
+
_(m).devMode ? (c(), f(r, {
|
|
120
128
|
key: 0,
|
|
121
129
|
span: 12
|
|
122
130
|
}, {
|
|
@@ -126,7 +134,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
126
134
|
class: "flex flex-wrap items-center"
|
|
127
135
|
}, {
|
|
128
136
|
more: u(() => [
|
|
129
|
-
t.value.meta?.isDev ? (c(), f(
|
|
137
|
+
t.value.meta?.isDev ? (c(), f(i, {
|
|
130
138
|
key: 0,
|
|
131
139
|
label: "提示文本",
|
|
132
140
|
name: "devText",
|
|
@@ -135,7 +143,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
135
143
|
class: "w-full"
|
|
136
144
|
}, {
|
|
137
145
|
default: u(() => [
|
|
138
|
-
l(
|
|
146
|
+
l(h, {
|
|
139
147
|
value: t.value.meta.devText,
|
|
140
148
|
"onUpdate:value": e[2] || (e[2] = (s) => t.value.meta.devText = s),
|
|
141
149
|
placeholder: "请输入开发模式下的提示文本",
|
|
@@ -148,13 +156,13 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
148
156
|
})) : p("", !0)
|
|
149
157
|
]),
|
|
150
158
|
default: u(() => [
|
|
151
|
-
l(
|
|
159
|
+
l(i, {
|
|
152
160
|
name: "isDev",
|
|
153
161
|
"label-col": { span: 0 },
|
|
154
162
|
class: "form-item-bottom-0 w-full"
|
|
155
163
|
}, {
|
|
156
164
|
default: u(() => [
|
|
157
|
-
o("div",
|
|
165
|
+
o("div", B, [
|
|
158
166
|
e[12] || (e[12] = o("div", { class: "text-sm font-medium" }, " 开发模式 ", -1)),
|
|
159
167
|
l(v, {
|
|
160
168
|
checked: t.value.meta.isDev,
|
|
@@ -170,7 +178,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
170
178
|
]),
|
|
171
179
|
_: 1
|
|
172
180
|
})) : p("", !0),
|
|
173
|
-
_(
|
|
181
|
+
_(m).cacheAndPin ? (c(), f(r, {
|
|
174
182
|
key: 1,
|
|
175
183
|
span: 12
|
|
176
184
|
}, {
|
|
@@ -180,7 +188,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
180
188
|
class: "flex flex-wrap items-center"
|
|
181
189
|
}, {
|
|
182
190
|
more: u(() => [
|
|
183
|
-
l(
|
|
191
|
+
l(i, {
|
|
184
192
|
label: "指定页缓存",
|
|
185
193
|
name: "cacheName",
|
|
186
194
|
tooltip: "设置页面name值,前往指定页面时,当前页被缓存",
|
|
@@ -188,7 +196,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
188
196
|
class: "w-full"
|
|
189
197
|
}, {
|
|
190
198
|
default: u(() => [
|
|
191
|
-
l(
|
|
199
|
+
l(h, {
|
|
192
200
|
value: t.value.meta.cacheName,
|
|
193
201
|
"onUpdate:value": e[4] || (e[4] = (s) => t.value.meta.cacheName = s),
|
|
194
202
|
placeholder: "路由名称(多个用,隔开)",
|
|
@@ -197,7 +205,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
197
205
|
]),
|
|
198
206
|
_: 1
|
|
199
207
|
}),
|
|
200
|
-
l(
|
|
208
|
+
l(i, {
|
|
201
209
|
label: "指定页不缓存",
|
|
202
210
|
name: "cacheName",
|
|
203
211
|
tooltip: "设置页面name值,前往指定页面时,当前页不缓存",
|
|
@@ -205,7 +213,7 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
205
213
|
class: "w-full"
|
|
206
214
|
}, {
|
|
207
215
|
default: u(() => [
|
|
208
|
-
l(
|
|
216
|
+
l(h, {
|
|
209
217
|
value: t.value.meta.noCache,
|
|
210
218
|
"onUpdate:value": e[5] || (e[5] = (s) => t.value.meta.noCache = s),
|
|
211
219
|
placeholder: "路由名称(多个用,隔开)",
|
|
@@ -216,13 +224,13 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
216
224
|
})
|
|
217
225
|
]),
|
|
218
226
|
default: u(() => [
|
|
219
|
-
l(
|
|
227
|
+
l(i, {
|
|
220
228
|
name: "cache",
|
|
221
229
|
"label-col": { span: 0 },
|
|
222
230
|
class: "form-item-bottom-0 w-full"
|
|
223
231
|
}, {
|
|
224
232
|
default: u(() => [
|
|
225
|
-
o("div",
|
|
233
|
+
o("div", F, [
|
|
226
234
|
e[13] || (e[13] = o("div", { class: "text-sm font-medium" }, " 缓存标签页 ", -1)),
|
|
227
235
|
l(v, {
|
|
228
236
|
checked: t.value.meta.cache,
|
|
@@ -238,12 +246,12 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
238
246
|
]),
|
|
239
247
|
_: 1
|
|
240
248
|
})) : p("", !0),
|
|
241
|
-
_(
|
|
249
|
+
_(m).cacheAndPin ? (c(), f(r, {
|
|
242
250
|
key: 2,
|
|
243
251
|
span: 12
|
|
244
252
|
}, {
|
|
245
253
|
default: u(() => [
|
|
246
|
-
l(
|
|
254
|
+
l(i, {
|
|
247
255
|
name: "pin",
|
|
248
256
|
"label-col": { span: 0 }
|
|
249
257
|
}, {
|
|
@@ -265,12 +273,12 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
265
273
|
]),
|
|
266
274
|
_: 1
|
|
267
275
|
})) : p("", !0),
|
|
268
|
-
_(
|
|
276
|
+
_(m).sidebar ? (c(), f(r, {
|
|
269
277
|
key: 3,
|
|
270
278
|
span: 12
|
|
271
279
|
}, {
|
|
272
280
|
default: u(() => [
|
|
273
|
-
l(
|
|
281
|
+
l(i, {
|
|
274
282
|
name: "sidebar",
|
|
275
283
|
"label-col": { span: 0 }
|
|
276
284
|
}, {
|
|
@@ -292,12 +300,12 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
292
300
|
]),
|
|
293
301
|
_: 1
|
|
294
302
|
})) : p("", !0),
|
|
295
|
-
_(
|
|
303
|
+
_(m).tabbar ? (c(), f(r, {
|
|
296
304
|
key: 4,
|
|
297
305
|
span: 12
|
|
298
306
|
}, {
|
|
299
307
|
default: u(() => [
|
|
300
|
-
l(
|
|
308
|
+
l(i, {
|
|
301
309
|
name: "tabbar",
|
|
302
310
|
"label-col": { span: 0 }
|
|
303
311
|
}, {
|
|
@@ -319,12 +327,12 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
319
327
|
]),
|
|
320
328
|
_: 1
|
|
321
329
|
})) : p("", !0),
|
|
322
|
-
_(
|
|
330
|
+
_(m).breadcrumb ? (c(), f(r, {
|
|
323
331
|
key: 5,
|
|
324
332
|
span: 12
|
|
325
333
|
}, {
|
|
326
334
|
default: u(() => [
|
|
327
|
-
l(
|
|
335
|
+
l(i, {
|
|
328
336
|
name: "breadcrumb",
|
|
329
337
|
"label-col": { span: 0 }
|
|
330
338
|
}, {
|
|
@@ -352,13 +360,13 @@ const S = { class: "flex items-center justify-between" }, V = { class: "flex ite
|
|
|
352
360
|
]);
|
|
353
361
|
};
|
|
354
362
|
}
|
|
355
|
-
}),
|
|
363
|
+
}), V = /* @__PURE__ */ I(S, [["__scopeId", "data-v-4b8d117f"]]), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
356
364
|
__proto__: null,
|
|
357
|
-
default:
|
|
365
|
+
default: V
|
|
358
366
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
359
367
|
export {
|
|
360
|
-
|
|
361
|
-
|
|
368
|
+
V as M,
|
|
369
|
+
X as a,
|
|
362
370
|
x as d,
|
|
363
|
-
|
|
371
|
+
z as u
|
|
364
372
|
};
|