@pubinfo-pr/module-rbac 0.228.1 → 0.231.1

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 (161) hide show
  1. package/dist/{ComponentSelect-CYmAgdm3.js → ComponentSelect-CWokGm7B.js} +665 -668
  2. package/dist/{DynamicRoutesForm-CMF3oh8h.js → DynamicRoutesForm-CstxkG5g.js} +2 -2
  3. package/dist/{HoverCard-B-uU48hF.js → HoverCard-ZGaQxL_a.js} +1 -1
  4. package/dist/{IconSelect-CvxGRN_O.js → IconSelect-_oirLsYS.js} +2 -2
  5. package/dist/ImportExport-BVxWc6FR.js +2 -0
  6. package/dist/{ImportExport-CzZssb7_.js → ImportExport-Cy_4EJLq.js} +4 -4
  7. package/dist/{LayoutForm-Bpdyi_2o.js → LayoutForm-_vBGeWiz.js} +3 -3
  8. package/dist/{MetaForm-ZLzLz68d.js → MetaForm-5_KpiusU.js} +4341 -4342
  9. package/dist/{OrgAndPosition-B0RE1Vc_.js → OrgAndPosition-COhhOBJL.js} +2 -2
  10. package/dist/{OrgSelector-C2rPIonI.js → OrgSelector-BX08YC6x.js} +314 -308
  11. package/dist/OrgUserSelector-DmmJMv-T.js +257 -0
  12. package/dist/{ResourceEdit-9fvxbd0K.js → ResourceEdit-3mgwBq-u.js} +9 -9
  13. package/dist/ResourceEdit-CsfgDKOf.js +2 -0
  14. package/dist/{ResourceRelation-IJvXnlpo.js → ResourceRelation-B4652Ceb.js} +3 -3
  15. package/dist/{ResourceRelation-BrluMHdX.js → ResourceRelation-R6cdzbIi.js} +3 -4
  16. package/dist/ResourceSelector-CS6VsQR7.js +237 -0
  17. package/dist/ResourceSelector.css +1 -0
  18. package/dist/{RoleRelation-DuRuQG08.js → RoleRelation-DCIke8tM.js} +2 -2
  19. package/dist/{RoleSelector-BTNYbcC6.js → RoleSelector-AE2dfmlz.js} +2 -2
  20. package/dist/{TenantEdit-Df3gZKLA.js → TenantEdit-KZYEtH3w.js} +4 -4
  21. package/dist/{UserAuthorization-DX7jNDDe.js → UserAuthorization-DOpcNUCm.js} +4 -4
  22. package/dist/{UserEdit-BLb0n7WM.js → UserEdit-BptyAvXG.js} +5 -5
  23. package/dist/{_baseClone-C7vkGgsW.js → _baseClone-YaHrtIbN.js} +1 -1
  24. package/dist/_baseSlice-Ca-qgxJ8.js +9 -0
  25. package/dist/{_initCloneObject-r-eWKqzl.js → _initCloneObject-D4OWzQJP.js} +3 -3
  26. package/dist/_plugin-vue_export-helper-gLzyemvl.js +8 -0
  27. package/dist/{animation_item-Coe-B0jQ.js → animation_item-ugNUvN0t.js} +7 -9
  28. package/dist/api/modules/assist/index.d.ts +0 -1
  29. package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
  30. package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
  31. package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
  32. package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
  33. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
  34. package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
  35. package/dist/{blackWhiteList-d6TVsK48.js → blackWhiteList-SNDF6H2d.js} +9 -9
  36. package/dist/{breadcrumb_setting-DMbvWP5t.js → breadcrumb_setting-DnAbw6Ty.js} +4 -6
  37. package/dist/{cloneDeep-REaxTPsZ.js → cloneDeep-DmYKbzBt.js} +1 -1
  38. package/dist/configData-CSxIdgBO.js +110 -0
  39. package/dist/{createAndEditDataPermission-OunqmBu_.js → createAndEditDataPermission-0LzmHcCV.js} +10 -9
  40. package/dist/{data-permission-2pzeFLxP.js → data-permission-BNwvh8Cy.js} +5 -10
  41. package/dist/{dictionary-DGqlAhRk.js → dictionary-DDTrw8BQ.js} +3 -4
  42. package/dist/{drawerBlackWhiteList-VxyjaBkA.js → drawerBlackWhiteList-dHAREMtd.js} +3 -3
  43. package/dist/{drawerDictionary-DhAB-LV9.js → drawerDictionary-Dq0MnTak.js} +3 -3
  44. package/dist/{drawerDictionaryItem-DYsJzZ2f.js → drawerDictionaryItem-C3XC0ZTH.js} +3 -3
  45. package/dist/{drawerGroup-CTO8Lmbb.js → drawerGroup-BzQHpv61.js} +11 -11
  46. package/dist/drawerOrganization-BvQcr5AP.js +289 -0
  47. package/dist/{drawerPosition-BmM9mLlP.js → drawerPosition-Cc6zxMDa.js} +3 -3
  48. package/dist/{drawerRegion-BD-xc1x2.js → drawerRegion-r3LaT1oP.js} +3 -3
  49. package/dist/{drawerRole-Cjp9iDsa.js → drawerRole-Bh3eb9Hr.js} +4 -4
  50. package/dist/{drawerRole-CgAPM-0g.js → drawerRole-CXDcX8Wv.js} +3 -3
  51. package/dist/{drawerRole-B348x40k.js → drawerRole-saCktlhp.js} +4 -4
  52. package/dist/{group-C6Rj3K5I.js → group-BKjChIg2.js} +4 -7
  53. package/dist/index.css +1 -1
  54. package/dist/index.js +168 -772
  55. package/dist/{isEmpty-2rx9iUQv.js → isEmpty-CxzDo-wx.js} +1 -1
  56. package/dist/{isEqual-CNeQLaCM.js → isEqual-CItLfH0k.js} +1 -1
  57. package/dist/{itemlist-BGe-z1IR.js → itemlist-BowSBoEx.js} +3 -4
  58. package/dist/{layout_setting-Cds3TCHc.js → layout_setting-DOodE1ZC.js} +3 -3
  59. package/dist/{loginHistoryDetail-Coba_ajy.js → loginHistoryDetail-D49ObmJp.js} +2 -2
  60. package/dist/{login_history-CrXkEsHb.js → login_history-Bio4B_vj.js} +3 -5
  61. package/dist/{menu_setting-Br5dOEUk.js → menu_setting-BPqs2Reh.js} +4 -6
  62. package/dist/{operateHistoryDetail-DfDQL5BF.js → operateHistoryDetail-DdEjFBPD.js} +2 -2
  63. package/dist/{operate_history-BtHgPhmF.js → operate_history-KQGzD4rn.js} +3 -5
  64. package/dist/{organization-BbFERZ1l.js → organization-BPJXMIsl.js} +20 -25
  65. package/dist/{other_setting-D92SlFvl.js → other_setting-BmN5mDQu.js} +4 -6
  66. package/dist/{page_animation_setting-Cy2R0vZy.js → page_animation_setting-B0ZMSxPR.js} +4 -4
  67. package/dist/{page_w_setting-DryWrqcx.js → page_w_setting-D4rHkTZk.js} +3 -3
  68. package/dist/{position-B1bqGly6.js → position-Bqcr98mj.js} +2 -3
  69. package/dist/{region-B_n1KXMG.js → region-BYNJ5YPt.js} +3 -4
  70. package/dist/{resource-CPNNd1l0.js → resource-BAjLl4BQ.js} +6 -16
  71. package/dist/{role-CMd7WDRC.js → role-B92mU8Xy.js} +3 -5
  72. package/dist/{role_group-DHh2s911.js → role_group-B8A2VV7y.js} +2 -4
  73. package/dist/{safe_setting-CuTBmUve.js → safe_setting-Ct-ZuM22.js} +7 -8
  74. package/dist/setItem-DEsf8kVv.js +2 -0
  75. package/dist/{setItem-DlhIkIgh.js → setItem-xdOcMJ1t.js} +3 -3
  76. package/dist/{tabbar_setting-CjW9LGPp.js → tabbar_setting-D_yX_4DE.js} +4 -6
  77. package/dist/{tenant-B_vgufMG.js → tenant-C9ecwsxr.js} +3 -4
  78. package/dist/{theme_setting-DMP0_nZ1.js → theme_setting-CVKpSR14.js} +3 -3
  79. package/dist/{toolbar_setting-ClxxvA7R.js → toolbar_setting-D09MJTQ0.js} +4 -6
  80. package/dist/{useAppAndResource-D6WnpUPR.js → useAppAndResource-CBlPPcNy.js} +2 -2
  81. package/dist/{user-BhytPqnx.js → user-DJ35BYay.js} +5 -10
  82. package/dist/{watermark_setting-b3vBYWwY.js → watermark_setting-Cr4Xmwhh.js} +4 -4
  83. package/package.json +4 -4
  84. package/src/api/modules/assist/index.ts +0 -1
  85. package/src/api/modules/assist/qunzujiekou.ts +72 -0
  86. package/src/api/modules/assist/typings.d.ts +17 -129
  87. package/src/api/modules/rbac/gangweijiekou.ts +18 -0
  88. package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
  89. package/src/api/modules/rbac/typings.d.ts +133 -1
  90. package/src/api/modules/rbac/yonghujiekou.ts +122 -0
  91. package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
  92. package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
  93. package/src/components/OrgUserSelector/provider.ts +2 -2
  94. package/src/views/organization/components/drawerOrganization.vue +43 -0
  95. package/dist/ImportExport-b1SnWRLj.js +0 -6
  96. package/dist/ResourceEdit-BMqfJ3aQ.js +0 -13
  97. package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
  98. package/dist/drawerOrganization-DWhTc1fB.js +0 -253
  99. package/dist/setItem-BwXZ5Uqx.js +0 -4
  100. package/src/api/modules/assist/gonggaofuwu.ts +0 -124
  101. /package/dist/{HCheckList-CAhQwX7m.js → HCheckList-D6BkIlte.js} +0 -0
  102. /package/dist/{add-child-DPb_m2by.js → add-child-SqHvzhn2.js} +0 -0
  103. /package/dist/{assist-BRMYD-oT.js → assist-CCEHZYbk.js} +0 -0
  104. /package/dist/{authority-B9wtmsQd.js → authority-DZG6frqG.js} +0 -0
  105. /package/dist/{authorize-DxrutyIG.js → authorize-RS7p0wpP.js} +0 -0
  106. /package/dist/{blacklist-disable-BKSw91qq.js → blacklist-disable-ZtV-YVD4.js} +0 -0
  107. /package/dist/{blacklist-enable-CIB1fOHT.js → blacklist-enable-litWbSHv.js} +0 -0
  108. /package/dist/{browser-chrome-CM60RcrG.js → browser-chrome-BiVlXqFZ.js} +0 -0
  109. /package/dist/{browser-edge-4LBRzooM.js → browser-edge-D5PWVn6o.js} +0 -0
  110. /package/dist/{browser-ie-BF-wqbf6.js → browser-ie-BgsN3Ne3.js} +0 -0
  111. /package/dist/{browser-other-iXJH-9iL.js → browser-other-DMB23plx.js} +0 -0
  112. /package/dist/{browser-safari-CIpt0yPc.js → browser-safari-CvpCuRD1.js} +0 -0
  113. /package/dist/{browserType-Bik20-72.js → browserType-KQp2uAi9.js} +0 -0
  114. /package/dist/{dayjs.min-CJunOGCc.js → dayjs.min-BgJlrzRN.js} +0 -0
  115. /package/dist/{dist-DxAYQq3U.js → dist--qcnkvZ0.js} +0 -0
  116. /package/dist/{edit-Drp8yjRe.js → edit-B3kW-D-h.js} +0 -0
  117. /package/dist/{enum-DS4SGhiF.js → enum-CE12tD9J.js} +0 -0
  118. /package/dist/{enum-CR5ztb5v2.js → enum-CI_B-PzB2.js} +0 -0
  119. /package/dist/{enum-CG0P82pn.js → enum-DPlX5kGz.js} +0 -0
  120. /package/dist/{enum-zdKA3Jy-.js → enum-K9XzmA01.js} +0 -0
  121. /package/dist/{enum-CYCebJeC.js → enum-lpo6KsjD.js} +0 -0
  122. /package/dist/{icard-BULUUV5m.js → icard-CjidQkoC.js} +0 -0
  123. /package/dist/{icon_animation-DuEY1FMm.js → icon_animation-DeNcSU6L.js} +0 -0
  124. /package/dist/{icon_breadcrumb-Y788iP_T.js → icon_breadcrumb-Bpjp0d0O.js} +0 -0
  125. /package/dist/{icon_copyright-C1BER6kq.js → icon_copyright-B8OgrlNo.js} +0 -0
  126. /package/dist/{icon_jt-ICOdrIF6.js → icon_jt-DfKcGg_Q.js} +0 -0
  127. /package/dist/{icon_layout-D_wV9rX3.js → icon_layout-W4bq7wfz.js} +0 -0
  128. /package/dist/{icon_mainpage-Cz6_cxpJ.js → icon_mainpage-C38tMFtH.js} +0 -0
  129. /package/dist/{icon_menu-y7SblUoR.js → icon_menu-CBLk6iMA.js} +0 -0
  130. /package/dist/{icon_page_size-BjwT656E.js → icon_page_size-CYjv-vP3.js} +0 -0
  131. /package/dist/{icon_position_type-CPxcDgmM.js → icon_position_type-IasquxGG.js} +0 -0
  132. /package/dist/{icon_safe_manage-CoqVRBLl.js → icon_safe_manage-CV1MBNKv.js} +0 -0
  133. /package/dist/{icon_screen_scale-DURlkq3C.js → icon_screen_scale-Cu1qHiz_.js} +0 -0
  134. /package/dist/{icon_system_manage-BLXs2CQg.js → icon_system_manage-Lgt_k1uF.js} +0 -0
  135. /package/dist/{icon_tabbar-_0QWhSBV.js → icon_tabbar-DwBJfDbP.js} +0 -0
  136. /package/dist/{icon_toolbar-BXpfu0iq.js → icon_toolbar-DN25KLtF.js} +0 -0
  137. /package/dist/{icon_topbar-DrwvB8Jw.js → icon_topbar-l89sztnQ.js} +0 -0
  138. /package/dist/{icon_watermark-DwNqjAiA.js → icon_watermark-DL6f1aYx.js} +0 -0
  139. /package/dist/{log-center-BrGlNhMd.js → log-center-BfPDO_E8.js} +0 -0
  140. /package/dist/{log-DOMU9MyH.js → log-epFUj_5H.js} +0 -0
  141. /package/dist/{not-data-C-MacYF3.js → not-data-C6xyifvi.js} +0 -0
  142. /package/dist/{org-main-BRMBumDm.js → org-main-BbPnTL9E.js} +0 -0
  143. /package/dist/{org-unmain-0BHnrNdD.js → org-unmain-QSDnl74k.js} +0 -0
  144. /package/dist/{rbac-B59CVHDt.js → rbac-MKC8Y6Bl.js} +0 -0
  145. /package/dist/{remove-BTME2Fhs.js → remove-4enQSlxs.js} +0 -0
  146. /package/dist/{resource-app-D8to3Lkn.js → resource-app-U0GIaRHX.js} +0 -0
  147. /package/dist/{resource-btn-Cz-A_EQF.js → resource-btn-BYZaDWcM.js} +0 -0
  148. /package/dist/{resource-dynamic-BUqWxUiU.js → resource-dynamic-DqIjQcBG.js} +0 -0
  149. /package/dist/{resource-index-D2roT002.js → resource-index-gVQ9qSGV.js} +0 -0
  150. /package/dist/{resource-menu-BRER68rK.js → resource-menu-Cp6r9eRI.js} +0 -0
  151. /package/dist/{resource-micro-Hyucl9de.js → resource-micro-BxycfE8K.js} +0 -0
  152. /package/dist/{resource-nonmenu-7FcPEpHv.js → resource-nonmenu-CvGE_ILo.js} +0 -0
  153. /package/dist/{setting-manage-UHelpLrr.js → setting-manage-BIiyA0Mh.js} +0 -0
  154. /package/dist/{stores-C-zbXsms.js → stores-kAilSV2k.js} +0 -0
  155. /package/dist/{theme-check-mark-DRzx4sTs.js → theme-check-mark-C2J6cCwx.js} +0 -0
  156. /package/dist/{theme-title-BRvQ_qPg.js → theme-title-D5K9nUws.js} +0 -0
  157. /package/dist/{vanilla-picker-2HFham9c.js → vanilla-picker-yba16Mqn.js} +0 -0
  158. /package/dist/{view-Cridj7u2.js → view-Bckjhd1X.js} +0 -0
  159. /package/dist/{zddata-CnvPWtIW.js → zddata-DSibBPmo.js} +0 -0
  160. /package/dist/{zy_checked-C25HQlnr.js → zy_checked-CeABq1Mr.js} +0 -0
  161. /package/dist/{zy_default-B7RKtyqy.js → zy_default-DhiBHEmX.js} +0 -0
