@pubinfo-pr/module-rbac 0.222.4 → 0.224.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 (149) hide show
  1. package/dist/{ResourceRelation-BwagNxld.js → ResourceRelation-CU-QpUhP.js} +1 -1
  2. package/dist/{ResourceRelation-CKZrGW9A.js → ResourceRelation-roz0a8Td.js} +1 -1
  3. package/dist/ResourceRelation.css +1 -1
  4. package/dist/ResourceRelation2.css +1 -1
  5. package/dist/{UserAuthorization-sU8yGviz.js → UserAuthorization-2Fl4IGw7.js} +1 -1
  6. package/dist/UserAuthorization.css +1 -1
  7. package/dist/api/modules/assist/index.d.ts +0 -1
  8. package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
  9. package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
  10. package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
  11. package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
  12. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
  13. package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
  14. package/dist/{blackWhiteList-CaEw1uGl.js → blackWhiteList-DbG7JH8n.js} +1 -1
  15. package/dist/blackWhiteList.css +1 -1
  16. package/dist/breadcrumb_setting-Dx2Li6xt.js +108 -0
  17. package/dist/{createAndEditDataPermission-BfIc8HNt.js → createAndEditDataPermission-8_KNLzJT.js} +1 -1
  18. package/dist/createAndEditDataPermission.css +1 -1
  19. package/dist/{data-permission-CeSzz7-6.js → data-permission-LpuDLDm0.js} +2 -2
  20. package/dist/data-permission.css +1 -1
  21. package/dist/{drawerOrganization-CwtSFUj0.js → drawerOrganization-CPsQlz-f.js} +59 -24
  22. package/dist/{group-DmvSRTkz.js → group-CaOhkh72.js} +1 -1
  23. package/dist/group.css +1 -1
  24. package/dist/index.css +1 -1
  25. package/dist/index.js +44 -44
  26. package/dist/{layout_setting-DcFrUQtI.js → layout_setting-79srmFgJ.js} +1 -1
  27. package/dist/layout_setting.css +1 -1
  28. package/dist/{login_history-uB4F5Ddd.js → login_history-BiwaLpxA.js} +1 -1
  29. package/dist/login_history.css +1 -1
  30. package/dist/menu_setting-ChueWHs4.js +155 -0
  31. package/dist/{operate_history-eTC0gtt3.js → operate_history-sPd9IHMV.js} +28 -30
  32. package/dist/operate_history.css +1 -0
  33. package/dist/{organization-CEDkYrjK.js → organization-BXGT-lb7.js} +7 -3
  34. package/dist/organization.css +1 -1
  35. package/dist/other_setting-BEV_UK0g.js +213 -0
  36. package/dist/page_animation_setting-Cp5OnFpd.js +108 -0
  37. package/dist/page_animation_setting.css +1 -0
  38. package/dist/{page_w_setting-Bp9cayqE.js → page_w_setting-Q--ct16C.js} +6 -2
  39. package/dist/page_w_setting.css +1 -1
  40. package/dist/{role-WO4NM7Er.js → role-4UgEw3nH.js} +1 -1
  41. package/dist/{setItem-Bjl8zTpQ.js → setItem-Vkcwkj-O.js} +1 -1
  42. package/dist/setItem.css +1 -1
  43. package/dist/tabbar_setting-kbuTvrLB.js +139 -0
  44. package/dist/{theme_setting-Duv0kBY3.js → theme_setting-CEb7UYQO.js} +1 -1
  45. package/dist/theme_setting.css +1 -1
  46. package/dist/toolbar_setting-BG-k2UFc.js +140 -0
  47. package/dist/{user-DeVw-Ynu.js → user-BkUpcQC8.js} +2 -2
  48. package/dist/user.css +1 -1
  49. package/dist/watermark_setting-Cl2EtPAa.js +191 -0
  50. package/dist/watermark_setting.css +1 -1
  51. package/package.json +3 -3
  52. package/src/api/modules/assist/index.ts +0 -1
  53. package/src/api/modules/assist/qunzujiekou.ts +72 -0
  54. package/src/api/modules/assist/typings.d.ts +17 -129
  55. package/src/api/modules/rbac/gangweijiekou.ts +18 -0
  56. package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
  57. package/src/api/modules/rbac/typings.d.ts +133 -1
  58. package/src/api/modules/rbac/yonghujiekou.ts +122 -0
  59. package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
  60. package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
  61. package/src/components/GroupSelector/index.vue +24 -67
  62. package/src/components/OrgTree/index.vue +1 -1
  63. package/src/components/ResourceSelector/index.vue +15 -45
  64. package/src/views/blackWhiteList/index.vue +3 -9
  65. package/src/views/components/setItem.vue +2 -10
  66. package/src/views/data-permission/index.vue +1 -2
  67. package/src/views/group/index.vue +4 -7
  68. package/src/views/layout_setting/index.vue +20 -99
  69. package/src/views/log_center/login_history.vue +2 -7
  70. package/src/views/log_center/operate_history.vue +11 -4
  71. package/src/views/organization/components/drawerOrganization.vue +43 -0
  72. package/src/views/organization/index.vue +21 -23
  73. package/src/views/page_animation_setting/index.vue +23 -14
  74. package/src/views/page_w_setting/index.vue +6 -19
  75. package/src/views/role/components/ResourceRelation.vue +1 -2
  76. package/src/views/role_group/components/ResourceRelation.vue +1 -2
  77. package/src/views/safe_setting/index.vue +1 -1
  78. package/src/views/theme_setting/index.vue +17 -70
  79. package/src/views/user/components/UserAuthorization.vue +2 -2
  80. package/src/views/watermark_setting/index.vue +1 -4
  81. package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
  82. package/dist/breadcrumb_setting-CW3eWnlU.js +0 -108
  83. package/dist/lottie-03f0a035.json +0 -1
  84. package/dist/lottie-0ee63e7f.json +0 -1
  85. package/dist/lottie-10eef4fe.json +0 -1
  86. package/dist/lottie-13f452f1.json +0 -1
  87. package/dist/lottie-14b7b290.json +0 -1
  88. package/dist/lottie-15b8cef1.json +0 -1
  89. package/dist/lottie-15f77960.json +0 -1
  90. package/dist/lottie-1ae9b726.json +0 -1
  91. package/dist/lottie-1b02359f.json +0 -1
  92. package/dist/lottie-1ef286cd.json +0 -1
  93. package/dist/lottie-23cfd18c.json +0 -1
  94. package/dist/lottie-265a0a5d.json +0 -1
  95. package/dist/lottie-28d57c49.json +0 -1
  96. package/dist/lottie-2b54ed10.json +0 -1
  97. package/dist/lottie-2bb6f642.json +0 -1
  98. package/dist/lottie-2cdc07bd.json +0 -1
  99. package/dist/lottie-31c58607.json +0 -1
  100. package/dist/lottie-32884f23.json +0 -1
  101. package/dist/lottie-32fca43a.json +0 -1
  102. package/dist/lottie-3a75445b.json +0 -1
  103. package/dist/lottie-3f27d67c.json +0 -1
  104. package/dist/lottie-4189453f.json +0 -1
  105. package/dist/lottie-4702b37c.json +0 -1
  106. package/dist/lottie-520a5c68.json +0 -1
  107. package/dist/lottie-56bea508.json +0 -1
  108. package/dist/lottie-57c732a3.json +0 -1
  109. package/dist/lottie-5be4a28f.json +0 -1
  110. package/dist/lottie-5e6d7cfa.json +0 -1
  111. package/dist/lottie-64e176c9.json +0 -1
  112. package/dist/lottie-6583dca6.json +0 -1
  113. package/dist/lottie-66c640c6.json +0 -1
  114. package/dist/lottie-68393156.json +0 -1
  115. package/dist/lottie-688465aa.json +0 -1
  116. package/dist/lottie-6bf334f4.json +0 -1
  117. package/dist/lottie-7b4f72ce.json +0 -1
  118. package/dist/lottie-837ec087.json +0 -1
  119. package/dist/lottie-838ac1ba.json +0 -1
  120. package/dist/lottie-8465c2cf.json +0 -1
  121. package/dist/lottie-9e9f04a4.json +0 -1
  122. package/dist/lottie-a13964cb.json +0 -1
  123. package/dist/lottie-ab93a057.json +0 -1
  124. package/dist/lottie-abe308fc.json +0 -1
  125. package/dist/lottie-b24f2cd3.json +0 -1
  126. package/dist/lottie-bf00eaed.json +0 -1
  127. package/dist/lottie-cb22efd7.json +0 -1
  128. package/dist/lottie-cb953f20.json +0 -1
  129. package/dist/lottie-cc209e34.json +0 -1
  130. package/dist/lottie-cfdffceb.json +0 -1
  131. package/dist/lottie-d33c0299.json +0 -1
  132. package/dist/lottie-d430c8ca.json +0 -1
  133. package/dist/lottie-d8cfa560.json +0 -1
  134. package/dist/lottie-da91beb6.json +0 -1
  135. package/dist/lottie-e2bdf85c.json +0 -1
  136. package/dist/lottie-e34ad826.json +0 -1
  137. package/dist/lottie-e80720aa.json +0 -1
  138. package/dist/lottie-e894bc92.json +0 -1
  139. package/dist/lottie-f28020f2.json +0 -1
  140. package/dist/lottie-f71ebbf4.json +0 -1
  141. package/dist/lottie-fb1f4917.json +0 -1
  142. package/dist/lottie-ff2e97c4.json +0 -1
  143. package/dist/menu_setting-C5Pr_E9s.js +0 -155
  144. package/dist/other_setting-DaDLf9QC.js +0 -213
  145. package/dist/page_animation_setting-BzlBS0Sa.js +0 -109
  146. package/dist/tabbar_setting-C_B1WZn1.js +0 -139
  147. package/dist/toolbar_setting-BPROx6V9.js +0 -140
  148. package/dist/watermark_setting-r0rMSViF.js +0 -191
  149. package/src/api/modules/assist/gonggaofuwu.ts +0 -124
