jmash-core 0.0.40 → 0.0.41

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 (70) hide show
  1. package/dist/{401-CEl3xZ9U.mjs → 401-CJFCHgSZ.mjs} +2 -2
  2. package/dist/{404-BJI4jQGp.mjs → 404-CIMxkP9D.mjs} +1 -1
  3. package/dist/{BarChart-DdL2YjH9.mjs → BarChart-DU09mkLm.mjs} +2 -2
  4. package/dist/{PieChart-DpRLzU_D.mjs → PieChart-CoqFm60I.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Db-lqTD8.mjs → PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs} +2 -2
  6. package/dist/{RadarChart-2a1QGb0r.mjs → RadarChart-0WISsxpt.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CwF9slnO.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs} +2 -2
  8. package/dist/{el-card-FMIPeWk6.mjs → el-card-DTXS4SWb.mjs} +1 -1
  9. package/dist/{el-col-8K1Xv7aq.mjs → el-col-C1oER81S.mjs} +1 -1
  10. package/dist/{el-form-item-J_27GFln.mjs → el-form-item-CJcAbcqr.mjs} +76 -76
  11. package/dist/{index-BB9i38wB.mjs → index-BAk-5oG9.mjs} +1 -1
  12. package/dist/{index--oHFkGGF.mjs → index-BwIx8FCt.mjs} +32 -32
  13. package/dist/{index-C_arFWKZ.mjs → index-C195Pa7c.mjs} +9759 -11332
  14. package/dist/{index-Ca93omwQ.mjs → index-DB4OW-7Q.mjs} +980 -944
  15. package/dist/{index-BUndPokw.mjs → index-ORr19rEl.mjs} +42 -42
  16. package/dist/index.mjs +36 -36
  17. package/dist/index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs +720 -0
  18. package/dist/{picture-BQKPWIIU.mjs → picture-Cpgh-vo-.mjs} +106 -106
  19. package/dist/{position-DZbY0x3r.mjs → position-M0AZIV5D.mjs} +1 -1
  20. package/dist/profile-DBegP-cF.mjs +4904 -0
  21. package/dist/{runAs-DSfasz8M.mjs → runAs-xhA9mf-i.mjs} +1 -1
  22. package/dist/runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs +610 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{types-BHZ78WKD.mjs → types-FkPgztcJ.mjs} +4 -3
  25. package/dist/{updatePwd-D2U2rq9Q.mjs → updatePwd-D1EnTbTY.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-HlhGZun3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs} +20 -20
  27. package/dts/src/api/auth/index.d.ts +27 -2
  28. package/dts/src/api/auth/types.d.ts +42 -34
  29. package/dts/src/index.d.ts +2 -3
  30. package/dts/src/lang/package/zh-cn.d.ts +2 -0
  31. package/dts/src/utils/request.d.ts +2 -0
  32. package/package.json +1 -1
  33. package/dist/edit-BEz2CGVA.mjs +0 -4
  34. package/dist/edit-BfCUuHU7.mjs +0 -823
  35. package/dist/edit-BjIGOyRY.mjs +0 -4
  36. package/dist/edit-ByyeESA7.mjs +0 -4
  37. package/dist/edit-DCqdRa7R.mjs +0 -4
  38. package/dist/edit-DaPZ7RSc.mjs +0 -4
  39. package/dist/edit-Mg7mOWDc.mjs +0 -4
  40. package/dist/edit-voW3EO87.mjs +0 -459
  41. package/dist/edit.vue_vue_type_script_setup_true_lang-BCgNC4mY.mjs +0 -136
  42. package/dist/edit.vue_vue_type_script_setup_true_lang-BMYBrnHy.mjs +0 -280
  43. package/dist/edit.vue_vue_type_script_setup_true_lang-C-WS99W7.mjs +0 -157
  44. package/dist/edit.vue_vue_type_script_setup_true_lang-CylQxP9Z.mjs +0 -226
  45. package/dist/edit.vue_vue_type_script_setup_true_lang-DDCQNqdc.mjs +0 -593
  46. package/dist/edit.vue_vue_type_script_setup_true_lang-DyO-f1Lc.mjs +0 -216
  47. package/dist/el-checkbox-group-l0sNRNKZ.mjs +0 -1
  48. package/dist/el-date-picker-CHigi6WN.mjs +0 -3345
  49. package/dist/el-divider-Cg4Mgsu-.mjs +0 -45
  50. package/dist/el-dropdown-item-DHcRJ-Fg.mjs +0 -671
  51. package/dist/el-tree-select-C4cU2Ot7.mjs +0 -1313
  52. package/dist/index-9e59vbzb.mjs +0 -949
  53. package/dist/index-B5IfrzOt.mjs +0 -63
  54. package/dist/index-BcxeqvFF.mjs +0 -505
  55. package/dist/index-BoT8a4D9.mjs +0 -480
  56. package/dist/index-BzsE8aZb.mjs +0 -280
  57. package/dist/index-CKu3Vm7Y.mjs +0 -246
  58. package/dist/index-CPi9CcGt.mjs +0 -134
  59. package/dist/index-CdarTP7Q.mjs +0 -471
  60. package/dist/index-D3kdKwxs.mjs +0 -292
  61. package/dist/index-D7uxePGV.mjs +0 -501
  62. package/dist/index-DSwTLzp1.mjs +0 -74
  63. package/dist/index-Dd9wDjLG.mjs +0 -280
  64. package/dist/index-DdnQhmYX.mjs +0 -502
  65. package/dist/index-DsmvLyNJ.mjs +0 -93
  66. package/dist/index-VD2Oa87u.mjs +0 -280
  67. package/dist/index.vue_vue_type_script_setup_true_lang-BUTwLlja.mjs +0 -55
  68. package/dist/moment-CMYwqyVT.mjs +0 -2579
  69. package/dist/profile-Blgfj6Pw.mjs +0 -262
  70. package/dist/runAs.vue_vue_type_script_setup_true_lang-xOMc-WaC.mjs +0 -114
