@yqg/permission 1.3.4 → 1.3.5-alpha.0

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.
@@ -1,5 +1,5 @@
1
- import { d as ie, G as at, l as Ye, v as An, x as Rr, w as ce, g as Zt, s as W, e as w, r as ae, c as M, m as Yt, o as Ve, E as Ft, q as Re, b as Ne, p as Xe, a as $t, F as it, f as _t, z as Rt, H as Ml, k as Nn, u as se, W as Fl, i as bo, n as xo, X as _l, K as He, L as jt, y as Ba, P as ft, Y as Rl, R as Ge, N as Vt, S as Cn, M as _e, U as wn, Z as So, _ as Dl, V as $o } from "./index-CTndgjy2.js";
2
- import { f as Ha, i as Kl, _ as y, P as ee, a as z, c as ne, b as Ll, s as pt, w as ze, I as tt, d as Bl, e as Jt, g as za, S as Dt, h as Et, j as Ct, k as Hl, l as zl, m as ja, n as Dr, o as jl, M as Va, p as Wa, q as ka, r as Vl, t as Mn, u as qa, v as Ga, x as Wl, y as kl, U as Co, z as Kr, A as On, B as Lr, C as ql, D as Ua, E as Gl, F as Xa, G as Ul, H as Xl, J as Yl, K as wo, L as Ql, N as It, O as Zl, Q as Je, R as et, T as Ya, V as Br, W as lt, X as Jl, Y as Ke, Z as es, $ as We, a0 as gt, a1 as Hr, a2 as Fn, a3 as ts, a4 as Qa, a5 as Za, a6 as ns, a7 as zr, a8 as _n, a9 as jr, aa as Ja, ab as Rn, ac as ei, ad as ti, ae as st, af as rs, ag as os, ah as as, ai as Ue, aj as Ae, ak as vr, al as dt, am as Ze, an as gr, ao as Dn, ap as St, aq as Oo, ar as is, as as ni, at as Eo, au as Kt, av as ri, aw as ls, ax as ss, ay as cs, az as us, aA as ds, aB as fs, aC as ps, aD as vs, aE as En, aF as gs, aG as oi, aH as hs, aI as ms, aJ as ai, aK as ys, aL as bs, aM as xs, aN as Ss, aO as Tt, aP as $e, aQ as $s, aR as Cs, aS as ii, aT as Nt, aU as Qn, aV as ws, aW as Zn } from "./yqg-permission-ItXNxp6g.js";
1
+ import { d as ie, G as at, l as Ye, v as An, x as Rr, w as ce, g as Zt, s as W, e as w, r as ae, c as M, m as Yt, o as Ve, E as Ft, q as Re, b as Ne, p as Xe, a as $t, F as it, f as _t, z as Rt, H as Ml, k as Nn, u as se, W as Fl, i as bo, n as xo, X as _l, K as He, L as jt, y as Ba, N as ft, Y as Rl, R as Ge, P as Vt, S as Cn, M as _e, U as wn, Z as So, _ as Dl, V as $o } from "./index-CJqbH2iQ.js";
2
+ import { f as Ha, i as Kl, _ as y, P as ee, a as z, c as ne, b as Ll, s as pt, w as ze, I as tt, d as Bl, e as Jt, g as za, S as Dt, h as Et, j as Ct, k as Hl, l as zl, m as ja, n as Dr, o as jl, M as Va, p as Wa, q as ka, r as Vl, t as Mn, u as qa, v as Ga, x as Wl, y as kl, U as Co, z as Kr, A as On, B as Lr, C as ql, D as Ua, E as Gl, F as Xa, G as Ul, H as Xl, J as Yl, K as wo, L as Ql, N as It, O as Zl, Q as Je, R as et, T as Ya, V as Br, W as lt, X as Jl, Y as Ke, Z as es, $ as We, a0 as gt, a1 as Hr, a2 as Fn, a3 as ts, a4 as Qa, a5 as Za, a6 as ns, a7 as zr, a8 as _n, a9 as jr, aa as Ja, ab as Rn, ac as ei, ad as ti, ae as st, af as rs, ag as os, ah as as, ai as Ue, aj as Ae, ak as vr, al as dt, am as Ze, an as gr, ao as Dn, ap as St, aq as Oo, ar as is, as as ni, at as Eo, au as Kt, av as ri, aw as ls, ax as ss, ay as cs, az as us, aA as ds, aB as fs, aC as ps, aD as vs, aE as En, aF as gs, aG as oi, aH as hs, aI as ms, aJ as ai, aK as ys, aL as bs, aM as xs, aN as Ss, aO as Tt, aP as $e, aQ as $s, aR as Cs, aS as ii, aT as Nt, aU as Qn, aV as ws, aW as Zn } from "./yqg-permission-CVFg15cm.js";
3
3
  const li = ie({
4
4
  compatConfig: {
5
5
  MODE: 3
@@ -12679,9 +12679,9 @@ const Gg = { key: 0 }, Ug = { key: 0 }, Xg = {
12679
12679
  emits: /* @__PURE__ */ So(["onSubmit", "onSuccess"], ["update:modelValue"]),
12680
12680
  setup(e, { emit: t }) {
12681
12681
  const n = $o(
12682
- () => import("./category-selector-Bo1Upd0w.js")
12682
+ () => import("./category-selector-D_8E2kwg.js")
12683
12683
  ), r = $o(
12684
- () => import("./permission-item-Cc_fF08Z.js")
12684
+ () => import("./permission-item-D5l8rvrV.js")
12685
12685
  ), o = e, a = t, i = Dl(e, "modelValue"), l = ae(!1), s = M(() => o.permissionList), c = Ba(o, "workNumber"), d = ae(), u = ae(), f = ae();
12686
12686
  let g = ae([]);
12687
12687
  const S = ae([]), m = ae([]), p = ae([]), v = at({
@@ -12914,7 +12914,7 @@ const Gg = { key: 0 }, Ug = { key: 0 }, Xg = {
12914
12914
  _: 1
12915
12915
  }, 8, ["open", "zIndex"]));
12916
12916
  }
12917
- }), Zg = /* @__PURE__ */ ii(Qg, [["__scopeId", "data-v-0df23e11"]]), th = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12917
+ }), Zg = /* @__PURE__ */ ii(Qg, [["__scopeId", "data-v-77fd85e8"]]), th = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12918
12918
  __proto__: null,