package/dist/index.js CHANGED
@@ -1,135 +1,127 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
2
  import { t } from "./view-lBxqXfPW.js";
3
- import { n, t as r } from "./request-7X2hpUru.js";
4
- import { I as i, M as a, O as o, k as s } from "./_initCloneObject-r-eWKqzl.js";
5
- import { _ as c, d as l, f as u, n as d, o as f, p, u as m, v as h, x as g } from "./isEqual-CNeQLaCM.js";
6
- import { n as _, t as v } from "./_baseClone-C7vkGgsW.js";
7
- import { a as y, c as b, d as x, i as S, l as C, n as w, o as T, r as E, s as D, t as O, u as ee } from "./OrgSelector-C2rPIonI.js";
8
- import { n as te } from "./dist-DxAYQq3U.js";
9
- import "./assist-BRMYD-oT.js";
10
- import "./rbac-B59CVHDt.js";
11
- import { t as k } from "./enum-CG0P82pn.js";
12
- import { PubinfoIcon as ne, defineAsyncRoutes as re, defineIconModule as ie, defineRouteModule as ae } from "pubinfo-pr";
13
- import { Fragment as oe, computed as se, createApp as ce, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, h as le, isRef as L, mergeModels as R, mergeProps as ue, openBlock as z, ref as B, renderList as de, renderSlot as fe, toDisplayString as V, unref as H, useAttrs as pe, useModel as U, watch as W, withCtx as G, withModifiers as me } from "vue";
14
- import { DownOutlined as he } from "@ant-design/icons-vue";
15
- import { Form as K, Modal as ge } from "ant-design-vue";
16
- import { Button as _e, Dropdown as ve, Menu as ye, MenuItem as be, Modal as xe, Tag as Se, Tooltip as Ce, Tree as we } from "ant-design-vue/es";
3
+ import { n } from "./request-7X2hpUru.js";
4
+ import { t as r, u as i } from "./OrgSelector-BX08YC6x.js";
5
+ import { n as a, r as o, t as s } from "./OrgUserSelector-DmmJMv-T.js";
6
+ import { t as c } from "./ResourceSelector-CS6VsQR7.js";
7
+ import { i as l } from "./configData-CSxIdgBO.js";
8
+ import { defineAsyncRoutes as u, defineIconModule as d, defineRouteModule as f } from "pubinfo-pr";
17
9
  import './index.css';//#region \0virtual:pubinfo-resolver
