@yqg/permission 1.3.13 → 1.3.14-beta.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.
- package/dist/{apply-modal-OokdyEmj.js → apply-modal-CbdSpFHD.js} +4 -4
- package/dist/{category-selector-C-yZxEgO.js → category-selector-CeFM3lr8.js} +502 -474
- package/dist/{index-BkbJOH6j.js → index-D-ZB-Fhd.js} +3 -3
- package/dist/{index-CSnwgcu-.js → index-D_ujkA5Y.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/{permission-item-CZ7LWwNL.js → permission-item-DaZXxED4.js} +4 -4
- package/dist/{yqg-permission-D0O9c9lI.js → yqg-permission-C8hIbxln.js} +2 -2
- package/dist/yqg-permission.umd.js +42 -42
- package/package.json +2 -2
- package/src/App.vue +2 -2
- package/src/components/category-selector.vue +1 -1
- package/src/hooks/useAttributesCache.ts +64 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as g, P as c, a as B, c as ae, b4 as tt, ap as pn, ae as ot, a1 as it, Z as at, I as mn, a9 as lt, a8 as rt, aE as st, an as Y, b5 as gn, R as We, b6 as Le, Q as ie, b7 as vn, N as ut, O as ct } from "./yqg-permission-
|
|
2
|
-
import { d as ne, c as R, r as le, e as f, m as dt, i as ft, a as Ie, p as Ce, x as pt, s as A, w as oe, b as hn, l as ge, U as Ae, F as we, o as _e, X as mt, G as on, a0 as gt } from "./index-
|
|
3
|
-
import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-
|
|
1
|
+
import { _ as g, P as c, a as B, c as ae, b4 as tt, ap as pn, ae as ot, a1 as it, Z as at, I as mn, a9 as lt, a8 as rt, aE as st, an as Y, b5 as gn, R as We, b6 as Le, Q as ie, b7 as vn, N as ut, O as ct } from "./yqg-permission-C8hIbxln.js";
|
|
2
|
+
import { d as ne, c as R, r as le, e as f, m as dt, i as ft, a as Ie, p as Ce, x as pt, s as A, w as oe, b as hn, l as ge, U as Ae, F as we, o as _e, X as mt, G as on, a0 as gt } from "./index-D_ujkA5Y.js";
|
|
3
|
+
import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-CbdSpFHD.js";
|
|
4
4
|
function an(e, n) {
|
|
5
5
|
const {
|
|
6
6
|
key: o
|
|
@@ -4936,7 +4936,7 @@ function Af(e) {
|
|
|
4936
4936
|
function Pf(e) {
|
|
4937
4937
|
return se(e) ? document.querySelector(e) : e;
|
|
4938
4938
|
}
|
|
4939
|
-
const Rf = /* @__PURE__ */ Ko(() => import("./yqg-permission-
|
|
4939
|
+
const Rf = /* @__PURE__ */ Ko(() => import("./yqg-permission-C8hIbxln.js").then((e) => e.b8)), Mf = (e) => {
|
|
4940
4940
|
customElements.define(
|
|
4941
4941
|
e,
|
|
4942
4942
|
/* @__PURE__ */ gf(Rf, {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.yqg-permission-message{z-index:10010}.crane-wraper[data-v-b7acbf6e]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-b7acbf6e]{margin:10px}.crane-margin-right10[data-v-b7acbf6e]{margin-right:10px}.yqg-permission-modal-wrap .yqg-permission-modal-confirm-btns{text-align:center!important}.crane-step-wraper[data-v-dbf18219]{display:flex;align-items:center;width:100%;overflow-x:scroll;line-height:32px;padding-bottom:8px}.crane-step-node[data-v-dbf18219]{display:flex;align-items:center}.crane-step-icon[data-v-dbf18219]{margin:0 8px;height:auto;max-width:none}.crane-permission-title-tips[data-v-4f321073]{color:#ff4d4f;font-size:14px;margin-left:8px;font-weight:400}[data-v-4f321073] .yqg-permission-tree-list{margin-top:4px}[data-v-4f321073] .yqg-permission-tree-node-selected{background:none!important}[data-v-4f321073] .yqg-permission-tree-checkbox{margin:0!important}[data-v-4f321073] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-4f321073] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-4f321073] .yqg-permission-tree-treenode,[data-v-4f321073] .yqg-permission-tree-node-content-wrapper-normal,[data-v-4f321073] .yqg-permission-tree-title{width:100%!important}.yqg-permission-tree-list-wraper[data-v-4f321073] .yqg-permission-tree-list-scrollbar{display:block!important}.crane-category-wraper[data-v-
|
|
2
|
-
import { a1 as f } from "./index-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.yqg-permission-message{z-index:10010}.crane-wraper[data-v-b7acbf6e]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-b7acbf6e]{margin:10px}.crane-margin-right10[data-v-b7acbf6e]{margin-right:10px}.yqg-permission-modal-wrap .yqg-permission-modal-confirm-btns{text-align:center!important}.crane-step-wraper[data-v-dbf18219]{display:flex;align-items:center;width:100%;overflow-x:scroll;line-height:32px;padding-bottom:8px}.crane-step-node[data-v-dbf18219]{display:flex;align-items:center}.crane-step-icon[data-v-dbf18219]{margin:0 8px;height:auto;max-width:none}.crane-permission-title-tips[data-v-4f321073]{color:#ff4d4f;font-size:14px;margin-left:8px;font-weight:400}[data-v-4f321073] .yqg-permission-tree-list{margin-top:4px}[data-v-4f321073] .yqg-permission-tree-node-selected{background:none!important}[data-v-4f321073] .yqg-permission-tree-checkbox{margin:0!important}[data-v-4f321073] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-4f321073] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-4f321073] .yqg-permission-tree-treenode,[data-v-4f321073] .yqg-permission-tree-node-content-wrapper-normal,[data-v-4f321073] .yqg-permission-tree-title{width:100%!important}.yqg-permission-tree-list-wraper[data-v-4f321073] .yqg-permission-tree-list-scrollbar{display:block!important}.crane-category-wraper[data-v-b0210ff6]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-b0210ff6] .crane-category-wraper label{font-size:12px!important}[data-v-b0210ff6] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-b0210ff6] .yqg-permission-form-item{margin-bottom:18px}[data-v-b0210ff6] .yqg-permission-form-item-required{font-size:12px!important}[data-v-b0210ff6] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-b0210ff6]{font-size:14px;font-weight:700}.crane-required[data-v-b0210ff6]:before{display:inline-block;margin-inline-end:4px;color:#ff4d4f;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.crane-category-tips[data-v-b0210ff6]{color:#86909c;font-size:12px}.crane-category-line[data-v-b0210ff6]{height:1px;background-color:#c9cdd4;margin:10px 0}.crane-department-wraper[data-v-7299ba1e]{max-width:600px;max-height:300px;overflow-y:scroll}.crane-flex-center[data-v-7299ba1e]{display:flex;align-items:center;white-space:nowrap}.permission-item-wraper[data-v-7299ba1e]{padding-right:32px}.crane-checkbox-line[data-v-7299ba1e]{line-height:28px;display:flex;align-items:center}.crane-tag-position[data-v-7299ba1e]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-7299ba1e]{margin-right:0}.crane-margin-left-4[data-v-7299ba1e]{margin-left:4px}.crane-margin-right-4[data-v-7299ba1e]{margin-right:4px}.crane-margin-left-12[data-v-7299ba1e]{margin-left:12px}.crane-disabled-color[data-v-7299ba1e]{color:#c9cdd4}.crane-weak-color[data-v-7299ba1e]{color:#86909c}.crane-text-overflow[data-v-7299ba1e]{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
+
import { a1 as f } from "./index-D_ujkA5Y.js";
|
|
3
3
|
export {
|
|
4
4
|
f as default
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as he, Y as Te, a as H, a1 as We, b as ot, _ as T, ae as Xe, aX as Me, aZ as He, P as ae, a0 as Be, ar as at, as as it, aD as st, aY as rt, a_ as ct, ai as ut, ak as Ae, aj as dt, $ as je, N as vt, Q as mt, a$ as ft, R as gt, b0 as pt, aq as ht, b1 as bt, b2 as yt, b3 as St, aE as Ct, aP as X, aR as we, aS as At } from "./yqg-permission-
|
|
2
|
-
import { p as Ot, a as It, d as be, c as A, G as wt, w as Fe, E as Ye, q as _e, e as N, F as Ve, s as ve, b as Ne, y as oe, r as Qe, N as ue, L as U, K as Oe, R as de, P as K, M as J, U as Pe, S as M, O as xt, u as B, $ as Vt, Y as ze } from "./index-
|
|
3
|
-
import { j as Nt, L as Tt, p as Pt, K as Z, d as Et, F as Ft, e as Dt, f as Rt, Q as Bt } from "./apply-modal-
|
|
4
|
-
import { u as kt, b as $t, T as Lt, i as De, c as Mt, h as Ht, j as jt, k as _t, t as zt, B as Ut, e as Kt, f as Gt, g as Wt } from "./index-
|
|
1
|
+
import { c as he, Y as Te, a as H, a1 as We, b as ot, _ as T, ae as Xe, aX as Me, aZ as He, P as ae, a0 as Be, ar as at, as as it, aD as st, aY as rt, a_ as ct, ai as ut, ak as Ae, aj as dt, $ as je, N as vt, Q as mt, a$ as ft, R as gt, b0 as pt, aq as ht, b1 as bt, b2 as yt, b3 as St, aE as Ct, aP as X, aR as we, aS as At } from "./yqg-permission-C8hIbxln.js";
|
|
2
|
+
import { p as Ot, a as It, d as be, c as A, G as wt, w as Fe, E as Ye, q as _e, e as N, F as Ve, s as ve, b as Ne, y as oe, r as Qe, N as ue, L as U, K as Oe, R as de, P as K, M as J, U as Pe, S as M, O as xt, u as B, $ as Vt, Y as ze } from "./index-D_ujkA5Y.js";
|
|
3
|
+
import { j as Nt, L as Tt, p as Pt, K as Z, d as Et, F as Ft, e as Dt, f as Rt, Q as Bt } from "./apply-modal-CbdSpFHD.js";
|
|
4
|
+
import { u as kt, b as $t, T as Lt, i as De, c as Mt, h as Ht, j as jt, k as _t, t as zt, B as Ut, e as Kt, f as Gt, g as Wt } from "./index-D-ZB-Fhd.js";
|
|
5
5
|
function Xt() {
|
|
6
6
|
return /(mac\sos|macintosh)/i.test(navigator.appVersion);
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as de, i as Fn, C as Eu, T as Bs, c as D, a as ue, p as Se, r as F, d as N, u as J, s as z, g as Ro, w as q, b as je, o as Le, t as hu, e as I, h as zt, f as it, j as jn, k as vu, l as Oe, m as Es, n as Yt, q as be, v as ko, x as CA, y as Iu, z as No, A as ti, B as mu, D as hs, E as vs, G as Ne, H as Is, I as Qu, J as wu, K as ni, L as $e, M as lt, N as Tt, O as yu, P as Ee, Q as bu, R as sr, S as _e, U as Gn, V as Pu } from "./index-
|
|
1
|
+
import { F as de, i as Fn, C as Eu, T as Bs, c as D, a as ue, p as Se, r as F, d as N, u as J, s as z, g as Ro, w as q, b as je, o as Le, t as hu, e as I, h as zt, f as it, j as jn, k as vu, l as Oe, m as Es, n as Yt, q as be, v as ko, x as CA, y as Iu, z as No, A as ti, B as mu, D as hs, E as vs, G as Ne, H as Is, I as Qu, J as wu, K as ni, L as $e, M as lt, N as Tt, O as yu, P as Ee, Q as bu, R as sr, S as _e, U as Gn, V as Pu } from "./index-D_ujkA5Y.js";
|
|
2
2
|
function wn(e) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return wn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -14628,7 +14628,7 @@ const g0 = ["src"], f0 = ["src"], d0 = { class: "crane-margin10" }, C0 = ["src"]
|
|
|
14628
14628
|
CUSTOM: "custom"
|
|
14629
14629
|
};
|
|
14630
14630
|
Ge.config({ prefixCls: "yqg-permission-message" });
|
|
14631
|
-
const r = Pu(() => import("./apply-modal-
|
|
14631
|
+
const r = Pu(() => import("./apply-modal-CbdSpFHD.js").then((y) => y.k)), A = t, i = e, a = F(!1), s = F(), l = F(!1), c = F([]), u = F(!1);
|
|
14632
14632
|
let g = F([]), f = F({
|
|
14633
14633
|
imageUrl: Bo,
|
|
14634
14634
|
status: ""
|