@pubinfo/module-rbac 2.0.0-beta.10 → 2.0.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js → animation_item.vue_vue_type_script_setup_true_lang-BlABHm3g.js} +281 -281
- package/dist/cloneDeep-T2g9unQR.js +8 -0
- package/dist/components/OrgUserSelector/index.d.ts +3 -2
- package/dist/{gangweijiekou-BxJq_m0o.js → gangweijiekou-CwKBZZeP.js} +1 -1
- package/dist/{index-Cr17VOfm.js → index-47WJIE75.js} +4 -5
- package/dist/{index-U8kjKY6p.js → index-B-1Jsa5i.js} +5 -6
- package/dist/{index-DNf0NPrD.js → index-B9SnAiRA.js} +3 -3
- package/dist/{index-zh8PZXw2.js → index-BJjDMYx8.js} +16 -18
- package/dist/index-BmbYHtUo.js +465 -0
- package/dist/{index-s32GbmsJ.js → index-Buo7eb6B.js} +3 -3
- package/dist/{index-gmUZUdNl.js → index-CIjaZglK.js} +7 -8
- package/dist/{index-BhcAk-IH.js → index-CKLCWwPt.js} +1 -1
- package/dist/{index-yEpViVkx.js → index-CQ3vb_jT.js} +10 -11
- package/dist/{index-CFPhIFyG.js → index-CQNzD8gU.js} +2 -2
- package/dist/index-CSRC9-GH.js +7089 -0
- package/dist/{index-CTiFd9M0.js → index-CTrsWwwV.js} +3 -3
- package/dist/{index-BS45K9vK.js → index-CcmcknCO.js} +5 -6
- package/dist/{index-KboUdpTh.js → index-CdodWDJE.js} +12 -15
- package/dist/{index-a0E9oj3q.js → index-Cvwv0Juq.js} +12 -13
- package/dist/{index-Bl4v-7On.js → index-D6bWQnQN.js} +2 -2
- package/dist/{index-j_ln_NSt.js → index-D9_ODpMq.js} +10 -11
- package/dist/{index-UZeQsp70.js → index-DIjgGlG6.js} +3 -3
- package/dist/{index-BleenJqT.js → index-DWR59p3f.js} +3 -3
- package/dist/{index-Bbsiwecf.js → index-DvpacIa_.js} +33 -38
- package/dist/{index-D0yB_8b0.js → index-DwECKZP3.js} +3 -3
- package/dist/{index-CsHj-xDw.js → index-EoZZJdHB.js} +2 -2
- package/dist/{index-CLxqmFPw.js → index-f9JH7TH1.js} +3 -3
- package/dist/{index-Cej8u1qo.js → index-j_xONibm.js} +10 -11
- package/dist/{index-CLSeuhTv.js → index-r44NDBFT.js} +13 -14
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -3
- package/dist/{itemlist-xAbIKRVj.js → itemlist-CKM1UvLl.js} +9 -10
- package/dist/{jiaosejiekou-BfY4h7uI.js → jiaosejiekou-D8-56Dhc.js} +1 -1
- package/dist/{login_history-CuQv9Iw3.js → login_history-yZSmHn0C.js} +1 -1
- package/dist/{operate_history-CGP-1Xy2.js → operate_history-tJ1NKXS0.js} +10 -10
- package/dist/{pubJiaosezukongzhiqi-CvYfc8Uz.js → pubJiaosezukongzhiqi-DmA3aBGv.js} +1 -1
- package/dist/{setItem-DkOvmWXP.js → setItem-BbFsEYsU.js} +1 -1
- package/dist/{shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js → shujuquanxianzhubiaokongzhiqi-D378zzpa.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{useAppAndResource-D_b19V4t.js → useAppAndResource-BMsYsunz.js} +2 -2
- package/dist/{xitongpeizhifuwu-C1Vm-W1B.js → xitongpeizhifuwu-DDQ84VjN.js} +1 -1
- package/dist/{zidianfuwu-yCWHhOfO.js → zidianfuwu-CYqN5-ya.js} +1 -1
- package/dist/{ziyuanjiekou-DhrAbneq.js → ziyuanjiekou-Bv8jxVnB.js} +1 -1
- package/dist/{zuzhijiaosebiaokongzhiqi-B1g74RqL.js → zuzhijiaosebiaokongzhiqi-L6qeDk5-.js} +1 -1
- package/package.json +7 -8
- package/src/components/OrgUserSelector/index.ts +5 -0
- package/src/index.ts +1 -0
- package/dist/OrgSelector.vue_vue_type_script_setup_true_lang-BcL0IFuA.js +0 -567
- package/dist/_baseClone-CQ44TFeq.js +0 -191
- package/dist/cloneDeep-BI4WNBQ9.js +0 -8
- package/dist/index-DFR8dd2B.js +0 -785
- package/dist/index-Dm4sOX43.js +0 -27
- package/dist/index-MtXfNGqS.js +0 -1246
- package/dist/request-DQLgc7lT.js +0 -5
- package/dist/zuzhijiekou-PeZuFtCO.js +0 -85
- package/src/assets/icons/403.svg +0 -1
- package/src/assets/icons/403_dark.svg +0 -1
- package/src/assets/icons/404.svg +0 -1
- package/src/assets/icons/404_dark.svg +0 -1
- package/src/assets/icons/browser-360.svg +0 -1
- package/src/assets/icons/browser-chrome.svg +0 -1
- package/src/assets/icons/browser-edge.svg +0 -1
- package/src/assets/icons/browser-ie.svg +0 -1
- package/src/assets/icons/browser-other.svg +0 -1
- package/src/assets/icons/browser-qq.svg +0 -1
- package/src/assets/icons/browser-safari.svg +0 -1
- package/src/assets/icons/browser-uc.svg +0 -1
- package/src/assets/icons/change-org.svg +0 -1
- package/src/assets/icons/empty-data.svg +0 -1
- package/src/assets/icons/favorites.svg +0 -1
- package/src/assets/icons/image-load-fail.svg +0 -1
- package/src/assets/icons/logo-sig.svg +0 -1
- package/src/assets/icons/logo.svg +0 -1
- package/src/assets/icons/mima.svg +0 -1
- package/src/assets/icons/process-management.svg +0 -1
- package/src/assets/icons/project-management.svg +0 -1
- package/src/assets/icons/rbac.svg +0 -1
- package/src/assets/icons/test.svg +0 -1
- package/src/assets/icons/toolbar-collapse.svg +0 -1
- package/src/assets/icons/tree_icon.svg +0 -1
- package/src/assets/icons/tree_icon_checked.svg +0 -1
- package/src/assets/icons/workbench.svg +0 -1
|
@@ -2,14 +2,13 @@ import { Drawer as G, Form as ie, FormItem as ue, Input as ce, Select as de, Swi
|
|
|
2
2
|
import { useAuth as ve, PubinfoIcon as Re } from "pubinfo";
|
|
3
3
|
import { PlusCircleOutlined as xe } from "@ant-design/icons-vue";
|
|
4
4
|
import { defineComponent as L, reactive as be, ref as x, createBlock as T, openBlock as d, unref as o, isRef as M, withCtx as s, createVNode as n, createElementVNode as O, createTextVNode as A, createElementBlock as w, Fragment as z, renderList as he, toDisplayString as C, computed as Ie, createCommentVNode as N, resolveDirective as ke, withDirectives as q } from "vue";
|
|
5
|
-
import "./
|
|
6
|
-
import { g as we, p as ye, a as Ee, b as Se, c as De, d as Ce } from "./jiaosejiekou-
|
|
5
|
+
import { u as V } from "./index-CSRC9-GH.js";
|
|
6
|
+
import { g as we, p as ye, a as Ee, b as Se, c as De, d as Ce } from "./jiaosejiekou-D8-56Dhc.js";
|
|
7
7
|
import { ProTable as K } from "@pubinfo/pro-components";
|
|
8
8
|
import { message as Q, Badge as j, Modal as Oe } from "ant-design-vue";
|
|
9
|
-
import { u as Te } from "./useAppAndResource-
|
|
10
|
-
import { _ as $e } from "./index-
|
|
11
|
-
import {
|
|
12
|
-
import { p as Ue } from "./zuzhijiaosebiaokongzhiqi-B1g74RqL.js";
|
|
9
|
+
import { u as Te } from "./useAppAndResource-BMsYsunz.js";
|
|
10
|
+
import { _ as $e } from "./index-CKLCWwPt.js";
|
|
11
|
+
import { p as Ue } from "./zuzhijiaosebiaokongzhiqi-L6qeDk5-.js";
|
|
13
12
|
import { _ as Ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
13
|
var i = /* @__PURE__ */ ((b) => (b.ADD = "新增", b.EDIT = "修改", b.REMOVE = "删除", b.RESOURCE_RELATION = "分配查看", b))(i || {});
|
|
15
14
|
const X = [
|
|
@@ -402,7 +401,7 @@ const X = [
|
|
|
402
401
|
class: "ml-4px"
|
|
403
402
|
}, Je = ["onClick"], Ke = {
|
|
404
403
|
class: "ml-4px"
|
|
405
|
-
},
|
|
404
|
+
}, it = /* @__PURE__ */ L({
|
|
406
405
|
name: "Role",
|
|
407
406
|
__name: "index",
|
|
408
407
|
setup(b) {
|
|
@@ -630,5 +629,5 @@ const X = [
|
|
|
630
629
|
}
|
|
631
630
|
});
|
|
632
631
|
export {
|
|
633
|
-
|
|
632
|
+
it as default
|
|
634
633
|
};
|
|
@@ -4,7 +4,7 @@ import { PubinfoIcon as fe } from "pubinfo";
|
|
|
4
4
|
import { defineComponent as pe, mergeModels as T, computed as he, ref as k, useModel as ke, watch as me, createBlock as m, openBlock as u, withCtx as i, createElementVNode as c, toDisplayString as x, unref as f, createVNode as r, isRef as B, createCommentVNode as K, withModifiers as xe, createElementBlock as z, Fragment as _e, renderList as ve, createTextVNode as b } from "vue";
|
|
5
5
|
import { Form as ye } from "ant-design-vue";
|
|
6
6
|
import { R as P } from "./enum-CTUzwCYG.js";
|
|
7
|
-
import { u as ge } from "./index-
|
|
7
|
+
import { u as ge } from "./index-CSRC9-GH.js";
|
|
8
8
|
import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const Ce = { class: "h-340px border-1px border-solid flex flex-row border_color" }, Ie = { class: "w-360px flex flex-col" }, we = { class: "w-full h-34px bg-[#F2F3F5] flex px-15px items-center justify-between text-[#1D2129] dark:bg-[#1D2129] dark:text-[#F2F3F5]" }, Fe = { class: "flex-1 overflow-auto py-10px pr-10px" }, De = { class: "flex items-center" }, Ee = { class: "mx-4px" }, Ne = ["onClick"], Me = ["onClick"], Oe = ["onClick"], Ae = ["onClick"], Se = { class: "flex-1 flex flex-col border-solid border-0px border-l-1px border_color" }, $e = { class: "flex-1 p-10px overflow-auto" }, Re = /* @__PURE__ */ pe({
|
|
10
10
|
name: "ResourceSelector",
|
|
@@ -2,12 +2,11 @@ import { Drawer as H, Form as J, FormItem as K, Input as Q, Select as X, Textare
|
|
|
2
2
|
import { useAuth as ee, PubinfoIcon as te } from "pubinfo";
|
|
3
3
|
import { PlusCircleOutlined as ne } from "@ant-design/icons-vue";
|
|
4
4
|
import { defineComponent as A, reactive as oe, ref as D, createBlock as T, openBlock as b, unref as t, isRef as ae, withCtx as a, createVNode as o, createTextVNode as V, resolveDirective as se, createElementBlock as P, createCommentVNode as $, createElementVNode as C, toDisplayString as E, withDirectives as S } from "vue";
|
|
5
|
-
import { a as ie, p as le, b as re, d as ue } from "./gangweijiekou-
|
|
6
|
-
import "./
|
|
5
|
+
import { a as ie, p as le, b as re, d as ue } from "./gangweijiekou-CwKBZZeP.js";
|
|
6
|
+
import { u as B } from "./index-CSRC9-GH.js";
|
|
7
7
|
import { ProTable as ce } from "@pubinfo/pro-components";
|
|
8
|
-
import { message as W, Badge as
|
|
9
|
-
import { g as pe } from "./zidianfuwu-
|
|
10
|
-
import { u as M } from "./index-Dm4sOX43.js";
|
|
8
|
+
import { message as W, Badge as M, Modal as de } from "ant-design-vue";
|
|
9
|
+
import { g as pe } from "./zidianfuwu-CYqN5-ya.js";
|
|
11
10
|
var u = /* @__PURE__ */ ((g) => (g.ADD = "新增", g.EDIT = "编辑", g.REMOVE = "删除", g))(u || {});
|
|
12
11
|
const me = /* @__PURE__ */ A({
|
|
13
12
|
name: "DrawerPosition",
|
|
@@ -27,7 +26,7 @@ const me = /* @__PURE__ */ A({
|
|
|
27
26
|
}, x = oe({
|
|
28
27
|
title: "",
|
|
29
28
|
type: ""
|
|
30
|
-
}), [y, f] =
|
|
29
|
+
}), [y, f] = B(!1), s = D([]);
|
|
31
30
|
pe({ dictCode: "positionType" }).then((l) => {
|
|
32
31
|
var e;
|
|
33
32
|
s.value = (e = l.data) == null ? void 0 : e.map((d) => ({
|
|
@@ -43,7 +42,7 @@ const me = /* @__PURE__ */ A({
|
|
|
43
42
|
} else
|
|
44
43
|
n.value = { enable: !0 };
|
|
45
44
|
}
|
|
46
|
-
const [c, _] =
|
|
45
|
+
const [c, _] = B(!1);
|
|
47
46
|
function m() {
|
|
48
47
|
var l;
|
|
49
48
|
(l = i.value) == null || l.validate().then(() => {
|
|
@@ -203,7 +202,7 @@ const me = /* @__PURE__ */ A({
|
|
|
203
202
|
class: "ml-4px"
|
|
204
203
|
}, xe = ["onClick"], he = {
|
|
205
204
|
class: "ml-4px"
|
|
206
|
-
},
|
|
205
|
+
}, Se = /* @__PURE__ */ A({
|
|
207
206
|
name: "PositionManage",
|
|
208
207
|
__name: "index",
|
|
209
208
|
setup(g) {
|
|
@@ -261,10 +260,10 @@ const me = /* @__PURE__ */ A({
|
|
|
261
260
|
dataIndex: "enable",
|
|
262
261
|
customRender: ({
|
|
263
262
|
text: s
|
|
264
|
-
}) => s ? o(
|
|
263
|
+
}) => s ? o(M, {
|
|
265
264
|
status: "success",
|
|
266
265
|
text: "启用"
|
|
267
|
-
}, null) : o(
|
|
266
|
+
}, null) : o(M, {
|
|
268
267
|
status: "error",
|
|
269
268
|
text: "禁用"
|
|
270
269
|
}, null)
|
|
@@ -405,5 +404,5 @@ const me = /* @__PURE__ */ A({
|
|
|
405
404
|
}
|
|
406
405
|
});
|
|
407
406
|
export {
|
|
408
|
-
|
|
407
|
+
Se as default
|
|
409
408
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSettingsStore as m, PubinfoIcon as f } from "pubinfo";
|
|
2
2
|
import { defineComponent as u, ref as v, reactive as b, createElementBlock as i, openBlock as l, createElementVNode as e, createVNode as g, Fragment as _, renderList as y, unref as r, normalizeClass as d, toDisplayString as S } from "vue";
|
|
3
|
-
import "./
|
|
4
|
-
import { a as k } from "./xitongpeizhifuwu-
|
|
3
|
+
import "./index-CSRC9-GH.js";
|
|
4
|
+
import { a as k } from "./xitongpeizhifuwu-DDQ84VjN.js";
|
|
5
5
|
import { message as C } from "ant-design-vue";
|
|
6
6
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const w = {
|