@@ -1,11 +1,12 @@
1
+ import { h as _plugin_vue_export_helper_default } from "./index.js";
1
2
  import "./browserType-B8A1Osvk.js";
2
3
  import { t as operateHistoryDetail_default } from "./operateHistoryDetail-HId-EZzy.js";
3
4
  import { n as postLogOperatePage } from "./log-BYris9iT.js";
4
5
  import { PubinfoIcon, useAuth } from "pubinfo-pr";
5
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
6
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
6
7
  import { Space } from "ant-design-vue/es";
7
8
  import { ProTable } from "@pubinfo/pro-components";
8
- var _hoisted_1 = {
9
+ import './operate_history.css';var _hoisted_1 = {
9
10
  "w-full": "",
10
11
  "h-full": "",
11
12
  "py-10px": "",
@@ -15,11 +16,11 @@ var _hoisted_1 = {
15
16
  }, _hoisted_2 = {
16
17
  key: 0,
17
18
  class: "flex items-center"
18
- }, _hoisted_3 = ["data-active"], _hoisted_4 = { class: "ml-4px" }, _hoisted_5 = ["onClick"], operate_history_default = /* @__PURE__ */ defineComponent({
19
+ }, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], operate_history_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
19
20
  name: "OperateHistory",
20
21
  __name: "operate_history",
21
- setup(l) {
22
- let { auth: d } = useAuth(), f = ref(), p = ref(!1), m = ref(), h = [
22
+ setup(e) {
23
+ let { auth: u } = useAuth(), d = ref(), f = ref(!1), p = ref(), m = [
23
24
  {
24
25
  valueType: "a-input",
25
26
  hideInTable: !0,
@@ -128,15 +129,15 @@ var _hoisted_1 = {
128
129
  width: 100,
129
130
  fixed: "right",
130
131
  hideInTable() {
131
- return !d("operate_history_view");
132
+ return !u("operate_history_view");
132
133
  }
133
134
  }
134
135
  ];
135
- onMounted(_);
136
- async function g(e) {
137
- let { current: n, pageSize: r, moduleName: i, realName: a, loginName: o, orgName: s, operateTime: c } = e, l = {
136
+ onMounted(g);
137
+ async function h(e) {
138
+ let { current: t, pageSize: r, moduleName: i, realName: a, loginName: o, orgName: s, operateTime: c } = e, l = {
138
139
  pageSize: r,
139
- currentPage: n,
140
+ currentPage: t,
140
141
  doSearchTotal: !0
141
142
  };
142
143
  i && Object.assign(l, { moduleName: i }), a && Object.assign(l, { realName: a }), s && Object.assign(l, { orgName: s }), o && Object.assign(l, { loginName: o }), c && c.length === 2 && Object.assign(l, {
@@ -150,43 +151,40 @@ var _hoisted_1 = {
150
151
  total: u.data?.total ?? 0
151
152
  };
152
153
  }
153
- function _() {
154
- f.value.reload();
154
+ function g() {
155
+ d.value.reload();
155
156
  }
156
- function v(e) {
157
- p.value = !0, m.value = e;
157
+ function _(e) {
158
+ f.value = !0, p.value = e;
158
159
  }
159
- return (t, r) => {
160
- let l = PubinfoIcon, u = Space;
160
+ return (e, n) => {
161
+ let i = PubinfoIcon, u = Space;
161
162
  return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
162
163
  ref_key: "tableRef",
163
- ref: f,
164
+ ref: d,
164
165
  "row-key": "id",
165
- request: g,
166
- columns: h,
166
+ request: h,
167
+ columns: m,
167
168
  "auto-height": "",
168
169
  scroll: { x: 1e3 }
169
170
  }, {
170
- bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "success" ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("i", {
171
- "data-active": t.success,
172
- class: "inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%] data-[active]:[background:#01d689]"
173
- }, null, 8, _hoisted_3), createElementVNode("span", _hoisted_4, toDisplayString(t.success ? "正常" : "异常"), 1)])) : createCommentVNode("", !0), e.dataIndex === "action" ? (openBlock(), createBlock(u, { key: 1 }, {
171
+ 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 }, {
174
172
  default: withCtx(() => [createElementVNode("a", {
175
173
  class: "flex items-center",
176
- onClick: () => v(t)
177
- }, [createVNode(l, {
174
+ onClick: () => _(t)
175
+ }, [createVNode(i, {
178
176
  name: "view",
179
177
  class: "text-20px"
180
- }), r[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_5)]),
178
+ }), n[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_4)]),
181
179
  _: 2
182
180
  }, 1024)) : createCommentVNode("", !0)]),
183
181
  _: 1
184
182
  }, 512), createVNode(operateHistoryDetail_default, {
185
- visible: unref(p),
186
- data: unref(m),
187
- onClose: r[0] ||= (e) => p.value = !1
183
+ visible: unref(f),
184
+ data: unref(p),
185
+ onClose: n[0] ||= (e) => f.value = !1
188
186
  }, null, 8, ["visible", "data"])]);
189
187
  };
190
188
  }
191
- });
189
+ }), [["__scopeId", "data-v-a30b4755"]]);
192
190
  export { operate_history_default as default };