12919
12919
  default: Zg
12920
12920
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1,7 +1,7 @@
1
- import { a as ht, p as pt, d as Ve, r as fe, c as y, w as be, q as mt, s as M, E as ae, e as U, b as Ge, y as oe, $ as gt, G as yt, K as ie, L as Ze, M as Me, N as Be, R as ye, u as W, P as we, F as bt, Y as Ct, f as St, U as et, z as wt } from "./index-CTndgjy2.js";
2
- import { a as X, _ as b, W as xt, X as Vt, ae as ut, aX as tt, Y as Ie, P as ve, N as It, R as it, V as kt, aN as $e, $ as Nt, ar as Tt, as as Lt, aY as Et, c as at, b as _t, ak as je, aj as Pt, a0 as Dt, ai as At, am as We, aU as Kt, aP as xe, aS as Ft } from "./yqg-permission-ItXNxp6g.js";
3
- import { u as Ot, a as Ht, b as Rt, c as Mt, d as Bt, t as lt, B as $t, e as jt, f as Wt, g as Ut } from "./index-Dl_VZBVk.js";
4
- import { K as de, T as zt, c as Xt, a as Xe, u as Yt, g as qt, b as Gt, d as Jt, F as Qt, e as Zt, f as ea, r as ta, h as aa, i as la } from "./apply-modal-BsokPhqu.js";
1
+ import { a as ht, p as pt, d as Ve, r as fe, c as y, w as be, q as mt, s as M, E as ae, e as U, b as Ge, y as oe, $ as gt, G as yt, K as ie, L as Ze, M as Me, P as Be, R as ye, u as W, N as we, F as bt, Y as Ct, f as St, U as et, z as wt } from "./index-CJqbH2iQ.js";
2
+ import { a as X, _ as b, W as xt, X as Vt, ae as ut, aX as tt, Y as Ie, P as ve, N as It, R as it, V as kt, aN as $e, $ as Nt, ar as Tt, as as Lt, aY as Et, c as at, b as _t, ak as je, aj as Pt, a0 as Dt, ai as At, am as We, aU as Kt, aP as xe, aS as Ft } from "./yqg-permission-CVFg15cm.js";
3
+ import { u as Ot, a as Ht, b as Rt, c as Mt, d as Bt, t as lt, B as $t, e as jt, f as Wt, g as Ut } from "./index-C55cbXDC.js";
4
+ import { K as de, T as zt, c as Xt, a as Xe, u as Yt, g as qt, b as Gt, d as Jt, F as Qt, e as Zt, f as ea, r as ta, h as aa, i as la } from "./apply-modal-DFVMxU4P.js";
5
5
  function na(e) {
6
6
  return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
7
7
  }
