@yqg/permission 1.3.0-alpha.2 → 1.3.0-alpha.4
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/{apply-modal-DGX6gpHK.js → apply-modal-D9_2FmCa.js} +1873 -1867
- package/dist/{category-selector-C4wE2v-D.js → category-selector-D1G2Jo59.js} +4 -4
- package/dist/{index-EF-patVm.js → index-BeojUeOt.js} +1 -1
- package/dist/{index-C28x1Vhk.js → index-Du2KvF0g.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/permission-item-C5rPuclI.js +1264 -0
- package/dist/{yqg-permission-DITcGx8T.js → yqg-permission-CFRz6J1H.js} +3 -3
- package/dist/yqg-permission.umd.js +56 -56
- package/package.json +1 -1
- package/src/App.vue +6 -8
- package/src/components/apply-modal.vue +12 -2
- package/src/components/permission-item.vue +3 -8
- package/src/hooks/useFormat.ts +2 -2
- package/src/main.ts +2 -2
- package/dist/permission-item-DcI9HD6q.js +0 -1266
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as Ce, i as Fn, C as Eu, T as hs, p as Se, c as b, a as ue, r as L, d as N, u as J, s as z, w as q, g as Ro, b as je, o as Le, t as hu, e as v, h as jt, f as jn, j as vu, k as At, l as Oe, m as vs, n as Lt, q as be, v as ko, x as CA, y as Iu, z as No, A as ni, B as mu, D as Is, E as ms, G as Ne, H as Qs, I as Qu, J as wu, K as st, L as oi, M as lt, N as ge, O as yu, P as ln, Q as bu, R as $e, S as Gn, U as ar, V as Pu } from "./index-
|
|
1
|
+
import { F as Ce, i as Fn, C as Eu, T as hs, p as Se, c as b, a as ue, r as L, d as N, u as J, s as z, w as q, g as Ro, b as je, o as Le, t as hu, e as v, h as jt, f as jn, j as vu, k as At, l as Oe, m as vs, n as Lt, q as be, v as ko, x as CA, y as Iu, z as No, A as ni, B as mu, D as Is, E as ms, G as Ne, H as Qs, I as Qu, J as wu, K as st, L as oi, M as lt, N as ge, O as yu, P as ln, Q as bu, R as $e, S as Gn, U as ar, V as Pu } from "./index-BeojUeOt.js";
|
|
2
2
|
function Qn(e) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return Qn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -14548,7 +14548,7 @@ const a0 = {
|
|
|
14548
14548
|
};
|
|
14549
14549
|
function s0(e) {
|
|
14550
14550
|
function t(i, a, l) {
|
|
14551
|
-
return i.map((s) => (s.key = s.feature, !s.children || s.children.length === 0 ? (s.categoryVOS = (s.categoryVOS || []).filter((c) => c.configWay !== a0.AUTO), [ft.NO].includes(s.businessApplyType) && (s.disabled = !0), [ft.OWNER
|
|
14551
|
+
return i.map((s) => (s.key = s.feature, !s.children || s.children.length === 0 ? (s.categoryVOS = (s.categoryVOS || []).filter((c) => c.configWay !== a0.AUTO), [ft.NO, ft.PENDING].includes(s.businessApplyType) && (s.disabled = !0), [ft.OWNER].includes(s.businessApplyType) && !s.categoryVOS.length && (s.disabled = !0)) : (s.children = t(s.children, a, l), s.children.every((c) => c.disabled) && (s.disabled = !0)), s)).sort((s, c) => (a.get(s.businessApplyType) ?? 0) - (a.get(c.businessApplyType) ?? 0) || (l.get(s.securityLevel) ?? 0) - (l.get(c.securityLevel) ?? 0));
|
|
14552
14552
|
}
|
|
14553
14553
|
const n = [null, ft.TEMP_OWNER, ft.PENDING, ft.OWNER, ft.NO], o = [null, "L1", "L2", "L3"], r = new Map(n.map((i, a) => [i, a])), A = new Map(o.map((i, a) => [i, a]));
|
|
14554
14554
|
return t(e, r, A);
|
|
@@ -14597,7 +14597,7 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14597
14597
|
CUSTOM: "custom"
|
|
14598
14598
|
};
|
|
14599
14599
|
Ge.config({ prefixCls: "yqg-permission-message" });
|
|
14600
|
-
const r = Pu(() => import("./apply-modal-
|
|
14600
|
+
const r = Pu(() => import("./apply-modal-D9_2FmCa.js").then((m) => m.k)), A = t, i = e, a = L(!1), l = L(), s = L(!1);
|
|
14601
14601
|
let c = L([]), u = L({
|
|
14602
14602
|
imageUrl: Bo,
|
|
14603
14603
|
status: ""
|