@@ -0,0 +1 @@
1
+ .status-mark[data-v-a30b4755]{--un-bg-opacity:1;background-color:rgb(174 174 174/var(--un-bg-opacity)) ;border-radius:50%;width:.5rem;height:.5rem;margin-right:.25rem;display:inline-block}.status-mark.active[data-v-a30b4755]{background:#01d689}
@@ -3,7 +3,7 @@ import { t as cloneDeep } from "./cloneDeep-CSOSavu3.js";
3
3
  import { Lt as useToggle, S as postRbacOrgSearch, _ as getRbacOrgDeleteOrg, b as getRbacOrgSearchTreeById, h as _plugin_vue_export_helper_default, y as getRbacOrgOrgListByParentId } from "./index.js";
4
4
  import { t as not_data_default } from "./not-data-Bml86wdH.js";
5
5
  import "./useAppAndResource-B7FmNfKG.js";
6
- import { r as ACTION, t as drawerOrganization_default } from "./drawerOrganization-CwtSFUj0.js";
6
+ import { r as ACTION, t as drawerOrganization_default } from "./drawerOrganization-CPsQlz-f.js";
7
7
  import "./RoleSelector-gkar_UGG.js";
8
8
  import { t as drawerRole_default } from "./drawerRole-B7uCfHk-.js";
9
9
  import { PubinfoIcon } from "pubinfo-pr";
@@ -14969,7 +14969,11 @@ var zh_CN_default = { vxe: {
14969
14969
  }
14970
14970
  } };