@@ -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, ab as lt, ac as rt, aD as st, b5 as gn, ao as Y, Q as We, b6 as Le, R as ie, b7 as vn, N as ut, O as ct } from "./yqg-permission-ItXNxp6g.js";
2
- import { d as ne, c as R, r as le, e as f, i as dt, m as ft, a as Ie, p as Ce, x as pt, s as A, w as oe, b as hn, l as ge, S as Ae, F as we, o as _e, X as mt, G as on, $ as gt } from "./index-CTndgjy2.js";
3
- import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-BsokPhqu.js";
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, ab as lt, ac as rt, aD as st, b5 as gn, ao as Y, Q as We, b6 as Le, R as ie, b7 as vn, N as ut, O as ct } from "./yqg-permission-CVFg15cm.js";
2
+ import { d as ne, c as R, r as le, e as f, i as dt, m as ft, a as Ie, p as Ce, x as pt, s as A, w as oe, b as hn, l as ge, S as Ae, F as we, o as _e, X as mt, G as on, $ as gt } from "./index-CJqbH2iQ.js";
3
+ import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-DFVMxU4P.js";
4
4
  function an(e, n) {
5
5
  const {
6
6
  key: o
@@ -4944,7 +4944,7 @@ function Mf(e) {
4944
4944
  function Of(e) {
4945
4945
  return se(e) ? document.querySelector(e) : e;
4946
4946
  }
4947
- const If = /* @__PURE__ */ qo(() => import("./yqg-permission-ItXNxp6g.js").then((e) => e.b8)), Nf = (e) => {
4947
+ const If = /* @__PURE__ */ qo(() => import("./yqg-permission-CVFg15cm.js").then((e) => e.b8)), Nf = (e) => {
4948
4948
  customElements.define(
4949
4949
  e,
4950
4950
  /* @__PURE__ */ bf(If, {
@@ -4993,9 +4993,9 @@ export {
4993
4993
  zs as K,
4994
4994
  Xs as L,
4995
4995
  Bo as M,
4996
- Ri as N,
4996
+ Jf as N,
4997
4997
  ln as O,
4998
- Jf as P,
4998
+ Ri as P,
4999
4999
  Wf as Q,
5000
5000
  no as R,
5001
5001
  $l as S,
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-7fa83d92]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-7fa83d92]{margin:10px}.crane-margin-right10[data-v-7fa83d92]{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-0df23e11]{color:#ff4d4f;font-size:14px;margin-left:8px;font-weight:400}[data-v-0df23e11] .yqg-permission-tree-list{margin-top:4px}[data-v-0df23e11] .yqg-permission-tree-node-selected{background:none!important}[data-v-0df23e11] .yqg-permission-tree-checkbox{margin:0!important}[data-v-0df23e11] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-0df23e11] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-0df23e11] .yqg-permission-tree-treenode,[data-v-0df23e11] .yqg-permission-tree-node-content-wrapper-normal,[data-v-0df23e11] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-21167b98]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-21167b98] .crane-category-wraper label{font-size:12px!important}[data-v-21167b98] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-21167b98] .yqg-permission-form-item{margin-bottom:18px}[data-v-21167b98] .yqg-permission-form-item-required{font-size:12px!important}[data-v-21167b98] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-21167b98]{font-size:14px;font-weight:700}.crane-required[data-v-21167b98]: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-21167b98]{color:#86909c;font-size:12px}.crane-category-line[data-v-21167b98]{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-CTndgjy2.js";
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-a76c8fea]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-a76c8fea]{margin:10px}.crane-margin-right10[data-v-a76c8fea]{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-77fd85e8]{color:#ff4d4f;font-size:14px;margin-left:8px;font-weight:400}[data-v-77fd85e8] .yqg-permission-tree-list{margin-top:4px}[data-v-77fd85e8] .yqg-permission-tree-node-selected{background:none!important}[data-v-77fd85e8] .yqg-permission-tree-checkbox{margin:0!important}[data-v-77fd85e8] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-77fd85e8] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-77fd85e8] .yqg-permission-tree-treenode,[data-v-77fd85e8] .yqg-permission-tree-node-content-wrapper-normal,[data-v-77fd85e8] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-21167b98]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-21167b98] .crane-category-wraper label{font-size:12px!important}[data-v-21167b98] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-21167b98] .yqg-permission-form-item{margin-bottom:18px}[data-v-21167b98] .yqg-permission-form-item-required{font-size:12px!important}[data-v-21167b98] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-21167b98]{font-size:14px;font-weight:700}.crane-required[data-v-21167b98]: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-21167b98]{color:#86909c;font-size:12px}.crane-category-line[data-v-21167b98]{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-CJqbH2iQ.js";
3
3
  export {
4
4
  f as default
5
5
  };
@@ -1,7 +1,7 @@
1
- import { c as pe, Y as Te, a as j, a1 as We, b as at, _ as P, ae as Xe, aX as Me, aZ as He, P as oe, $ as Be, ar as it, as as st, aE as rt, aY as ct, a_ as ut, a0 as je, ak as Ae, aj as dt, am as vt, N as mt, R as ft, a$ as gt, b0 as pt, Q as ht, b1 as bt, b2 as yt, b3 as St, aq as Ct, aD as At, aP as X, aR as we, aS as Ot } from "./yqg-permission-ItXNxp6g.js";
2
- import { p as It, a as wt, d as he, c as A, G as xt, w as Fe, E as Ye, q as _e, e as N, F as Ve, s as ve, b as Ne, y as ne, r as Qe, K as G, P as ue, L as Oe, M as J, S as Pe, R as H, O as Vt, u as B, U as de, N as W, a0 as Nt, Y as ze } from "./index-CTndgjy2.js";
3
- import { L as Tt, j as Pt, p as Et, K as Z, d as Ft, F as Dt, e as Rt, f as Bt, Q as kt } from "./apply-modal-BsokPhqu.js";
4
- import { u as $t, b as Lt, T as Mt, i as De, c as Ht, h as jt, j as _t, k as zt, t as Ut, B as Kt, e as Gt, f as Wt, g as Xt } from "./index-Dl_VZBVk.js";
1
+ import { c as pe, Y as Te, a as j, a1 as We, b as at, _ as P, ae as Xe, aX as Me, aZ as He, P as oe, $ as Be, ar as it, as as st, aE as rt, aY as ct, a_ as ut, a0 as je, ak as Ae, aj as dt, am as vt, N as mt, R as ft, a$ as gt, b0 as pt, Q as ht, b1 as bt, b2 as yt, b3 as St, aq as Ct, aD as At, aP as X, aR as we, aS as Ot } from "./yqg-permission-CVFg15cm.js";
2
+ import { p as It, a as wt, d as he, c as A, G as xt, w as Fe, E as Ye, q as _e, e as N, F as Ve, s as ve, b as Ne, y as ne, r as Qe, K as G, N as ue, L as Oe, M as J, S as Pe, R as H, O as Vt, u as B, U as de, P as W, a0 as Nt, Y as ze } from "./index-CJqbH2iQ.js";
3
+ import { L as Tt, j as Pt, p as Et, K as Z, d as Ft, F as Dt, e as Rt, f as Bt, Q as kt } from "./apply-modal-DFVMxU4P.js";
4
+ import { u as $t, b as Lt, T as Mt, i as De, c as Ht, h as jt, j as _t, k as zt, t as Ut, B as Kt, e as Gt, f as Wt, g as Xt } from "./index-C55cbXDC.js";
5
5
  function Yt() {
6
6
  return /(mac\sos|macintosh)/i.test(navigator.appVersion);
7
7
  }