@pubinfo/module-rbac 2.1.10-beta.2 → 2.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentSelect-A7uGTuHW.js +3498 -0
- package/dist/{DynamicRoutesForm-DP_sq_Uu.js → DynamicRoutesForm-DSzy_bh5.js} +43 -42
- package/dist/HCheckList-ODQHidN8.js +37 -0
- package/dist/HoverCard-CmJCoa2b.js +44 -0
- package/dist/{IconSelect-CiLpc63Z.js → IconSelect-DouEg3xY.js} +89 -88
- package/dist/ImportExport-DisdLoY8.js +342 -0
- package/dist/{LayoutForm-Cp4bBrYl.js → LayoutForm-Bdfs5WeK.js} +35 -34
- package/dist/{MetaForm-CVSgktB_.js → MetaForm-CcDwS8vh.js} +6128 -6143
- package/dist/{OrgAndPosition-ClASobEv.js → OrgAndPosition-jDX7m0HD.js} +61 -60
- package/dist/{ResourceEdit-w8qh1MFO.js → ResourceEdit-0BYZRye_.js} +128 -127
- package/dist/{ResourceRelation-ChEwIbWM.js → ResourceRelation-CU-QpUhP.js} +25 -25
- package/dist/{ResourceRelation-D_j898zp.js → ResourceRelation-roz0a8Td.js} +35 -34
- package/dist/{RoleRelation-DzyVn5dk.js → RoleRelation-BQQFaum0.js} +28 -27
- package/dist/{RoleSelector-Cd6_RUsc.js → RoleSelector-gkar_UGG.js} +89 -89
- package/dist/{TenantEdit-BOvXk7BZ.js → TenantEdit-BsahDUlf.js} +94 -93
- package/dist/{UserAuthorization-DLeivbs7.js → UserAuthorization-2Fl4IGw7.js} +81 -80
- package/dist/{UserEdit-YKS1FVW_.js → UserEdit-CX3Qau8T.js} +102 -101
- package/dist/{animation_item-BU-LInxP.js → animation_item-DBOz2rcX.js} +20 -22
- package/dist/{blackWhiteList-CNQltBqC.js → blackWhiteList-DbG7JH8n.js} +69 -69
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-DTR6CPZQ.js +108 -0
- package/dist/{browserType-Dn_hQtAN.js → browserType-B8A1Osvk.js} +11 -10
- package/dist/chunk-DiMWNkAf.js +18 -0
- package/dist/cloneDeep-CSOSavu3.js +6 -0
- package/dist/components/GroupSelector/index.vue.d.ts +7 -1
- package/dist/components/ResourceIcones/Select.vue.d.ts +2 -1
- package/dist/components/ResourceSelector/index.vue.d.ts +7 -1
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +9 -1
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +7 -1
- package/dist/{createAndEditDataPermission-CaOBJgoV.js → createAndEditDataPermission-8_KNLzJT.js} +49 -48
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-ZRQ-Aoib.js → data-permission-LpuDLDm0.js} +41 -41
- package/dist/{dayjs.min-sGDSMYRj.js → dayjs.min-Cb7gQFd4.js} +1 -1
- package/dist/{dictionary-CtGgtPfc.js → dictionary-CEaxjqZe.js} +46 -46
- package/dist/drawerBlackWhiteList-DXLdWurZ.js +120 -0
- package/dist/drawerDictionary-DYJTAZr6.js +126 -0
- package/dist/drawerDictionaryItem-BChXD2-q.js +138 -0
- package/dist/{drawerGroup-DEuiiDPP.js → drawerGroup-CdnZkZxi.js} +67 -66
- package/dist/drawerOrganization-CwtSFUj0.js +247 -0
- package/dist/drawerPosition-CfyfeQCN.js +166 -0
- package/dist/drawerRegion-DAwY_29K.js +183 -0
- package/dist/drawerRole-B7uCfHk-.js +154 -0
- package/dist/{drawerRole-Dv61PBZR.js → drawerRole-DK6DrinO.js} +77 -76
- package/dist/{drawerRole-DNDyOvXw.js → drawerRole-DrzMHL0O.js} +69 -68
- package/dist/{group-BbkZjv5e.js → group-CaOhkh72.js} +48 -48
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +613 -689
- package/dist/isEmpty-BjEzPyCa.js +12 -0
- package/dist/{itemlist-By-FV6pN.js → itemlist-CFwRUV2Y.js} +44 -44
- package/dist/json-asset-03f0a035.json +1 -0
- package/dist/json-asset-0ee63e7f.json +1 -0
- package/dist/json-asset-10eef4fe.json +1 -0
- package/dist/json-asset-13f452f1.json +1 -0
- package/dist/json-asset-14b7b290.json +1 -0
- package/dist/json-asset-15b8cef1.json +1 -0
- package/dist/json-asset-15f77960.json +1 -0
- package/dist/json-asset-1ae9b726.json +1 -0
- package/dist/json-asset-1b02359f.json +1 -0
- package/dist/json-asset-1ef286cd.json +1 -0
- package/dist/json-asset-23cfd18c.json +1 -0
- package/dist/json-asset-265a0a5d.json +1 -0
- package/dist/json-asset-28d57c49.json +1 -0
- package/dist/json-asset-2b54ed10.json +1 -0
- package/dist/json-asset-2bb6f642.json +1 -0
- package/dist/json-asset-2cdc07bd.json +1 -0
- package/dist/json-asset-31c58607.json +1 -0
- package/dist/json-asset-32884f23.json +1 -0
- package/dist/json-asset-32fca43a.json +1 -0
- package/dist/json-asset-3a75445b.json +1 -0
- package/dist/json-asset-3f27d67c.json +1 -0
- package/dist/json-asset-4189453f.json +1 -0
- package/dist/json-asset-4702b37c.json +1 -0
- package/dist/json-asset-520a5c68.json +1 -0
- package/dist/json-asset-56bea508.json +1 -0
- package/dist/json-asset-57c732a3.json +1 -0
- package/dist/json-asset-5be4a28f.json +1 -0
- package/dist/json-asset-5e6d7cfa.json +1 -0
- package/dist/json-asset-64e176c9.json +1 -0
- package/dist/json-asset-6583dca6.json +1 -0
- package/dist/json-asset-66c640c6.json +1 -0
- package/dist/json-asset-68393156.json +1 -0
- package/dist/json-asset-688465aa.json +1 -0
- package/dist/json-asset-6bf334f4.json +1 -0
- package/dist/json-asset-7b4f72ce.json +1 -0
- package/dist/json-asset-837ec087.json +1 -0
- package/dist/json-asset-838ac1ba.json +1 -0
- package/dist/json-asset-8465c2cf.json +1 -0
- package/dist/json-asset-9e9f04a4.json +1 -0
- package/dist/json-asset-a13964cb.json +1 -0
- package/dist/json-asset-ab93a057.json +1 -0
- package/dist/json-asset-abe308fc.json +1 -0
- package/dist/json-asset-b24f2cd3.json +1 -0
- package/dist/json-asset-bf00eaed.json +1 -0
- package/dist/json-asset-cb22efd7.json +1 -0
- package/dist/json-asset-cb953f20.json +1 -0
- package/dist/json-asset-cc209e34.json +1 -0
- package/dist/json-asset-cfdffceb.json +1 -0
- package/dist/json-asset-d33c0299.json +1 -0
- package/dist/json-asset-d430c8ca.json +1 -0
- package/dist/json-asset-d8cfa560.json +1 -0
- package/dist/json-asset-da91beb6.json +1 -0
- package/dist/json-asset-e2bdf85c.json +1 -0
- package/dist/json-asset-e34ad826.json +1 -0
- package/dist/json-asset-e80720aa.json +1 -0
- package/dist/json-asset-e894bc92.json +1 -0
- package/dist/json-asset-f28020f2.json +1 -0
- package/dist/json-asset-f71ebbf4.json +1 -0
- package/dist/json-asset-fb1f4917.json +1 -0
- package/dist/json-asset-ff2e97c4.json +1 -0
- package/dist/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
- package/dist/layout_setting.css +1 -1
- package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
- package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
- package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-C2GciMXz.js +155 -0
- package/dist/not-data-Bml86wdH.js +3 -0
- package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
- package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
- package/dist/operate_history.css +1 -1
- package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
- package/dist/organization.css +1 -1
- package/dist/other_setting-oVuhA70c.js +213 -0
- package/dist/other_setting.css +1 -1
- package/dist/page_animation_setting-D0CtzyOZ.js +108 -0
- package/dist/page_animation_setting.css +1 -1
- package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
- package/dist/page_w_setting.css +1 -1
- package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
- package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
- package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
- package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
- package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
- package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
- package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-DhrW4Jj5.js +139 -0
- package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
- package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-znESrYgi.js +140 -0
- package/dist/useAppAndResource-B7FmNfKG.js +52 -0
- package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
- package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
- package/dist/views/components/setItem.vue.d.ts +5 -1
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
- package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
- package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/other_setting/interface.d.ts +1 -2
- package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
- package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
- package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
- package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
- package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
- package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
- package/dist/watermark_setting-DYirSIAn.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +13 -13
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/other_setting/interface.ts +1 -1
- package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
- package/dist/ComponentSelect-WO-3S5rH.js +0 -2
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
- package/dist/HCheckList-B5Qk_HBI.js +0 -2
- package/dist/HCheckList-DLBewmPw.js +0 -36
- package/dist/HoverCard-69ZIOivd.js +0 -2
- package/dist/HoverCard-BDFcxxvk.js +0 -43
- package/dist/IconSelect-C_Gj5G4I.js +0 -3
- package/dist/ImportExport-CL5uPlby.js +0 -342
- package/dist/ImportExport-CPy2rvv7.js +0 -4
- package/dist/LayoutForm-QFjwakyQ.js +0 -4
- package/dist/MetaForm-Bb-um1Zo.js +0 -4
- package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
- package/dist/ResourceEdit-BTaNdwC_.js +0 -10
- package/dist/ResourceRelation-BIOzTOKA.js +0 -2
- package/dist/RoleRelation-CyTcqRfZ.js +0 -2
- package/dist/TenantEdit-BlMmL6q5.js +0 -2
- package/dist/UserAuthorization-qGr1Sdat.js +0 -3
- package/dist/UserEdit-CwfyqNWf.js +0 -3
- package/dist/animation_item-GzGItm3s.js +0 -2
- package/dist/breadcrumb_setting-Ds-XJRR1.js +0 -108
- package/dist/browserType-BXTT4j6i.js +0 -2
- package/dist/chunk-Cpsc_9al.js +0 -18
- package/dist/cloneDeep-DDAtsK42.js +0 -7
- package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
- package/dist/drawerDictionary-D911w7pC.js +0 -2
- package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
- package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
- package/dist/drawerGroup-CEEDMBg9.js +0 -3
- package/dist/drawerOrganization-CqEMD3gE.js +0 -246
- package/dist/drawerOrganization-mks5NMd9.js +0 -2
- package/dist/drawerPosition-Bd0s7qze.js +0 -165
- package/dist/drawerPosition-DwlTrlGA.js +0 -2
- package/dist/drawerRegion-DUbQAZuV.js +0 -182
- package/dist/drawerRegion-DwVzsZfT.js +0 -2
- package/dist/drawerRole-BNrbcSmr.js +0 -3
- package/dist/drawerRole-BxUIekjh.js +0 -3
- package/dist/drawerRole-CyA2oFht.js +0 -4
- package/dist/drawerRole-D5X7oHB_.js +0 -153
- package/dist/isEmpty-BvRqbmpu.js +0 -13
- package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
- package/dist/menu_setting-5Jet091Q.js +0 -155
- package/dist/not-data-Cx--tk_h.js +0 -2
- package/dist/not-data-tyTawN37.js +0 -2
- package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
- package/dist/other_setting-DQ70WnZK.js +0 -213
- package/dist/page_animation_setting-Lp6cMuFM.js +0 -108
- package/dist/routeSystem-DXMoWhFo.js +0 -2
- package/dist/setItem-Qa7UapHO.js +0 -4
- package/dist/tabbar_setting-B3kMhRNm.js +0 -139
- package/dist/toolbar_setting-DNBdxeGP.js +0 -140
- package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
- package/dist/watermark_setting-CXp4Og0Y.js +0 -191
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
|
|
2
|
+
import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
|
|
3
|
+
import "./animation_item-DBOz2rcX.js";
|
|
4
|
+
import "./HCheckList-ODQHidN8.js";
|
|
5
|
+
import { t as setItem_default } from "./setItem-Vkcwkj-O.js";
|
|
6
|
+
import { PubinfoIcon } from "pubinfo";
|
|
7
|
+
import { Fragment, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, reactive, renderList, resolveComponent, unref } from "vue";
|
|
8
|
+
import { message } from "ant-design-vue";
|
|
9
|
+
import './toolbar_setting.css';var enableColorScheme_default$1 = new URL("json-asset-64e176c9.json", import.meta.url).href, enableFullscreen_default$1 = new URL("json-asset-57c732a3.json", import.meta.url).href, enableNotification_default$1 = new URL("json-asset-8465c2cf.json", import.meta.url).href, enablePageReload_default$1 = new URL("json-asset-9e9f04a4.json", import.meta.url).href, enableUserPreferences_default$1 = new URL("json-asset-a13964cb.json", import.meta.url).href, navSearchEnable_default$1 = new URL("json-asset-520a5c68.json", import.meta.url).href, navSearchEnableHotkeys_default$1 = new URL("json-asset-3f27d67c.json", import.meta.url).href, enableColorScheme_default = new URL("json-asset-1ae9b726.json", import.meta.url).href, enableFullscreen_default = new URL("json-asset-13f452f1.json", import.meta.url).href, enableNotification_default = new URL("json-asset-15f77960.json", import.meta.url).href, enablePageReload_default = new URL("json-asset-bf00eaed.json", import.meta.url).href, enableUserPreferences_default = new URL("json-asset-32884f23.json", import.meta.url).href, navSearchEnable_default = new URL("json-asset-d8cfa560.json", import.meta.url).href, navSearchEnableHotkeys_default = new URL("json-asset-cb953f20.json", import.meta.url).href, _hoisted_1 = {
|
|
10
|
+
"w-full": "",
|
|
11
|
+
"h-full": "",
|
|
12
|
+
"p-10px": ""
|
|
13
|
+
}, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px pb-30px flex flex-col box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = {
|
|
14
|
+
class: "mt-[22px] grid grid-cols-3 gap-x-[20px] px-30px w-full h-0 max-w-1500px",
|
|
15
|
+
aspect: "[3/2] "
|
|
16
|
+
}, toolbar_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
17
|
+
name: "ToolbarSetting",
|
|
18
|
+
__name: "index",
|
|
19
|
+
setup(e) {
|
|
20
|
+
let i = useSettingsStore(), a = reactive([
|
|
21
|
+
{
|
|
22
|
+
name: "通知中心",
|
|
23
|
+
type: "switch",
|
|
24
|
+
descripe: "该功能具体业务功能需自行开发,框架仅提供示例模版",
|
|
25
|
+
open: i.globalSettings.toolbar.enableNotification,
|
|
26
|
+
parentName: "toolbar",
|
|
27
|
+
childName: "enableNotification",
|
|
28
|
+
activeStyle: "",
|
|
29
|
+
lightData: enableNotification_default,
|
|
30
|
+
darkData: enableNotification_default$1
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "全屏",
|
|
34
|
+
type: "switch",
|
|
35
|
+
descripe: "",
|
|
36
|
+
parentName: "toolbar",
|
|
37
|
+
childName: "enableFullscreen",
|
|
38
|
+
open: i.globalSettings.toolbar.enableFullscreen,
|
|
39
|
+
activeStyle: "",
|
|
40
|
+
lightData: enableFullscreen_default,
|
|
41
|
+
darkData: enableFullscreen_default$1
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "页面刷新",
|
|
45
|
+
type: "switch",
|
|
46
|
+
descripe: "使用框架内提供的刷新功能进行页面刷新",
|
|
47
|
+
parentName: "toolbar",
|
|
48
|
+
childName: "enablePageReload",
|
|
49
|
+
open: i.globalSettings.toolbar.enablePageReload,
|
|
50
|
+
activeStyle: "",
|
|
51
|
+
lightData: enablePageReload_default,
|
|
52
|
+
darkData: enablePageReload_default$1
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "暗黑主题切换",
|
|
56
|
+
type: "switch",
|
|
57
|
+
descripe: "开启后可在明亮/暗黑模式中切换",
|
|
58
|
+
parentName: "toolbar",
|
|
59
|
+
childName: "enableColorScheme",
|
|
60
|
+
open: i.globalSettings.toolbar.enableColorScheme,
|
|
61
|
+
activeStyle: "",
|
|
62
|
+
lightData: enableColorScheme_default,
|
|
63
|
+
darkData: enableColorScheme_default$1
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "个性偏好设置",
|
|
67
|
+
type: "switch",
|
|
68
|
+
descripe: "",
|
|
69
|
+
parentName: "app",
|
|
70
|
+
childName: "enableUserPreferences",
|
|
71
|
+
open: i.globalSettings.app.enableUserPreferences,
|
|
72
|
+
activeStyle: "",
|
|
73
|
+
lightData: enableUserPreferences_default,
|
|
74
|
+
darkData: enableUserPreferences_default$1
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: "导航搜索",
|
|
78
|
+
type: "switch",
|
|
79
|
+
descripe: "",
|
|
80
|
+
parentName: "navSearch",
|
|
81
|
+
childName: "enable",
|
|
82
|
+
open: i.globalSettings.navSearch.enable,
|
|
83
|
+
activeStyle: "",
|
|
84
|
+
lightData: navSearchEnable_default,
|
|
85
|
+
darkData: navSearchEnable_default$1
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "导航搜索快捷键",
|
|
89
|
+
type: "switch",
|
|
90
|
+
descripe: "",
|
|
91
|
+
parentName: "navSearch",
|
|
92
|
+
childName: "enableHotkeys",
|
|
93
|
+
open: i.globalSettings.navSearch.enableHotkeys,
|
|
94
|
+
activeStyle: "",
|
|
95
|
+
lightData: navSearchEnableHotkeys_default,
|
|
96
|
+
darkData: navSearchEnableHotkeys_default$1
|
|
97
|
+
}
|
|
98
|
+
]);
|
|
99
|
+
function o(e, t, n) {
|
|
100
|
+
if (i.globalSettings[e] && i.globalSettings[e][t] !== void 0) {
|
|
101
|
+
i.globalSettings[e][t] = n;
|
|
102
|
+
let r = {};
|
|
103
|
+
r[e] = {}, r[e][t] = n, s(JSON.stringify(r));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
function s(e) {
|
|
107
|
+
postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
|
|
108
|
+
e.success && message.success("设置成功");
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
return (e, t) => {
|
|
112
|
+
let n = PubinfoIcon;
|
|
113
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
|
|
114
|
+
name: "icon_toolbar",
|
|
115
|
+
class: "text-base mr-[6px]",
|
|
116
|
+
size: 22
|
|
117
|
+
}), t[0] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "工具栏", -1)]), createElementVNode("div", _hoisted_4, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(a), (e) => (openBlock(), createBlock(setItem_default, {
|
|
118
|
+
key: e.name,
|
|
119
|
+
class: "mb-20px",
|
|
120
|
+
aspect: "[9/6]",
|
|
121
|
+
name: e.name,
|
|
122
|
+
descripe: e.descripe,
|
|
123
|
+
open: e.open,
|
|
124
|
+
type: e.type,
|
|
125
|
+
"light-animation-data": e.lightData,
|
|
126
|
+
"dark-animation-data": e.darkData,
|
|
127
|
+
onChange: (t) => o(e.parentName, e.childName, t)
|
|
128
|
+
}, null, 8, [
|
|
129
|
+
"name",
|
|
130
|
+
"descripe",
|
|
131
|
+
"open",
|
|
132
|
+
"type",
|
|
133
|
+
"light-animation-data",
|
|
134
|
+
"dark-animation-data",
|
|
135
|
+
"onChange"
|
|
136
|
+
]))), 128))])])]);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}), [["__scopeId", "data-v-dc8e4487"]]);
|
|
140
|
+
export { toolbar_setting_default as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { M as getRbacResourceAppList, P as getRbacResourceGroupResourceTree, g as RESOURCE_MODE } from "./index.js";
|
|
2
|
+
import { computed, ref } from "vue";
|
|
3
|
+
function useAppAndResource(t) {
|
|
4
|
+
let n = ref(), r = ref([]), i = ref([]), a = ref({}), o = ref([]), s = computed(() => t === RESOURCE_MODE.DATA_PERMISSION);
|
|
5
|
+
function c() {
|
|
6
|
+
getRbacResourceAppList().then((e) => {
|
|
7
|
+
e?.success && (r.value = (e.data ?? []).map((e) => ({
|
|
8
|
+
label: e.name,
|
|
9
|
+
value: e.id
|
|
10
|
+
})));
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
async function l(e) {
|
|
14
|
+
i.value = (await getRbacResourceGroupResourceTree({ appId: e }))?.data ?? [], u(i.value);
|
|
15
|
+
}
|
|
16
|
+
function u(e) {
|
|
17
|
+
e.forEach((e) => {
|
|
18
|
+
e.id && (a.value[e.id] = e.name), s.value && e.enableDataPermission === !1 && (e.disabled = !0), e.children && e.children.length && u(e.children);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function d(e) {
|
|
22
|
+
o.value = e;
|
|
23
|
+
}
|
|
24
|
+
function f(e) {
|
|
25
|
+
if (!e.length || !Object.keys(a.value).length) return [];
|
|
26
|
+
o.value = e.map((e) => ({
|
|
27
|
+
id: e,
|
|
28
|
+
name: a.value[e]
|
|
29
|
+
})).filter((e) => e.name);
|
|
30
|
+
}
|
|
31
|
+
function p() {
|
|
32
|
+
o.value = [];
|
|
33
|
+
}
|
|
34
|
+
function m(e) {
|
|
35
|
+
n.value && n.value.open && n.value.open(e, i.value, a.value);
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
appList: r,
|
|
39
|
+
resourceModelRef: n,
|
|
40
|
+
treeData: i,
|
|
41
|
+
resourceMap: a,
|
|
42
|
+
selectedResources: o,
|
|
43
|
+
isDataPermissionMode: s,
|
|
44
|
+
getAppList: c,
|
|
45
|
+
updateTreeDataAndResourceMap: l,
|
|
46
|
+
setSelectedResources: d,
|
|
47
|
+
updateSelectedResources: f,
|
|
48
|
+
clearSelectedResources: p,
|
|
49
|
+
openResourceModel: m
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export { useAppAndResource as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { $ as putRbacUserResetPassword, J as getRbacUserUserDelete, Lt as useToggle, Z as postRbacUserUserPage, h as _plugin_vue_export_helper_default, y as getRbacOrgOrgListByParentId } from "./index.js";
|
|
2
|
-
import "./RoleSelector-
|
|
3
|
-
import "./OrgAndPosition-
|
|
4
|
-
import { t as UserAuthorization_default } from "./UserAuthorization-
|
|
5
|
-
import {
|
|
2
|
+
import "./RoleSelector-gkar_UGG.js";
|
|
3
|
+
import "./OrgAndPosition-jDX7m0HD.js";
|
|
4
|
+
import { t as UserAuthorization_default } from "./UserAuthorization-2Fl4IGw7.js";
|
|
5
|
+
import { r as ACTION, t as UserEdit_default } from "./UserEdit-CX3Qau8T.js";
|
|
6
6
|
import { PubinfoIcon, useAuth } from "pubinfo";
|
|
7
7
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isVNode, mergeProps, onMounted, openBlock, ref, resolveComponent, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
|
|
8
8
|
import { PlusCircleOutlined } from "@ant-design/icons-vue";
|
|
@@ -14,26 +14,26 @@ import './user.css';var _hoisted_1$1 = { class: "flex w-full items-center overfl
|
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: { auth: {} },
|
|
16
16
|
setup(e) {
|
|
17
|
-
let
|
|
18
|
-
function
|
|
19
|
-
return new Promise((
|
|
17
|
+
let t = e, r = ref([]), [i, o] = useToggle(!1);
|
|
18
|
+
function s(e) {
|
|
19
|
+
return new Promise((n, i) => {
|
|
20
20
|
if (e?.dataRef?.children) {
|
|
21
|
-
|
|
21
|
+
n();
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
o(!0), getRbacOrgOrgListByParentId({
|
|
25
25
|
parentId: e?.dataRef?.id,
|
|
26
26
|
enable: !0
|
|
27
|
-
}, { headers: { "X-ResourceMark":
|
|
28
|
-
if (
|
|
29
|
-
let
|
|
30
|
-
e?.dataRef ? e.dataRef.children =
|
|
27
|
+
}, { headers: { "X-ResourceMark": t.auth } }).then((t) => {
|
|
28
|
+
if (t.success) {
|
|
29
|
+
let n = t?.data?.map(c) ?? [];
|
|
30
|
+
e?.dataRef ? e.dataRef.children = n : r.value = n;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
}).catch(
|
|
32
|
+
r.value = [...r.value], n();
|
|
33
|
+
}).catch(i).finally(() => o(!1));
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function c(e) {
|
|
37
37
|
return {
|
|
38
38
|
key: e.id,
|
|
39
39
|
isLeaf: e.leaf,
|
|
@@ -41,18 +41,18 @@ import './user.css';var _hoisted_1$1 = { class: "flex w-full items-center overfl
|
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
return onMounted(() => {
|
|
44
|
-
|
|
45
|
-
}), (e,
|
|
46
|
-
let
|
|
47
|
-
return openBlock(), createBlock(
|
|
44
|
+
s();
|
|
45
|
+
}), (e, t) => {
|
|
46
|
+
let n = Empty$1, a = Tree$1, o = Spin$1, c = Card$1;
|
|
47
|
+
return openBlock(), createBlock(c, {
|
|
48
48
|
"body-style": { padding: "16px" },
|
|
49
49
|
class: "w-full h-full overflow-y-auto overflow-x-hidden"
|
|
50
50
|
}, {
|
|
51
|
-
default: withCtx(() => [createVNode(
|
|
52
|
-
default: withCtx(() => [unref(
|
|
51
|
+
default: withCtx(() => [createVNode(o, { spinning: unref(i) }, {
|
|
52
|
+
default: withCtx(() => [unref(r).length === 0 ? (openBlock(), createBlock(n, { key: 0 })) : (openBlock(), createBlock(a, mergeProps({ key: 1 }, e.$attrs, {
|
|
53
53
|
"block-node": "",
|
|
54
|
-
"load-data":
|
|
55
|
-
"tree-data": unref(
|
|
54
|
+
"load-data": s,
|
|
55
|
+
"tree-data": unref(r),
|
|
56
56
|
"field-names": {
|
|
57
57
|
children: "children",
|
|
58
58
|
title: "name",
|
|
@@ -84,8 +84,8 @@ function _isSlot(e) {
|
|
|
84
84
|
var user_default = /* @__PURE__ */ defineComponent({
|
|
85
85
|
name: "User",
|
|
86
86
|
__name: "index",
|
|
87
|
-
setup(
|
|
88
|
-
let { auth:
|
|
87
|
+
setup(n) {
|
|
88
|
+
let { auth: i } = useAuth(), a = [
|
|
89
89
|
{
|
|
90
90
|
valueType: "a-input",
|
|
91
91
|
bind: "value",
|
|
@@ -126,11 +126,11 @@ var user_default = /* @__PURE__ */ defineComponent({
|
|
|
126
126
|
}, {
|
|
127
127
|
default: () => e?.map((e) => e.orgName).join(","),
|
|
128
128
|
content: () => {
|
|
129
|
-
let
|
|
130
|
-
return createVNode(Space, { direction: "vertical" }, _isSlot(
|
|
129
|
+
let t;
|
|
130
|
+
return createVNode(Space, { direction: "vertical" }, _isSlot(t = e.map((e) => createVNode(Badge, {
|
|
131
131
|
status: e.main ? "processing" : "success",
|
|
132
132
|
text: e.orgName
|
|
133
|
-
}, null))) ?
|
|
133
|
+
}, null))) ? t : { default: () => [t] });
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -163,7 +163,7 @@ var user_default = /* @__PURE__ */ defineComponent({
|
|
|
163
163
|
width: 280,
|
|
164
164
|
hideInSearch: !0,
|
|
165
165
|
hideInTable() {
|
|
166
|
-
return !
|
|
166
|
+
return !i([
|
|
167
167
|
"user_authorize",
|
|
168
168
|
"user_reset_password",
|
|
169
169
|
"user_edit",
|
|
@@ -171,147 +171,147 @@ var user_default = /* @__PURE__ */ defineComponent({
|
|
|
171
171
|
]);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
],
|
|
175
|
-
async function
|
|
176
|
-
let { current:
|
|
177
|
-
currentPage:
|
|
178
|
-
pageSize:
|
|
179
|
-
orgId:
|
|
180
|
-
...
|
|
181
|
-
...
|
|
174
|
+
], u = ref({}), d = ref({}), f = ref({}), p = ref();
|
|
175
|
+
async function h(e) {
|
|
176
|
+
let { current: t, pageSize: n, ...i } = e, a = await postRbacUserUserPage({
|
|
177
|
+
currentPage: t,
|
|
178
|
+
pageSize: n,
|
|
179
|
+
orgId: u.value?.orgId,
|
|
180
|
+
...f.value,
|
|
181
|
+
...i
|
|
182
182
|
});
|
|
183
183
|
return {
|
|
184
|
-
success:
|
|
185
|
-
data:
|
|
186
|
-
total:
|
|
184
|
+
success: a.success,
|
|
185
|
+
data: a.data?.records ?? [],
|
|
186
|
+
total: a.data?.total ?? 0
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
|
|
189
|
+
function y() {
|
|
190
|
+
p.value.reload();
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
|
|
194
|
-
orgId:
|
|
195
|
-
orgName:
|
|
196
|
-
},
|
|
192
|
+
function b(e, { node: t }) {
|
|
193
|
+
t.selected ? u.value = {} : u.value = {
|
|
194
|
+
orgId: t.id,
|
|
195
|
+
orgName: t.name
|
|
196
|
+
}, y();
|
|
197
197
|
}
|
|
198
|
-
let
|
|
199
|
-
function
|
|
200
|
-
switch (
|
|
198
|
+
let x = ref(), S = ref();
|
|
199
|
+
function C(n, r) {
|
|
200
|
+
switch (n) {
|
|
201
201
|
case ACTION.ADD:
|
|
202
|
-
|
|
202
|
+
x.value.open(n);
|
|
203
203
|
break;
|
|
204
204
|
case ACTION.AUTHORIZE:
|
|
205
|
-
|
|
205
|
+
r && (d.value = r), S.value && S.value.open && S.value.open();
|
|
206
206
|
break;
|
|
207
207
|
case ACTION.EDIT:
|
|
208
|
-
|
|
208
|
+
x.value.open(n, r);
|
|
209
209
|
break;
|
|
210
210
|
case ACTION.RESET_PASSWORD:
|
|
211
211
|
Modal.confirm({
|
|
212
212
|
title: "重置密码",
|
|
213
213
|
content: "确定要重置该用户密码吗?",
|
|
214
214
|
async onOk() {
|
|
215
|
-
(await putRbacUserResetPassword({ userId:
|
|
215
|
+
(await putRbacUserResetPassword({ userId: r?.id })).success && message.success("重置密码成功");
|
|
216
216
|
}
|
|
217
217
|
});
|
|
218
218
|
break;
|
|
219
219
|
case ACTION.REMOVE: {
|
|
220
|
-
let e =
|
|
220
|
+
let e = r?.userOrgList && r.userOrgList?.length > 1;
|
|
221
221
|
Modal.confirm({
|
|
222
222
|
title: "删除",
|
|
223
223
|
content: `确定要删除该用户吗?${e ? "该用户存在多个组织下,若只需移除组织,请在编辑中操作。" : ""}`,
|
|
224
224
|
async onOk() {
|
|
225
|
-
(await getRbacUserUserDelete({ userId:
|
|
225
|
+
(await getRbacUserUserDelete({ userId: r?.id })).success && (message.success("删除成功"), y());
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
break;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
return
|
|
232
|
+
function w(e, t) {
|
|
233
|
+
return t.userType === "2" ? [ACTION.RESET_PASSWORD].includes(e) : [
|
|
234
234
|
ACTION.AUTHORIZE,
|
|
235
235
|
ACTION.RESET_PASSWORD,
|
|
236
236
|
ACTION.EDIT,
|
|
237
237
|
ACTION.REMOVE
|
|
238
238
|
].includes(e);
|
|
239
239
|
}
|
|
240
|
-
return (e,
|
|
241
|
-
let
|
|
240
|
+
return (e, t) => {
|
|
241
|
+
let n = OrgTree_default, r = Col, i = PlusCircleOutlined, l = Button, m = PubinfoIcon, g = Space$1, _ = Row, v = resolveDirective("auth");
|
|
242
242
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
243
|
-
createVNode(
|
|
243
|
+
createVNode(_, {
|
|
244
244
|
gutter: [8, 8],
|
|
245
245
|
wrap: !1,
|
|
246
246
|
class: "h-full"
|
|
247
247
|
}, {
|
|
248
|
-
default: withCtx(() => [createVNode(
|
|
248
|
+
default: withCtx(() => [createVNode(r, {
|
|
249
249
|
flex: "320px",
|
|
250
250
|
class: "h-full overflow-hidden"
|
|
251
251
|
}, {
|
|
252
|
-
default: withCtx(() => [createVNode(
|
|
253
|
-
"select-keys": [unref(
|
|
252
|
+
default: withCtx(() => [createVNode(n, {
|
|
253
|
+
"select-keys": [unref(f).orgId],
|
|
254
254
|
bordered: !1,
|
|
255
255
|
auth: "organization",
|
|
256
|
-
onSelect:
|
|
256
|
+
onSelect: b
|
|
257
257
|
}, null, 8, ["select-keys"])]),
|
|
258
258
|
_: 1
|
|
259
|
-
}), createVNode(
|
|
259
|
+
}), createVNode(r, {
|
|
260
260
|
flex: "auto",
|
|
261
261
|
class: "h-full"
|
|
262
262
|
}, {
|
|
263
263
|
default: withCtx(() => [createVNode(unref(ProTable), {
|
|
264
264
|
ref_key: "tableRef",
|
|
265
|
-
ref:
|
|
265
|
+
ref: p,
|
|
266
266
|
"row-key": (e) => `${e.id}-${e.orgId}`,
|
|
267
|
-
request:
|
|
268
|
-
columns:
|
|
267
|
+
request: h,
|
|
268
|
+
columns: a,
|
|
269
269
|
scroll: { x: 800 },
|
|
270
270
|
"auto-height": ""
|
|
271
271
|
}, {
|
|
272
|
-
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(
|
|
272
|
+
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(l, {
|
|
273
273
|
type: "primary",
|
|
274
|
-
onClick:
|
|
274
|
+
onClick: t[0] ||= (e) => C(unref(ACTION).ADD)
|
|
275
275
|
}, {
|
|
276
|
-
default: withCtx(() => [createVNode(
|
|
276
|
+
default: withCtx(() => [createVNode(i), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
|
|
277
277
|
_: 1
|
|
278
|
-
})), [[
|
|
279
|
-
bodyCell: withCtx(({ column: e, record:
|
|
278
|
+
})), [[v, "user_add"]])]),
|
|
279
|
+
bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(g, { key: 0 }, {
|
|
280
280
|
default: withCtx(() => [
|
|
281
|
-
|
|
281
|
+
w(unref(ACTION).AUTHORIZE, t) ? withDirectives((openBlock(), createElementBlock("a", {
|
|
282
282
|
key: 0,
|
|
283
283
|
class: "flex items-center",
|
|
284
|
-
onClick: (e) =>
|
|
285
|
-
}, [createVNode(
|
|
284
|
+
onClick: (e) => C(unref(ACTION).AUTHORIZE, t)
|
|
285
|
+
}, [createVNode(m, {
|
|
286
286
|
name: "authorize",
|
|
287
287
|
"mr-1": "",
|
|
288
288
|
"text-base": ""
|
|
289
|
-
}), createElementVNode("span", null, toDisplayString(unref(ACTION).AUTHORIZE), 1)], 8, _hoisted_2)), [[
|
|
290
|
-
|
|
289
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).AUTHORIZE), 1)], 8, _hoisted_2)), [[v, "user_authorize"]]) : createCommentVNode("", !0),
|
|
290
|
+
w(unref(ACTION).RESET_PASSWORD, t) ? withDirectives((openBlock(), createElementBlock("a", {
|
|
291
291
|
key: 1,
|
|
292
292
|
class: "flex items-center",
|
|
293
|
-
onClick: (e) =>
|
|
294
|
-
}, [createVNode(
|
|
293
|
+
onClick: (e) => C(unref(ACTION).RESET_PASSWORD, t)
|
|
294
|
+
}, [createVNode(m, {
|
|
295
295
|
name: "i-ci-arrows-reload-01",
|
|
296
296
|
"mr-1": "",
|
|
297
297
|
"text-base": ""
|
|
298
|
-
}), createElementVNode("span", null, toDisplayString(unref(ACTION).RESET_PASSWORD), 1)], 8, _hoisted_3)), [[
|
|
299
|
-
|
|
298
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).RESET_PASSWORD), 1)], 8, _hoisted_3)), [[v, "user_reset_password"]]) : createCommentVNode("", !0),
|
|
299
|
+
w(unref(ACTION).EDIT, t) ? withDirectives((openBlock(), createElementBlock("a", {
|
|
300
300
|
key: 2,
|
|
301
301
|
class: "flex items-center",
|
|
302
|
-
onClick: (e) =>
|
|
303
|
-
}, [createVNode(
|
|
302
|
+
onClick: (e) => C(unref(ACTION).EDIT, t)
|
|
303
|
+
}, [createVNode(m, {
|
|
304
304
|
name: "edit",
|
|
305
305
|
class: "mr-1 text-base"
|
|
306
|
-
}), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[
|
|
307
|
-
|
|
306
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[v, "user_edit"]]) : createCommentVNode("", !0),
|
|
307
|
+
w(unref(ACTION).REMOVE, t) ? withDirectives((openBlock(), createElementBlock("span", {
|
|
308
308
|
key: 3,
|
|
309
309
|
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
310
|
-
onClick: (e) =>
|
|
311
|
-
}, [createVNode(
|
|
310
|
+
onClick: (e) => C(unref(ACTION).REMOVE, t)
|
|
311
|
+
}, [createVNode(m, {
|
|
312
312
|
name: "remove",
|
|
313
313
|
class: "mr-1 text-base"
|
|
314
|
-
}), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[
|
|
314
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[v, "user_remove"]]) : createCommentVNode("", !0)
|
|
315
315
|
]),
|
|
316
316
|
_: 2
|
|
317
317
|
}, 1024)) : createCommentVNode("", !0)]),
|
|
@@ -323,14 +323,14 @@ var user_default = /* @__PURE__ */ defineComponent({
|
|
|
323
323
|
}),
|
|
324
324
|
createVNode(UserEdit_default, {
|
|
325
325
|
ref_key: "editRef",
|
|
326
|
-
ref:
|
|
327
|
-
"current-org": unref(
|
|
328
|
-
onSubmit:
|
|
326
|
+
ref: x,
|
|
327
|
+
"current-org": unref(u),
|
|
328
|
+
onSubmit: y
|
|
329
329
|
}, null, 8, ["current-org"]),
|
|
330
330
|
createVNode(UserAuthorization_default, {
|
|
331
331
|
ref_key: "authorizationRef",
|
|
332
|
-
ref:
|
|
333
|
-
"user-id": unref(
|
|
332
|
+
ref: S,
|
|
333
|
+
"user-id": unref(d).id || ""
|
|
334
334
|
}, null, 8, ["user-id"])
|
|
335
335
|
]);
|
|
336
336
|
};
|