@pubinfo/module-rbac 2.0.13 → 2.0.14
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/{DynamicRoutesForm-DzOGoyf3.js → DynamicRoutesForm-BU4EAISs.js} +1 -1
- package/dist/{DynamicRoutesForm.vue_vue_type_script_setup_true_lang-lpCaLpPL.js → DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js} +6 -6
- package/dist/{IconSelect-Cco4lJFZ.js → IconSelect-DtNpk3Rj.js} +1 -1
- package/dist/{IconSelect.vue_vue_type_script_setup_true_lang-C9GJFjrV.js → IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js} +64 -64
- package/dist/{ImportExport-BD8o7IvB.js → ImportExport-DAe_Sl13.js} +1 -1
- package/dist/{ImportExport.vue_vue_type_script_setup_true_lang-BzdP0ADd.js → ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js} +1 -1
- package/dist/{LayoutForm-DqDnsQcr.js → LayoutForm-C-vNwp3q.js} +1 -1
- package/dist/{MetaForm-s74FbAc9.js → MetaForm-13JASu7v.js} +133 -104
- package/dist/MetaForm.css +1 -1
- package/dist/{ResourceEdit-CNYAteRE.js → ResourceEdit-D2YFu-Gk.js} +1 -1
- package/dist/{ResourceEdit.vue_vue_type_script_setup_true_lang-BLqs77A8.js → ResourceEdit.vue_vue_type_script_setup_true_lang-Cb0mKIlJ.js} +45 -49
- package/dist/{enum-CjyX3J0o.js → enum-D5iPiZiT.js} +0 -1
- package/dist/{index-BsZjgoZQ.js → index-BPkJOFXE.js} +3 -3
- package/dist/index.js +1506 -1530
- package/dist/index17.css +1 -1
- package/dist/views/resource/model.d.ts +1 -0
- package/package.json +7 -7
- package/src/views/resource/components/DynamicRoutesForm.vue +1 -1
- package/src/views/resource/components/IconSelect.vue +1 -1
- package/src/views/resource/components/MetaForm.vue +11 -0
- package/src/views/resource/components/ResourceEdit.vue +2 -8
- package/src/views/resource/enum.ts +0 -1
- package/src/views/resource/hooks/useMetaForm.ts +2 -0
- package/src/views/resource/index.vue +0 -3
- package/src/views/resource/model.ts +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Divider as w, Row as M, Col as T, FormItem as
|
|
2
|
-
import { computed as C, watch as
|
|
3
|
-
import "./enum-
|
|
1
|
+
import { Divider as w, Row as M, Col as T, FormItem as U, Switch as A, Input as P } from "ant-design-vue/es";
|
|
2
|
+
import { computed as C, watch as h, defineComponent as j, useModel as D, createElementBlock as E, openBlock as c, createVNode as t, withCtx as u, createTextVNode as O, createBlock as f, createCommentVNode as p, createElementVNode as o, unref as _ } from "vue";
|
|
3
|
+
import "./enum-D5iPiZiT.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
6
|
import { _ as I } from "./index.js";
|
|
@@ -21,6 +21,7 @@ import './MetaForm.css';const x = {
|
|
|
21
21
|
breadcrumb: !0,
|
|
22
22
|
link: void 0,
|
|
23
23
|
iframe: void 0,
|
|
24
|
+
iframeCache: !1,
|
|
24
25
|
layout: {
|
|
25
26
|
header: !0,
|
|
26
27
|
sidebar: !0,
|
|
@@ -29,9 +30,9 @@ import './MetaForm.css';const x = {
|
|
|
29
30
|
},
|
|
30
31
|
partyLogin: void 0
|
|
31
32
|
};
|
|
32
|
-
function
|
|
33
|
-
const
|
|
34
|
-
const n =
|
|
33
|
+
function F(l) {
|
|
34
|
+
const a = C(() => {
|
|
35
|
+
const n = l.value.type;
|
|
35
36
|
return {
|
|
36
37
|
dataPermission: [d.BUTTON, d.MENU, d.NON_MENU].includes(n),
|
|
37
38
|
// 开发模式选项可见性:只在应用或动态应用中显示
|
|
@@ -43,35 +44,36 @@ function z(a) {
|
|
|
43
44
|
// 标签栏显示选项可见性:应用、动态应用和目录不显示此选项
|
|
44
45
|
tabbar: ![d.APP, d.DYNAMIC_APP, d.INDEX, d.BUTTON].includes(n),
|
|
45
46
|
breadcrumb: ![d.BUTTON].includes(n),
|
|
46
|
-
dynamic: [d.IFRAME, d.LINK].includes(n)
|
|
47
|
+
dynamic: [d.IFRAME, d.LINK].includes(n),
|
|
48
|
+
iframe: [d.IFRAME].includes(n)
|
|
47
49
|
};
|
|
48
50
|
});
|
|
49
|
-
|
|
50
|
-
() =>
|
|
51
|
+
h(
|
|
52
|
+
() => l.value.type,
|
|
51
53
|
(n, e) => {
|
|
52
|
-
n !== e && n && e &&
|
|
54
|
+
n !== e && n && e && i();
|
|
53
55
|
},
|
|
54
56
|
{ immediate: !1 }
|
|
55
|
-
),
|
|
56
|
-
() =>
|
|
57
|
+
), h(
|
|
58
|
+
() => l.value.meta?.isDev,
|
|
57
59
|
(n, e) => {
|
|
58
|
-
e === !0 && n === !1 &&
|
|
60
|
+
e === !0 && n === !1 && l.value.meta && (l.value.meta.devText = x.devText), e === !1 && n === !0 && l.value.meta && !l.value.meta.devText && (l.value.meta.devText = x.devText);
|
|
59
61
|
},
|
|
60
62
|
{ immediate: !1 }
|
|
61
63
|
);
|
|
62
|
-
function
|
|
63
|
-
if (
|
|
64
|
-
const n =
|
|
65
|
-
typeof n == "boolean" && (
|
|
64
|
+
function i() {
|
|
65
|
+
if (l.value.meta || (l.value.meta = { ...x }), l.value.meta.cache) {
|
|
66
|
+
const n = l.value.meta.cache;
|
|
67
|
+
typeof n == "boolean" && (l.value.meta.cache = n), typeof n == "string" && (l.value.meta.cacheName = n, l.value.meta.cache = !0), Array.isArray(n) && (l.value.meta.cacheName = n.join(","), l.value.meta.cache = !0);
|
|
66
68
|
}
|
|
67
|
-
|
|
69
|
+
l.value.meta.noCache && Array.isArray(l.value.meta.noCache) && (l.value.meta.noCache = l.value.meta.noCache.join(",")), a.value.devMode || (l.value.meta.isDev = !1, l.value.meta.devText = x.devText), l.value.meta.isDev || (l.value.meta.devText = x.devText), a.value.cacheAndPin || (l.value.meta.cache = !1, l.value.meta.pin = !1), a.value.sidebar || (l.value.meta.sidebar = !0), a.value.tabbar || (l.value.meta.tabbar = !0);
|
|
68
70
|
}
|
|
69
71
|
return {
|
|
70
|
-
show:
|
|
71
|
-
resetIncompatibleOptions:
|
|
72
|
+
show: a,
|
|
73
|
+
resetIncompatibleOptions: i
|
|
72
74
|
};
|
|
73
75
|
}
|
|
74
|
-
const
|
|
76
|
+
const z = { class: "flex items-center justify-between" }, B = { class: "flex items-center justify-between" }, S = /* @__PURE__ */ j({
|
|
75
77
|
name: "MetaForm",
|
|
76
78
|
__name: "MetaForm",
|
|
77
79
|
props: {
|
|
@@ -86,37 +88,37 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
86
88
|
modelModifiers: {}
|
|
87
89
|
},
|
|
88
90
|
emits: ["update:modelValue"],
|
|
89
|
-
setup(
|
|
90
|
-
const
|
|
91
|
+
setup(l) {
|
|
92
|
+
const a = D(l, "modelValue"), { show: i } = F(a);
|
|
91
93
|
return (n, e) => {
|
|
92
|
-
const y = w,
|
|
94
|
+
const y = w, r = A, m = U, v = T, k = P, N = M;
|
|
93
95
|
return c(), E("div", null, [
|
|
94
|
-
|
|
95
|
-
default: u(() => e[
|
|
96
|
+
t(y, null, {
|
|
97
|
+
default: u(() => e[11] || (e[11] = [
|
|
96
98
|
O("其他配置")
|
|
97
99
|
])),
|
|
98
100
|
_: 1,
|
|
99
|
-
__: [
|
|
101
|
+
__: [11]
|
|
100
102
|
}),
|
|
101
|
-
|
|
103
|
+
t(N, { gutter: [8, 8] }, {
|
|
102
104
|
default: u(() => [
|
|
103
|
-
|
|
105
|
+
t(v, { span: 12 }, {
|
|
104
106
|
default: u(() => [
|
|
105
|
-
|
|
107
|
+
t(m, {
|
|
106
108
|
name: "enable",
|
|
107
109
|
"label-col": { span: 0 }
|
|
108
110
|
}, {
|
|
109
111
|
default: u(() => [
|
|
110
|
-
|
|
112
|
+
t(b, { class: "flex items-center justify-between" }, {
|
|
111
113
|
default: u(() => [
|
|
112
|
-
e[
|
|
113
|
-
|
|
114
|
-
checked:
|
|
115
|
-
"onUpdate:checked": e[0] || (e[0] = (s) =>
|
|
114
|
+
e[12] || (e[12] = o("div", { class: "text-sm font-medium" }, " 启用 ", -1)),
|
|
115
|
+
t(r, {
|
|
116
|
+
checked: a.value.enable,
|
|
117
|
+
"onUpdate:checked": e[0] || (e[0] = (s) => a.value.enable = s)
|
|
116
118
|
}, null, 8, ["checked"])
|
|
117
119
|
]),
|
|
118
120
|
_: 1,
|
|
119
|
-
__: [
|
|
121
|
+
__: [12]
|
|
120
122
|
})
|
|
121
123
|
]),
|
|
122
124
|
_: 1
|
|
@@ -124,17 +126,17 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
124
126
|
]),
|
|
125
127
|
_: 1
|
|
126
128
|
}),
|
|
127
|
-
_(
|
|
129
|
+
_(i).devMode ? (c(), f(v, {
|
|
128
130
|
key: 0,
|
|
129
131
|
span: 12
|
|
130
132
|
}, {
|
|
131
133
|
default: u(() => [
|
|
132
|
-
|
|
133
|
-
more:
|
|
134
|
+
t(b, {
|
|
135
|
+
more: a.value.meta?.isDev,
|
|
134
136
|
class: "flex flex-wrap items-center"
|
|
135
137
|
}, {
|
|
136
138
|
more: u(() => [
|
|
137
|
-
|
|
139
|
+
a.value.meta?.isDev ? (c(), f(m, {
|
|
138
140
|
key: 0,
|
|
139
141
|
label: "提示文本",
|
|
140
142
|
name: "devText",
|
|
@@ -143,9 +145,9 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
143
145
|
class: "w-full"
|
|
144
146
|
}, {
|
|
145
147
|
default: u(() => [
|
|
146
|
-
|
|
147
|
-
value:
|
|
148
|
-
"onUpdate:value": e[2] || (e[2] = (s) =>
|
|
148
|
+
t(k, {
|
|
149
|
+
value: a.value.meta.devText,
|
|
150
|
+
"onUpdate:value": e[2] || (e[2] = (s) => a.value.meta.devText = s),
|
|
149
151
|
placeholder: "请输入开发模式下的提示文本",
|
|
150
152
|
maxlength: 100,
|
|
151
153
|
"show-count": "",
|
|
@@ -156,17 +158,17 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
156
158
|
})) : p("", !0)
|
|
157
159
|
]),
|
|
158
160
|
default: u(() => [
|
|
159
|
-
|
|
161
|
+
t(m, {
|
|
160
162
|
name: "isDev",
|
|
161
163
|
"label-col": { span: 0 },
|
|
162
164
|
class: "form-item-bottom-0 w-full"
|
|
163
165
|
}, {
|
|
164
166
|
default: u(() => [
|
|
165
|
-
o("div",
|
|
166
|
-
e[
|
|
167
|
-
|
|
168
|
-
checked:
|
|
169
|
-
"onUpdate:checked": e[1] || (e[1] = (s) =>
|
|
167
|
+
o("div", z, [
|
|
168
|
+
e[13] || (e[13] = o("div", { class: "text-sm font-medium" }, " 开发模式 ", -1)),
|
|
169
|
+
t(r, {
|
|
170
|
+
checked: a.value.meta.isDev,
|
|
171
|
+
"onUpdate:checked": e[1] || (e[1] = (s) => a.value.meta.isDev = s)
|
|
170
172
|
}, null, 8, ["checked"])
|
|
171
173
|
])
|
|
172
174
|
]),
|
|
@@ -178,17 +180,44 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
178
180
|
]),
|
|
179
181
|
_: 1
|
|
180
182
|
})) : p("", !0),
|
|
181
|
-
_(
|
|
183
|
+
_(i).iframe ? (c(), f(v, {
|
|
182
184
|
key: 1,
|
|
183
185
|
span: 12
|
|
184
186
|
}, {
|
|
185
187
|
default: u(() => [
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
t(m, {
|
|
189
|
+
name: "enable",
|
|
190
|
+
"label-col": { span: 0 }
|
|
191
|
+
}, {
|
|
192
|
+
default: u(() => [
|
|
193
|
+
t(b, { class: "flex items-center justify-between" }, {
|
|
194
|
+
default: u(() => [
|
|
195
|
+
e[14] || (e[14] = o("div", { class: "text-sm font-medium" }, " 启用缓存 ", -1)),
|
|
196
|
+
t(r, {
|
|
197
|
+
checked: a.value.meta.iframeCache,
|
|
198
|
+
"onUpdate:checked": e[3] || (e[3] = (s) => a.value.meta.iframeCache = s)
|
|
199
|
+
}, null, 8, ["checked"])
|
|
200
|
+
]),
|
|
201
|
+
_: 1,
|
|
202
|
+
__: [14]
|
|
203
|
+
})
|
|
204
|
+
]),
|
|
205
|
+
_: 1
|
|
206
|
+
})
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
})) : p("", !0),
|
|
210
|
+
_(i).cacheAndPin ? (c(), f(v, {
|
|
211
|
+
key: 2,
|
|
212
|
+
span: 12
|
|
213
|
+
}, {
|
|
214
|
+
default: u(() => [
|
|
215
|
+
t(b, {
|
|
216
|
+
more: a.value.meta?.cache,
|
|
188
217
|
class: "flex flex-wrap items-center"
|
|
189
218
|
}, {
|
|
190
219
|
more: u(() => [
|
|
191
|
-
|
|
220
|
+
t(m, {
|
|
192
221
|
label: "指定页缓存",
|
|
193
222
|
name: "cacheName",
|
|
194
223
|
tooltip: "设置页面name值,前往指定页面时,当前页被缓存",
|
|
@@ -196,16 +225,16 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
196
225
|
class: "w-full"
|
|
197
226
|
}, {
|
|
198
227
|
default: u(() => [
|
|
199
|
-
|
|
200
|
-
value:
|
|
201
|
-
"onUpdate:value": e[
|
|
228
|
+
t(k, {
|
|
229
|
+
value: a.value.meta.cacheName,
|
|
230
|
+
"onUpdate:value": e[5] || (e[5] = (s) => a.value.meta.cacheName = s),
|
|
202
231
|
placeholder: "路由名称(多个用,隔开)",
|
|
203
232
|
size: "small"
|
|
204
233
|
}, null, 8, ["value"])
|
|
205
234
|
]),
|
|
206
235
|
_: 1
|
|
207
236
|
}),
|
|
208
|
-
|
|
237
|
+
t(m, {
|
|
209
238
|
label: "指定页不缓存",
|
|
210
239
|
name: "cacheName",
|
|
211
240
|
tooltip: "设置页面name值,前往指定页面时,当前页不缓存",
|
|
@@ -213,9 +242,9 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
213
242
|
class: "w-full"
|
|
214
243
|
}, {
|
|
215
244
|
default: u(() => [
|
|
216
|
-
|
|
217
|
-
value:
|
|
218
|
-
"onUpdate:value": e[
|
|
245
|
+
t(k, {
|
|
246
|
+
value: a.value.meta.noCache,
|
|
247
|
+
"onUpdate:value": e[6] || (e[6] = (s) => a.value.meta.noCache = s),
|
|
219
248
|
placeholder: "路由名称(多个用,隔开)",
|
|
220
249
|
size: "small"
|
|
221
250
|
}, null, 8, ["value"])
|
|
@@ -224,17 +253,17 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
224
253
|
})
|
|
225
254
|
]),
|
|
226
255
|
default: u(() => [
|
|
227
|
-
|
|
256
|
+
t(m, {
|
|
228
257
|
name: "cache",
|
|
229
258
|
"label-col": { span: 0 },
|
|
230
259
|
class: "form-item-bottom-0 w-full"
|
|
231
260
|
}, {
|
|
232
261
|
default: u(() => [
|
|
233
|
-
o("div",
|
|
234
|
-
e[
|
|
235
|
-
|
|
236
|
-
checked:
|
|
237
|
-
"onUpdate:checked": e[
|
|
262
|
+
o("div", B, [
|
|
263
|
+
e[15] || (e[15] = o("div", { class: "text-sm font-medium" }, " 缓存标签页 ", -1)),
|
|
264
|
+
t(r, {
|
|
265
|
+
checked: a.value.meta.cache,
|
|
266
|
+
"onUpdate:checked": e[4] || (e[4] = (s) => a.value.meta.cache = s)
|
|
238
267
|
}, null, 8, ["checked"])
|
|
239
268
|
])
|
|
240
269
|
]),
|
|
@@ -246,26 +275,26 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
246
275
|
]),
|
|
247
276
|
_: 1
|
|
248
277
|
})) : p("", !0),
|
|
249
|
-
_(
|
|
250
|
-
key:
|
|
278
|
+
_(i).cacheAndPin ? (c(), f(v, {
|
|
279
|
+
key: 3,
|
|
251
280
|
span: 12
|
|
252
281
|
}, {
|
|
253
282
|
default: u(() => [
|
|
254
|
-
|
|
283
|
+
t(m, {
|
|
255
284
|
name: "pin",
|
|
256
285
|
"label-col": { span: 0 }
|
|
257
286
|
}, {
|
|
258
287
|
default: u(() => [
|
|
259
|
-
|
|
288
|
+
t(b, { class: "flex items-center justify-between" }, {
|
|
260
289
|
default: u(() => [
|
|
261
|
-
e[
|
|
262
|
-
|
|
263
|
-
checked:
|
|
264
|
-
"onUpdate:checked": e[
|
|
290
|
+
e[16] || (e[16] = o("div", { class: "text-sm font-medium" }, " 固定在标签页 ", -1)),
|
|
291
|
+
t(r, {
|
|
292
|
+
checked: a.value.meta.pin,
|
|
293
|
+
"onUpdate:checked": e[7] || (e[7] = (s) => a.value.meta.pin = s)
|
|
265
294
|
}, null, 8, ["checked"])
|
|
266
295
|
]),
|
|
267
296
|
_: 1,
|
|
268
|
-
__: [
|
|
297
|
+
__: [16]
|
|
269
298
|
})
|
|
270
299
|
]),
|
|
271
300
|
_: 1
|
|
@@ -273,26 +302,26 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
273
302
|
]),
|
|
274
303
|
_: 1
|
|
275
304
|
})) : p("", !0),
|
|
276
|
-
_(
|
|
277
|
-
key:
|
|
305
|
+
_(i).sidebar ? (c(), f(v, {
|
|
306
|
+
key: 4,
|
|
278
307
|
span: 12
|
|
279
308
|
}, {
|
|
280
309
|
default: u(() => [
|
|
281
|
-
|
|
310
|
+
t(m, {
|
|
282
311
|
name: "sidebar",
|
|
283
312
|
"label-col": { span: 0 }
|
|
284
313
|
}, {
|
|
285
314
|
default: u(() => [
|
|
286
|
-
|
|
315
|
+
t(b, { class: "flex items-center justify-between" }, {
|
|
287
316
|
default: u(() => [
|
|
288
|
-
e[
|
|
289
|
-
|
|
290
|
-
checked:
|
|
291
|
-
"onUpdate:checked": e[
|
|
317
|
+
e[17] || (e[17] = o("div", { class: "text-sm font-medium" }, " 在侧边栏显示 ", -1)),
|
|
318
|
+
t(r, {
|
|
319
|
+
checked: a.value.meta.sidebar,
|
|
320
|
+
"onUpdate:checked": e[8] || (e[8] = (s) => a.value.meta.sidebar = s)
|
|
292
321
|
}, null, 8, ["checked"])
|
|
293
322
|
]),
|
|
294
323
|
_: 1,
|
|
295
|
-
__: [
|
|
324
|
+
__: [17]
|
|
296
325
|
})
|
|
297
326
|
]),
|
|
298
327
|
_: 1
|
|
@@ -300,26 +329,26 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
300
329
|
]),
|
|
301
330
|
_: 1
|
|
302
331
|
})) : p("", !0),
|
|
303
|
-
_(
|
|
304
|
-
key:
|
|
332
|
+
_(i).tabbar ? (c(), f(v, {
|
|
333
|
+
key: 5,
|
|
305
334
|
span: 12
|
|
306
335
|
}, {
|
|
307
336
|
default: u(() => [
|
|
308
|
-
|
|
337
|
+
t(m, {
|
|
309
338
|
name: "tabbar",
|
|
310
339
|
"label-col": { span: 0 }
|
|
311
340
|
}, {
|
|
312
341
|
default: u(() => [
|
|
313
|
-
|
|
342
|
+
t(b, { class: "flex items-center justify-between" }, {
|
|
314
343
|
default: u(() => [
|
|
315
|
-
e[
|
|
316
|
-
|
|
317
|
-
checked:
|
|
318
|
-
"onUpdate:checked": e[
|
|
344
|
+
e[18] || (e[18] = o("div", { class: "text-sm font-medium" }, " 在标签栏显示 ", -1)),
|
|
345
|
+
t(r, {
|
|
346
|
+
checked: a.value.meta.tabbar,
|
|
347
|
+
"onUpdate:checked": e[9] || (e[9] = (s) => a.value.meta.tabbar = s)
|
|
319
348
|
}, null, 8, ["checked"])
|
|
320
349
|
]),
|
|
321
350
|
_: 1,
|
|
322
|
-
__: [
|
|
351
|
+
__: [18]
|
|
323
352
|
})
|
|
324
353
|
]),
|
|
325
354
|
_: 1
|
|
@@ -327,26 +356,26 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
327
356
|
]),
|
|
328
357
|
_: 1
|
|
329
358
|
})) : p("", !0),
|
|
330
|
-
_(
|
|
331
|
-
key:
|
|
359
|
+
_(i).breadcrumb ? (c(), f(v, {
|
|
360
|
+
key: 6,
|
|
332
361
|
span: 12
|
|
333
362
|
}, {
|
|
334
363
|
default: u(() => [
|
|
335
|
-
|
|
364
|
+
t(m, {
|
|
336
365
|
name: "breadcrumb",
|
|
337
366
|
"label-col": { span: 0 }
|
|
338
367
|
}, {
|
|
339
368
|
default: u(() => [
|
|
340
|
-
|
|
369
|
+
t(b, { class: "flex items-center justify-between" }, {
|
|
341
370
|
default: u(() => [
|
|
342
|
-
e[
|
|
343
|
-
|
|
344
|
-
checked:
|
|
345
|
-
"onUpdate:checked": e[
|
|
371
|
+
e[19] || (e[19] = o("div", { class: "text-sm font-medium" }, " 在面包屑显示 ", -1)),
|
|
372
|
+
t(r, {
|
|
373
|
+
checked: a.value.meta.breadcrumb,
|
|
374
|
+
"onUpdate:checked": e[10] || (e[10] = (s) => a.value.meta.breadcrumb = s)
|
|
346
375
|
}, null, 8, ["checked"])
|
|
347
376
|
]),
|
|
348
377
|
_: 1,
|
|
349
|
-
__: [
|
|
378
|
+
__: [19]
|
|
350
379
|
})
|
|
351
380
|
]),
|
|
352
381
|
_: 1
|
|
@@ -360,7 +389,7 @@ const B = { class: "flex items-center justify-between" }, F = { class: "flex ite
|
|
|
360
389
|
]);
|
|
361
390
|
};
|
|
362
391
|
}
|
|
363
|
-
}), V = /* @__PURE__ */ I(S, [["__scopeId", "data-v-
|
|
392
|
+
}), V = /* @__PURE__ */ I(S, [["__scopeId", "data-v-220e86d6"]]), X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
364
393
|
__proto__: null,
|
|
365
394
|
default: V
|
|
366
395
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -368,5 +397,5 @@ export {
|
|
|
368
397
|
V as M,
|
|
369
398
|
X as a,
|
|
370
399
|
x as d,
|
|
371
|
-
|
|
400
|
+
F as u
|
|
372
401
|
};
|
package/dist/MetaForm.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-item-bottom-0[data-v-
|
|
1
|
+
.form-item-bottom-0[data-v-220e86d6],.ant-form-item[data-v-220e86d6]{margin-bottom:0}
|