@@ -1,593 +0,0 @@
1
- import { bu as fe, bv as _e, Y as ge, s as ne, r as be, ad as he, bw as ye, a4 as ve, $ as Ve, bx as $e, by as Ie, bz as Ce, bA as Ee, bB as Me, as as ke, at as Re, bC as we, aX as Se, aY as qe, b1 as Ne, b3 as Ue, t as Te, al as Be } from "./index-C_arFWKZ.mjs";
2
- import "./el-checkbox-group-l0sNRNKZ.mjs";
3
- import { E as De, a as Ae } from "./el-col-8K1Xv7aq.mjs";
4
- import { E as Fe } from "./el-tree-select-C4cU2Ot7.mjs";
5
- import { E as Le, a as Oe } from "./el-form-item-J_27GFln.mjs";
6
- import { openBlock as d, createElementBlock as M, createElementVNode as v, defineComponent as ae, toRef as re, ref as c, onMounted as je, createVNode as l, unref as a, isRef as J, withCtx as o, withDirectives as Q, vShow as ee, Fragment as Y, renderList as Z, reactive as le, toRefs as xe, createBlock as C, createTextVNode as N, toDisplayString as E, normalizeStyle as oe, createCommentVNode as L } from "vue";
7
- import { ElMessage as te } from "element-plus";
8
- import { useI18n as ze } from "vue-i18n";
9
- import { m as Ge } from "./index-DsmvLyNJ.mjs";
10
- import { E as Pe } from "./el-divider-Cg4Mgsu-.mjs";
11
- const Ye = {
12
- viewBox: "0 0 1024 1024",
13
- width: "1.2em",
14
- height: "1.2em"
15
- }, Ze = /* @__PURE__ */ v("path", {
16
- fill: "currentColor",
17
- d: "m192 384l320 384l320-384z"
18
- }, null, -1), Ke = [
19
- Ze
20
- ];
21
- function We(_, k) {
22
- return d(), M("svg", Ye, [...Ke]);
23
- }
24
- const Xe = { name: "ep-caret-bottom", render: We }, He = {
25
- viewBox: "0 0 1024 1024",
26
- width: "1.2em",
27
- height: "1.2em"
28
- }, Je = /* @__PURE__ */ v("path", {
29
- fill: "currentColor",
30
- d: "M512 320L192 704h639.936z"
31
- }, null, -1), Qe = [
32
- Je
33
- ];
34
- function el(_, k) {
35
- return d(), M("svg", He, [...Qe]);
36
- }
37
- const ll = { name: "ep-caret-top", render: el };
38
- let se = new Array();
39
- for (const [_, k] of Object.entries(fe)) {
40
- let i = _.substring(4, _.length);
41
- se.push(ol(i));
42
- }
43
- function ol(_) {
44
- return _.replace(/([a-zA-Z])([A-Z])/g, "$1-$2").toLowerCase();
45
- }
46
- const tl = { class: "icon-list" }, nl = ["onClick"], al = /* @__PURE__ */ ae({
47
- __name: "index",
48
- props: {
49
- modelValue: {
50
- type: String,
51
- require: !1,
52
- default: ""
53
- }
54
- },
55
- emits: ["iconValue"],
56
- setup(_, { emit: k }) {
57
- const i = _, t = k, V = re(i, "modelValue"), p = c(!1);
58
- let y = [];
59
- const f = c(""), $ = c([]), R = c(), w = c();
60
- console.log(i.modelValue);
61
- function T() {
62
- f.value ? $.value = y.filter(
63
- (h) => h.includes(f.value)
64
- ) : $.value = y;
65
- }
66
- function O(h) {
67
- console.log(h), t("iconValue", h), p.value = !1;
68
- }
69
- return _e(R, () => p.value = !1, {
70
- ignore: [w]
71
- }), je(() => {
72
- y = se, $.value = y;
73
- }), (h, u) => {
74
- const S = ge, B = ne, j = ll, x = Xe, z = Pe, I = be, G = he, D = ye;
75
- return d(), M("div", {
76
- ref_key: "iconSelectorRef",
77
- ref: R,
78
- class: "iconselect-container"
79
- }, [
80
- l(B, {
81
- modelValue: a(V),
82
- "onUpdate:modelValue": u[0] || (u[0] = (m) => J(V) ? V.value = m : null),
83
- readonly: "",
84
- placeholder: h.$t("sysMenu.selectIcon"),
85
- onClick: u[1] || (u[1] = (m) => p.value = !a(p))
86
- }, {
87
- prepend: o(() => [
88
- l(S, { "icon-class": a(V) }, null, 8, ["icon-class"])
89
- ]),
90
- _: 1
91
- }, 8, ["modelValue", "placeholder"]),
92
- l(D, {
93
- shadow: "none",
94
- visible: a(p),
95
- placement: "bottom-end",
96
- trigger: "click",
97
- width: "400"
98
- }, {
99
- reference: o(() => [
100
- v("div", {
101
- class: "cursor-pointer text-[#999] absolute right-[10px] top-0 height-[32px] leading-[32px]",
102
- onClick: u[2] || (u[2] = (m) => p.value = !a(p))
103
- }, [
104
- Q(l(j, null, null, 512), [
105
- [ee, a(p)]
106
- ]),
107
- Q(l(x, null, null, 512), [
108
- [ee, !a(p)]
109
- ])
110
- ])
111
- ]),
112
- default: o(() => [
113
- v("div", {
114
- ref_key: "iconSelectorDialogRef",
115
- ref: w
116
- }, [
117
- l(B, {
118
- modelValue: a(f),
119
- "onUpdate:modelValue": u[3] || (u[3] = (m) => J(f) ? f.value = m : null),
120
- class: "p-2",
121
- placeholder: h.$t("sysMenu.searchIcon"),
122
- clearable: "",
123
- onInput: T
124
- }, null, 8, ["modelValue", "placeholder"]),
125
- l(z, { "border-style": "dashed" }),
126
- l(G, { height: "300px" }, {
127
- default: o(() => [
128
- v("ul", tl, [
129
- (d(!0), M(Y, null, Z(a($), (m, A) => (d(), M("li", {
130
- key: A,
131
- class: "icon-item",
132
- onClick: (P) => O(m)
133
- }, [
134
- l(I, {
135
- content: m,
136
- placement: "bottom",
137
- effect: "light"
138
- }, {
139
- default: o(() => [
140
- l(S, {
141
- color: "var(--el-text-color-regular)",
142
- "icon-class": m
143
- }, null, 8, ["icon-class"])
144
- ]),
145
- _: 2
146
- }, 1032, ["content"])
147
- ], 8, nl))), 128))
148
- ])
149
- ]),
150
- _: 1
151
- })
152
- ], 512)
153
- ]),
154
- _: 1
155
- }, 8, ["visible"])
156
- ], 512);
157
- };
158
- }
159
- }), rl = /* @__PURE__ */ ve(al, [["__scopeId", "data-v-8c152702"]]), sl = /* @__PURE__ */ v("br", null, null, -1), ul = { class: "tree-border" }, dl = { class: "dialog-footer" }, vl = /* @__PURE__ */ ae({
160
- __name: "edit",
161
- props: {
162
- formData: {
163
- type: Object,
164
- default: () => {
165
- }
166
- },
167
- dialog: {
168
- type: Object,
169
- default: () => {
170
- }
171
- }
172
- },
173
- emits: ["dialogEvent", "refresh"],
174
- setup(_, { emit: k }) {
175
- var m, A, P, K;
176
- const { t: i } = ze();
177
- let t = le({
178
- tenant: Ve().user.tenant,
179
- requestId: Math.random() * 10 + "",
180
- updateMask: "moduleId,parentId,resourceType,icon,resourceName,resourceCode,target,url,hidden",
181
- moduleId: "",
182
- parentId: "",
183
- resourceType: "catalog",
184
- resourceCode: "",
185
- resourceName: "",
186
- url: "",
187
- icon: "",
188
- operCodes: [],
189
- target: "",
190
- hidden: !1
191
- });
192
- const V = c("width: 100%");
193
- let p = c([]), y = c([]), f = c([]);
194
- const $ = c([]), R = c(!1), w = c(!1), T = c(), O = (e, n, s) => {
195
- n === "" ? s(new Error(i("sysMenu.urlRequired"))) : t.resourceId ? s() : $e(n).then(({ data: U }) => {
196
- U === !0 ? s(new Error(i("sysMenu.urlExist"))) : s();
197
- }), t.parentId ? s() : n.indexOf("/") === -1 ? s(new Error(i("sysMenu.urlExistSlash"))) : s();
198
- }, h = le({
199
- moduleId: [
200
- { required: !0, message: i("sysMenu.moduleRequired"), trigger: "change" }
201
- ],
202
- resourceName: [
203
- { required: !0, message: i("sysMenu.nameRequired"), trigger: "blur" }
204
- ],
205
- resourceCode: [
206
- {
207
- required: !0,
208
- message: i("sysMenu.routeNameRequired"),
209
- trigger: "blur"
210
- }
211
- ],
212
- url: [{ required: !0, validator: O, trigger: "blur" }]
213
- }), u = _, S = re(u, "dialog");
214
- function B() {
215
- var e;
216
- console.log(Math.random() * 10), Ge().then(({ data: n }) => {
217
- p.value = n.results;
218
- }), Ie((e = u.formData) == null ? void 0 : e.resourceId).then(({ data: n }) => {
219
- $.value = n.results;
220
- }), Ce().then(({ data: n }) => {
221
- var s;
222
- y.value = n.results, (s = y.value) == null || s.forEach(
223
- (U) => f.value.push(U.operationCode.toString())
224
- );
225
- });
226
- }
227
- function j(e) {
228
- console.log(e), t.icon = e;
229
- }
230
- function x(e) {
231
- console.log(e, f.value), t.operCodes = e ? f.value : [], w.value = !1;
232
- }
233
- function z(e) {
234
- console.log(e), t.operCodes = e, console.log(t.operCodes);
235
- const n = e.length;
236
- R.value = n === f.value.length, w.value = n > 0 && n < f.value.length;
237
- }
238
- B();
239
- const I = k, G = async () => {
240
- var e;
241
- await ((e = T.value) == null ? void 0 : e.validate((n) => {
242
- n && (t.resourceId ? Ee(t).then((s) => {
243
- console.log(s), s.status === 200 && (te({
244
- message: i("common.submitSuccess"),
245
- type: "success"
246
- }), I("dialogEvent", !1), I("refresh", s.status === 200));
247
- }) : Me(t).then((s) => {
248
- console.log(s), s.status === 200 && (te({
249
- message: i("common.submitSuccess"),
250
- type: "success"
251
- }), I("dialogEvent", !1), I("refresh", s.status === 200));
252
- }));
253
- }));
254
- };
255
- function D() {
256
- I("dialogEvent", !1);
257
- }
258
- if ((m = u.formData) != null && m.resourceId && (t = Object.assign(t, u.formData)), (A = u.formData) != null && A.parentId) {
259
- const { formData: e } = xe(u);
260
- console.log(e == null ? void 0 : e.value), t.parentId = (P = e == null ? void 0 : e.value) == null ? void 0 : P.parentId, t.moduleId = (K = e == null ? void 0 : e.value) == null ? void 0 : K.moduleId;
261
- }
262
- return t.parentId === "00000000-0000-0000-0000-000000000000" && (t.parentId = ""), (e, n) => {
263
- const s = ke, U = Re, g = Le, b = De, ue = Fe, q = Ae, de = we, F = ne, W = Se, ie = qe, X = Ne, ce = Ue, pe = Oe, H = Te, me = Be;
264
- return d(), C(me, {
265
- title: S.value.title,
266
- modelValue: S.value.visible,
267
- "onUpdate:modelValue": n[11] || (n[11] = (r) => S.value.visible = r),
268
- width: "1000px",
269
- "destory-on-close": !0,
270
- onClose: D
271
- }, {
272
- footer: o(() => [
273
- v("div", dl, [
274
- l(H, { onClick: D }, {
275
- default: o(() => [
276
- N(E(e.$t("common.cancel")), 1)
277
- ]),
278
- _: 1
279
- }),
280
- l(H, {
281
- type: "primary",
282
- onClick: G
283
- }, {
284
- default: o(() => [
285
- N(E(e.$t("common.confirm")), 1)
286
- ]),
287
- _: 1
288
- })
289
- ])
290
- ]),
291
- default: o(() => [
292
- l(pe, {
293
- ref_key: "resourceFormRef",
294
- ref: T,
295
- model: a(t),
296
- rules: h,
297
- "label-width": "160"
298
- }, {
299
- default: o(() => [
300
- l(q, null, {
301
- default: o(() => [
302
- l(b, { span: 12 }, {
303
- default: o(() => [
304
- l(g, {
305
- label: e.$t("sysMenu.module"),
306
- prop: "moduleId"
307
- }, {
308
- default: o(() => [
309
- l(U, {
310
- modelValue: a(t).moduleId,
311
- "onUpdate:modelValue": n[0] || (n[0] = (r) => a(t).moduleId = r),
312
- clearable: "",
313
- placeholder: e.$t("sysMenu.moduleRequired"),
314
- style: oe(V.value)
315
- }, {
316
- default: o(() => [
317
- (d(!0), M(Y, null, Z(a(p), (r) => (d(), C(s, {
318
- key: r.moduleId,
319
- label: r.moduleName,
320
- value: r.moduleId
321
- }, null, 8, ["label", "value"]))), 128))
322
- ]),
323
- _: 1
324
- }, 8, ["modelValue", "placeholder", "style"])
325
- ]),
326
- _: 1
327
- }, 8, ["label"])
328
- ]),
329
- _: 1
330
- }),
331
- l(b, { span: 12 }, {
332
- default: o(() => [
333
- l(g, {
334
- label: e.$t("sysMenu.parent"),
335
- prop: "parentId"
336
- }, {
337
- default: o(() => [
338
- l(ue, {
339
- modelValue: a(t).parentId,
340
- "onUpdate:modelValue": n[1] || (n[1] = (r) => a(t).parentId = r),
341
- data: $.value,
342
- filterable: "",
343
- clearable: "",
344
- "check-strictly": "",
345
- "render-after-expand": !1,
346
- style: oe(V.value),
347
- placeholder: e.$t("sysMenu.parentRequired")
348
- }, null, 8, ["modelValue", "data", "style", "placeholder"])
349
- ]),
350
- _: 1
351
- }, 8, ["label"])
352
- ]),
353
- _: 1
354
- })
355
- ]),
356
- _: 1
357
- }),
358
- l(q, null, {
359
- default: o(() => [
360
- l(b, { span: 12 }, {
361
- default: o(() => [
362
- l(g, {
363
- label: e.$t("sysMenu.type"),
364
- prop: "resourceType"
365
- }, {
366
- default: o(() => [
367
- l(de, {
368
- modelValue: a(t).resourceType,
369
- "onUpdate:modelValue": n[2] || (n[2] = (r) => a(t).resourceType = r),
370
- "dict-type": "jmash.rbac.protobuf.ResourceType"
371
- }, null, 8, ["modelValue"])
372
- ]),
373
- _: 1
374
- }, 8, ["label"])
375
- ]),
376
- _: 1
377
- }),
378
- l(b, { span: 12 }, {
379
- default: o(() => [
380
- l(g, {
381
- label: e.$t("sysMenu.icon"),
382
- prop: "icon"
383
- }, {
384
- default: o(() => [
385
- l(rl, {
386
- modelValue: a(t).icon,
387
- "onUpdate:modelValue": n[3] || (n[3] = (r) => a(t).icon = r),
388
- onIconValue: j
389
- }, null, 8, ["modelValue"])
390
- ]),
391
- _: 1
392
- }, 8, ["label"])
393
- ]),
394
- _: 1
395
- })
396
- ]),
397
- _: 1
398
- }),
399
- l(q, null, {
400
- default: o(() => [
401
- l(b, { span: 12 }, {
402
- default: o(() => [
403
- l(g, {
404
- label: e.$t("sysMenu.name"),
405
- prop: "resourceName"
406
- }, {
407
- default: o(() => [
408
- l(F, {
409
- clearable: "",
410
- modelValue: a(t).resourceName,
411
- "onUpdate:modelValue": n[4] || (n[4] = (r) => a(t).resourceName = r),
412
- placeholder: e.$t("sysMenu.nameRequired")
413
- }, null, 8, ["modelValue", "placeholder"])
414
- ]),
415
- _: 1
416
- }, 8, ["label"])
417
- ]),
418
- _: 1
419
- }),
420
- a(t).resourceType !== "other" ? (d(), C(b, {
421
- key: 0,
422
- span: 12
423
- }, {
424
- default: o(() => [
425
- l(g, {
426
- label: e.$t("sysMenu.target"),
427
- prop: "target"
428
- }, {
429
- default: o(() => [
430
- l(F, {
431
- clearable: "",
432
- modelValue: a(t).target,
433
- "onUpdate:modelValue": n[5] || (n[5] = (r) => a(t).target = r),
434
- placeholder: e.$t("sysMenu.targetRequired")
435
- }, null, 8, ["modelValue", "placeholder"])
436
- ]),
437
- _: 1
438
- }, 8, ["label"])
439
- ]),
440
- _: 1
441
- })) : L("", !0)
442
- ]),
443
- _: 1
444
- }),
445
- l(q, null, {
446
- default: o(() => [
447
- l(b, { span: 12 }, {
448
- default: o(() => [
449
- l(g, {
450
- label: e.$t("sysMenu.routeName"),
451
- prop: "resourceCode"
452
- }, {
453
- default: o(() => [
454
- l(F, {
455
- clearable: "",
456
- modelValue: a(t).resourceCode,
457
- "onUpdate:modelValue": n[6] || (n[6] = (r) => a(t).resourceCode = r),
458
- placeholder: e.$t("sysMenu.routeNameRequired")
459
- }, null, 8, ["modelValue", "placeholder"])
460
- ]),
461
- _: 1
462
- }, 8, ["label"])
463
- ]),
464
- _: 1
465
- }),
466
- a(t).resourceType !== "other" ? (d(), C(b, {
467
- key: 0,
468
- span: 12
469
- }, {
470
- default: o(() => [
471
- l(g, {
472
- label: e.$t("sysMenu.url"),
473
- prop: "url"
474
- }, {
475
- default: o(() => [
476
- l(F, {
477
- clearable: "",
478
- modelValue: a(t).url,
479
- "onUpdate:modelValue": n[7] || (n[7] = (r) => a(t).url = r),
480
- placeholder: e.$t("sysMenu.urlRequired")
481
- }, null, 8, ["modelValue", "placeholder"])
482
- ]),
483
- _: 1
484
- }, 8, ["label"])
485
- ]),
486
- _: 1
487
- })) : L("", !0)
488
- ]),
489
- _: 1
490
- }),
491
- l(q, null, {
492
- default: o(() => [
493
- a(t).resourceType !== "other" ? (d(), C(b, {
494
- key: 0,
495
- span: 12
496
- }, {
497
- default: o(() => [
498
- l(g, {
499
- label: e.$t("sysMenu.status"),
500
- prop: "hidden"
501
- }, {
502
- default: o(() => [
503
- l(ie, {
504
- modelValue: a(t).hidden,
505
- "onUpdate:modelValue": n[8] || (n[8] = (r) => a(t).hidden = r)
506
- }, {
507
- default: o(() => [
508
- l(W, { label: !1 }, {
509
- default: o(() => [
510
- N(E(e.$t("common.show")), 1)
511
- ]),
512
- _: 1
513
- }),
514
- l(W, { label: !0 }, {
515
- default: o(() => [
516
- N(E(e.$t("common.hide")), 1)
517
- ]),
518
- _: 1
519
- })
520
- ]),
521
- _: 1
522
- }, 8, ["modelValue"])
523
- ]),
524
- _: 1
525
- }, 8, ["label"])
526
- ]),
527
- _: 1
528
- })) : L("", !0)
529
- ]),
530
- _: 1
531
- }),
532
- a(t).resourceType !== "catalog" ? (d(), C(q, { key: 0 }, {
533
- default: o(() => [
534
- l(b, { span: 24 }, {
535
- default: o(() => [
536
- l(g, {
537
- label: e.$t("sysMenu.operatePerm"),
538
- prop: "operCodes"
539
- }, {
540
- default: o(() => [
541
- l(X, {
542
- modelValue: R.value,
543
- "onUpdate:modelValue": n[9] || (n[9] = (r) => R.value = r),
544
- indeterminate: w.value,
545
- onChange: x
546
- }, {
547
- default: o(() => [
548
- N(E(e.$t("sysMenu.checkAll")) + "/" + E(e.$t("sysMenu.checkNoAll")), 1)
549
- ]),
550
- _: 1
551
- }, 8, ["modelValue", "indeterminate"]),
552
- sl,
553
- v("div", ul, [
554
- l(ce, {
555
- modelValue: a(t).operCodes,
556
- "onUpdate:modelValue": n[10] || (n[10] = (r) => a(t).operCodes = r),
557
- onChange: z
558
- }, {
559
- default: o(() => [
560
- (d(!0), M(Y, null, Z(a(y), (r) => (d(), C(X, {
561
- label: r.operationCode,
562
- key: r.operationId
563
- }, {
564
- default: o(() => [
565
- N(E(r.operationName), 1)
566
- ]),
567
- _: 2
568
- }, 1032, ["label"]))), 128))
569
- ]),
570
- _: 1
571
- }, 8, ["modelValue"])
572
- ])
573
- ]),
574
- _: 1
575
- }, 8, ["label"])
576
- ]),
577
- _: 1
578
- })
579
- ]),
580
- _: 1
581
- })) : L("", !0)
582
- ]),
583
- _: 1
584
- }, 8, ["model", "rules"])
585
- ]),
586
- _: 1
587
- }, 8, ["title", "modelValue"]);
588
- };
589
- }
590
- });
591
- export {
592
- vl as _
593
- };