18
- var q = {
10
+ var p = {
19
11
  icons: {
20
- "src/assets/icons/add-child.svg": () => import("./add-child-DPb_m2by.js"),
21
- "src/assets/icons/authority.svg": () => import("./authority-B9wtmsQd.js"),
22
- "src/assets/icons/authorize.svg": () => import("./authorize-DxrutyIG.js"),
23
- "src/assets/icons/blacklist-disable.svg": () => import("./blacklist-disable-BKSw91qq.js"),
24
- "src/assets/icons/blacklist-enable.svg": () => import("./blacklist-enable-CIB1fOHT.js"),
25
- "src/assets/icons/browser-chrome.svg": () => import("./browser-chrome-CM60RcrG.js"),
26
- "src/assets/icons/browser-edge.svg": () => import("./browser-edge-4LBRzooM.js"),
27
- "src/assets/icons/browser-ie.svg": () => import("./browser-ie-BF-wqbf6.js"),
28
- "src/assets/icons/browser-other.svg": () => import("./browser-other-iXJH-9iL.js"),
29
- "src/assets/icons/browser-safari.svg": () => import("./browser-safari-CIpt0yPc.js"),
30
- "src/assets/icons/edit.svg": () => import("./edit-Drp8yjRe.js"),
31
- "src/assets/icons/icard.svg": () => import("./icard-BULUUV5m.js"),
32
- "src/assets/icons/icon_animation.svg": () => import("./icon_animation-DuEY1FMm.js"),
33
- "src/assets/icons/icon_breadcrumb.svg": () => import("./icon_breadcrumb-Y788iP_T.js"),
34
- "src/assets/icons/icon_copyright.svg": () => import("./icon_copyright-C1BER6kq.js"),
35
- "src/assets/icons/icon_jt.svg": () => import("./icon_jt-ICOdrIF6.js"),
36
- "src/assets/icons/icon_layout.svg": () => import("./icon_layout-D_wV9rX3.js"),
37
- "src/assets/icons/icon_mainpage.svg": () => import("./icon_mainpage-Cz6_cxpJ.js"),
38
- "src/assets/icons/icon_menu.svg": () => import("./icon_menu-y7SblUoR.js"),
39
- "src/assets/icons/icon_page_size.svg": () => import("./icon_page_size-BjwT656E.js"),
40
- "src/assets/icons/icon_position_type.svg": () => import("./icon_position_type-CPxcDgmM.js"),
41
- "src/assets/icons/icon_safe_manage.svg": () => import("./icon_safe_manage-CoqVRBLl.js"),
42
- "src/assets/icons/icon_screen_scale.svg": () => import("./icon_screen_scale-DURlkq3C.js"),
43
- "src/assets/icons/icon_system_manage.svg": () => import("./icon_system_manage-BLXs2CQg.js"),
44
- "src/assets/icons/icon_tabbar.svg": () => import("./icon_tabbar-_0QWhSBV.js"),
45
- "src/assets/icons/icon_toolbar.svg": () => import("./icon_toolbar-BXpfu0iq.js"),
46
- "src/assets/icons/icon_topbar.svg": () => import("./icon_topbar-DrwvB8Jw.js"),
47
- "src/assets/icons/icon_watermark.svg": () => import("./icon_watermark-DwNqjAiA.js"),
48
- "src/assets/icons/log-center.svg": () => import("./log-center-BrGlNhMd.js"),
49
- "src/assets/icons/not-data.svg": () => import("./not-data-C-MacYF3.js").then((e) => e.n),
50
- "src/assets/icons/org-main.svg": () => import("./org-main-BRMBumDm.js"),
51
- "src/assets/icons/org-unmain.svg": () => import("./org-unmain-0BHnrNdD.js"),
52
- "src/assets/icons/remove.svg": () => import("./remove-BTME2Fhs.js"),
53
- "src/assets/icons/resource-app.svg": () => import("./resource-app-D8to3Lkn.js"),
54
- "src/assets/icons/resource-btn.svg": () => import("./resource-btn-Cz-A_EQF.js"),
55
- "src/assets/icons/resource-dynamic.svg": () => import("./resource-dynamic-BUqWxUiU.js"),
56
- "src/assets/icons/resource-index.svg": () => import("./resource-index-D2roT002.js"),
57
- "src/assets/icons/resource-menu.svg": () => import("./resource-menu-BRER68rK.js"),
58
- "src/assets/icons/resource-micro.svg": () => import("./resource-micro-Hyucl9de.js"),
59
- "src/assets/icons/resource-nonmenu.svg": () => import("./resource-nonmenu-7FcPEpHv.js"),
60
- "src/assets/icons/setting-manage.svg": () => import("./setting-manage-UHelpLrr.js"),
61
- "src/assets/icons/theme-check-mark.svg": () => import("./theme-check-mark-DRzx4sTs.js"),
62
- "src/assets/icons/theme-title.svg": () => import("./theme-title-BRvQ_qPg.js"),
63
- "src/assets/icons/view.svg": () => import("./view-Cridj7u2.js"),
64
- "src/assets/icons/zddata.svg": () => import("./zddata-CnvPWtIW.js"),
65
- "src/assets/icons/zy_checked.svg": () => import("./zy_checked-C25HQlnr.js"),
66
- "src/assets/icons/zy_default.svg": () => import("./zy_default-B7RKtyqy.js")
12
+ "src/assets/icons/add-child.svg": () => import("./add-child-SqHvzhn2.js"),
13
+ "src/assets/icons/authority.svg": () => import("./authority-DZG6frqG.js"),
14
+ "src/assets/icons/authorize.svg": () => import("./authorize-RS7p0wpP.js"),
15
+ "src/assets/icons/blacklist-disable.svg": () => import("./blacklist-disable-ZtV-YVD4.js"),
16
+ "src/assets/icons/blacklist-enable.svg": () => import("./blacklist-enable-litWbSHv.js"),
17
+ "src/assets/icons/browser-chrome.svg": () => import("./browser-chrome-BiVlXqFZ.js"),
18
+ "src/assets/icons/browser-edge.svg": () => import("./browser-edge-D5PWVn6o.js"),
19
+ "src/assets/icons/browser-ie.svg": () => import("./browser-ie-BgsN3Ne3.js"),
20
+ "src/assets/icons/browser-other.svg": () => import("./browser-other-DMB23plx.js"),
21
+ "src/assets/icons/browser-safari.svg": () => import("./browser-safari-CvpCuRD1.js"),
22
+ "src/assets/icons/edit.svg": () => import("./edit-B3kW-D-h.js"),
23
+ "src/assets/icons/icard.svg": () => import("./icard-CjidQkoC.js"),
24
+ "src/assets/icons/icon_animation.svg": () => import("./icon_animation-DeNcSU6L.js"),
25
+ "src/assets/icons/icon_breadcrumb.svg": () => import("./icon_breadcrumb-Bpjp0d0O.js"),
26
+ "src/assets/icons/icon_copyright.svg": () => import("./icon_copyright-B8OgrlNo.js"),
27
+ "src/assets/icons/icon_jt.svg": () => import("./icon_jt-DfKcGg_Q.js"),
28
+ "src/assets/icons/icon_layout.svg": () => import("./icon_layout-W4bq7wfz.js"),
29
+ "src/assets/icons/icon_mainpage.svg": () => import("./icon_mainpage-C38tMFtH.js"),
30
+ "src/assets/icons/icon_menu.svg": () => import("./icon_menu-CBLk6iMA.js"),
31
+ "src/assets/icons/icon_page_size.svg": () => import("./icon_page_size-CYjv-vP3.js"),
32
+ "src/assets/icons/icon_position_type.svg": () => import("./icon_position_type-IasquxGG.js"),
33
+ "src/assets/icons/icon_safe_manage.svg": () => import("./icon_safe_manage-CV1MBNKv.js"),
34
+ "src/assets/icons/icon_screen_scale.svg": () => import("./icon_screen_scale-Cu1qHiz_.js"),
35
+ "src/assets/icons/icon_system_manage.svg": () => import("./icon_system_manage-Lgt_k1uF.js"),
36
+ "src/assets/icons/icon_tabbar.svg": () => import("./icon_tabbar-DwBJfDbP.js"),
37
+ "src/assets/icons/icon_toolbar.svg": () => import("./icon_toolbar-DN25KLtF.js"),
38
+ "src/assets/icons/icon_topbar.svg": () => import("./icon_topbar-l89sztnQ.js"),
39
+ "src/assets/icons/icon_watermark.svg": () => import("./icon_watermark-DL6f1aYx.js"),
40
+ "src/assets/icons/log-center.svg": () => import("./log-center-BfPDO_E8.js"),
41
+ "src/assets/icons/not-data.svg": () => import("./not-data-C6xyifvi.js").then((e) => e.n),
42
+ "src/assets/icons/org-main.svg": () => import("./org-main-BbPnTL9E.js"),
43
+ "src/assets/icons/org-unmain.svg": () => import("./org-unmain-QSDnl74k.js"),
44
+ "src/assets/icons/remove.svg": () => import("./remove-4enQSlxs.js"),
45
+ "src/assets/icons/resource-app.svg": () => import("./resource-app-U0GIaRHX.js"),
46
+ "src/assets/icons/resource-btn.svg": () => import("./resource-btn-BYZaDWcM.js"),
47
+ "src/assets/icons/resource-dynamic.svg": () => import("./resource-dynamic-DqIjQcBG.js"),
48
+ "src/assets/icons/resource-index.svg": () => import("./resource-index-gVQ9qSGV.js"),
49
+ "src/assets/icons/resource-menu.svg": () => import("./resource-menu-Cp6r9eRI.js"),
50
+ "src/assets/icons/resource-micro.svg": () => import("./resource-micro-BxycfE8K.js"),
51
+ "src/assets/icons/resource-nonmenu.svg": () => import("./resource-nonmenu-CvGE_ILo.js"),
52
+ "src/assets/icons/setting-manage.svg": () => import("./setting-manage-BIiyA0Mh.js"),
53
+ "src/assets/icons/theme-check-mark.svg": () => import("./theme-check-mark-C2J6cCwx.js"),
54
+ "src/assets/icons/theme-title.svg": () => import("./theme-title-D5K9nUws.js"),
55
+ "src/assets/icons/view.svg": () => import("./view-Bckjhd1X.js"),
56
+ "src/assets/icons/zddata.svg": () => import("./zddata-DSibBPmo.js"),
57
+ "src/assets/icons/zy_checked.svg": () => import("./zy_checked-CeABq1Mr.js"),
58
+ "src/assets/icons/zy_default.svg": () => import("./zy_default-DhiBHEmX.js")
67
59
  },
68
60
  layouts: {},
69
61
  pages: {
70
- "src/views/blackWhiteList/index.vue": () => import("./blackWhiteList-d6TVsK48.js"),
71
- "src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-DMbvWP5t.js"),
72
- "src/views/components/HCheckList.vue": () => import("./HCheckList-CAhQwX7m.js").then((e) => e.n),
73
- "src/views/components/animation_item.vue": () => import("./animation_item-Coe-B0jQ.js").then((e) => e.n),
74
- "src/views/components/setItem.vue": () => import("./setItem-BwXZ5Uqx.js"),
75
- "src/views/data-permission/index.vue": () => import("./data-permission-2pzeFLxP.js"),
76
- "src/views/dictionary/index.vue": () => import("./dictionary-DGqlAhRk.js"),
77
- "src/views/dictionary/itemlist.vue": () => import("./itemlist-BGe-z1IR.js"),
78
- "src/views/group/index.vue": () => import("./group-C6Rj3K5I.js"),
79
- "src/views/layout_setting/index.vue": () => import("./layout_setting-Cds3TCHc.js"),
80
- "src/views/log_center/login_history.vue": () => import("./login_history-CrXkEsHb.js"),
81
- "src/views/log_center/operate_history.vue": () => import("./operate_history-BtHgPhmF.js"),
82
- "src/views/menu_setting/index.vue": () => import("./menu_setting-Br5dOEUk.js"),
83
- "src/views/organization/index.vue": () => import("./organization-BbFERZ1l.js"),
84
- "src/views/other_setting/index.vue": () => import("./other_setting-D92SlFvl.js"),
85
- "src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-Cy2R0vZy.js"),
86
- "src/views/page_w_setting/index.vue": () => import("./page_w_setting-DryWrqcx.js"),
87
- "src/views/position/index.vue": () => import("./position-B1bqGly6.js"),
88
- "src/views/region/index.vue": () => import("./region-B_n1KXMG.js"),
89
- "src/views/resource/index.vue": () => import("./resource-CPNNd1l0.js"),
90
- "src/views/role/index.vue": () => import("./role-CMd7WDRC.js"),
91
- "src/views/role_group/index.vue": () => import("./role_group-DHh2s911.js"),
92
- "src/views/safe_setting/index.vue": () => import("./safe_setting-CuTBmUve.js"),
93
- "src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-CjW9LGPp.js"),
94
- "src/views/tenant/index.vue": () => import("./tenant-B_vgufMG.js"),
95
- "src/views/theme_setting/index.vue": () => import("./theme_setting-DMP0_nZ1.js"),
96
- "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-ClxxvA7R.js"),
97
- "src/views/user/index.vue": () => import("./user-BhytPqnx.js"),
98
- "src/views/watermark_setting/index.vue": () => import("./watermark_setting-b3vBYWwY.js"),
99
- "src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-VxyjaBkA.js").then((e) => e.n),
100
- "src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-OunqmBu_.js").then((e) => e.n),
101
- "src/views/dictionary/components/drawerDictionary.vue": () => import("./drawerDictionary-DhAB-LV9.js").then((e) => e.n),
102
- "src/views/dictionary/components/drawerDictionaryItem.vue": () => import("./drawerDictionaryItem-DYsJzZ2f.js").then((e) => e.n),
103
- "src/views/group/components/drawerGroup.vue": () => import("./drawerGroup-CTO8Lmbb.js").then((e) => e.n),
104
- "src/views/log_center/components/browserType.vue": () => import("./browserType-Bik20-72.js").then((e) => e.n),
105
- "src/views/log_center/components/loginHistoryDetail.vue": () => import("./loginHistoryDetail-Coba_ajy.js").then((e) => e.n),
106
- "src/views/log_center/components/operateHistoryDetail.vue": () => import("./operateHistoryDetail-DfDQL5BF.js").then((e) => e.n),
107
- "src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-DWhTc1fB.js").then((e) => e.n),
108
- "src/views/organization/components/drawerRole.vue": () => import("./drawerRole-Cjp9iDsa.js").then((e) => e.n),
109
- "src/views/position/components/drawerPosition.vue": () => import("./drawerPosition-BmM9mLlP.js").then((e) => e.n),
110
- "src/views/region/components/drawerRegion.vue": () => import("./drawerRegion-BD-xc1x2.js").then((e) => e.n),
111
- "src/views/resource/components/ComponentSelect.vue": () => import("./ComponentSelect-CYmAgdm3.js").then((e) => e.n),
112
- "src/views/resource/components/DynamicRoutesForm.vue": () => import("./DynamicRoutesForm-CMF3oh8h.js").then((e) => e.n),
113
- "src/views/resource/components/HoverCard.vue": () => import("./HoverCard-B-uU48hF.js").then((e) => e.n),
114
- "src/views/resource/components/IconSelect.vue": () => import("./IconSelect-CvxGRN_O.js").then((e) => e.n),
115
- "src/views/resource/components/ImportExport.vue": () => import("./ImportExport-b1SnWRLj.js"),
116
- "src/views/resource/components/LayoutForm.vue": () => import("./LayoutForm-Bpdyi_2o.js").then((e) => e.n),
117
- "src/views/resource/components/MetaForm.vue": () => import("./MetaForm-ZLzLz68d.js").then((e) => e.n),
118
- "src/views/resource/components/ResourceEdit.vue": () => import("./ResourceEdit-BMqfJ3aQ.js"),
119
- "src/views/resource/components/RoleRelation.vue": () => import("./RoleRelation-DuRuQG08.js").then((e) => e.n),
120
- "src/views/role/components/ResourceRelation.vue": () => import("./ResourceRelation-IJvXnlpo.js").then((e) => e.n),
121
- "src/views/role/components/drawerRole.vue": () => import("./drawerRole-B348x40k.js").then((e) => e.n),
122
- "src/views/role_group/components/ResourceRelation.vue": () => import("./ResourceRelation-BrluMHdX.js"),
123
- "src/views/role_group/components/drawerRole.vue": () => import("./drawerRole-CgAPM-0g.js").then((e) => e.n),
124
- "src/views/tenant/components/TenantEdit.vue": () => import("./TenantEdit-Df3gZKLA.js").then((e) => e.n),
125
- "src/views/user/components/OrgAndPosition.vue": () => import("./OrgAndPosition-B0RE1Vc_.js").then((e) => e.n),
126
- "src/views/user/components/UserAuthorization.vue": () => import("./UserAuthorization-DX7jNDDe.js").then((e) => e.n),
127
- "src/views/user/components/UserEdit.vue": () => import("./UserEdit-BLb0n7WM.js").then((e) => e.n)
62
+ "src/views/blackWhiteList/index.vue": () => import("./blackWhiteList-SNDF6H2d.js"),
63
+ "src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-DnAbw6Ty.js"),
64
+ "src/views/components/HCheckList.vue": () => import("./HCheckList-D6BkIlte.js").then((e) => e.n),
65
+ "src/views/components/animation_item.vue": () => import("./animation_item-ugNUvN0t.js").then((e) => e.n),
66
+ "src/views/components/setItem.vue": () => import("./setItem-DEsf8kVv.js"),
67
+ "src/views/data-permission/index.vue": () => import("./data-permission-BNwvh8Cy.js"),
68
+ "src/views/dictionary/index.vue": () => import("./dictionary-DDTrw8BQ.js"),
69
+ "src/views/dictionary/itemlist.vue": () => import("./itemlist-BowSBoEx.js"),
70
+ "src/views/group/index.vue": () => import("./group-BKjChIg2.js"),
71
+ "src/views/layout_setting/index.vue": () => import("./layout_setting-DOodE1ZC.js"),
72
+ "src/views/log_center/login_history.vue": () => import("./login_history-Bio4B_vj.js"),
73
+ "src/views/log_center/operate_history.vue": () => import("./operate_history-KQGzD4rn.js"),
74
+ "src/views/menu_setting/index.vue": () => import("./menu_setting-BPqs2Reh.js"),
75
+ "src/views/organization/index.vue": () => import("./organization-BPJXMIsl.js"),
76
+ "src/views/other_setting/index.vue": () => import("./other_setting-BmN5mDQu.js"),
77
+ "src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-B0ZMSxPR.js"),
78
+ "src/views/page_w_setting/index.vue": () => import("./page_w_setting-D4rHkTZk.js"),
79
+ "src/views/position/index.vue": () => import("./position-Bqcr98mj.js"),
80
+ "src/views/region/index.vue": () => import("./region-BYNJ5YPt.js"),
81
+ "src/views/resource/index.vue": () => import("./resource-BAjLl4BQ.js"),
82
+ "src/views/role/index.vue": () => import("./role-B92mU8Xy.js"),
83
+ "src/views/role_group/index.vue": () => import("./role_group-B8A2VV7y.js"),
84
+ "src/views/safe_setting/index.vue": () => import("./safe_setting-Ct-ZuM22.js"),
85
+ "src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-D_yX_4DE.js"),
86
+ "src/views/tenant/index.vue": () => import("./tenant-C9ecwsxr.js"),
87
+ "src/views/theme_setting/index.vue": () => import("./theme_setting-CVKpSR14.js"),
88
+ "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-D09MJTQ0.js"),
89
+ "src/views/user/index.vue": () => import("./user-DJ35BYay.js"),
90
+ "src/views/watermark_setting/index.vue": () => import("./watermark_setting-Cr4Xmwhh.js"),
91
+ "src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-dHAREMtd.js").then((e) => e.n),
92
+ "src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-0LzmHcCV.js").then((e) => e.n),
93
+ "src/views/dictionary/components/drawerDictionary.vue": () => import("./drawerDictionary-Dq0MnTak.js").then((e) => e.n),
94
+ "src/views/dictionary/components/drawerDictionaryItem.vue": () => import("./drawerDictionaryItem-C3XC0ZTH.js").then((e) => e.n),
95
+ "src/views/group/components/drawerGroup.vue": () => import("./drawerGroup-BzQHpv61.js").then((e) => e.n),
96
+ "src/views/log_center/components/browserType.vue": () => import("./browserType-KQp2uAi9.js").then((e) => e.n),
97
+ "src/views/log_center/components/loginHistoryDetail.vue": () => import("./loginHistoryDetail-D49ObmJp.js").then((e) => e.n),
98
+ "src/views/log_center/components/operateHistoryDetail.vue": () => import("./operateHistoryDetail-DdEjFBPD.js").then((e) => e.n),
99
+ "src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-BvQcr5AP.js").then((e) => e.n),
100
+ "src/views/organization/components/drawerRole.vue": () => import("./drawerRole-Bh3eb9Hr.js").then((e) => e.n),
101
+ "src/views/position/components/drawerPosition.vue": () => import("./drawerPosition-Cc6zxMDa.js").then((e) => e.n),
102
+ "src/views/region/components/drawerRegion.vue": () => import("./drawerRegion-r3LaT1oP.js").then((e) => e.n),
103
+ "src/views/resource/components/ComponentSelect.vue": () => import("./ComponentSelect-CWokGm7B.js").then((e) => e.n),
104
+ "src/views/resource/components/DynamicRoutesForm.vue": () => import("./DynamicRoutesForm-CstxkG5g.js").then((e) => e.n),
105
+ "src/views/resource/components/HoverCard.vue": () => import("./HoverCard-ZGaQxL_a.js").then((e) => e.n),
106
+ "src/views/resource/components/IconSelect.vue": () => import("./IconSelect-_oirLsYS.js").then((e) => e.n),
107
+ "src/views/resource/components/ImportExport.vue": () => import("./ImportExport-BVxWc6FR.js"),
108
+ "src/views/resource/components/LayoutForm.vue": () => import("./LayoutForm-_vBGeWiz.js").then((e) => e.n),
109
+ "src/views/resource/components/MetaForm.vue": () => import("./MetaForm-5_KpiusU.js").then((e) => e.n),
110
+ "src/views/resource/components/ResourceEdit.vue": () => import("./ResourceEdit-CsfgDKOf.js"),
111
+ "src/views/resource/components/RoleRelation.vue": () => import("./RoleRelation-DCIke8tM.js").then((e) => e.n),
112
+ "src/views/role/components/ResourceRelation.vue": () => import("./ResourceRelation-B4652Ceb.js").then((e) => e.n),
113
+ "src/views/role/components/drawerRole.vue": () => import("./drawerRole-saCktlhp.js").then((e) => e.n),
114
+ "src/views/role_group/components/ResourceRelation.vue": () => import("./ResourceRelation-R6cdzbIi.js"),
115
+ "src/views/role_group/components/drawerRole.vue": () => import("./drawerRole-CXDcX8Wv.js").then((e) => e.n),
116
+ "src/views/tenant/components/TenantEdit.vue": () => import("./TenantEdit-KZYEtH3w.js").then((e) => e.n),
117
+ "src/views/user/components/OrgAndPosition.vue": () => import("./OrgAndPosition-COhhOBJL.js").then((e) => e.n),
118
+ "src/views/user/components/UserAuthorization.vue": () => import("./UserAuthorization-DOpcNUCm.js").then((e) => e.n),
119
+ "src/views/user/components/UserEdit.vue": () => import("./UserEdit-BptyAvXG.js").then((e) => e.n)
128
120
  }
