@pubinfo/module-rbac 2.0.0-beta.10 → 2.0.0-beta.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.
- package/dist/{animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js → animation_item.vue_vue_type_script_setup_true_lang-B6l7UFLh.js} +281 -281
- package/dist/cloneDeep-8vjgfynq.js +8 -0
- package/dist/components/OrgUserSelector/index.d.ts +3 -2
- package/dist/{gangweijiekou-BxJq_m0o.js → gangweijiekou-DoXatrli.js} +1 -1
- package/dist/{index-a0E9oj3q.js → index--VjqUCuf.js} +12 -13
- package/dist/{index-U8kjKY6p.js → index-437l5ijj.js} +5 -6
- package/dist/{index-Cr17VOfm.js → index-B7KC3boK.js} +4 -5
- package/dist/{index-Cej8u1qo.js → index-BGQ99J2l.js} +10 -11
- package/dist/{index-KboUdpTh.js → index-BTXg6pUc.js} +12 -15
- package/dist/{index-yEpViVkx.js → index-BWc4onKs.js} +10 -11
- package/dist/{index-MtXfNGqS.js → index-BX1CIagK.js} +6486 -562
- package/dist/{index-j_ln_NSt.js → index-BXq997wj.js} +10 -11
- package/dist/{index-s32GbmsJ.js → index-BamJFV9x.js} +3 -3
- package/dist/{index-D0yB_8b0.js → index-BpZlEjLH.js} +3 -3
- package/dist/{index-CTiFd9M0.js → index-BuIXR9Hh.js} +3 -3
- package/dist/{index-CsHj-xDw.js → index-Bugwk8cz.js} +2 -2
- package/dist/index-C-Pw2BFu.js +465 -0
- package/dist/{index-CLSeuhTv.js → index-C0HpWF9q.js} +13 -14
- package/dist/{index-CFPhIFyG.js → index-CEdx5DQj.js} +2 -2
- package/dist/{index-BhcAk-IH.js → index-CIAVtlta.js} +1 -1
- package/dist/{index-zh8PZXw2.js → index-CLKpGgxo.js} +16 -18
- package/dist/{index-Bl4v-7On.js → index-CLmuHwlB.js} +2 -2
- package/dist/{index-BleenJqT.js → index-D8wjctLy.js} +3 -3
- package/dist/{index-CLxqmFPw.js → index-DX_JxMJ5.js} +3 -3
- package/dist/{index-DNf0NPrD.js → index-McuDTIU1.js} +3 -3
- package/dist/{index-Bbsiwecf.js → index-QwehJ7aS.js} +33 -38
- package/dist/{index-BS45K9vK.js → index-ZlLpG1f9.js} +5 -6
- package/dist/{index-UZeQsp70.js → index-dJJh8i9i.js} +3 -3
- package/dist/{index-gmUZUdNl.js → index-uJt-0g6U.js} +7 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -3
- package/dist/{itemlist-xAbIKRVj.js → itemlist-D7MJp8Qk.js} +9 -10
- package/dist/{jiaosejiekou-BfY4h7uI.js → jiaosejiekou-BCXAevvU.js} +1 -1
- package/dist/{login_history-CuQv9Iw3.js → login_history-DmfGnXsn.js} +1 -1
- package/dist/{operate_history-CGP-1Xy2.js → operate_history-BzX4YfHD.js} +10 -10
- package/dist/{pubJiaosezukongzhiqi-CvYfc8Uz.js → pubJiaosezukongzhiqi-DjhWqIMC.js} +1 -1
- package/dist/{setItem-DkOvmWXP.js → setItem-A0ExOAEh.js} +1 -1
- package/dist/{shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js → shujuquanxianzhubiaokongzhiqi-CmBc9yvH.js} +5 -5
- package/dist/style.css +1 -1
- package/dist/{useAppAndResource-D_b19V4t.js → useAppAndResource-BQ6GznA5.js} +2 -2
- package/dist/{xitongpeizhifuwu-C1Vm-W1B.js → xitongpeizhifuwu-DtEPa1iK.js} +1 -1
- package/dist/{zidianfuwu-yCWHhOfO.js → zidianfuwu-BUtPqzzu.js} +1 -1
- package/dist/{ziyuanjiekou-DhrAbneq.js → ziyuanjiekou-DMJynAKN.js} +1 -1
- package/dist/{zuzhijiaosebiaokongzhiqi-B1g74RqL.js → zuzhijiaosebiaokongzhiqi-Bf05-XJX.js} +1 -1
- package/package.json +4 -5
- 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/request-DQLgc7lT.js +0 -5
- package/dist/zuzhijiekou-PeZuFtCO.js +0 -85
package/dist/index-Dm4sOX43.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { isRef as f, shallowRef as i, toValue as a, onMounted as g, nextTick as v, getCurrentInstance as y } from "vue";
|
|
2
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
3
|
-
function h(e) {
|
|
4
|
-
return y();
|
|
5
|
-
}
|
|
6
|
-
function d(e, n = !0, u) {
|
|
7
|
-
h() ? g(e, u) : n ? e() : v(e);
|
|
8
|
-
}
|
|
9
|
-
function T(e = !1, n = {}) {
|
|
10
|
-
const {
|
|
11
|
-
truthyValue: u = !0,
|
|
12
|
-
falsyValue: o = !1
|
|
13
|
-
} = n, s = f(e), t = i(e);
|
|
14
|
-
function l(c) {
|
|
15
|
-
if (arguments.length)
|
|
16
|
-
return t.value = c, t.value;
|
|
17
|
-
{
|
|
18
|
-
const r = a(u);
|
|
19
|
-
return t.value = t.value === r ? a(o) : r, t.value;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return s ? l : [t, l];
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
d as t,
|
|
26
|
-
T as u
|
|
27
|
-
};
|
package/dist/request-DQLgc7lT.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { b as t } from "./request-DQLgc7lT.js";
|
|
2
|
-
function n(r, a) {
|
|
3
|
-
return t.Post("/rbac/org/addOrg", r, {
|
|
4
|
-
headers: {
|
|
5
|
-
"Content-Type": "application/json"
|
|
6
|
-
},
|
|
7
|
-
...a || {}
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
function o(r, a) {
|
|
11
|
-
return t.Get("/rbac/org/deleteOrg", {
|
|
12
|
-
params: {
|
|
13
|
-
...r
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function s(r, a) {
|
|
18
|
-
return t.Get("/rbac/org/info", {
|
|
19
|
-
params: {
|
|
20
|
-
...r
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function c(r, a) {
|
|
25
|
-
return t.Get("/rbac/org/orgListByParentId", {
|
|
26
|
-
params: {
|
|
27
|
-
// parentId has a default value: 0
|
|
28
|
-
parentId: "0",
|
|
29
|
-
...r
|
|
30
|
-
},
|
|
31
|
-
...a || {}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function g(r, a) {
|
|
35
|
-
return t.Post("/rbac/org/search", r, {
|
|
36
|
-
headers: {
|
|
37
|
-
"Content-Type": "application/json"
|
|
38
|
-
},
|
|
39
|
-
...a || {}
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function p(r, a) {
|
|
43
|
-
return t.Post("/rbac/org/searchOrgByIds", r, {
|
|
44
|
-
headers: {
|
|
45
|
-
"Content-Type": "application/json"
|
|
46
|
-
},
|
|
47
|
-
...a || {}
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function i(r, a) {
|
|
51
|
-
return t.Get("/rbac/org/searchSubOrgById", {
|
|
52
|
-
params: {
|
|
53
|
-
...r
|
|
54
|
-
},
|
|
55
|
-
...a || {}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function b(r, a) {
|
|
59
|
-
return t.Get("/rbac/org/searchTreeById", {
|
|
60
|
-
params: {
|
|
61
|
-
// id has a default value: 0
|
|
62
|
-
id: "0",
|
|
63
|
-
...r
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
function d(r, a) {
|
|
68
|
-
return t.Post("/rbac/org/updateOrg", r, {
|
|
69
|
-
headers: {
|
|
70
|
-
"Content-Type": "application/json"
|
|
71
|
-
},
|
|
72
|
-
...a || {}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
export {
|
|
76
|
-
n as a,
|
|
77
|
-
c as b,
|
|
78
|
-
b as c,
|
|
79
|
-
o as d,
|
|
80
|
-
g as e,
|
|
81
|
-
i as f,
|
|
82
|
-
s as g,
|
|
83
|
-
p as h,
|
|
84
|
-
d as p
|
|
85
|
-
};
|