14971
14971
  config({ i18n: (e, n) => import_xe_utils.default.toFormatString(import_xe_utils.default.get(zh_CN_default, e), n) });
14972
- var _hoisted_1 = { class: "w-full h-full p-10px" }, _hoisted_2 = { class: "org_page [list-style:none] relative box-border w-full h-full text-sm leading-[1.5714] text-[rgb(0_0_0_/_88%)] shadow-[0_1px_2px_0_rgba(0,0,0,0.03),0_1px_6px_-1px_rgba(0,0,0,0.02),0_2px_4px_0_rgba(0,0,0,0.02)] m-0 p-0 rounded-lg bg-[#fff] dark:bg-[#141414]" }, _hoisted_3 = { class: "flex items-center justify-between pl-6 pr-4 py-4" }, _hoisted_4 = { class: "flex items-center" }, _hoisted_5 = { class: "text-right" }, _hoisted_6 = { class: "items-center" }, _hoisted_7 = { class: "px-16px divider" }, _hoisted_8 = {
14972
+ var _hoisted_1 = {
14973
+ "w-full": "",
14974
+ "h-full": "",
14975
+ "p-10px": ""
14976
+ }, _hoisted_2 = { class: "org_page bg-[#fff] dark:bg-[#141414]" }, _hoisted_3 = { class: "search_panel" }, _hoisted_4 = { class: "left" }, _hoisted_5 = { class: "text-right" }, _hoisted_6 = { class: "right" }, _hoisted_7 = { class: "px-16px divider" }, _hoisted_8 = {
14973
14977
  class: "body_panel",
14974
14978
  style: { height: "calc(100% - 74px)" }
14975
14979
  }, _hoisted_9 = { class: "h-48px flex items-center px-16px" }, _hoisted_10 = {
@@ -15308,5 +15312,5 @@ var _hoisted_1 = { class: "w-full h-full p-10px" }, _hoisted_2 = { class: "org_p
15308
15312
  ]);
15309
15313
  };