129
121
  };
130
122
  //#endregion
131
123
  //#region src/composables/useWebSocketManager.ts
132
- function J() {
124
+ function m() {
133
125
  let e = t(), n = !1;
134
126
  function r() {
135
127
  if (!n) try {
@@ -166,102 +158,8 @@ function J() {
166
158
  };
167
159
  }
168
160
  //#endregion
169
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js
170
- function Te(e) {
171
- return e != null && e.length ? m(e, 1) : [];
172
- }
173
- //#endregion
174
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_flatRest.js
175
- function Y(e) {
176
- return h(c(e, void 0, Te), e + "");
177
- }
178
- //#endregion
179
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js
180
- function X(e, t, n) {
181
- var r = -1, i = e.length;
182
- t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
183
- for (var a = Array(i); ++r < i;) a[r] = e[r + t];
184
- return a;
185
- }
186
- //#endregion
187
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_parent.js
188
- function Ee(e, t) {
189
- return t.length < 2 ? e : l(e, X(t, 0, -1));
190
- }
191
- //#endregion
192
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseUnset.js
193
- var De = Object.prototype.hasOwnProperty;
194
- function Oe(e, t) {
195
- t = p(t, e);
196
- var n = -1, r = t.length;
197
- if (!r) return !0;
198
- for (var i = e == null || typeof e != "object" && typeof e != "function"; ++n < r;) {
199
- var a = t[n];
200
- if (typeof a == "string") {
201
- if (a === "__proto__" && !De.call(e, "__proto__")) return !1;
202
- if (a === "constructor" && n + 1 < r && typeof t[n + 1] == "string" && t[n + 1] === "prototype") {
203
- if (i && n === 0) continue;
204
- return !1;
205
- }
206
- }
207
- }
208
- var o = Ee(e, t);
209
- return o == null || delete o[u(d(t))];
210
- }
211
- //#endregion
212
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_customOmitClone.js
213
- function ke(e) {
214
- return x(e) ? void 0 : e;
215
- }
216
- //#endregion
217
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/omit.js
218
- var Ae = 1, je = 2, Me = 4, Ne = Y(function(e, t) {
219
- var n = {};
220
- if (e == null) return n;
221
- var r = !1;
222
- t = g(t, function(t) {
223
- return t = p(t, e), r ||= t.length > 1, t;
224
- }), o(e, _(e), n), r && (n = v(n, Ae | je | Me, ke));
225
- for (var i = t.length; i--;) Oe(n, t[i]);
226
- return n;
227
- });
228
- //#endregion
229
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js
230
- function Pe(e, t, n, r) {
231
- if (!i(e)) return e;
232
- t = p(t, e);
233
- for (var o = -1, c = t.length, l = c - 1, d = e; d != null && ++o < c;) {
234
- var f = u(t[o]), m = n;
235
- if (f === "__proto__" || f === "constructor" || f === "prototype") return e;
236
- if (o != l) {
237
- var h = d[f];
238
- m = r ? r(h, f, d) : void 0, m === void 0 && (m = i(h) ? h : a(t[o + 1]) ? [] : {});
239
- }
240
- s(d, f, m), d = d[f];
241
- }
242
- return e;
243
- }
244
- //#endregion
245
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js
246
- function Fe(e, t, n) {
247
- for (var r = -1, i = t.length, a = {}; ++r < i;) {
248
- var o = t[r], s = l(e, o);
249
- n(s, o) && Pe(a, p(o, e), s);
250
- }
251
- return a;
252
- }
253
- //#endregion
254
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePick.js
255
- function Ie(e, t) {
256
- return Fe(e, t, function(t, n) {
257
- return f(e, n);
258
- });
259
- }
260
- //#endregion
261
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pick.js
262
- var Le = Y(function(e, t) {
263
- return e == null ? {} : Ie(e, t);
264
- }), Z = [{
161
+ //#region src/routes/index.ts
162
+ var h = [{
265
163
  meta: {
266
164
  title: "权限管理系统",
267
165
  icon: "authority",
@@ -279,7 +177,7 @@ var Le = Y(function(e, t) {
279
177
  children: [
280
178
  {
281
179
  path: "resource",
282
- component: () => import("./resource-CPNNd1l0.js"),
180
+ component: () => import("./resource-BAjLl4BQ.js"),
283
181
  name: "Resource",
284
182
  meta: {
285
183
  title: "资源管理",
@@ -290,7 +188,7 @@ var Le = Y(function(e, t) {
290
188
  },
291
189
  {
292
190
  path: "role",
293
- component: () => import("./role-CMd7WDRC.js"),
191
+ component: () => import("./role-B92mU8Xy.js"),
294
192
  name: "Role",
295
193
  meta: {
296
194
  title: "角色管理",
@@ -301,7 +199,7 @@ var Le = Y(function(e, t) {
301
199
  },
302
200
  {
303
201
  path: "role-group",
304
- component: () => import("./role_group-DHh2s911.js"),
202
+ component: () => import("./role_group-B8A2VV7y.js"),
305
203
  name: "RoleGroup",
306
204
  meta: {
307
205
  title: "角色组管理",
@@ -312,7 +210,7 @@ var Le = Y(function(e, t) {
312
210
  },
313
211
  {
314
212
  path: "data-permission",
315
- component: () => import("./data-permission-2pzeFLxP.js"),
213
+ component: () => import("./data-permission-BNwvh8Cy.js"),
316
214
  name: "DataPermission",
317
215
  meta: {
318
216
  title: "数据权限管理",
@@ -323,7 +221,7 @@ var Le = Y(function(e, t) {
323
221
  },
324
222
  {
325
223
  path: "organization",
326
- component: () => import("./organization-BbFERZ1l.js"),
224
+ component: () => import("./organization-BPJXMIsl.js"),
327
225
  name: "Organization",
328
226
  meta: {
329
227
  title: "组织管理",
@@ -334,7 +232,7 @@ var Le = Y(function(e, t) {
334
232
  },
335
233
  {
336
234
  path: "user",
337
- component: () => import("./user-BhytPqnx.js"),
235
+ component: () => import("./user-DJ35BYay.js"),
338
236
  name: "User",
339
237
  meta: {
340
238
  title: "用户管理",
@@ -345,7 +243,7 @@ var Le = Y(function(e, t) {
345
243
  },
346
244
  {
347
245
  path: "tenant",
348
- component: () => import("./tenant-B_vgufMG.js"),
246
+ component: () => import("./tenant-C9ecwsxr.js"),
349
247
  name: "Tenant",
350
248
  meta: {
351
249
  title: "租户管理",
@@ -376,7 +274,7 @@ var Le = Y(function(e, t) {
376
274
  children: [{
377
275
  path: "",
378
276
  name: "Dictionary",
379
- component: () => import("./dictionary-DGqlAhRk.js"),
277
+ component: () => import("./dictionary-DDTrw8BQ.js"),
380
278
  meta: {
381
279
  title: "字典管理",
382
280
  sidebar: !1,
@@ -387,7 +285,7 @@ var Le = Y(function(e, t) {
387
285
  }, {
388
286
  path: "detail/:id",
389
287
  name: "DictionaryItem",
390
- component: () => import("./itemlist-BGe-z1IR.js"),
288
+ component: () => import("./itemlist-BowSBoEx.js"),
391
289
  meta: {
392
290
  title: "字典数据",
393
291
  sidebar: !1,
@@ -398,7 +296,7 @@ var Le = Y(function(e, t) {
398
296
  },
399
297
  {
400
298
  path: "position",
401
- component: () => import("./position-B1bqGly6.js"),
299
+ component: () => import("./position-Bqcr98mj.js"),
402
300
  name: "Position",
403
301
  meta: {
404
302
  title: "岗位管理",
@@ -409,7 +307,7 @@ var Le = Y(function(e, t) {
409
307
  },
410
308
  {
411
309
  path: "region",
412
- component: () => import("./region-B_n1KXMG.js"),
310
+ component: () => import("./region-BYNJ5YPt.js"),
413
311
  name: "Region",
414
312
  meta: {
415
313
  title: "区域管理",
@@ -420,7 +318,7 @@ var Le = Y(function(e, t) {
420
318
  },
421
319
  {
422
320
  path: "group",
423
- component: () => import("./group-C6Rj3K5I.js"),
321
+ component: () => import("./group-BKjChIg2.js"),
424
322
  name: "Group",
425
323
  meta: {
426
324
  title: "群组管理",
@@ -442,7 +340,7 @@ var Le = Y(function(e, t) {
442
340
  children: [
443
341
  {
444
342
  path: "theme-setting",
445
- component: () => import("./theme_setting-DMP0_nZ1.js"),
343
+ component: () => import("./theme_setting-CVKpSR14.js"),
446
344
  name: "ThemeSetting",
447
345
  meta: {
448
346
  title: "主题配置",
@@ -453,7 +351,7 @@ var Le = Y(function(e, t) {
453
351
  },
454
352
  {
455
353
  path: "layout-setting",
456
- component: () => import("./layout_setting-Cds3TCHc.js"),
354
+ component: () => import("./layout_setting-DOodE1ZC.js"),
457
355
  name: "LayoutSetting",
458
356
  meta: {
459
357
  title: "布局配置",
@@ -464,7 +362,7 @@ var Le = Y(function(e, t) {
464
362
  },
465
363
  {
466
364
  path: "page-animation-setting",
467
- component: () => import("./page_animation_setting-Cy2R0vZy.js"),
365
+ component: () => import("./page_animation_setting-B0ZMSxPR.js"),
468
366
  name: "PageAnimationSetting",
469
367
  meta: {
470
368
  title: "页面动画配置",
@@ -475,7 +373,7 @@ var Le = Y(function(e, t) {
475
373
  },
476
374
  {
477
375
  path: "page-size-setting",
478
- component: () => import("./page_w_setting-DryWrqcx.js"),
376
+ component: () => import("./page_w_setting-D4rHkTZk.js"),
479
377
  name: "PageSizeSetting",
480
378
  meta: {
481
379
  title: "页宽配置",
@@ -486,7 +384,7 @@ var Le = Y(function(e, t) {
486
384
  },
487
385
  {
488
386
  path: "menu-setting",
489
- component: () => import("./menu_setting-Br5dOEUk.js"),
387
+ component: () => import("./menu_setting-BPqs2Reh.js"),
490
388
  name: "MenuSetting",
491
389
  meta: {
492
390
  title: "导航栏配置",
@@ -497,7 +395,7 @@ var Le = Y(function(e, t) {
497
395
  },
498
396
  {
499
397
  path: "tabbar-setting",
500
- component: () => import("./tabbar_setting-CjW9LGPp.js"),
398
+ component: () => import("./tabbar_setting-D_yX_4DE.js"),
501
399
  name: "TabbarSetting",
502
400
  meta: {
503
401
  title: "标签栏配置",
@@ -508,7 +406,7 @@ var Le = Y(function(e, t) {
508
406
  },
509
407
  {
510
408
  path: "toolbar-setting",
511
- component: () => import("./toolbar_setting-ClxxvA7R.js"),
409
+ component: () => import("./toolbar_setting-D09MJTQ0.js"),
512
410
  name: "ToolbarSetting",
513
411
  meta: {
514
412
  title: "工具栏配置",
@@ -519,7 +417,7 @@ var Le = Y(function(e, t) {
519
417
  },
520
418
  {
521
419
  path: "breadcrumb-setting",
522
- component: () => import("./breadcrumb_setting-DMbvWP5t.js"),
420
+ component: () => import("./breadcrumb_setting-DnAbw6Ty.js"),
523
421
  name: "BreadcrumbSetting",
524
422
  meta: {
525
423
  title: "面包屑配置",
@@ -530,7 +428,7 @@ var Le = Y(function(e, t) {
530
428
  },
531
429
  {
532
430
  path: "other-setting",
533
- component: () => import("./other_setting-D92SlFvl.js"),
431
+ component: () => import("./other_setting-BmN5mDQu.js"),
534
432
  name: "OtherSetting",
535
433
  meta: {
536
434
  title: "其他配置",
@@ -552,7 +450,7 @@ var Le = Y(function(e, t) {
552
450
  children: [
553
451
  {
554
452
  path: "blacklist",
555
- component: () => import("./blackWhiteList-d6TVsK48.js"),
453
+ component: () => import("./blackWhiteList-SNDF6H2d.js"),
556
454
  name: "Blacklist",
557
455
  meta: {
558
456
  title: "黑名单管理",
@@ -563,7 +461,7 @@ var Le = Y(function(e, t) {
563
461
  },
564
462
  {
565
463
  path: "whitelist",
566
- component: () => import("./blackWhiteList-d6TVsK48.js"),
464
+ component: () => import("./blackWhiteList-SNDF6H2d.js"),
567
465
  name: "Whitelist",
568
466
  meta: {
569
467
  title: "白名单管理",
@@ -574,7 +472,7 @@ var Le = Y(function(e, t) {
574
472
  },
575
473
  {
576
474
  path: "safe-setting",
577
- component: () => import("./safe_setting-CuTBmUve.js"),
475
+ component: () => import("./safe_setting-Ct-ZuM22.js"),
578
476
  name: "SafeSetting",
579
477
  meta: {
580
478
  title: "安全配置",
@@ -585,7 +483,7 @@ var Le = Y(function(e, t) {
585
483
  },
586
484
  {
587
485
  path: "watermark-setting",
588
- component: () => import("./watermark_setting-b3vBYWwY.js"),
486
+ component: () => import("./watermark_setting-Cr4Xmwhh.js"),
589
487
  name: "WatermarkSetting",
590
488
  meta: {
591
489
  title: "页面水印配置",
@@ -606,7 +504,7 @@ var Le = Y(function(e, t) {
606
504
  },
607
505
  children: [{
608
506
  path: "login_history",
609
- component: () => import("./login_history-CrXkEsHb.js"),
507
+ component: () => import("./login_history-Bio4B_vj.js"),
610
508
  name: "LoginHistory",
611
509
  meta: {
612
510
  title: "登录日志",
@@ -616,7 +514,7 @@ var Le = Y(function(e, t) {
616
514
  }
617
515
  }, {
618
516
  path: "operate_history",
619
- component: () => import("./operate_history-BtHgPhmF.js"),
517
+ component: () => import("./operate_history-KQGzD4rn.js"),
620
518
  name: "OperateHistory",
621
519
  meta: {
622
520
  title: "操作日志",
@@ -627,7 +525,7 @@ var Le = Y(function(e, t) {
627
525
  }]
628
526
  }
629
527
  ]
630
- }], Re = {
528
+ }], g = {
631
529
  AuthorityManage: {
632
530
  Resource: !0,
633
531
  Role: !0,
@@ -668,16 +566,16 @@ var Le = Y(function(e, t) {
668
566
  OperateHistory: !0
669
567
  }
670
568
  };
671
- function ze(e) {
672
- let { pages: t, id: n } = e, r = ee(Re, t);
673
- n && (Z[0].meta.auth = n);
674
- let i = Be(Z[0].children, r);
569
+ function _(e) {
570
+ let { pages: t, id: n } = e, r = i(g, t);
571
+ n && (h[0].meta.auth = n);
572
+ let a = v(h[0].children, r);
675
573
  return [{
676
- ...Z[0],
677
- children: i
574
+ ...h[0],
575
+ children: a
678
576
  }];
679
577
  }
680
- function Be(e, t) {
578
+ function v(e, t) {
681
579
  function n(e, t) {
682
580
  return e.map((e) => {
683
581
  if (!e.name || !(e.name in t)) return null;
@@ -698,525 +596,23 @@ function Be(e, t) {
698
596
  return n(e, t);
699
597
  }
700
598
  //#endregion
701
- //#region src/components/OrgUserSelector/UserSelector.vue
702
- var Q = /* @__PURE__ */ I({
703
- name: "UserSelector",
704
- __name: "UserSelector",
705
- props: /* @__PURE__ */ R({
706
- title: { default: "选择用户" },
707
- multiple: {
708
- type: Boolean,
709
- default: !1
710
- },
711
- auth: {},
712
- apis: { default: () => ({}) },
713
- tabs: { default: () => [
714
- {
715
- value: "RecentlyUsed",
716
- label: "最近常用"
717
- },
718
- {
719
- value: "Favorites",
720
- label: "收藏"
721
- },
722
- {
723
- value: "TreeUserList",
724
- label: "全部"
725
- },
726
- {
727
- value: "Groups",
728
- label: "群组"
729
- }
730
- ] },
731
- disabledData: {
732
- type: Function,
733
- default: () => !1
734
- },
735
- filterOrg: {
736
- type: Function,
737
- default: () => !0
738
- },
739
- filterUser: {
740
- type: Function,
741
- default: () => !0
742
- },
743
- onSubmit: {}
744
- }, {
745
- open: { type: Boolean },
746
- openModifiers: {},
747
- modelValue: { default: [] },
748
- modelModifiers: {}
749
- }),
750
- emits: ["update:open", "update:modelValue"],
751
- setup(e, { expose: t }) {
752
- let n = e, r = pe(), i = {
753
- ...S({
754
- auth: n.auth,
755
- filter: n.filterOrg
756
- }),
757
- ...Le(n.apis, ["orgTree", "orgList"])
758
- }, a = {
759
- ...y({
760
- auth: n.auth,
761
- filter: n.filterUser
762
- }),
763
- ...Ne(n.apis, ["orgTree", "orgList"])
764
- }, o = U(e, "open"), s = U(e, "modelValue"), c = B([]), l = te(o), { onFieldChange: u } = K.useInjectFormItemContext();
765
- function d() {
766
- l(!0);
767
- }
768
- W(o, async (e) => {
769
- if (e) {
770
- if (!s.value.length) {
771
- c.value = [];
772
- return;
773
- }
774
- try {
775
- c.value = await a?.getSelectedData?.(s.value) ?? s.value;
776
- } catch {
777
- c.value = s.value;
778
- }
779
- }
780
- }, { immediate: !0 });
781
- function f() {
782
- let e = c.value?.map((e) => {
783
- let t = E(e[T.value]);
784
- return {
785
- ...e,
786
- orgId: t.orgId,
787
- userId: t.userId
788
- };
789
- });
790
- s.value = e, n.onSubmit?.(e), u(), l(!1), a?.addRecentlyUsed?.(e);
791
- }
792
- return t({ open: d }), (t, n) => (z(), M("div", null, [t.$slots.trigger ? (z(), M("span", {
793
- key: 0,
794
- onClick: n[0] ||= (e) => d()
795
- }, [fe(t.$slots, "trigger")])) : j("", !0), F(H(ge), ue(H(r), {
796
- open: o.value,
797
- "onUpdate:open": n[2] ||= (e) => o.value = e,
798
- title: e.title,
799
- width: 760,
800
- "z-index": 1001,
801
- "ok-text": "确认",
802
- "cancel-text": "取消",
803
- onOk: n[3] ||= (e) => f()
804
- }), {
805
- default: G(() => [F(H(b), {
806
- apis: i,
807
- "field-names": H(w)
808
- }, {
809
- default: G(() => [F(H(C), {
810
- apis: a,
811
- "field-names": H(T)
812
- }, {
813
- default: G(() => [F(H(D), {
814
- modelValue: H(c),
815
- "onUpdate:modelValue": n[1] ||= (e) => L(c) ? c.value = e : null,
816
- "default-tab": "TreeUserList",
817
- tabs: e.tabs,
818
- multiple: e.multiple,
819
- "disabled-data": e.disabledData
820
- }, null, 8, [
821
- "modelValue",
822
- "tabs",
823
- "multiple",
824
- "disabled-data"
825
- ])]),
826
- _: 1
827
- }, 8, ["field-names"])]),
828
- _: 1
829
- }, 8, ["field-names"])]),
830
- _: 1
831
- }, 16, ["open", "title"])]));
832
- }
833
- });
834
- //#endregion
835
- //#region src/components/OrgUserSelector/index.ts
836
- function Ve(e) {
837
- $(O, e);
838
- }
839
- function He(e) {
840
- $(Q, e);
841
- }
842
- function $(e, t) {
843
- let n = ce({ render() {
844
- return le(e, {
845
- ...t,
846
- open: !0,
847
- onSubmit: (...e) => {
848
- t.onSubmit?.(...e), i();
849
- },
850
- onCancel: () => {
851
- i();
852
- }
853
- });
854
- } }), r = document.createElement("div");
855
- document.body.appendChild(r), n.mount(r);
856
- function i() {
857
- setTimeout(() => {
858
- n.unmount(), document.body.removeChild(r);
859
- }, 500);
860
- }
861
- }
862
- //#endregion
863
- //#region src/components/ResourceSelector/index.vue?vue&type=script&setup=true&lang.ts
864
- var Ue = { class: "h-340px border-1px border-solid flex flex-row border_color" }, We = { class: "w-360px flex flex-col" }, Ge = { class: "w-full h-34px bg-[#F2F3F5] flex px-15px items-center justify-between text-[#1D2129] dark:bg-[#1D2129] dark:text-[#F2F3F5]" }, Ke = { class: "flex-1 overflow-auto py-10px pr-10px" }, qe = { class: "flex items-center" }, Je = { class: "mx-4px" }, Ye = ["onClick"], Xe = ["onClick"], Ze = ["onClick"], Qe = ["onClick"], $e = { class: "flex-1 flex flex-col border-solid border-0px border-l-1px border_color" }, et = { class: "flex-1 p-10px overflow-auto" }, tt = /* @__PURE__ */ I({
865
- name: "ResourceSelector",
866
- __name: "index",
867
- props: /* @__PURE__ */ R({
868
- title: { default: "资源选择" },
869
- mode: { default: k.ROLE }
870
- }, {
871
- open: { type: Boolean },
872
- openModifiers: {}
873
- }),
874
- emits: /* @__PURE__ */ R(["select"], ["update:open"]),
875
- setup(e, { expose: t, emit: n }) {
876
- let r = e, i = n, a = se(() => r.mode === k.DATA_PERMISSION), o = B({
877
- checked: [],
878
- halfChecked: []
879
- }), s = B([]), c = B([]), l = B({}), u = B(0), d = B([]), f = U(e, "open"), p = te(f);
880
- W(() => o.value.checked, (e) => {
881
- c.value = e.reduce((e, t) => {
882
- let n = {
883
- id: t,
884
- name: l.value[t]
885
- };
886
- return e.push(n), e;
887
- }, []);
888
- }, { deep: !0 });
889
- function m(e, t, n) {
890
- o.value.checked = [...e], d.value = t, l.value = n, u.value = Object.keys(l.value).length, t[0]?.id && (s.value = [t[0]?.id]), p(!0);
891
- }
892
- function h(e, t) {
893
- if (!a.value) {
894
- if (t.checked) {
895
- function e(t) {
896
- t.parent ? (o.value.checked.push(t.key), e(t.parent)) : o.value.checked.push(t.key);
897
- }
898
- e(t.node);
899
- } else y([t.node], t.node.id).forEach((e) => {
900
- let t = o.value.checked.findIndex((t) => t === e);
901
- t >= 0 && o.value.checked.splice(t, 1);
902
- });
903
- o.value.checked = Array.from(new Set(o.value.checked));
904
- }
905
- }
906
- function g() {
907
- o.value.checked = [];
908
- }
909
- function _(e) {
910
- y(d.value, e).forEach((e) => {
911
- let t = o.value.checked.findIndex((t) => t === e);
912
- t >= 0 && o.value.checked.splice(t, 1);
913
- });
914
- }
915
- function v(e, t) {
916
- for (let n of e) {
917
- if (n.id === t) return n;
918
- if (n.children) {
919
- let e = v(n.children, t);
920
- if (e) return e;
921
- }
922
- }
923
- }
924
- function y(e, t) {
925
- let n = [], r = v(e, t);
926
- if (r) {
927
- function e(t) {
928
- if (n.push(t.id), t.children) for (let n of t.children) e(n);
929
- }
930
- e(r);
931
- }
932
- return n;
933
- }
934
- function b(e) {
935
- let t = T(e.id);
936
- t.length > 0 && (t.push(e.id), t.forEach((e) => {
937
- o.value.checked.findIndex((t) => t === e) < 0 && o.value.checked.push(e);
938
- }));
939
- }
940
- function x(e) {
941
- T(e.id).forEach((e) => {
942
- let t = o.value.checked.findIndex((t) => t === e);
943
- t >= 0 && o.value.checked.splice(t, 1);
944
- });
945
- }
946
- function S(e) {
947
- let t = w(e.id);
948
- t.length > 0 && (t.push(e.id), t.forEach((e) => {
949
- o.value.checked.findIndex((t) => t === e) < 0 && o.value.checked.push(e);
950
- }));
951
- }
952
- function C(e) {
953
- w(e.id).forEach((e) => {
954
- let t = o.value.checked.findIndex((t) => t === e);
955
- t >= 0 && o.value.checked.splice(t, 1);
956
- });
957
- }
958
- function w(e) {
959
- let t = v(d.value, e);
960
- return t && t.children && t.children.length > 0 ? t.children.reduce((e, t) => (a.value && t?.disabled || e.push(t.id), e), []) : [];
961
- }
962
- function T(e) {
963
- let t = y(d.value, e), n = t.indexOf(e);
964
- return t.splice(n, 1), t?.map((e) => v(d.value, e))?.filter((e) => a.value ? !e.disabled : !0)?.map((e) => e.id);
965
- }
966
- let { onFieldChange: E } = K.useInjectFormItemContext();
967
- function D() {
968
- i("select", c.value), E(), p(!1);
969
- }
970
- return t({ open: m }), (t, n) => {
971
- let r = ne, i = he, l = be, m = ye, v = ve, y = we, w = Se, T = Ce, E = _e, O = xe;
972
- return z(), A(O, {
973
- open: f.value,
974
- "onUpdate:open": n[4] ||= (e) => f.value = e,
975
- class: "custom_modal",
976
- title: e.title,
977
- "mask-closable": !1,
978
- width: 750
979
- }, {
980
- footer: G(() => [F(E, { onClick: n[3] ||= (e) => H(p)(!1) }, {
981
- default: G(() => [...n[8] ||= [P(" 取消 ", -1)]]),
982
- _: 1
983
- }), F(E, {
984
- type: "primary",
985
- onClick: D
986
- }, {
987
- default: G(() => [...n[9] ||= [P(" 确定 ", -1)]]),
988
- _: 1
989
- })]),
990
- default: G(() => [N("div", Ue, [N("div", We, [N("div", Ge, [n[5] ||= N("div", { class: "" }, " 全部资源 ", -1), N("div", null, V(H(o).checked.length) + "/" + V(H(u)), 1)]), N("div", Ke, [F(y, {
991
- "checked-keys": H(o),
992
- "onUpdate:checkedKeys": n[1] ||= (e) => L(o) ? o.value = e : null,
993
- "expanded-keys": H(s),
994
- "onUpdate:expandedKeys": n[2] ||= (e) => L(s) ? s.value = e : null,
995
- class: "h-full custom_tree",
996
- "block-node": "",
997
- checkable: "",
998
- "check-strictly": "",
999
- "field-names": {
1000
- children: "children",
1001
- title: "name",
1002
- key: "id"
1003
- },
1004
- "tree-data": H(d),
1005
- onCheck: h
1006
- }, {
1007
- title: G((e) => [N("div", qe, [
1008
- e.checked ? (z(), A(r, {
1009
- key: 0,
1010
- name: "zy_checked",
1011
- size: "24px"
1012
- })) : (z(), A(r, {
1013
- key: 1,
1014
- name: "zy_default",
1015
- size: "24px"
1016
- })),
1017
- N("span", Je, V(e.name), 1),
1018
- !e.leaf && (!H(a) || !e.disabled) ? (z(), A(v, {
1019
- key: 2,
1020
- class: "bg-[#e8f3ff] dark:bg-[#141414]",
1021
- trigger: ["click"]
1022
- }, {
1023
- overlay: G(() => [F(m, null, {
1024
- default: G(() => [
1025
- F(l, { key: "0" }, {
1026
- default: G(() => [N("a", { onClick: (t) => b(e) }, "选中所有下级", 8, Ye)]),
1027
- _: 2
1028
- }, 1024),
1029
- F(l, { key: "1" }, {
1030
- default: G(() => [N("a", { onClick: (t) => x(e) }, "取消所有下级", 8, Xe)]),
1031
- _: 2
1032
- }, 1024),
1033
- F(l, { key: "3" }, {
1034
- default: G(() => [N("a", { onClick: (t) => S(e) }, "选中下一级", 8, Ze)]),
1035
- _: 2
1036
- }, 1024),
1037
- F(l, { key: "4" }, {
1038
- default: G(() => [N("a", { onClick: (t) => C(e) }, "取消下一级", 8, Qe)]),
1039
- _: 2
1040
- }, 1024)
1041
- ]),
1042
- _: 2
1043
- }, 1024)]),
1044
- default: G(() => [N("a", {
1045
- class: "ant-dropdown-link whitespace-nowrap",
1046
- style: { padding: "2px 4px" },
1047
- onClick: n[0] ||= me(() => {}, ["prevent"])
1048
- }, [n[6] ||= N("span", { class: "text-base" }, "操作", -1), F(i, { style: { fontSize: "10px" } })])]),
1049
- _: 2
1050
- }, 1024)) : j("", !0)
1051
- ])]),
1052
- _: 1
1053
- }, 8, [
1054
- "checked-keys",
1055
- "expanded-keys",
1056
- "tree-data"
1057
- ])])]), N("div", $e, [N("div", { class: "w-full h-34px bg-[#F2F3F5] flex px-15px items-center justify-between text-[#1D2129] dark:bg-[#1D2129] dark:text-[#F2F3F5]" }, [n[7] ||= N("div", { class: "" }, " 已选资源 ", -1), N("div", {
1058
- class: "cursor-pointer text-[#165DFF]",
1059
- onClick: g
1060
- }, " 清空 ")]), N("div", et, [(z(!0), M(oe, null, de(H(c), (e) => (z(), M("div", {
1061
- key: e.id,
1062
- class: "inline-block mb-6px max-w-300px"
1063
- }, [e.name?.length > 20 ? (z(), A(T, {
1064
- key: 0,
1065
- title: e.name
1066
- }, {
1067
- default: G(() => [F(w, {
1068
- class: "custom_tag bg-[#e8f3ff] dark:bg-[#141414]",
1069
- closable: "",
1070
- onClose: (t) => _(e.id)
1071
- }, {
1072
- default: G(() => [P(V(`${e.name?.slice(0, 20)}...`), 1)]),
1073
- _: 2
1074
- }, 1032, ["onClose"])]),
1075
- _: 2
1076
- }, 1032, ["title"])) : (z(), A(w, {
1077
- key: 1,
1078
- class: "custom_tag bg-[#e8f3ff] dark:bg-[#141414]",
1079
- closable: "",
1080
- onClose: (t) => _(e.id)
1081
- }, {
1082
- default: G(() => [P(V(e.name), 1)]),
1083
- _: 2
1084
- }, 1032, ["onClose"]))]))), 128))])])])]),
1085
- _: 1
1086
- }, 8, ["open", "title"]);
1087
- };
1088
- }
1089
- }), nt = (e, t) => {
1090
- let n = e.__vccOpts || e;
1091
- for (let [e, r] of t) n[e] = r;
1092
- return n;
1093
- }, rt = /* @__PURE__ */ nt(tt, [["__scopeId", "data-v-70b6311e"]]);
1094
- //#endregion
1095
- //#region src/api/modules/configData/heibaimingdanfuwu.ts
1096
- function it(e, t) {
1097
- return r.Post("/blackWhiteList/addBlackWhiteList", e, {
1098
- headers: { "Content-Type": "application/json" },
1099
- ...t || {}
1100
- });
1101
- }
1102
- function at(e, t) {
1103
- let { id: n, ...i } = e;
1104
- return r.Get(`/blackWhiteList/delete/${n}`, {
1105
- params: { ...i },
1106
- ...t || {},
1107
- meta: {
1108
- ...t?.meta ?? {},
1109
- pathParams: [n]
1110
- }
1111
- });
1112
- }
1113
- function ot(e, t) {
1114
- return r.Post("/blackWhiteList/getBlackWhiteListPageList", e, {
1115
- headers: { "Content-Type": "application/json" },
1116
- ...t || {}
1117
- });
1118
- }
1119
- function st(e, t) {
1120
- return r.Post("/blackWhiteList/updateBlackWhiteList", e, {
1121
- headers: { "Content-Type": "application/json" },
1122
- ...t || {}
1123
- });
1124
- }
1125
- //#endregion
1126
- //#region src/api/modules/configData/xitongpeizhifuwu.ts
1127
- function ct(e, t) {
1128
- return r.Post("/sysconfig/addOrEidtSysThemeStyleConfig", e, {
1129
- headers: { "Content-Type": "application/json" },
1130
- ...t || {}
1131
- });
1132
- }
1133
- function lt(e, t) {
1134
- return r.Post("/sysconfig/editSysSecurityConfig", e, {
1135
- headers: { "Content-Type": "application/json" },
1136
- ...t || {}
1137
- });
1138
- }
1139
- function ut(e) {
1140
- return r.Get("/sysconfig/getSysSecurityConfig", { ...e || {} });
1141
- }
1142
- //#endregion
1143
- //#region src/api/modules/configData/zidifuwu.ts
1144
- function dt(e, t) {
1145
- let { id: n, ...i } = e;
1146
- return r.Delete(`/dict/item/delete/${n}`, {}, {
1147
- params: { ...i },
1148
- ...t || {},
1149
- meta: {
1150
- ...t?.meta ?? {},
1151
- pathParams: [n]
1152
- }
1153
- });
1154
- }
1155
- function ft(e, t) {
1156
- return r.Get("/dict/item/list", {
1157
- params: { ...e },
1158
- ...t || {}
1159
- });
1160
- }
1161
- function pt(e, t) {
1162
- return r.Get("/dict/item/list/batch", {
1163
- params: { ...e },
1164
- ...t || {}
1165
- });
1166
- }
1167
- function mt(e, t) {
1168
- return r.Post("/dict/item/page", e, {
1169
- headers: { "Content-Type": "application/json" },
1170
- ...t || {}
1171
- });
1172
- }
1173
- function ht(e, t) {
1174
- return r.Post("/dict/item/save", e, {
1175
- headers: { "Content-Type": "application/json" },
1176
- ...t || {}
1177
- });
1178
- }
1179
- function gt(e, t) {
1180
- let { id: n, ...i } = e;
1181
- return r.Delete(`/dict/type/delete/${n}`, {}, {
1182
- params: { ...i },
1183
- ...t || {},
1184
- meta: {
1185
- ...t?.meta ?? {},
1186
- pathParams: [n]
1187
- }
1188
- });
1189
- }
1190
- function _t(e, t) {
1191
- return r.Post("/dict/type/page", e, {
1192
- headers: { "Content-Type": "application/json" },
1193
- ...t || {}
1194
- });
1195
- }
1196
- function vt(e, t) {
1197
- return r.Post("/dict/type/save", e, {
1198
- headers: { "Content-Type": "application/json" },
1199
- ...t || {}
1200
- });
1201
- }
1202
- //#endregion
1203
599
  //#region src/utils/dict.ts
1204
- function yt(e) {
600
+ function y(e) {
1205
601
  return Array.isArray(e) ? e : [e];
1206
602
  }
1207
- async function bt(e) {
1208
- let t = yt(e.dictCode), n = await pt({ dictCode: t.join(",") });
603
+ async function b(e) {
604
+ let t = y(e.dictCode), n = await l({ dictCode: t.join(",") });
1209
605
  if (n.success) return t.length === 1 ? n.data?.[0]?.dictItemList : n.data;
1210
606
  }
1211
607
  //#endregion
1212
608
  //#region src/utils/routeSystem.ts
1213
- var xt = /* @__PURE__ */ e({
1214
- cleanupRouteSystem: () => Ct,
1215
- initializeRouteSystem: () => St,
1216
- refreshRouteSystem: () => wt
609
+ var x = /* @__PURE__ */ e({
610
+ cleanupRouteSystem: () => C,
611
+ initializeRouteSystem: () => S,
612
+ refreshRouteSystem: () => w
1217
613
  });
1218
- function St() {
1219
- let e = t(), n = J();
614
+ function S() {
615
+ let e = t(), n = m();
1220
616
  try {
1221
617
  return e.initializeRouteData(), n.initializeWebSocket(), {
1222
618
  viewStore: e,
@@ -1226,31 +622,31 @@ function St() {
1226
622
  throw console.error("[RBAC] 路由系统初始化失败:", e), e;
1227
623
  }
1228
624
  }
1229
- function Ct() {
625
+ function C() {
1230
626
  try {
1231
- J().cleanupWebSocket();
627
+ m().cleanupWebSocket();
1232
628
  } catch (e) {
1233
629
  console.error("[RBAC] 路由系统清理失败:", e);
1234
630
  }
1235
631
  }
1236
- function wt() {
632
+ function w() {
1237
633
  try {
1238
634
  t().refreshRouteTree();
1239
635
  } catch (e) {
1240
636
  console.error("[RBAC] 路由系统数据刷新失败:", e);
1241
637
  }
1242
638
  }
1243
- ae("RBAC", q.pages), ie("RBAC", q.icons);
1244
- function Tt(e) {
639
+ f("RBAC", p.pages), d("RBAC", p.icons);
640
+ function T(e) {
1245
641
  let { pages: r, sort: i, id: a = "RBAC", request: o } = e;
1246
- return n.set({ request: o }), r !== "dynamic" && re(ze({
642
+ return n.set({ request: o }), r !== "dynamic" && u(_({
1247
643
  pages: r,
1248
644
  id: a
1249
645
  }), { sort: i }), {
1250
646
  name: "pubinfo-pr:rbac",
1251
647
  setup() {
1252
- let e = t(), n = J();
1253
- e.initializeRouteData(), n.initializeWebSocket(), Promise.resolve().then(() => xt).then(({ initializeRouteSystem: e }) => {
648
+ let e = t(), n = m();
649
+ e.initializeRouteData(), n.initializeWebSocket(), Promise.resolve().then(() => x).then(({ initializeRouteSystem: e }) => {
1254
650
  try {
1255
651
  e();
1256
652
  } catch (e) {
@@ -1261,4 +657,4 @@ function Tt(e) {
1261
657
  };
1262
658
  }
1263
659
  //#endregion
1264
- export { O as OrgSelector, rt as ResourceSelector, Q as UserSelector, ht as a, ut as c, Ct as cleanupRouteSystem, at as d, it as f, X as g, bt as getDictItem, nt as h, mt as i, St as initializeRouteSystem, ct as l, st as m, gt as n, _t as o, ot as p, ft as r, Tt as rbac, wt as refreshRouteSystem, vt as s, Ve as selectOrg, He as selectUser, dt as t, lt as u, t as useViewStore, J as useWebSocketManager };
660
+ export { r as OrgSelector, c as ResourceSelector, o as UserSelector, C as cleanupRouteSystem, b as getDictItem, S as initializeRouteSystem, T as rbac, w as refreshRouteSystem, s as selectOrg, a as selectUser, t as useViewStore, m as useWebSocketManager };