@pubinfo-pr/module-rbac 0.225.4 → 0.228.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 (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 +588 -6776
  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,216 @@
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-pr";
8
+ import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, isRef as f, openBlock as p, reactive as m, ref as h, renderList as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
9
+ import { message as b } from "ant-design-vue";
10
+ import { Button as x, Collapse as S, CollapsePanel as C, Input as w } from "ant-design-vue/es";
11
+ import './other_setting.css';//#region src/assets/lottie/other/dark/enableCopyright.json?url
12
+ var T = new URL("json-asset-66c640c6.json", import.meta.url).href, E = new URL("json-asset-f71ebbf4.json", import.meta.url).href, D = new URL("json-asset-838ac1ba.json", import.meta.url).href, O = new URL("json-asset-ab93a057.json", import.meta.url).href, k = new URL("json-asset-da91beb6.json", import.meta.url).href, A = new URL("json-asset-e894bc92.json", import.meta.url).href, j = {
13
+ "w-full": "",
14
+ "h-full": "",
15
+ "p-10px": ""
16
+ }, M = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, N = { class: "w-16px h-16px bg-[#fff] rounded-16px flex items-center justify-center" }, P = { class: "flex flex-row items-center" }, F = { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, I = {
17
+ key: 0,
18
+ class: "grid grid-cols-3 gap-[20px] px-30px w-full max-w-1300px"
19
+ }, L = { key: 1 }, R = { class: "grid-col-span-2 pt-40px" }, z = { class: "flex items-center mb-20px w-560px" }, B = { class: "flex items-center mb-20px w-560px" }, V = { class: "flex items-center mb-20px w-560px" }, H = { class: "flex items-center mb-20px w-560px" }, U = { class: "flex items-center flex-row-reverse w-560px" }, W = /* @__PURE__ */ e(/* @__PURE__ */ d({
20
+ name: "OtherSetting",
21
+ __name: "index",
22
+ setup(e) {
23
+ let d = n(), W = h([
24
+ "0",
25
+ "1",
26
+ "2"
27
+ ]), G = m([
28
+ {
29
+ tabName: "底部版权",
30
+ tabIcon: "icon_copyright",
31
+ list: [{
32
+ name: "是否启用",
33
+ type: "switch",
34
+ descripe: "",
35
+ parentName: "copyright",
36
+ childName: "enable",
37
+ open: d.globalSettings.copyright.enable,
38
+ activeStyle: "",
39
+ lightData: O,
40
+ darkData: T
41
+ }]
42
+ },
43
+ {
44
+ tabName: "页面",
45
+ tabIcon: "icon_mainpage",
46
+ list: [{
47
+ name: "是否启用快捷键",
48
+ type: "switch",
49
+ descripe: "",
50
+ parentName: "mainPage",
51
+ childName: "enableHotkeys",
52
+ open: d.globalSettings.mainPage.enableHotkeys,
53
+ activeStyle: "",
54
+ lightData: k,
55
+ darkData: E
56
+ }]
57
+ },
58
+ {
59
+ tabName: "顶栏",
60
+ tabIcon: "icon_topbar",
61
+ list: [{
62
+ name: "展示切换",
63
+ type: "switch",
64
+ descripe: "切换标签栏和工具栏的展示顺序",
65
+ parentName: "topbar",
66
+ childName: "switchTabbarAndToolbar",
67
+ open: d.globalSettings.topbar.switchTabbarAndToolbar,
68
+ activeStyle: "",
69
+ lightData: A,
70
+ darkData: D
71
+ }]
72
+ }
73
+ ]);
74
+ function K(e, t, n) {
75
+ if (d.globalSettings[e] && d.globalSettings[e][t] !== void 0) {
76
+ d.globalSettings[e][t] = n;
77
+ let r = {};
78
+ r[e] = {}, r[e][t] = n, q(JSON.stringify(r));
79
+ }
80
+ }
81
+ function q(e) {
82
+ t({ content: e }).then((e) => {
83
+ e.success && b.success("设置成功");
84
+ });
85
+ }
86
+ let J = h({
87
+ dates: d.globalSettings.copyright.dates,
88
+ company: d.globalSettings.copyright.company,
89
+ website: d.globalSettings.copyright.website,
90
+ beian: d.globalSettings.copyright.beian
91
+ });
92
+ function Y() {
93
+ let e = JSON.stringify({ copyright: {
94
+ dates: J.value.dates,
95
+ company: J.value.company,
96
+ website: J.value.website,
97
+ beian: J.value.beian
98
+ } });
99
+ d.globalSettings.copyright.dates = J.value.dates, d.globalSettings.copyright.company = J.value.company, d.globalSettings.copyright.website = J.value.website, d.globalSettings.copyright.beian = J.value.beian, q(e);
100
+ }
101
+ function X() {
102
+ J.value = {
103
+ dates: d.globalSettings.copyright.dates,
104
+ company: d.globalSettings.copyright.company,
105
+ website: d.globalSettings.copyright.website,
106
+ beian: d.globalSettings.copyright.beian
107
+ };
108
+ }
109
+ return (e, t) => {
110
+ let n = i, d = w, m = x, h = C, b = S;
111
+ return p(), s("div", j, [c("div", M, [u(b, {
112
+ "active-key": v(W),
113
+ "onUpdate:activeKey": t[4] ||= (e) => f(W) ? W.value = e : null,
114
+ bordered: !1,
115
+ ghost: !0,
116
+ "expand-icon-position": "end"
117
+ }, {
118
+ expandIcon: y((e) => [c("div", N, [u(n, {
119
+ name: "icon_jt",
120
+ class: "text-base",
121
+ rotate: e?.isActive ? 0 : 180,
122
+ size: 16,
123
+ onClick: (t) => console.log("pros", e)
124
+ }, null, 8, ["rotate", "onClick"])])]),
125
+ default: y(() => [(p(!0), s(a, null, g(v(G), (e, i) => (p(), o(h, {
126
+ key: i,
127
+ style: { "margin-bottom": "10px" }
128
+ }, {
129
+ header: y(() => [c("div", P, [u(n, {
130
+ name: e.tabIcon,
131
+ class: "text-base mr-[6px]",
132
+ size: 22
133
+ }, null, 8, ["name"]), c("span", F, _(e.tabName), 1)])]),
134
+ default: y(() => [e.tabName === "底部版权" ? (p(), s("div", L, [(p(!0), s(a, null, g(e.list, (e) => (p(), s("div", {
135
+ key: e.name,
136
+ class: "grid grid-cols-3 gap-[20px] px-30px w-full max-w-1300px"
137
+ }, [(p(), o(r, {
138
+ key: e.name,
139
+ aspect: "[9/6]",
140
+ name: e.name,
141
+ descripe: e.descripe,
142
+ open: e.open,
143
+ type: e.type,
144
+ "light-animation-data": e.lightData,
145
+ "dark-animation-data": e.darkData,
146
+ onChange: (t) => K(e.parentName, e.childName, t)
147
+ }, null, 8, [
148
+ "name",
149
+ "descripe",
150
+ "open",
151
+ "type",
152
+ "light-animation-data",
153
+ "dark-animation-data",
154
+ "onChange"
155
+ ])), c("div", R, [
156
+ c("div", z, [t[5] ||= c("label", { class: "w-130px text-right mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "日期", -1), u(d, {
157
+ value: v(J).dates,
158
+ "onUpdate:value": t[0] ||= (e) => v(J).dates = e,
159
+ class: "flex-1"
160
+ }, null, 8, ["value"])]),
161
+ c("div", B, [t[6] ||= c("label", { class: "w-130px text-right mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "公司", -1), u(d, {
162
+ value: v(J).company,
163
+ "onUpdate:value": t[1] ||= (e) => v(J).company = e,
164
+ class: "flex-1"
165
+ }, null, 8, ["value"])]),
166
+ c("div", V, [t[7] ||= c("label", { class: "w-130px text-right mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "网址", -1), u(d, {
167
+ value: v(J).website,
168
+ "onUpdate:value": t[2] ||= (e) => v(J).website = e,
169
+ class: "flex-1"
170
+ }, null, 8, ["value"])]),
171
+ c("div", H, [t[8] ||= c("label", { class: "w-130px text-right mr-10px text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, "备案", -1), u(d, {
172
+ value: v(J).beian,
173
+ "onUpdate:value": t[3] ||= (e) => v(J).beian = e,
174
+ class: "flex-1"
175
+ }, null, 8, ["value"])]),
176
+ c("div", U, [u(m, {
177
+ style: { "margin-left": "10px" },
178
+ onClick: X
179
+ }, {
180
+ default: y(() => [...t[9] ||= [l(" 重置 ", -1)]]),
181
+ _: 1
182
+ }), u(m, {
183
+ type: "primary",
184
+ onClick: Y
185
+ }, {
186
+ default: y(() => [...t[10] ||= [l(" 确定 ", -1)]]),
187
+ _: 1
188
+ })])
189
+ ])]))), 128))])) : (p(), s("div", I, [(p(!0), s(a, null, g(e.list, (e) => (p(), o(r, {
190
+ key: e.name,
191
+ aspect: "[9/6]",
192
+ name: e.name,
193
+ descripe: e.descripe,
194
+ open: e.open,
195
+ type: e.type,
196
+ "light-animation-data": e.lightData,
197
+ "dark-animation-data": e.darkData,
198
+ onChange: (t) => K(e.parentName, e.childName, t)
199
+ }, null, 8, [
200
+ "name",
201
+ "descripe",
202
+ "open",
203
+ "type",
204
+ "light-animation-data",
205
+ "dark-animation-data",
206
+ "onChange"
207
+ ]))), 128))]))]),
208
+ _: 2
209
+ }, 1024))), 128))]),
210
+ _: 1
211
+ }, 8, ["active-key"])])]);
212
+ };
213
+ }
214
+ }), [["__scopeId", "data-v-1286401b"]]);
215
+ //#endregion
216
+ export { W as default };
@@ -0,0 +1,111 @@
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 { t as r } from "./animation_item-Coe-B0jQ.js";
5
+ import { PubinfoIcon as i } from "pubinfo-pr";
6
+ import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, isRef as d, normalizeClass as f, openBlock as p, reactive as m, ref as h, renderList as g, toDisplayString as _, toRefs as v, unref as y } from "vue";
7
+ import { message as b } from "ant-design-vue";
8
+ import { Switch as x } from "ant-design-vue/es";
9
+ import './page_animation_setting.css';//#region src/assets/lottie/page_animation/dark/fadeinout.json?url
10
+ var S = new URL("json-asset-cfdffceb.json", import.meta.url).href, C = new URL("json-asset-5e6d7cfa.json", import.meta.url).href, w = new URL("json-asset-4189453f.json", import.meta.url).href, T = new URL("json-asset-ff2e97c4.json", import.meta.url).href, E = new URL("json-asset-68393156.json", import.meta.url).href, D = new URL("json-asset-265a0a5d.json", import.meta.url).href, O = new URL("json-asset-837ec087.json", import.meta.url).href, k = new URL("json-asset-1b02359f.json", import.meta.url).href, A = new URL("json-asset-3a75445b.json", import.meta.url).href, j = new URL("json-asset-e80720aa.json", import.meta.url).href, M = {
11
+ "w-full": "",
12
+ "h-full": "",
13
+ "p-10px": ""
14
+ }, N = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, P = { class: "bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]" }, F = { class: "mt-[15px] flex-1 flex flex-col" }, I = { class: "flex flex-row items-center" }, L = { class: "mt-[15px] flex-1 flex flex-row" }, R = {
15
+ class: "flex-auto grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
16
+ aspect: "[3/2]"
17
+ }, z = [
18
+ "onClick",
19
+ "onMouseenter",
20
+ "onMouseleave"
21
+ ], B = { class: "text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, V = { class: "flex-1 mt-[20px] w-[75%] rounded-[8px] jb py-[10px] flex justify-center" }, H = /* @__PURE__ */ e(/* @__PURE__ */ u({
22
+ name: "PageAnimationSetting",
23
+ __name: "index",
24
+ setup(e) {
25
+ let u = n(), { enableTransition: H, transitionMode: U } = v(u.globalSettings.mainPage), W = h([]), G = m([
26
+ {
27
+ descripe: "淡入淡出",
28
+ active: "fade",
29
+ class: "mode-fade",
30
+ lightData: D,
31
+ darkData: S
32
+ },
33
+ {
34
+ descripe: "向左滑动",
35
+ active: "slide-left",
36
+ class: "mode-slide-left",
37
+ lightData: k,
38
+ darkData: w
39
+ },
40
+ {
41
+ descripe: "向右滑动",
42
+ active: "slide-right",
43
+ class: "mode-slide-right",
44
+ lightData: A,
45
+ darkData: T
46
+ },
47
+ {
48
+ descripe: "向上滑动",
49
+ active: "slide-top",
50
+ class: "mode-slide-top",
51
+ lightData: j,
52
+ darkData: E
53
+ },
54
+ {
55
+ descripe: "向下滑动",
56
+ active: "slide-bottom",
57
+ class: "mode-slide-bottom",
58
+ lightData: O,
59
+ darkData: C
60
+ }
61
+ ]);
62
+ function K(e) {
63
+ W.value[e] && W.value[e]?.play();
64
+ }
65
+ function q(e) {
66
+ W.value[e] && W.value[e]?.stop();
67
+ }
68
+ let J = h(H.value);
69
+ function Y(e) {
70
+ u.globalSettings.mainPage.enableTransition = e, Z(JSON.stringify({ mainPage: { enableTransition: e } }));
71
+ }
72
+ function X(e) {
73
+ e && (U.value = e, u.globalSettings.mainPage.transitionMode = e, Z(JSON.stringify({ mainPage: { transitionMode: e } })));
74
+ }
75
+ function Z(e) {
76
+ t({ content: e }).then((e) => {
77
+ e.success && b.success("设置成功");
78
+ });
79
+ }
80
+ return (e, t) => {
81
+ let n = i, u = x;
82
+ return p(), s("div", M, [c("div", N, [c("div", P, [l(n, {
83
+ name: "icon_menu",
84
+ class: "text-base mr-[6px]",
85
+ size: 22
86
+ }), t[1] ||= c("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "页面切换动画", -1)]), c("div", F, [c("div", I, [t[2] ||= c("div", { class: "w-[110px] text-right font-400 text-[#4e5969] text-[14px] dark:text-[#C9CDD4]" }, " 开启动画效果 ", -1), l(u, {
87
+ checked: y(J),
88
+ "onUpdate:checked": t[0] ||= (e) => d(J) ? J.value = e : null,
89
+ class: "ml-30px!",
90
+ "checked-children": "开启",
91
+ "un-checked-children": "关闭",
92
+ onChange: Y
93
+ }, null, 8, ["checked"])]), c("div", L, [t[3] ||= c("div", { class: "flex-none w-[110px] text-right font-400 text-[#4e5969] text-[14px] pt-10px dark:text-[#C9CDD4]" }, " 动画模式 ", -1), c("div", R, [(p(!0), s(a, null, g(y(G), (e, t) => (p(), s("div", {
94
+ key: e.active,
95
+ class: f(["item dark:bg-[#3a3e43]!", [y(U) === e.active ? "active" : "", `item-${e.active}`]]),
96
+ aspect: "[9/6]",
97
+ onClick: (t) => X(e.active),
98
+ onMouseenter: (e) => K(t),
99
+ onMouseleave: (e) => q(t)
100
+ }, [c("div", B, _(e.descripe), 1), c("div", V, [(p(), o(r, {
101
+ key: t,
102
+ ref_for: !0,
103
+ ref: (e) => y(W)[t] = e,
104
+ "light-animation-data": e.lightData,
105
+ "dark-animation-data": e.darkData
106
+ }, null, 8, ["light-animation-data", "dark-animation-data"]))])], 42, z))), 128))])])])])]);
107
+ };
108
+ }
109
+ }), [["__scopeId", "data-v-fa18e8e3"]]);
110
+ //#endregion
111
+ export { H as default };
@@ -0,0 +1,66 @@
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-pr";
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 './page_w_setting.css';//#region src/views/page_w_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: "PageWSetting",
17
+ __name: "index",
18
+ setup(e) {
19
+ let c = n(), w = f(c.globalSettings.layout.widthMode), T = d([
20
+ {
21
+ describe: "自适应",
22
+ active: "adaption",
23
+ class: "mode-adaption"
24
+ },
25
+ {
26
+ describe: "自适应 (有最小宽度)",
27
+ active: "adaption-min-width",
28
+ class: "mode-adaption-min-width"
29
+ },
30
+ {
31
+ describe: "定宽居中",
32
+ active: "center",
33
+ class: "mode-center"
34
+ },
35
+ {
36
+ describe: "定宽居中 (有最大宽度)",
37
+ active: "center-max-width",
38
+ class: "mode-center-max-width"
39
+ }
40
+ ]);
41
+ function E(e) {
42
+ e && (w.value = e, c.globalSettings.layout.widthMode = e, t({ content: JSON.stringify({ layout: { widthMode: e } }) }).then((e) => {
43
+ e.success && g.success("设置成功");
44
+ }));
45
+ }
46
+ return (e, t) => {
47
+ let n = r;
48
+ return u(), a("div", _, [o("div", v, [o("div", y, [s(n, {
49
+ name: "icon_page_size",
50
+ class: "text-base mr-[6px]",
51
+ size: 22
52
+ }), 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", {
53
+ key: e.active,
54
+ class: l(["item dark:bg-[#3A3E43]", [h(w) === e.active ? "active" : "", `item-${e.active}`]]),
55
+ aspect: "[9/6]",
56
+ onClick: (t) => E(e.active)
57
+ }, [
58
+ o("div", C, m(e.describe), 1),
59
+ t[1] ||= o("div", { class: "my-12px w-48px h-32px mode" }, null, -1),
60
+ t[2] ||= o("div", { class: "flex-1 w-[75%] rounded-[8px] jb py-[10px] flex justify-center" }, [o("div", { class: "layout-demo" })], -1)
61
+ ], 10, S))), 128))])])])]);
62
+ };
63
+ }
64
+ }), [["__scopeId", "data-v-5d275d6b"]]);
65
+ //#endregion
66
+ export { w as default };
@@ -0,0 +1,169 @@
1
+ import "./request-7X2hpUru.js";
2
+ import { gt as e, pt as t } from "./rbac-B59CVHDt.js";
3
+ import { r as n, t as r } from "./drawerPosition-BmM9mLlP.js";
4
+ import { PubinfoIcon as i, useAuth as a } from "pubinfo-pr";
5
+ import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
6
+ import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
7
+ import { Badge as x, Modal as S, message as C } from "ant-design-vue";
8
+ import { Button as w, Space as T } from "ant-design-vue/es";
9
+ import { ProTable as E } from "@pubinfo/pro-components";
10
+ //#region src/views/position/index.vue?vue&type=script&setup=true&lang.tsx
11
+ var D = {
12
+ "py-10px": "",
13
+ "px-10px": "",
14
+ "w-full": "",
15
+ "h-full": ""
16
+ }, O = {
17
+ key: 0,
18
+ class: "flex items-center"
19
+ }, k = { class: "ml-4px" }, A = ["onClick"], j = { class: "ml-4px" }, M = ["onClick"], N = { class: "ml-4px" }, P = /* @__PURE__ */ f({
20
+ name: "PositionManage",
21
+ __name: "index",
22
+ setup(f) {
23
+ let { auth: P } = a(), F = m(), I = m();
24
+ function L() {
25
+ F.value?.reload();
26
+ }
27
+ async function R(t) {
28
+ let { current: n, pageSize: r, ...i } = t, a = await e({
29
+ currentPage: n,
30
+ pageSize: r,
31
+ ...i
32
+ });
33
+ return {
34
+ success: a.success,
35
+ data: a.data?.records ?? [],
36
+ total: a.data?.total ?? 0
37
+ };
38
+ }
39
+ let z = [
40
+ {
41
+ valueType: "a-input",
42
+ bind: "value",
43
+ minWidth: 200,
44
+ title: "岗位名称",
45
+ dataIndex: "name",
46
+ ellipsis: !0,
47
+ fieldProps: {
48
+ placeholder: "请输入岗位名称",
49
+ allowClear: !0
50
+ }
51
+ },
52
+ {
53
+ hideInSearch: !0,
54
+ minWidth: 100,
55
+ title: "岗位编码",
56
+ dataIndex: "code",
57
+ ellipsis: !0
58
+ },
59
+ {
60
+ hideInSearch: !0,
61
+ minWidth: 100,
62
+ title: "岗位类别",
63
+ dataIndex: "type",
64
+ ellipsis: !0
65
+ },
66
+ {
67
+ hideInSearch: !0,
68
+ minWidth: 100,
69
+ title: "是否启用",
70
+ dataIndex: "enable",
71
+ customRender: ({ text: e }) => e ? d(x, {
72
+ status: "success",
73
+ text: "启用"
74
+ }, null) : d(x, {
75
+ status: "error",
76
+ text: "禁用"
77
+ }, null)
78
+ },
79
+ {
80
+ hideInSearch: !0,
81
+ minWidth: 100,
82
+ title: "描述",
83
+ dataIndex: "description",
84
+ ellipsis: !0
85
+ },
86
+ {
87
+ hideInSearch: !0,
88
+ width: 160,
89
+ title: "操作",
90
+ dataIndex: "action",
91
+ fixed: "right",
92
+ hideInTable() {
93
+ return !P([
94
+ "region_add_child",
95
+ "region_edit",
96
+ "region_remove"
97
+ ]);
98
+ }
99
+ }
100
+ ];
101
+ function B(e, r) {
102
+ switch (e) {
103
+ case n.EDIT:
104
+ I.value?.open(e, r);
105
+ break;
106
+ case n.ADD:
107
+ I.value?.open(e);
108
+ break;
109
+ case n.REMOVE:
110
+ S.confirm({
111
+ title: "删除",
112
+ content: "确定要删除该岗位吗?",
113
+ onOk() {
114
+ t({ id: r?.id }).then((e) => {
115
+ e.success && (C.success("删除成功"), L());
116
+ });
117
+ }
118
+ });
119
+ break;
120
+ }
121
+ }
122
+ return (e, t) => {
123
+ let a = b, f = w, m = i, x = T, S = h("auth");
124
+ return p(), c("div", D, [d(_(E), {
125
+ ref_key: "tableRef",
126
+ ref: F,
127
+ "row-key": "id",
128
+ request: R,
129
+ columns: z,
130
+ "auto-height": "",
131
+ scroll: { x: 1100 }
132
+ }, {
133
+ toolbar: v(() => [y((p(), o(f, {
134
+ type: "primary",
135
+ onClick: t[0] ||= (e) => B(_(n).ADD)
136
+ }, {
137
+ default: v(() => [d(a), u(" " + g(_(n).ADD), 1)]),
138
+ _: 1
139
+ })), [[S, "position_add"]])]),
140
+ bodyCell: v(({ column: e, record: t }) => [e.dataIndex === "type" ? (p(), c("div", O, [d(m, {
141
+ name: "icon_position_type",
142
+ class: "text-20px"
143
+ }), l("span", k, g(t.type), 1)])) : s("", !0), e.dataIndex === "action" ? (p(), o(x, { key: 1 }, {
144
+ default: v(() => [y((p(), c("a", {
145
+ class: "flex items-center",
146
+ onClick: (e) => B(_(n).EDIT, t)
147
+ }, [d(m, {
148
+ name: "edit",
149
+ class: "text-base"
150
+ }), l("span", j, g(_(n).EDIT), 1)], 8, A)), [[S, "position_edit"]]), y((p(), c("span", {
151
+ class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
152
+ onClick: (e) => B(_(n).REMOVE, t)
153
+ }, [d(m, {
154
+ name: "remove",
155
+ class: "text-base"
156
+ }), l("span", N, g(_(n).REMOVE), 1)], 8, M)), [[S, "position_remove"]])]),
157
+ _: 2
158
+ }, 1024)) : s("", !0)]),
159
+ _: 1
160
+ }, 512), d(r, {
161
+ ref_key: "drawerPositionRef",
162
+ ref: I,
163
+ onSubmit: t[1] ||= (e) => L()
164
+ }, null, 512)]);
165
+ };
166
+ }
167
+ });
168
+ //#endregion
169
+ export { P as default };