@pubinfo/module-rbac 2.1.11 → 2.1.12

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 (246) hide show
  1. package/dist/{ComponentSelect-A7uGTuHW.js → ComponentSelect-CYmAgdm3.js} +998 -963
  2. package/dist/DynamicRoutesForm-CMF3oh8h.js +171 -0
  3. package/dist/HCheckList-CAhQwX7m.js +39 -0
  4. package/dist/HoverCard-B-uU48hF.js +46 -0
  5. package/dist/IconSelect-CvxGRN_O.js +719 -0
  6. package/dist/ImportExport-CzZssb7_.js +345 -0
  7. package/dist/ImportExport-b1SnWRLj.js +6 -0
  8. package/dist/LayoutForm-Bpdyi_2o.js +129 -0
  9. package/dist/MetaForm-ZLzLz68d.js +39037 -0
  10. package/dist/OrgAndPosition-B0RE1Vc_.js +187 -0
  11. package/dist/OrgSelector-C2rPIonI.js +4877 -0
  12. package/dist/OrgSelector.css +1 -0
  13. package/dist/ResourceEdit-9fvxbd0K.js +383 -0
  14. package/dist/ResourceEdit-BMqfJ3aQ.js +13 -0
  15. package/dist/ResourceRelation-BrluMHdX.js +81 -0
  16. package/dist/ResourceRelation-IJvXnlpo.js +95 -0
  17. package/dist/RoleRelation-DuRuQG08.js +82 -0
  18. package/dist/RoleSelector-BTNYbcC6.js +282 -0
  19. package/dist/TenantEdit-Df3gZKLA.js +249 -0
  20. package/dist/UserAuthorization-DX7jNDDe.js +237 -0
  21. package/dist/UserEdit-BLb0n7WM.js +322 -0
  22. package/dist/_baseClone-C7vkGgsW.js +138 -0
  23. package/dist/_initCloneObject-r-eWKqzl.js +531 -0
  24. package/dist/add-child-DPb_m2by.js +4 -0
  25. package/dist/{animation_item-DBOz2rcX.js → animation_item-Coe-B0jQ.js} +24 -19
  26. package/dist/assist-BRMYD-oT.js +89 -0
  27. package/dist/authority-B9wtmsQd.js +4 -0
  28. package/dist/authorize-DxrutyIG.js +4 -0
  29. package/dist/blackWhiteList-d6TVsK48.js +214 -0
  30. package/dist/blacklist-disable-BKSw91qq.js +4 -0
  31. package/dist/blacklist-enable-CIB1fOHT.js +4 -0
  32. package/dist/breadcrumb_setting-DMbvWP5t.js +111 -0
  33. package/dist/browser-chrome-CM60RcrG.js +4 -0
  34. package/dist/browser-edge-4LBRzooM.js +4 -0
  35. package/dist/browser-ie-BF-wqbf6.js +4 -0
  36. package/dist/browser-other-iXJH-9iL.js +4 -0
  37. package/dist/browser-safari-CIpt0yPc.js +4 -0
  38. package/dist/browserType-Bik20-72.js +28 -0
  39. package/dist/chunk-WQLz0Won.js +20 -0
  40. package/dist/cloneDeep-REaxTPsZ.js +8 -0
  41. package/dist/createAndEditDataPermission-OunqmBu_.js +438 -0
  42. package/dist/data-permission-2pzeFLxP.js +159 -0
  43. package/dist/{dayjs.min-Cb7gQFd4.js → dayjs.min-CJunOGCc.js} +5 -3
  44. package/dist/dictionary-DGqlAhRk.js +182 -0
  45. package/dist/dist-DxAYQq3U.js +21 -0
  46. package/dist/drawerBlackWhiteList-VxyjaBkA.js +123 -0
  47. package/dist/drawerDictionary-DhAB-LV9.js +129 -0
  48. package/dist/drawerDictionaryItem-DYsJzZ2f.js +141 -0
  49. package/dist/drawerGroup-CTO8Lmbb.js +189 -0
  50. package/dist/drawerOrganization-DWhTc1fB.js +253 -0
  51. package/dist/drawerPosition-BmM9mLlP.js +169 -0
  52. package/dist/drawerRegion-BD-xc1x2.js +189 -0
  53. package/dist/drawerRole-B348x40k.js +214 -0
  54. package/dist/drawerRole-CgAPM-0g.js +172 -0
  55. package/dist/drawerRole-Cjp9iDsa.js +157 -0
  56. package/dist/edit-Drp8yjRe.js +4 -0
  57. package/dist/enum-CG0P82pn.js +6 -0
  58. package/dist/{enum-3E_sUqRF.js → enum-CR5ztb5v2.js} +15 -14
  59. package/dist/enum-CYCebJeC.js +62 -0
  60. package/dist/enum-DS4SGhiF.js +6 -0
  61. package/dist/enum-zdKA3Jy-.js +23 -0
  62. package/dist/group-C6Rj3K5I.js +178 -0
  63. package/dist/icard-BULUUV5m.js +4 -0
  64. package/dist/icon_animation-DuEY1FMm.js +4 -0
  65. package/dist/icon_breadcrumb-Y788iP_T.js +4 -0
  66. package/dist/icon_copyright-C1BER6kq.js +4 -0
  67. package/dist/icon_jt-ICOdrIF6.js +4 -0
  68. package/dist/icon_layout-D_wV9rX3.js +4 -0
  69. package/dist/icon_mainpage-Cz6_cxpJ.js +4 -0
  70. package/dist/icon_menu-y7SblUoR.js +4 -0
  71. package/dist/icon_page_size-BjwT656E.js +4 -0
  72. package/dist/icon_position_type-CPxcDgmM.js +4 -0
  73. package/dist/icon_safe_manage-CoqVRBLl.js +4 -0
  74. package/dist/icon_screen_scale-DURlkq3C.js +4 -0
  75. package/dist/icon_system_manage-BLXs2CQg.js +4 -0
  76. package/dist/icon_tabbar-_0QWhSBV.js +4 -0
  77. package/dist/icon_toolbar-BXpfu0iq.js +4 -0
  78. package/dist/icon_topbar-DrwvB8Jw.js +4 -0
  79. package/dist/icon_watermark-DwNqjAiA.js +4 -0
  80. package/dist/index.css +1 -1
  81. package/dist/index.js +587 -6775
  82. package/dist/isEmpty-2rx9iUQv.js +14 -0
  83. package/dist/isEqual-CNeQLaCM.js +474 -0
  84. package/dist/itemlist-BGe-z1IR.js +159 -0
  85. package/dist/layout_setting-Cds3TCHc.js +71 -0
  86. package/dist/log-DOMU9MyH.js +18 -0
  87. package/dist/log-center-BrGlNhMd.js +4 -0
  88. package/dist/loginHistoryDetail-Coba_ajy.js +80 -0
  89. package/dist/{login_history-BiwaLpxA.js → login_history-CrXkEsHb.js} +38 -35
  90. package/dist/menu_setting-Br5dOEUk.js +158 -0
  91. package/dist/not-data-C-MacYF3.js +5 -0
  92. package/dist/operateHistoryDetail-DfDQL5BF.js +92 -0
  93. package/dist/{operate_history-sPd9IHMV.js → operate_history-BtHgPhmF.js} +38 -35
  94. package/dist/org-main-BRMBumDm.js +4 -0
  95. package/dist/org-unmain-0BHnrNdD.js +4 -0
  96. package/dist/organization-BbFERZ1l.js +15411 -0
  97. package/dist/other_setting-D92SlFvl.js +216 -0
  98. package/dist/page_animation_setting-Cy2R0vZy.js +111 -0
  99. package/dist/page_w_setting-DryWrqcx.js +66 -0
  100. package/dist/position-B1bqGly6.js +169 -0
  101. package/dist/rbac-B59CVHDt.js +460 -0
  102. package/dist/region-B_n1KXMG.js +182 -0
  103. package/dist/remove-BTME2Fhs.js +4 -0
  104. package/dist/request-7X2hpUru.js +5 -0
  105. package/dist/resource-CPNNd1l0.js +275 -0
  106. package/dist/resource-app-D8to3Lkn.js +4 -0
  107. package/dist/resource-btn-Cz-A_EQF.js +4 -0
  108. package/dist/resource-dynamic-BUqWxUiU.js +4 -0
  109. package/dist/resource-index-D2roT002.js +4 -0
  110. package/dist/resource-menu-BRER68rK.js +4 -0
  111. package/dist/resource-micro-Hyucl9de.js +4 -0
  112. package/dist/resource-nonmenu-7FcPEpHv.js +4 -0
  113. package/dist/role-CMd7WDRC.js +195 -0
  114. package/dist/role_group-DHh2s911.js +174 -0
  115. package/dist/safe_setting-CuTBmUve.js +225 -0
  116. package/dist/setItem-BwXZ5Uqx.js +4 -0
  117. package/dist/setItem-DlhIkIgh.js +78 -0
  118. package/dist/setting-manage-UHelpLrr.js +4 -0
  119. package/dist/stores-C-zbXsms.js +2 -0
  120. package/dist/tabbar_setting-CjW9LGPp.js +142 -0
  121. package/dist/tenant-B_vgufMG.js +180 -0
  122. package/dist/theme-check-mark-DRzx4sTs.js +4 -0
  123. package/dist/theme-title-BRvQ_qPg.js +4 -0
  124. package/dist/theme_setting-DMP0_nZ1.js +114 -0
  125. package/dist/toolbar_setting-ClxxvA7R.js +143 -0
  126. package/dist/useAppAndResource-D6WnpUPR.js +55 -0
  127. package/dist/user-BhytPqnx.js +348 -0
  128. package/dist/{vanilla-picker-Byb6q187.js → vanilla-picker-2HFham9c.js} +61 -59
  129. package/dist/view-Cridj7u2.js +4 -0
  130. package/dist/view-lBxqXfPW.js +114 -0
  131. package/dist/watermark_setting-b3vBYWwY.js +194 -0
  132. package/dist/zddata-CnvPWtIW.js +4 -0
  133. package/dist/zy_checked-C25HQlnr.js +4 -0
  134. package/dist/zy_default-B7RKtyqy.js +4 -0
  135. package/package.json +3 -3
  136. package/dist/DynamicRoutesForm-DSzy_bh5.js +0 -169
  137. package/dist/HCheckList-ODQHidN8.js +0 -37
  138. package/dist/HoverCard-CmJCoa2b.js +0 -44
  139. package/dist/IconSelect-DouEg3xY.js +0 -717
  140. package/dist/ImportExport-DisdLoY8.js +0 -342
  141. package/dist/LayoutForm-Bdfs5WeK.js +0 -125
  142. package/dist/MetaForm-CcDwS8vh.js +0 -38902
  143. package/dist/OrgAndPosition-jDX7m0HD.js +0 -184
  144. package/dist/ResourceEdit-0BYZRye_.js +0 -381
  145. package/dist/ResourceRelation-CU-QpUhP.js +0 -76
  146. package/dist/ResourceRelation-roz0a8Td.js +0 -91
  147. package/dist/RoleRelation-BQQFaum0.js +0 -79
  148. package/dist/RoleSelector-gkar_UGG.js +0 -275
  149. package/dist/TenantEdit-BsahDUlf.js +0 -246
  150. package/dist/UserAuthorization-2Fl4IGw7.js +0 -233
  151. package/dist/UserEdit-CX3Qau8T.js +0 -320
  152. package/dist/add-child-CFHHkjfg.js +0 -2
  153. package/dist/authority-L7SfiMdP.js +0 -2
  154. package/dist/authorize-qMpV_BXT.js +0 -2
  155. package/dist/blackWhiteList-DbG7JH8n.js +0 -211
  156. package/dist/blacklist-disable-BT6Xx-JG.js +0 -2
  157. package/dist/blacklist-enable-CJ6DK_V2.js +0 -2
  158. package/dist/breadcrumb_setting-DTR6CPZQ.js +0 -108
  159. package/dist/browser-chrome-DuAegVCe.js +0 -2
  160. package/dist/browser-edge-DzkWdXRd.js +0 -2
  161. package/dist/browser-ie-DZ9g_MXr.js +0 -2
  162. package/dist/browser-other-BmkifoYq.js +0 -2
  163. package/dist/browser-safari-CXrCuF2a.js +0 -2
  164. package/dist/browserType-B8A1Osvk.js +0 -26
  165. package/dist/chunk-DiMWNkAf.js +0 -18
  166. package/dist/cloneDeep-CSOSavu3.js +0 -6
  167. package/dist/createAndEditDataPermission-8_KNLzJT.js +0 -431
  168. package/dist/data-permission-LpuDLDm0.js +0 -152
  169. package/dist/dictionary-CEaxjqZe.js +0 -179
  170. package/dist/drawerBlackWhiteList-DXLdWurZ.js +0 -120
  171. package/dist/drawerDictionary-DYJTAZr6.js +0 -126
  172. package/dist/drawerDictionaryItem-BChXD2-q.js +0 -138
  173. package/dist/drawerGroup-CdnZkZxi.js +0 -185
  174. package/dist/drawerOrganization-CwtSFUj0.js +0 -247
  175. package/dist/drawerPosition-CfyfeQCN.js +0 -166
  176. package/dist/drawerRegion-DAwY_29K.js +0 -183
  177. package/dist/drawerRole-B7uCfHk-.js +0 -154
  178. package/dist/drawerRole-DK6DrinO.js +0 -209
  179. package/dist/drawerRole-DrzMHL0O.js +0 -167
  180. package/dist/edit-fZ7h_z_Z.js +0 -2
  181. package/dist/enum-3mYayxff.js +0 -61
  182. package/dist/enum-Cr7uWnB2.js +0 -23
  183. package/dist/enum-D2UEJsrC.js +0 -4
  184. package/dist/group-CaOhkh72.js +0 -172
  185. package/dist/icard-H-d9Pip-.js +0 -2
  186. package/dist/icon_animation-BCdRKkE5.js +0 -2
  187. package/dist/icon_breadcrumb-BR6LK8hP.js +0 -2
  188. package/dist/icon_copyright-BfWn1s6t.js +0 -2
  189. package/dist/icon_jt-DOMTq9De.js +0 -2
  190. package/dist/icon_layout-DKqAThpM.js +0 -2
  191. package/dist/icon_mainpage-CXB9JMGv.js +0 -2
  192. package/dist/icon_menu-BYQtWV-Q.js +0 -2
  193. package/dist/icon_page_size-r-z4oHWp.js +0 -2
  194. package/dist/icon_position_type-JDFdklRh.js +0 -2
  195. package/dist/icon_safe_manage-BDTIOduB.js +0 -2
  196. package/dist/icon_screen_scale-vEaAdr9S.js +0 -2
  197. package/dist/icon_system_manage-CkhQtieE.js +0 -2
  198. package/dist/icon_tabbar-DZNj-h-p.js +0 -2
  199. package/dist/icon_toolbar-BBYhGmEf.js +0 -2
  200. package/dist/icon_topbar-Bc379eaS.js +0 -2
  201. package/dist/icon_watermark-CTP8r-e2.js +0 -2
  202. package/dist/isEmpty-BjEzPyCa.js +0 -12
  203. package/dist/itemlist-CFwRUV2Y.js +0 -156
  204. package/dist/layout_setting-79srmFgJ.js +0 -68
  205. package/dist/log-BYris9iT.js +0 -14
  206. package/dist/log-center-CGT-BGAN.js +0 -2
  207. package/dist/loginHistoryDetail-CZnfmbbM.js +0 -78
  208. package/dist/menu_setting-C2GciMXz.js +0 -155
  209. package/dist/not-data-Bml86wdH.js +0 -3
  210. package/dist/operateHistoryDetail-HId-EZzy.js +0 -90
  211. package/dist/org-main-DnftBa38.js +0 -2
  212. package/dist/org-unmain-ByMarqFw.js +0 -2
  213. package/dist/organization-Dv3FbKke.js +0 -15316
  214. package/dist/other_setting-oVuhA70c.js +0 -213
  215. package/dist/page_animation_setting-D0CtzyOZ.js +0 -108
  216. package/dist/page_w_setting-Q--ct16C.js +0 -63
  217. package/dist/position-CCZ2MSMP.js +0 -166
  218. package/dist/region-D3mjqB8H.js +0 -179
  219. package/dist/remove-DfZZBE2T.js +0 -2
  220. package/dist/resource-DaQ7CvM_.js +0 -271
  221. package/dist/resource-app-QSLZ7Hts.js +0 -2
  222. package/dist/resource-btn-BcB4xMgR.js +0 -2
  223. package/dist/resource-dynamic-D69oEbaO.js +0 -2
  224. package/dist/resource-index-BIHr3PZY.js +0 -2
  225. package/dist/resource-menu-0JSNn7S7.js +0 -2
  226. package/dist/resource-micro-CcX_pmaJ.js +0 -2
  227. package/dist/resource-nonmenu-DFItasMT.js +0 -2
  228. package/dist/role-4UgEw3nH.js +0 -192
  229. package/dist/role_group-hkRlCnyl.js +0 -171
  230. package/dist/safe_setting-4fv3qNRZ.js +0 -221
  231. package/dist/setItem-Vkcwkj-O.js +0 -77
  232. package/dist/setting-manage-C9whamLP.js +0 -2
  233. package/dist/stores-DPQF8JRt.js +0 -2
  234. package/dist/tabbar_setting-DhrW4Jj5.js +0 -139
  235. package/dist/tenant-lWfGw2u1.js +0 -177
  236. package/dist/theme-check-mark-DG4oWCQN.js +0 -2
  237. package/dist/theme-title-BCYnl2jK.js +0 -2
  238. package/dist/theme_setting-CEb7UYQO.js +0 -111
  239. package/dist/toolbar_setting-znESrYgi.js +0 -140
  240. package/dist/useAppAndResource-B7FmNfKG.js +0 -52
  241. package/dist/user-BkUpcQC8.js +0 -339
  242. package/dist/view-Bnu34EJT.js +0 -2
  243. package/dist/watermark_setting-DYirSIAn.js +0 -191
  244. package/dist/zddata-Ceyga3_2.js +0 -2
  245. package/dist/zy_checked-DvD7k9F8.js +0 -2
  246. package/dist/zy_default-DJ2tB3Fo.js +0 -2
