jmash-core 0.0.31 → 0.0.33
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/{401-DK42yWc4.mjs → 401-BzJ2fSMC.mjs} +2 -2
- package/dist/{404-1YXUbVXj.mjs → 404-OqyTb481.mjs} +1 -1
- package/dist/{BarChart-BlEyaqPH.mjs → BarChart-r7rLOhAh.mjs} +2 -2
- package/dist/{PieChart-Bpud2YyO.mjs → PieChart-CO_vmXmm.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-D9vZLkjo.mjs → PieChart.vue_vue_type_script_setup_true_lang-C_O4J-hk.mjs} +2 -2
- package/dist/{RadarChart-DidhMgyo.mjs → RadarChart-BdqBJZbR.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DvRibJr4.mjs → RadarChart.vue_vue_type_script_setup_true_lang-B7Wv5zvc.mjs} +2 -2
- package/dist/{edit-C1eLUDiW.mjs → edit-BDzFtL2R.mjs} +1 -1
- package/dist/{edit-BEPAZSXd.mjs → edit-BK6WtdH7.mjs} +1 -1
- package/dist/{edit-BTD7dfbM.mjs → edit-CvoYAQA7.mjs} +1 -1
- package/dist/{edit-CgRwWo-P.mjs → edit-DgcXUh9P.mjs} +1 -1
- package/dist/edit-DpMpCUQP.mjs +4 -0
- package/dist/{edit-CVAAwQtD.mjs → edit-Qs28x5z3.mjs} +25 -25
- package/dist/{edit-yfRS-Mww.mjs → edit-TPY8sqBx.mjs} +6 -6
- package/dist/edit-ao_NrPs_.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D_nXp0tu.mjs → edit.vue_vue_type_script_setup_true_lang-B8ELVuWA.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DzqWgR6H.mjs → edit.vue_vue_type_script_setup_true_lang-BkuiKgF3.mjs} +5 -5
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BtIxf1cp.mjs → edit.vue_vue_type_script_setup_true_lang-BwVnoqRZ.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-0xjid56d.mjs → edit.vue_vue_type_script_setup_true_lang-C9HP2oBW.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-COHNEXeC.mjs → edit.vue_vue_type_script_setup_true_lang-CFPDx6b3.mjs} +4 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-Cl8pUd9z.mjs +593 -0
- package/dist/{el-card-NpeokVLB.mjs → el-card-BtyB7SHO.mjs} +1 -1
- package/dist/{el-col-7HWBCs3O.mjs → el-col-CBbTQyho.mjs} +1 -1
- package/dist/{el-date-picker-D8RI7g9j.mjs → el-date-picker-5_0EBb2Y.mjs} +1 -1
- package/dist/{el-divider-BwbZP6Zo.mjs → el-divider-CHJI0J_1.mjs} +1 -1
- package/dist/{el-dropdown-item-DWWQl49M.mjs → el-dropdown-item-DJ4op1uf.mjs} +2 -2
- package/dist/{el-form-item-DLOvyKG5.mjs → el-form-item-xvoQU0qJ.mjs} +29 -29
- package/dist/{el-tree-select-C3kqOLyq.mjs → el-tree-select-BwHFKWJR.mjs} +23 -23
- package/dist/{index-CtRTLVi-.mjs → index-5e-Kqk_y.mjs} +4 -4
- package/dist/{index-BwlBFmb0.mjs → index-B3Js6x1l.mjs} +1 -1
- package/dist/{index-D_-XPo6e.mjs → index-B7LLPhN2.mjs} +5 -5
- package/dist/{index-DOfJL767.mjs → index-BMAxoG4r.mjs} +1 -1
- package/dist/{index-hzaj_frH.mjs → index-Buz8upHy.mjs} +1 -1
- package/dist/{index-CmGNCg-x.mjs → index-C0Hg_Iwp.mjs} +1 -1
- package/dist/{index-DPPwNaB8.mjs → index-Cgh1Pgof.mjs} +535 -521
- package/dist/{index-Dt8vwDci.mjs → index-Cn1XBT6H.mjs} +5 -5
- package/dist/{index-UwYXnSZS.mjs → index-CuJi981D.mjs} +7277 -7266
- package/dist/{index-BBsbHu04.mjs → index-DIPdo8jt.mjs} +14 -14
- package/dist/{index-BSdg7Uy-.mjs → index-DOqNCkoW.mjs} +1 -1
- package/dist/{index-BMDtczWD.mjs → index-DTGGjXNz.mjs} +5 -5
- package/dist/{index-Hm2JGT6H.mjs → index-DTX_DK6_.mjs} +6 -6
- package/dist/{index-ymSYpa0g.mjs → index-DZRLC90B.mjs} +5 -5
- package/dist/{index-B6Svj5x1.mjs → index-DawnX0bH.mjs} +5 -5
- package/dist/{index-CXWMXqX4.mjs → index-DeQIPy_U.mjs} +1 -1
- package/dist/{index-CsDirAHP.mjs → index-DqHdEOQ4.mjs} +5 -5
- package/dist/{index-DTDhmoYE.mjs → index-DyiARXci.mjs} +7 -7
- package/dist/{index-jU2EWoRb.mjs → index-hT4fKq99.mjs} +19 -19
- package/dist/{index-DgVaFy4B.mjs → index-p1FvSG5T.mjs} +256 -273
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CRbRfDWo.mjs → index.vue_vue_type_script_setup_true_lang-DbLy1Rit.mjs} +2 -2
- package/dist/{picture-D3_rKEMf.mjs → picture-rRZ6QtAi.mjs} +2 -2
- package/dist/{position-Dm4RfNwv.mjs → position-C3S9MAUw.mjs} +1 -1
- package/dist/{profile-Dyp38F8P.mjs → profile-BB8V9xN8.mjs} +7 -7
- package/dist/{runAs-BotwCHRP.mjs → runAs-CM5ut__f.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-jSRQC6Fg.mjs → runAs.vue_vue_type_script_setup_true_lang-CGRH7cur.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{types-ByHTispL.mjs → types-ChgJHuaI.mjs} +3 -3
- package/dist/{updatePwd-DyMiPtFA.mjs → updatePwd-TQz-4dEO.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DYgvu4kI.mjs → updatePwd.vue_vue_type_script_setup_true_lang-ODFMxiZI.mjs} +2 -2
- package/dts/src/components/IconSelect/requireIcons.d.ts +1 -8
- package/dts/src/lang/index.d.ts +1 -623
- package/dts/src/lang/package/en.d.ts +18 -14
- package/dts/src/lang/package/zh-cn.d.ts +15 -14
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +9 -0
- package/dts/src/utils/i18n.d.ts +4 -1
- package/package.json +6 -1
- package/dist/a-fixed-CXYo1gbQ.mjs +0 -4
- package/dist/a-list-nphA7BPW.mjs +0 -4
- package/dist/anquanrizhi-BMAtNRi-.mjs +0 -4
- package/dist/api-CqqDM6lC.mjs +0 -4
- package/dist/bumenguanli-_DtFk-Tc.mjs +0 -4
- package/dist/caozuoguanliyuan-YxDi1qyM.mjs +0 -4
- package/dist/captcha-Ca2DxFnb.mjs +0 -4
- package/dist/cascader-CVLDcfYS.mjs +0 -4
- package/dist/client-BuhkltCt.mjs +0 -4
- package/dist/close-B7UHw1tp.mjs +0 -4
- package/dist/close-all-Dp3gNriY.mjs +0 -4
- package/dist/close-eye-C9iXZUip.mjs +0 -4
- package/dist/close-left-B31SalrN.mjs +0 -4
- package/dist/close-other-BX1LJARr.mjs +0 -4
- package/dist/close-right-CJZGXRxS.mjs +0 -4
- package/dist/dept-D0lYCftG.mjs +0 -4
- package/dist/dict-CstSmJGm.mjs +0 -4
- package/dist/document-CbJQ3IQT.mjs +0 -4
- package/dist/download-d1CYmFFp.mjs +0 -4
- package/dist/drag-CwjZNuUJ.mjs +0 -4
- package/dist/edit-C6TX6ZTZ.mjs +0 -4
- package/dist/edit-DDHdSVfX.mjs +0 -4
- package/dist/edit-Dvu_kdVR.mjs +0 -4
- package/dist/edit.vue_vue_type_script_setup_true_lang-DHyNl3dO.mjs +0 -590
- package/dist/email-B2AUCEGq.mjs +0 -4
- package/dist/exit-fullscreen-BJ7HY1Sq.mjs +0 -4
- package/dist/eye-DeDz_5CQ.mjs +0 -4
- package/dist/eye-open-DqtT7Ue1.mjs +0 -4
- package/dist/fullscreen-CgUsFPmH.mjs +0 -4
- package/dist/fullscreen-exit-CdKPxnPS.mjs +0 -4
- package/dist/gangweiguanli-bkwyhEXB.mjs +0 -4
- package/dist/github-D8t79enS.mjs +0 -4
- package/dist/homepage-Dvoa-z90.mjs +0 -4
- package/dist/icon-DwZ6Hkfk.mjs +0 -4
- package/dist/indent-decrease-BtTedpts.mjs +0 -4
- package/dist/ip-KttQdgnz.mjs +0 -4
- package/dist/jiemianxijietubiao-26-mnbzByc9.mjs +0 -4
- package/dist/language-8_mM10m-.mjs +0 -4
- package/dist/link-C12BB_4T.mjs +0 -4
- package/dist/lock-x1nlaZbe.mjs +0 -4
- package/dist/log-ZFSIG9ZQ.mjs +0 -4
- package/dist/menu-R0l6-TrU.mjs +0 -4
- package/dist/message-DdP0o8rx.mjs +0 -4
- package/dist/mokuaiguanli-nzRpK-Pe.mjs +0 -4
- package/dist/money-DOHVYo9H.mjs +0 -4
- package/dist/monitor-DA1U9GXQ.mjs +0 -4
- package/dist/moon-BH2YPGjD.mjs +0 -4
- package/dist/open-eye-BaPHKGgj.mjs +0 -4
- package/dist/order-9UanBwm1.mjs +0 -4
- package/dist/password-BbtiGVLy.mjs +0 -4
- package/dist/peoples-CY6pAt8k.mjs +0 -4
- package/dist/phone-CdpLww4_.mjs +0 -4
- package/dist/project-CcbJeg5G.mjs +0 -4
- package/dist/publish-BPlkrj9K.mjs +0 -4
- package/dist/quanxianguanli-Cpcc8C4D.mjs +0 -4
- package/dist/redis-fjUUmFu3.mjs +0 -4
- package/dist/refresh-FEjK-h-7.mjs +0 -4
- package/dist/role-DiO02CEe.mjs +0 -4
- package/dist/security-pFtu_-jl.mjs +0 -4
- package/dist/setting-4Nly5aI_.mjs +0 -4
- package/dist/shoujihao-BFt1tDJn.mjs +0 -4
- package/dist/shrink-kEdKK3G7.mjs +0 -4
- package/dist/size-Dp8pcL7e.mjs +0 -4
- package/dist/sunny-bOd_iT1-.mjs +0 -4
- package/dist/system-19q1vLmi.mjs +0 -4
- package/dist/table-CvNtd0_I.mjs +0 -4
- package/dist/team-COy-X023.mjs +0 -4
- package/dist/todolist-BjVDWiLT.mjs +0 -4
- package/dist/tree-COLikYEs.mjs +0 -4
- package/dist/user-CIuEpak9.mjs +0 -4
- package/dist/visit-xGOaaP3T.mjs +0 -4
- package/dist/xingming-DHM4olm-.mjs +0 -4
- package/dist/yonghuguanli-B3vRkdqw.mjs +0 -4
- package/dist/youxiang-D68Zx-02.mjs +0 -4
|
@@ -0,0 +1,593 @@
|
|
|
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, ak as ke, al as Re, bC as we, aX as Se, aY as qe, b1 as Ne, b3 as Ue, t as Te, ap as Be } from "./index-CuJi981D.mjs";
|
|
2
|
+
import "./el-checkbox-group-l0sNRNKZ.mjs";
|
|
3
|
+
import { E as De, a as Ae } from "./el-col-CBbTQyho.mjs";
|
|
4
|
+
import { E as Fe } from "./el-tree-select-BwHFKWJR.mjs";
|
|
5
|
+
import { E as Le, a as Oe } from "./el-form-item-xvoQU0qJ.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-DOqNCkoW.mjs";
|
|
10
|
+
import { E as Pe } from "./el-divider-CHJI0J_1.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
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as a, createElementBlock as t, normalizeClass as s, unref as r, renderSlot as l, createTextVNode as d, toDisplayString as n, createCommentVNode as i, createElementVNode as p, normalizeStyle as y } from "vue";
|
|
2
|
-
import { b as u, d as m, u as c, _ as h, w as v } from "./index-
|
|
2
|
+
import { b as u, d as m, u as c, _ as h, w as v } from "./index-CuJi981D.mjs";
|
|
3
3
|
const S = u({
|
|
4
4
|
header: {
|
|
5
5
|
type: String,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, computed as o, provide as O, openBlock as g, createBlock as _, resolveDynamicComponent as $, normalizeClass as h, unref as c, normalizeStyle as w, withCtx as v, renderSlot as j, inject as S } from "vue";
|
|
2
|
-
import { b as N, u as x, _ as C, w as E, d as u, R as r, ar as b, V as K } from "./index-
|
|
2
|
+
import { b as N, u as x, _ as C, w as E, d as u, R as r, ar as b, V as K } from "./index-CuJi981D.mjs";
|
|
3
3
|
const R = Symbol("rowContextKey"), P = [
|
|
4
4
|
"start",
|
|
5
5
|
"center",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Ve, useAttrs as xt, inject as et, ref as te, computed as B, watch as Ye, nextTick as Te, unref as e, provide as St, openBlock as E, createBlock as Se, mergeProps as Ut, withCtx as oe, normalizeClass as C, normalizeStyle as Rt, withModifiers as Be, resolveDynamicComponent as mt, createCommentVNode as me, createElementBlock as X, createElementVNode as J, renderSlot as lt, toDisplayString as ve, onMounted as ha, Fragment as we, renderList as _e, createTextVNode as Qe, withDirectives as Re, createVNode as G, Transition as ya, withKeys as ot, useSlots as jt, toRef as it, vShow as rt, getCurrentInstance as Zt, reactive as ba } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { c6 as je, ac as Ze, c7 as qt, c8 as Et, c0 as Me, b as Ce, d as fe, c9 as ga, f as ka, k as Ne, u as Oe, l as wa, z as Nt, ca as Da, cb as Sa, cc as Ma, m as $a, cd as Ca, r as Pa, s as nt, E as pe, _ as qe, A as ke, aK as dt, q as _a, ce as Ta, ad as Oa, cf as Va, x as xa, bi as Ya, cg as Ia, L as Mt, ch as Aa, v as $t, ci as ft, av as Ct, N as yt, cj as vt, t as gt } from "./index-CuJi981D.mjs";
|
|
3
3
|
const Ra = [
|
|
4
4
|
"year",
|
|
5
5
|
"years",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, computed as c, openBlock as o, createElementBlock as i, normalizeClass as s, unref as r, normalizeStyle as p, renderSlot as u, createCommentVNode as f } from "vue";
|
|
2
|
-
import { b as v, d as m, u as y, _ as S, w as _ } from "./index-
|
|
2
|
+
import { b as v, d as m, u as y, _ as S, w as _ } from "./index-CuJi981D.mjs";
|
|
3
3
|
const b = v({
|
|
4
4
|
direction: {
|
|
5
5
|
type: String,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as A, ref as $, inject as h, computed as C, provide as W, readonly as $e, toRef as H, unref as O, watch as ce, renderSlot as B, resolveComponent as g, openBlock as D, createBlock as U, withCtx as v, createVNode as R, normalizeProps as Te, guardReactiveProps as Fe, nextTick as Re, getCurrentInstance as pe, onBeforeUnmount as Se, createElementBlock as j, normalizeClass as q, createSlots as ke, mergeProps as V, createCommentVNode as Z, Fragment as Oe, createElementVNode as Pe, withModifiers as x, resolveDynamicComponent as Ne, normalizeStyle as De } from "vue";
|
|
2
|
-
import { b as Ke, d as X,
|
|
3
|
-
import { c as no } from "./el-form-item-
|
|
2
|
+
import { b as Ke, d as X, bJ as Be, A as E, aA as Le, _ as G, bK as P, be as fe, t as ve, ad as Me, bL as Ae, r as Ge, bM as ze, E as me, x as Ue, bN as Ye, u as ee, k as He, e as Ve, m as Je, bO as be, bP as We, bQ as je, bR as ge, bS as Qe, bT as ae, bU as Xe, bV as qe, bW as Ze, bX as xe, bY as eo, w as oo, a as we } from "./index-CuJi981D.mjs";
|
|
3
|
+
import { c as no } from "./el-form-item-xvoQU0qJ.mjs";
|
|
4
4
|
const to = Ke({
|
|
5
5
|
style: { type: X([String, Array, Object]) },
|
|
6
6
|
currentTabId: {
|