15310
15314
  }
15311
- }), [["__scopeId", "data-v-f872b5c6"]]);
15315
+ }), [["__scopeId", "data-v-950b5712"]]);
15312
15316
  export { organization_default as default };
@@ -1 +1 @@
1
- .org_page[data-v-f872b5c6]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}[data-v-f872b5c6] .ant-divider-horizontal{margin:0}[data-v-f872b5c6] .vxe-table--body-wrapper{overflow-x:hidden}[data-v-f872b5c6] .vxe-tree--btn-wrapper{border:1px solid #f0f0f0;border-radius:.375rem;width:15px!important;height:15px!important}[data-v-f872b5c6] .vxe-tree--btn-wrapper:hover{border-color:#69b1ff!important}[data-v-f872b5c6] .vxe-tree--btn-wrapper:hover .vxe-tree--node-btn{color:#69b1ff!important}[data-v-f872b5c6] .vxe-header--column .vxe-resizable{background-color:var(--vxe-table-border-color);width:1px;height:1.6em;bottom:.875rem;right:0}[data-v-f872b5c6] [class*=vxe-icon-]{font-size:.75rem;line-height:1rem;transform:scaleX(.8)scaleY(.8)}
1
+ .org_page[data-v-950b5712]{box-sizing:border-box;--un-text-opacity:88%;width:100%;height:100%;color:rgb(0 0 0/var(--un-text-opacity)) ;--un-shadow:0 1px 2px 0 #00000008,0 1px 6px -1px #00000005,0 2px 4px 0 #00000005;box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);border-radius:.5rem;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;line-height:1.5714;list-style:none;position:relative}.search_panel[data-v-950b5712]{justify-content:space-between;align-items:center;padding:1rem 1rem 1rem 1.5rem;display:flex}.search_panel .left[data-v-950b5712],.search_panel .right[data-v-950b5712]{align-items:center;display:flex}[data-v-950b5712] .ant-divider-horizontal{margin:0}[data-v-950b5712] .vxe-table--body-wrapper{overflow-x:hidden}[data-v-950b5712] .vxe-tree--btn-wrapper{--un-border-opacity:1;border-width:1px;border-color:rgb(240 240 240/var(--un-border-opacity));border-style:solid;border-radius:.375rem;width:15px;height:15px;width:15px!important;height:15px!important}[data-v-950b5712] .vxe-tree--btn-wrapper:hover{border-color:#69b1ff!important}[data-v-950b5712] .vxe-tree--btn-wrapper:hover .vxe-tree--node-btn{color:#69b1ff!important}[data-v-950b5712] .vxe-header--column .vxe-resizable{background-color:var(--vxe-table-border-color);width:1px;height:1.6em;bottom:.875rem;right:0}[data-v-950b5712] [class*=vxe-icon-]{--un-scale-x:.8;--un-scale-y:.8;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));font-size:.75rem;line-height:1rem}