@@ -0,0 +1,71 @@
1
+ import "./request-7X2hpUru.js";
2
+ import { h as e, l as t } from "./index.js";
3
+ import { t as n } from "./stores-C-zbXsms.js";
4
+ import { PubinfoIcon as r } from "pubinfo";
5
+ import { Fragment as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, reactive as d, ref as f, renderList as p, toDisplayString as m, unref as h } from "vue";
6
+ import { message as g } from "ant-design-vue";
7
+ import './layout_setting.css';//#region src/views/layout_setting/index.vue?vue&type=script&setup=true&lang.ts
8
+ var _ = {
9
+ "w-full": "",
10
+ "h-full": "",
11
+ "p-10px": ""
12
+ }, v = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, y = { class: "bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]" }, b = { class: "mt-[15px] flex-1 flex flex-row" }, x = {
13
+ class: "flex-auto grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
14
+ aspect: "[3/2]"
15
+ }, S = ["onClick"], C = { class: "text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, w = /* @__PURE__ */ e(/* @__PURE__ */ c({
16
+ name: "LayoutSetting",
17
+ __name: "index",
18
+ setup(e) {
19
+ let c = n(), w = f(c.globalSettings.menu.menuMode), T = d([
20
+ {
21
+ describe: "顶部模式",
22
+ placement: "bottom",
23
+ active: "head"
24
+ },
25
+ {
26
+ describe: "侧边栏模式 (含主导航)",
27
+ placement: "bottom",
28
+ active: "side"
29
+ },
30
+ {
31
+ describe: "侧边栏模式 (不含主导航)",
32
+ placement: "bottom",
33
+ active: "single"
34
+ },
35
+ {
36
+ describe: "侧边栏精简模式",
37
+ placement: "bottom",
38
+ active: "only-side"
39
+ },
40
+ {
41
+ describe: "顶部精简模式",
42
+ placement: "bottom",
43
+ active: "only-head"
44
+ }
45
+ ]);
46
+ function E(e) {
47
+ e && (w.value = e, c.globalSettings.menu.menuMode = e, t({ content: JSON.stringify({ menu: { menuMode: e } }) }).then((e) => {
48
+ e.success && g.success("设置成功");
49
+ }));
50
+ }
51
+ return (e, t) => {
52
+ let n = r;
53
+ return u(), a("div", _, [o("div", v, [o("div", y, [s(n, {
54
+ name: "icon_layout",
55
+ class: "text-base mr-[6px]",
56
+ size: 22
57
+ }), t[0] ||= o("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "布局模式", -1)]), o("div", b, [t[3] ||= o("div", { class: "flex-none w-[110px] text-right font-400 text-[#4e5969] text-[14px] pt-10px dark:text-[#C9CDD4]" }, " 模式选择 ", -1), o("div", x, [(u(!0), a(i, null, p(h(T), (e) => (u(), a("div", {
58
+ key: e.active,
59
+ class: l(["item", [h(w) === e.active ? "active" : "", `item-${e.active}`]]),
60
+ aspect: "[9/6]",
61
+ onClick: (t) => E(e.active)
62
+ }, [
63
+ o("div", C, m(e.describe), 1),
64
+ o("div", { class: l(["my-[6px] mode", `mode-${e.active}`]) }, [...t[1] ||= [o("div", { class: "mode-container" }, null, -1)]], 2),
65
+ t[2] ||= o("div", { class: "flex-1 w-[75%] rounded-[8px] jb py-[10px] flex justify-center" }, [o("div", { class: "layout-demo" })], -1)
66
+ ], 10, S))), 128))])])])]);
67
+ };
68
+ }
69
+ }), [["__scopeId", "data-v-26087915"]]);
70
+ //#endregion
71
+ export { w as default };
@@ -0,0 +1,18 @@
1
+ import { t as e } from "./request-7X2hpUru.js";
2
+ //#region src/api/modules/log/caozuorizhifuwu.ts
3
+ function t(t, n) {
4
+ return e.Post("/log/operate/page", t, {
5
+ headers: { "Content-Type": "application/json" },
6
+ ...n || {}
7
+ });
8
+ }
9
+ //#endregion
10
+ //#region src/api/modules/log/denglurizhifuwu.ts
11
+ function n(t, n) {
12
+ return e.Post("/log/login/page", t, {
13
+ headers: { "Content-Type": "application/json" },
14
+ ...n || {}
15
+ });
16
+ }
17
+ //#endregion
18
+ export { t as n, n as t };
@@ -0,0 +1,4 @@
1
+ //#region src/assets/icons/log-center.svg
2
+ var e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2023%2027'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='url(%23a)'%20d='M9.258%201.461a4%204%200%200%201%204%200l7.259%204.19a4%204%200%200%201%202%203.465v8.381a4%204%200%200%201-2%203.464l-7.259%204.19a4%204%200%200%201-4%200L2%2020.962a4%204%200%200%201-2-3.464V9.116a4%204%200%200%201%202-3.464z'/%3e%3cpath%20fill='url(%23b)'%20d='M9.258%201.461a4%204%200%200%201%204%200l7.259%204.19a4%204%200%200%201%202%203.465v8.381a4%204%200%200%201-2%203.464l-7.259%204.19a4%204%200%200%201-4%200L2%2020.962a4%204%200%200%201-2-3.464V9.116a4%204%200%200%201%202-3.464z'/%3e%3cpath%20fill='%23fff'%20d='M14.951%207.126H7.565c-.905%200-1.659.754-1.659%201.658v9.045c0%20.905.754%201.659%201.659%201.659h7.386c.905%200%201.659-.754%201.659-1.659V8.784c0-.904-.754-1.658-1.659-1.658m-1.206%2010.553H8.771c-.302%200-.603-.302-.603-.603%200-.302.301-.603.603-.603h4.974c.302%200%20.603.301.603.603%200%20.301-.301.603-.603.603m1.206-4.975-1.356-1.206a.46.46%200%200%200-.603%200l-1.357%201.206V9.387c0-.301.301-.603.603-.603h2.261c.15%200%20.452.302.452.603z'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='11.258'%20x2='11.258'%20y1='.307'%20y2='26.307'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B3B7BF'/%3e%3cstop%20offset='1'%20stop-color='%23969AA1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='11.258'%20x2='11.258'%20y1='.307'%20y2='26.307'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2355F996'/%3e%3cstop%20offset='1'%20stop-color='%2301D689'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { e as default };
@@ -0,0 +1,80 @@
1
+ import { r as e } from "./chunk-WQLz0Won.js";
2
+ import { h as t } from "./index.js";
3
+ import { t as n } from "./browserType-Bik20-72.js";
4
+ import { createBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, toDisplayString as l, withCtx as u } from "vue";
5
+ import { Descriptions as d, DescriptionsItem as f, Drawer as p } from "ant-design-vue/es";
6
+ import './loginHistoryDetail.css';//#region src/views/log_center/components/loginHistoryDetail.vue?vue&type=script&setup=true&lang.ts
7
+ var m = { class: "detail-info" }, h = /* @__PURE__ */ s({
8
+ __name: "loginHistoryDetail",
9
+ props: {
10
+ visible: Boolean,
11
+ data: Object
12
+ },
13
+ emits: ["close"],
14
+ setup(e, { emit: t }) {
15
+ let s = t;
16
+ function h() {
17
+ s("close");
18
+ }
19
+ return (t, s) => {
20
+ let g = f, _ = d, v = p;
21
+ return c(), r(v, {
22
+ open: e.visible,
23
+ title: "登录日志",
24
+ placement: "right",
25
+ width: 900,
26
+ "footer-style": { textAlign: "right" },
27
+ onClose: h
28
+ }, {
29
+ default: u(() => [i("div", m, [o(_, { column: 2 }, {
30
+ default: u(() => [
31
+ o(g, { label: "用户id" }, {
32
+ default: u(() => [a(l(e.data?.userId), 1)]),
33
+ _: 1
34
+ }),
35
+ o(g, { label: "账号名" }, {
36
+ default: u(() => [a(l(e.data?.loginName), 1)]),
37
+ _: 1
38
+ }),
39
+ o(g, { label: "用户姓名" }, {
40
+ default: u(() => [a(l(e.data?.realName), 1)]),
41
+ _: 1
42
+ }),
43
+ o(g, { label: "登录组织名称" }, {
44
+ default: u(() => [a(l(e.data?.orgName), 1)]),
45
+ _: 1
46
+ }),
47
+ o(g, { label: "登录IP" }, {
48
+ default: u(() => [a(l(e.data?.loginIp), 1)]),
49
+ _: 1
50
+ }),
51
+ o(g, { label: "登录时间" }, {
52
+ default: u(() => [a(l(e.data?.loginTime), 1)]),
53
+ _: 1
54
+ }),
55
+ o(g, { label: "登录类型" }, {
56
+ default: u(() => [a(l(e.data?.loginType), 1)]),
57
+ _: 1
58
+ }),
59
+ o(g, { label: "操作设备/操作系统类型" }, {
60
+ default: u(() => [a(l(e.data?.deviceType), 1)]),
61
+ _: 1
62
+ }),
63
+ o(g, { label: "登录浏览器" }, {
64
+ default: u(() => [o(n, { "browser-name": e.data?.browserName }, null, 8, ["browser-name"])]),
65
+ _: 1
66
+ }),
67
+ o(g, { label: "登录是否成功" }, {
68
+ default: u(() => [a(l(e.data?.success ? "是" : "否"), 1)]),
69
+ _: 1
70
+ })
71
+ ]),
72
+ _: 1
73
+ })])]),
74
+ _: 1
75
+ }, 8, ["open"]);
76
+ };
77
+ }
78
+ }), g = /* @__PURE__ */ e({ default: () => _ }), _ = /* @__PURE__ */ t(h, [["__scopeId", "data-v-822a1086"]]);
79
+ //#endregion
80
+ export { g as n, _ as t };
@@ -1,26 +1,28 @@
1
- import { h as _plugin_vue_export_helper_default } from "./index.js";
2
- import "./browserType-B8A1Osvk.js";
3
- import { t as loginHistoryDetail_default } from "./loginHistoryDetail-CZnfmbbM.js";
4
- import { t as postLogLoginPage } from "./log-BYris9iT.js";
5
- import { PubinfoIcon, useAuth } from "pubinfo";
6
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
7
- import { Space } from "ant-design-vue/es";
8
- import { ProTable } from "@pubinfo/pro-components";
9
- import './login_history.css';var _hoisted_1 = {
1
+ import "./request-7X2hpUru.js";
2
+ import { h as e } from "./index.js";
3
+ import "./browserType-Bik20-72.js";
4
+ import { t } from "./loginHistoryDetail-Coba_ajy.js";
5
+ import { t as n } from "./log-DOMU9MyH.js";
6
+ import { PubinfoIcon as r, useAuth as i } from "pubinfo";
7
+ import { createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
8
+ import { Space as v } from "ant-design-vue/es";
9
+ import { ProTable as y } from "@pubinfo/pro-components";
10
+ import './login_history.css';//#region src/views/log_center/login_history.vue?vue&type=script&setup=true&lang.tsx
11
+ var b = {
10
12
  "w-full": "",
11
13
  "h-full": "",
12
14
  "py-10px": "",
13
15
  "px-10px": "",
14
16
  flex: "",
15
17
  "flex-col": ""
16
- }, _hoisted_2 = {
18
+ }, x = {
17
19
  key: 0,
18
20
  class: "flex items-center"
19
- }, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], login_history_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
21
+ }, S = { class: "ml-4px" }, C = ["onClick"], w = /* @__PURE__ */ e(/* @__PURE__ */ u({
20
22
  name: "LoginHistory",
21
23
  __name: "login_history",
22
24
  setup(e) {
23
- let { auth: u } = useAuth(), d = ref(), f = ref(!1), p = ref(), m = [
25
+ let { auth: u } = i(), w = m(), T = m(!1), E = m(), D = [
24
26
  {
25
27
  valueType: "a-input",
26
28
  hideInTable: !0,
@@ -138,8 +140,8 @@ import './login_history.css';var _hoisted_1 = {
138
140
  }
139
141
  }
140
142
  ];
141
- onMounted(g);
142
- async function h(e) {
143
+ f(k);
144
+ async function O(e) {
143
145
  let { current: t, pageSize: r, loginName: i, loginTime: a, realName: o, orgName: s, loginIp: c } = e, l = {
144
146
  pageSize: r,
145
147
  currentPage: t,
@@ -149,47 +151,48 @@ import './login_history.css';var _hoisted_1 = {
149
151
  loginStartTime: a[0].format("YYYY-MM-DD HH:mm:ss"),
150
152
  loginEndTime: a[1].format("YYYY-MM-DD HH:mm:ss")
151
153
  });
152
- let u = await postLogLoginPage(l);
154
+ let u = await n(l);
153
155
  return {
154
156
  success: u.success,
155
157
  data: u.data?.records ?? [],
156
158
  total: u.data?.total ?? 0
157
159
  };
158
160
  }
159
- function g() {
160
- d.value.reload();
161
+ function k() {
162
+ w.value.reload();
161
163
  }
162
- function _(e) {
163
- f.value = !0, p.value = e;
164
+ function A(e) {
165
+ T.value = !0, E.value = e;
164
166
  }
165
167
  return (e, n) => {
166
- let i = PubinfoIcon, u = Space;
167
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
168
+ let i = r, u = v;
169
+ return p(), s("div", b, [l(g(y), {
168
170
  ref_key: "tableRef",
169
- ref: d,
171
+ ref: w,
170
172
  "row-key": "id",
171
- request: h,
172
- columns: m,
173
+ request: O,
174
+ columns: D,
173
175
  "auto-height": "",
174
176
  scroll: { x: 1e3 }
175
177
  }, {
176
- bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "success" ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("i", { class: normalizeClass(["status-mark", [{ active: t.success }]]) }, null, 2), createElementVNode("span", _hoisted_3, toDisplayString(t.success ? "成功" : "失败"), 1)])) : createCommentVNode("", !0), e.dataIndex === "action" ? (openBlock(), createBlock(u, { key: 1 }, {
177
- default: withCtx(() => [createElementVNode("a", {
178
+ bodyCell: _(({ column: e, record: t }) => [e.dataIndex === "success" ? (p(), s("div", x, [c("i", { class: d(["status-mark", [{ active: t.success }]]) }, null, 2), c("span", S, h(t.success ? "成功" : "失败"), 1)])) : o("", !0), e.dataIndex === "action" ? (p(), a(u, { key: 1 }, {
179
+ default: _(() => [c("a", {
178
180
  class: "flex items-center",
179
- onClick: () => _(t)
180
- }, [createVNode(i, {
181
+ onClick: () => A(t)
182
+ }, [l(i, {
181
183
  name: "view",
182
184
  class: "text-20px"
183
- }), n[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_4)]),
185
+ }), n[1] ||= c("span", { class: "ml-4px" }, "查看", -1)], 8, C)]),
184
186
  _: 2
185
- }, 1024)) : createCommentVNode("", !0)]),
187
+ }, 1024)) : o("", !0)]),
186
188
  _: 1
187
- }, 512), createVNode(loginHistoryDetail_default, {
188
- visible: unref(f),
189
- data: unref(p),
190
- onClose: n[0] ||= (e) => f.value = !1
189
+ }, 512), l(t, {
190
+ visible: g(T),
191
+ data: g(E),
192
+ onClose: n[0] ||= (e) => T.value = !1
191
193
  }, null, 8, ["visible", "data"])]);
192
194
  };
193
195
  }
194
196
  }), [["__scopeId", "data-v-a52e4c4a"]]);
195
- export { login_history_default as default };
197
+ //#endregion
198
+ export { w as default };
@@ -0,0 +1,158 @@
1
+ import "./request-7X2hpUru.js";
2
+ import { h as e, l as t } from "./index.js";
3
+ import { t as n } from "./stores-C-zbXsms.js";
4
+ import "./animation_item-Coe-B0jQ.js";
5
+ import "./HCheckList-CAhQwX7m.js";
6
+ import { t as r } from "./setItem-DlhIkIgh.js";
7
+ import { PubinfoIcon as i } from "pubinfo";
8
+ import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, openBlock as d, reactive as f, renderList as p, toRef as m, unref as h } from "vue";
9
+ import { message as g } from "ant-design-vue";
10
+ import './menu_setting.css';//#region src/assets/lottie/menu/dark/enableHotkeys.json?url
11
+ var _ = new URL("json-asset-f28020f2.json", import.meta.url).href, v = new URL("json-asset-abe308fc.json", import.meta.url).href, y = new URL("json-asset-56bea508.json", import.meta.url).href, b = new URL("json-asset-5be4a28f.json", import.meta.url).href, x = new URL("json-asset-6bf334f4.json", import.meta.url).href, S = new URL("json-asset-2b54ed10.json", import.meta.url).href, C = new URL("json-asset-4702b37c.json", import.meta.url).href, w = new URL("json-asset-32fca43a.json", import.meta.url).href, T = new URL("json-asset-10eef4fe.json", import.meta.url).href, E = new URL("json-asset-cc209e34.json", import.meta.url).href, D = new URL("json-asset-23cfd18c.json", import.meta.url).href, O = new URL("json-asset-14b7b290.json", import.meta.url).href, k = {
12
+ "w-full": "",
13
+ "h-full": "",
14
+ "p-10px": ""
15
+ }, A = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, j = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, M = {
16
+ class: "mt-[22px] grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
17
+ aspect: "[3/2] "
18
+ }, N = /* @__PURE__ */ e(/* @__PURE__ */ u({
19
+ name: "MenuAnimationSetting",
20
+ __name: "index",
21
+ setup(e) {
22
+ let u = n(), N = m(u.globalSettings.menu, "menuMode"), P = [
23
+ {
24
+ icon: "i-jam-stop-sign",
25
+ value: ""
26
+ },
27
+ {
28
+ icon: ["head", "only-head"].includes(N.value) ? "i-ep-caret-top" : "i-ep-caret-left",
29
+ value: "arrow"
30
+ },
31
+ {
32
+ icon: ["side", "only-side"].includes(N.value) ? "i-tabler-minus-vertical" : "i-tabler-minus",
33
+ value: "line"
34
+ },
35
+ {
36
+ icon: "i-icon-park-outline-dot",
37
+ value: "dot"
38
+ }
39
+ ], F = f([
40
+ {
41
+ type: "switch",
42
+ name: "次导航保持展开一个",
43
+ descripe: "开启该功能后,次导航只保持单个菜单的展开",
44
+ open: u.globalSettings.menu.subMenuUniqueOpened,
45
+ activeStyle: "",
46
+ lightData: O,
47
+ darkData: S
48
+ },
49
+ {
50
+ type: "switch",
51
+ name: "次导航是否折叠",
52
+ descripe: "",
53
+ open: u.globalSettings.menu.subMenuCollapse,
54
+ activeStyle: "",
55
+ lightData: D,
56
+ darkData: x
57
+ },
58
+ {
59
+ type: "switch",
60
+ name: "显示次导航折叠按钮",
61
+ descripe: "",
62
+ open: u.globalSettings.menu.enableSubMenuCollapseButton,
63
+ activeStyle: "",
64
+ lightData: w,
65
+ darkData: v
66
+ },
67
+ {
68
+ type: "switch",
69
+ name: "是否圆角",
70
+ descripe: "",
71
+ open: u.globalSettings.menu.isRounded,
72
+ activeStyle: "",
73
+ lightData: T,
74
+ darkData: y
75
+ },
76
+ {
77
+ type: "check",
78
+ name: "激活风格",
79
+ descripe: "",
80
+ open: !0,
81
+ activeStyle: u.globalSettings.menu.menuActiveStyle,
82
+ styleOptions: P,
83
+ lightData: E,
84
+ darkData: b
85
+ },
86
+ {
87
+ type: "switch",
88
+ name: "是否启用快捷键",
89
+ descripe: "",
90
+ open: u.globalSettings.menu.enableHotkeys,
91
+ activeStyle: "",
92
+ lightData: C,
93
+ darkData: _
94
+ }
95
+ ]), I = "";
96
+ function L(e, t) {
97
+ switch (e) {
98
+ case 0:
99
+ u.globalSettings.menu.subMenuUniqueOpened = t, I = JSON.stringify({ menu: { subMenuUniqueOpened: t } });
100
+ break;
101
+ case 1:
102
+ u.globalSettings.menu.subMenuCollapse = t, I = JSON.stringify({ menu: { subMenuCollapse: t } });
103
+ break;
104
+ case 2:
105
+ u.globalSettings.menu.enableSubMenuCollapseButton = t, I = JSON.stringify({ menu: { enableSubMenuCollapseButton: t } });
106
+ break;
107
+ case 3:
108
+ u.globalSettings.menu.isRounded = t, I = JSON.stringify({ menu: { isRounded: t } });
109
+ break;
110
+ case 4:
111
+ u.globalSettings.menu.menuActiveStyle = t, I = JSON.stringify({ menu: { menuActiveStyle: t } });
112
+ break;
113
+ case 5:
114
+ u.globalSettings.menu.enableHotkeys = t, I = JSON.stringify({ menu: { enableHotkeys: t } });
115
+ break;
116
+ }
117
+ R(I);
118
+ }
119
+ function R(e) {
120
+ t({ content: e }).then((e) => {
121
+ e.success && g.success("设置成功");
122
+ });
123
+ }
124
+ return (e, t) => {
125
+ let n = i;
126
+ return d(), s("div", k, [c("div", A, [c("div", j, [l(n, {
127
+ name: "icon_menu",
128
+ class: "text-base mr-[6px]",
129
+ size: 22
130
+ }), t[0] ||= c("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "导航栏", -1)]), c("div", M, [(d(!0), s(a, null, p(h(F), (e, t) => (d(), o(r, {
131
+ key: e.name,
132
+ class: "mb-20px",
133
+ aspect: "[9/6]",
134
+ name: e.name,
135
+ descripe: e.descripe,
136
+ open: e.open,
137
+ type: e.type,
138
+ "active-style": e.activeStyle,
139
+ "style-options": e.styleOptions,
140
+ "light-animation-data": e.lightData,
141
+ "dark-animation-data": e.darkData,
142
+ onChange: (e) => L(t, e)
143
+ }, null, 8, [
144
+ "name",
145
+ "descripe",
146
+ "open",
147
+ "type",
148
+ "active-style",
149
+ "style-options",
150
+ "light-animation-data",
151
+ "dark-animation-data",
152
+ "onChange"
153
+ ]))), 128))])])]);
154
+ };
155
+ }
156
+ }), [["__scopeId", "data-v-189fafa9"]]);
157
+ //#endregion
158
+ export { N as default };
@@ -0,0 +1,5 @@
1
+ import { r as e } from "./chunk-WQLz0Won.js";
2
+ //#region src/assets/icons/not-data.svg
3
+ var t = /* @__PURE__ */ e({ default: () => n }), n = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%20viewBox='0%200%20190%20170'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cmask%20id='a'%20width='190'%20height='170'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h190v170H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3cellipse%20cx='95'%20cy='84.706'%20fill='url(%23c)'%20fill-opacity='.8'%20rx='65'%20ry='64.706'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3cg%20filter='url(%23d)'%3e%3crect%20width='146'%20height='98'%20x='22'%20y='35'%20fill='%23fff'%20rx='3.065'/%3e%3crect%20width='146'%20height='98'%20x='22'%20y='35'%20fill='url(%23e)'%20rx='3.065'/%3e%3c/g%3e%3crect%20width='101'%20height='6'%20x='58'%20y='78.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='90.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='102.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='114.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='54.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='66.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='9.254'%20height='4.083'%20x='66.193'%20y='39.46'%20fill='%23ADBACC'%20opacity='.499'%20rx='2.042'/%3e%3cpath%20fill='%23F2F4F6'%20d='M22%2044.188h28.789V133h-25.19C23.61%20133%2022%20131.629%2022%20129.938z'/%3e%3crect%20width='26.732'%20height='8.167'%20x='23.028'%20y='54.907'%20fill='%2306F'%20fill-opacity='.16'%20rx='1.022'/%3e%3crect%20width='20.563'%20height='3.063'%20x='26.112'%20y='57.458'%20fill='%23176DE6'%20rx='.511'/%3e%3cpath%20fill='%23176DE6'%20d='M23.028%2057.458h.223c.286%200%20.429%200%20.538.056a.5.5%200%200%201%20.223.223c.056.11.056.252.056.538v1.428c0%20.286%200%20.43-.056.539a.5.5%200%200%201-.223.223c-.11.055-.252.055-.538.055h-.141c-.029%200-.043%200-.054-.005a.05.05%200%200%201-.022-.022c-.006-.011-.006-.026-.006-.054z'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='49.291'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='65.625'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='73.792'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='81.958'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='90.125'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='98.292'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='12.338'%20height='3.063'%20x='26.112'%20y='126.875'%20fill='%23D8E0EB'%20rx='.511'/%3e%3cellipse%20cx='27.655'%20cy='39.594'%20fill='%23fff'%20opacity='.747'%20rx='1.542'%20ry='1.531'/%3e%3cellipse%20cx='33.824'%20cy='39.594'%20fill='%23fff'%20opacity='.747'%20rx='1.542'%20ry='1.531'/%3e%3cellipse%20cx='39.993'%20cy='39.594'%20fill='%23fff'%20opacity='.747'%20rx='1.542'%20ry='1.531'/%3e%3cg%20filter='url(%23f)'%3e%3cpath%20fill='%23fff'%20d='M22%2038.065A3.064%203.064%200%200%201%2025.064%2035h139.871A3.065%203.065%200%200%201%20168%2038.065v8.164H22z'/%3e%3cpath%20fill='url(%23g)'%20d='M22%2038.065A3.064%203.064%200%200%201%2025.064%2035h139.871A3.065%203.065%200%200%201%20168%2038.065v8.164H22z'/%3e%3c/g%3e%3crect%20width='21.592'%20height='3.063'%20x='30.226'%20y='39.083'%20fill='%23CFD8E5'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='8.225'%20height='3.063'%20x='151.549'%20y='39.083'%20fill='%23CFD8E5'%20opacity='.7'%20rx='1.022'/%3e%3ccircle%20cx='44.581'%20cy='25.29'%20r='1.935'%20fill='%23D9E8FD'/%3e%3ccircle%20cx='49.097'%20cy='22.064'%20r='1.29'%20fill='%23D9E8FD'/%3e%3ccircle%20cx='178.129'%20cy='96.903'%20r='3.871'%20fill='%23D9E8FD'/%3e%3ccircle%20cx='176.839'%20cy='86.581'%20r='1.29'%20fill='%23D9E8FD'/%3e%3cg%20filter='url(%23h)'%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20fill='%23fff'%20rx='3.065'/%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20fill='url(%23i)'%20rx='3.065'/%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20fill='%23F5F7FA'%20rx='3.065'/%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20stroke='%23E6E9ED'%20rx='3.065'/%3e%3c/g%3e%3crect%20width='64'%20height='21'%20x='106'%20y='60.706'%20fill='%23fff'%20rx='2'/%3e%3crect%20width='9'%20height='9'%20x='110'%20y='64.206'%20fill='%233AC27D'%20opacity='.15'%20rx='2'/%3e%3cpath%20fill='%2330B471'%20fill-rule='evenodd'%20d='M116.96%2066.175h-4.92a.33.33%200%200%200-.255.1.35.35%200%200%200-.097.262v4.338a.35.35%200%200%200%20.097.262c.067.07.16.105.255.1h4.92a.33.33%200%200%200%20.255-.1.35.35%200%200%200%20.097-.262v-4.338a.35.35%200%200%200-.097-.262.33.33%200%200%200-.255-.1m-2.46%203.615h-1.757v-.723h1.757zm-1.757-1.446h3.514v-.723h-3.514z'%20clip-rule='evenodd'/%3e%3crect%20width='3'%20height='3'%20x='109'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='114'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='119'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='124'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='129'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='134'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='164'%20y='75.706'%20fill='%23DADFE6'%20rx='.5'/%3e%3cpath%20fill='%23ADBACC'%20d='M123%2065.706a1%201%200%200%201%201-1h16a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-16a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3cpath%20fill='%23E8EBF1'%20d='M123%2070.706a1%201%200%200%201%201-1h42a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-42a1%201%200%200%201-1-1z'/%3e%3crect%20width='64'%20height='21'%20x='106'%20y='86.706'%20fill='%23fff'%20rx='2'/%3e%3crect%20width='9'%20height='9'%20x='110'%20y='90.206'%20fill='%231A78FF'%20opacity='.15'%20rx='2'/%3e%3cpath%20fill='%230070FF'%20d='m117.424%2096.28-.33-.117-2.241.808a1.04%201.04%200%200%201-.703%200l-2.244-.808-.33.118a.26.26%200%200%200-.17.24c0%20.108.068.204.17.24l2.836%201.023a.26.26%200%200%200%20.176%200l2.836-1.022a.26.26%200%200%200%20.17-.24.26.26%200%200%200-.17-.241z'/%3e%3cpath%20fill='%230070FF'%20d='m117.424%2094.747-.33-.118-2.241.807a1.04%201.04%200%200%201-.703%200l-2.244-.807-.33.118a.26.26%200%200%200-.17.24c0%20.108.068.204.17.24l2.836%201.023a.26.26%200%200%200%20.176%200l2.836-1.023a.26.26%200%200%200%20.17-.24.26.26%200%200%200-.17-.24'/%3e%3cpath%20fill='%230070FF'%20d='m117.424%2093.213-2.836-1.023a.26.26%200%200%200-.176%200l-2.836%201.023a.26.26%200%200%200-.17.24c0%20.108.068.204.17.24l2.836%201.023a.26.26%200%200%200%20.176%200l2.836-1.023a.26.26%200%200%200%20.17-.24.26.26%200%200%200-.17-.24'/%3e%3crect%20width='3'%20height='3'%20x='109'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='114'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='119'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='124'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='129'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='134'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='164'%20y='101.706'%20fill='%23DADFE6'%20rx='.5'/%3e%3cpath%20fill='%23ADBACC'%20d='M123%2091.706a1%201%200%200%201%201-1h20a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-20a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3cpath%20fill='%23E8EBF1'%20d='M123%2096.706a1%201%200%200%201%201-1h38a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-38a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3crect%20width='64'%20height='21'%20x='106'%20y='112.706'%20fill='%23fff'%20rx='2'/%3e%3crect%20width='9'%20height='9'%20x='110'%20y='116.206'%20fill='%23904EE2'%20opacity='.15'%20rx='2'/%3e%3cpath%20fill='%239046EB'%20d='M116.708%20120.306a.45.45%200%200%200-.408-.25h-1.585l.653-1.57a.424.424%200%200%200-.188-.532.46.46%200%200%200-.576.095l-2.25%202.596a.42.42%200%200%200-.062.461.46.46%200%200%200%20.408.249h1.585l-.653%201.57a.424.424%200%200%200%20.188.532.46.46%200%200%200%20.576-.094l2.25-2.597a.42.42%200%200%200%20.062-.46'/%3e%3crect%20width='3'%20height='3'%20x='109'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='114'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='119'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='124'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='129'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='134'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='164'%20y='127.706'%20fill='%23DADFE6'%20rx='.5'/%3e%3cpath%20fill='%23ADBACC'%20d='M123%20117.706a1%201%200%200%201%201-1h20a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-20a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3cpath%20fill='%23E8EBF1'%20d='M123%20122.706a1%201%200%200%201%201-1h38a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-38a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='166.5'%20x2='61.117'%20y1='161.206'%20y2='19.248'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23C4DCFF'/%3e%3cstop%20offset='1'%20stop-color='%23F5F7FA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='-46.531'%20x2='39.043'%20y1='81.461'%20y2='210.632'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F7F8FA'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3clinearGradient%20id='g'%20x1='-46.531'%20x2='-44.923'%20y1='40.324'%20y2='61.498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F7F8FA'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3clinearGradient%20id='i'%20x1='64.326'%20x2='147.037'%20y1='94.72'%20y2='167.095'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F7F8FA'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3cfilter%20id='b'%20width='150'%20height='152.412'%20x='20'%20y='15'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='8'/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.570833%200%200%200%200%200.749653%200%200%200%200%201%200%200%200%200.12%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='3'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%200.25%200'/%3e%3cfeBlend%20in2='effect1_dropShadow_76_32712'%20result='effect2_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect2_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='d'%20width='156'%20height='108'%20x='17'%20y='32'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='2.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.504167%200%200%200%200%200.711918%200%200%200%200%201%200%200%200%200.1%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='f'%20width='154.172'%20height='19.401'%20x='17.914'%20y='32.957'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2.043'/%3e%3cfeGaussianBlur%20stdDeviation='2.043'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.819608%200%200%200%200%200.85098%200%200%200%200%200.901961%200%200%200%200.3%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='h'%20width='87'%20height='99'%20x='94.5'%20y='49.5'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='2.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.504167%200%200%200%200%200.711918%200%200%200%200%201%200%200%200%200.2%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
4
+ //#endregion
5
+ export { t as n, n as t };
@@ -0,0 +1,92 @@
1
+ import { r as e } from "./chunk-WQLz0Won.js";
2
+ import { h as t } from "./index.js";
3
+ import { t as n } from "./browserType-Bik20-72.js";
4
+ import { createBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, toDisplayString as l, withCtx as u } from "vue";
5
+ import { Descriptions as d, DescriptionsItem as f, Drawer as p } from "ant-design-vue/es";
6
+ import './operateHistoryDetail.css';//#region src/views/log_center/components/operateHistoryDetail.vue?vue&type=script&setup=true&lang.ts
7
+ var m = { class: "detail-info" }, h = /* @__PURE__ */ s({
8
+ __name: "operateHistoryDetail",
9
+ props: {
10
+ visible: Boolean,
11
+ data: Object
12
+ },
13
+ emits: ["close"],
14
+ setup(e, { emit: t }) {
15
+ let s = t;
16
+ function h() {
17
+ s("close");
18
+ }
19
+ return (t, s) => {
20
+ let g = f, _ = d, v = p;
21
+ return c(), r(v, {
22
+ open: e.visible,
23
+ title: "操作日志",
24
+ placement: "right",
25
+ width: 900,
26
+ "footer-style": { textAlign: "right" },
27
+ onClose: h
28
+ }, {
29
+ default: u(() => [i("div", m, [o(_, { column: 2 }, {
30
+ default: u(() => [
31
+ o(g, { label: "操作说明" }, {
32
+ default: u(() => [a(l(e.data?.title), 1)]),
33
+ _: 1
34
+ }),
35
+ o(g, { label: "操作类型" }, {
36
+ default: u(() => [a(l(e.data?.operateType), 1)]),
37
+ _: 1
38
+ }),
39
+ o(g, { label: "操作时间" }, {
40
+ default: u(() => [a(l(e.data?.operateTime), 1)]),
41
+ _: 1
42
+ }),
43
+ o(g, { label: "操作模块" }, {
44
+ default: u(() => [a(l(e.data?.moduleName), 1)]),
45
+ _: 1
46
+ }),
47
+ o(g, { label: "请求参数" }, {
48
+ default: u(() => [a(l(e.data?.requestParams), 1)]),
49
+ _: 1
50
+ }),
51
+ o(g, { label: "请求方法" }, {
52
+ default: u(() => [a(l(e.data?.requestMethod), 1)]),
53
+ _: 1
54
+ }),
55
+ o(g, { label: "请求地址" }, {
56
+ default: u(() => [a(l(e.data?.requestUri), 1)]),
57
+ _: 1
58
+ }),
59
+ o(g, { label: "操作人IP" }, {
60
+ default: u(() => [a(l(e.data?.remoteAddr), 1)]),
61
+ _: 1
62
+ }),
63
+ o(g, { label: "服务端IP" }, {
64
+ default: u(() => [a(l(e.data?.serverAddr), 1)]),
65
+ _: 1
66
+ }),
67
+ o(g, { label: "是否异常" }, {
68
+ default: u(() => [a(l(e.data?.success ? "否" : "是"), 1)]),
69
+ _: 1
70
+ }),
71
+ o(g, { label: "执行时间" }, {
72
+ default: u(() => [a(l(e.data?.executeTime) + "ms ", 1)]),
73
+ _: 1
74
+ }),
75
+ o(g, { label: "操作设备/操作系统类型" }, {
76
+ default: u(() => [a(l(e.data?.deviceType), 1)]),
77
+ _: 1
78
+ }),
79
+ o(g, { label: "浏览器名称" }, {
80
+ default: u(() => [o(n, { "browser-name": e.data?.browserName }, null, 8, ["browser-name"])]),
81
+ _: 1
82
+ })
83
+ ]),
84
+ _: 1
85
+ })])]),
86
+ _: 1
87
+ }, 8, ["open"]);
88
+ };
89
+ }
90
+ }), g = /* @__PURE__ */ e({ default: () => _ }), _ = /* @__PURE__ */ t(h, [["__scopeId", "data-v-2d434ba5"]]);
91
+ //#endregion
92
+ export { g as n, _ as t };