@yqg/permission 1.3.0-alpha.2 → 1.3.0-alpha.3

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 { f as La, i as Pl, _ as b, P as ee, a as H, c as ne, b as Al, s as dt, w as He, I as Je, d as Ml, e as Gt, g as Ba, S as Mt, h as Ot, j as St, k as Nl, l as Fl, m as Ha, n as Nr, o as _l, M as za, p as ja, q as Va, r as Rl, t as On, u as Wa, v as ka, x as Dl, y as Kl, U as ho, z as Fr, A as yn, B as _r, C as Ll, D as qa, E as Bl, F as Ga, G as Hl, H as zl, J as jl, K as yo, L as Vl, N as Et, O as Wl, Q as Qe, R as Ze, T as Ua, V as Rr, W as ot, X as kl, Y as De, Z as ql, $ as Ve, a0 as vt, a1 as Dr, a2 as En, a3 as Gl, a4 as Xa, a5 as Ya, a6 as Ul, a7 as Kr, a8 as In, a9 as Lr, aa as Qa, ab as Tn, ac as Za, ad as Ja, ae as lt, af as Xl, ag as Yl, ah as Ql, ai as qe, aj as Ae, ak as ur, al as ut, am as Ye, an as dr, ao as Pn, ap as xt, aq as bo, ar as Zl, as as ei, at as xo, au as bn, av as ti, aw as Jl, ax as es, ay as ts, az as ns, aA as rs, aB as os, aC as as, aD as is, aE as xn, aF as ls, aG as ni, aH as ss, aI as cs, aJ as us, aK as ds, aL as fs, aM as ps, aN as vs, aO as It, aP as $e, aQ as Br, aR as gs, aS as ms, aT as Dt, aU as Un, aV as hs, aW as Xn } from "./yqg-permission-DITcGx8T.js";
2
- import { d as ie, G as at, l as Ue, v as An, x as Hr, w as ce, g as Ut, s as W, e as w, r as ae, c as A, m as kt, o as je, E as Nt, q as _e, b as Me, p as Ge, a as $t, F as it, f as Mn, z as Nn, H as ys, k as Fn, u as de, W as bs, i as So, n as $o, X as xs, K as Be, L as Lt, y as ri, P as ft, Y as Ss, R as ht, N as fr, S as Co, M as nt, U as Sn, Z as wo, _ as $s, V as Oo } from "./index-EF-patVm.js";
1
+ import { f as La, i as Pl, _ as b, P as ee, a as H, c as ne, b as Al, s as dt, w as He, I as Je, d as Ml, e as Gt, g as Ba, S as Mt, h as Ot, j as St, k as Nl, l as Fl, m as Ha, n as Nr, o as _l, M as za, p as ja, q as Va, r as Rl, t as On, u as Wa, v as ka, x as Dl, y as Kl, U as ho, z as Fr, A as yn, B as _r, C as Ll, D as qa, E as Bl, F as Ga, G as Hl, H as zl, J as jl, K as yo, L as Vl, N as Et, O as Wl, Q as Qe, R as Ze, T as Ua, V as Rr, W as ot, X as kl, Y as De, Z as ql, $ as Ve, a0 as vt, a1 as Dr, a2 as En, a3 as Gl, a4 as Xa, a5 as Ya, a6 as Ul, a7 as Kr, a8 as In, a9 as Lr, aa as Qa, ab as Tn, ac as Za, ad as Ja, ae as lt, af as Xl, ag as Yl, ah as Ql, ai as qe, aj as Ae, ak as ur, al as ut, am as Ye, an as dr, ao as Pn, ap as xt, aq as bo, ar as Zl, as as ei, at as xo, au as bn, av as ti, aw as Jl, ax as es, ay as ts, az as ns, aA as rs, aB as os, aC as as, aD as is, aE as xn, aF as ls, aG as ni, aH as ss, aI as cs, aJ as us, aK as ds, aL as fs, aM as ps, aN as vs, aO as It, aP as $e, aQ as Br, aR as gs, aS as ms, aT as Dt, aU as Un, aV as hs, aW as Xn } from "./yqg-permission-C7I2t23j.js";
2
+ import { d as ie, G as at, l as Ue, v as An, x as Hr, w as ce, g as Ut, s as W, e as w, r as ae, c as A, m as kt, o as je, E as Nt, q as _e, b as Me, p as Ge, a as $t, F as it, f as Mn, z as Nn, H as ys, k as Fn, u as de, W as bs, i as So, n as $o, X as xs, K as Be, L as Lt, y as ri, P as ft, Y as Ss, R as ht, N as fr, S as Co, M as nt, U as Sn, Z as wo, _ as $s, V as Oo } from "./index-BNldYMQw.js";
3
3
  const oi = ie({
4
4
  compatConfig: {
5
5
  MODE: 3
@@ -12652,9 +12652,9 @@ const qg = { key: 0 }, Gg = { key: 0 }, Ug = {
12652
12652
  emits: /* @__PURE__ */ wo(["onSubmit", "onSuccess"], ["update:modelValue"]),
12653
12653
  setup(e, { emit: t }) {
12654
12654
  const n = Oo(
12655
- () => import("./category-selector-C4wE2v-D.js")
12655
+ () => import("./category-selector-iOHRBhRt.js")
12656
12656
  ), r = Oo(
12657
- () => import("./permission-item-DcI9HD6q.js")
12657
+ () => import("./permission-item-DQA5sauU.js")
12658
12658
  ), o = e, a = t, i = $s(e, "modelValue"), l = ae(!1), s = A(() => o.permissionList), c = ri(o, "workNumber"), d = ae(), u = ae(), f = ae();
12659
12659
  let v = ae([]);
12660
12660
  const S = ae([]), m = ae([]), p = at({
@@ -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-EF-patVm.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, aQ as Ft } from "./yqg-permission-DITcGx8T.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-C28x1Vhk.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 Qt, F as Jt, e as Zt, f as ea, r as ta, h as aa, i as la } from "./apply-modal-DGX6gpHK.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, 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-BNldYMQw.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, aQ as Ft } from "./yqg-permission-C7I2t23j.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-arXtw86e.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 Qt, F as Jt, e as Zt, f as ea, r as ta, h as aa, i as la } from "./apply-modal-DJ-rohnO.js";
5
5
  function na(e) {
6
6
  return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
7
7
  }
@@ -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-DITcGx8T.js").then((e) => e.b8)), Nf = (e) => {
4947
+ const If = /* @__PURE__ */ qo(() => import("./yqg-permission-C7I2t23j.js").then((e) => e.b8)), Nf = (e) => {
4948
4948
  customElements.define(
4949
4949
  e,
4950
4950
  /* @__PURE__ */ bf(If, {
@@ -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-DITcGx8T.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-EF-patVm.js";
3
- import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-DGX6gpHK.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-C7I2t23j.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-BNldYMQw.js";
3
+ import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-DJ-rohnO.js";
4
4
  function an(e, n) {
5
5
  const {
6
6
  key: o
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('.crane-wraper[data-v-1094345c]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-1094345c]{margin:10px}.crane-margin-right10[data-v-1094345c]{margin-right:10px}[data-v-5dd58742] .yqg-permission-modal-wrap .yqg-permission-modal-confirm-btns{text-align:center!important}.crane-step-wraper[data-v-f3d62522]{display:flex;align-items:center;width:100%;overflow-x:scroll;line-height:32px;padding-bottom:8px}.crane-step-node[data-v-f3d62522]{display:flex;align-items:center}.crane-step-icon[data-v-f3d62522]{margin:0 8px;height:auto;max-width:none}[data-v-ffc07c35] .yqg-permission-tree-list{margin-top:4px}[data-v-ffc07c35] .yqg-permission-tree-node-selected{background:none!important}[data-v-ffc07c35] .yqg-permission-tree-checkbox{margin:0!important}[data-v-ffc07c35] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-ffc07c35] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-ffc07c35] .yqg-permission-tree-treenode,[data-v-ffc07c35] .yqg-permission-tree-node-content-wrapper-normal,[data-v-ffc07c35] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-68a2b49c]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-68a2b49c] .crane-category-wraper label{font-size:12px!important}[data-v-68a2b49c] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-68a2b49c] .yqg-permission-form-item{margin-bottom:18px}[data-v-68a2b49c] .yqg-permission-form-item-required{font-size:12px!important}[data-v-68a2b49c] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-68a2b49c]{font-size:14px;font-weight:700}.crane-required[data-v-68a2b49c]: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-68a2b49c]{color:#86909c;font-size:12px}.crane-category-line[data-v-68a2b49c]{height:1px;background-color:#c9cdd4;margin:10px 0}.crane-flex-center[data-v-fa6b2cd2]{display:flex;align-items:center;white-space:nowrap}.permission-item-wraper[data-v-fa6b2cd2]{padding-right:32px}.crane-checkbox-line[data-v-fa6b2cd2]{line-height:28px;display:flex;align-items:center}.crane-tag-position[data-v-fa6b2cd2]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-fa6b2cd2]{margin-right:0}.crane-margin-left-4[data-v-fa6b2cd2]{margin-left:4px}.crane-margin-right-4[data-v-fa6b2cd2]{margin-right:4px}.crane-margin-left-12[data-v-fa6b2cd2]{margin-left:12px}.crane-disabled-color[data-v-fa6b2cd2]{color:#c9cdd4}.crane-weak-color[data-v-fa6b2cd2]{color:#86909c}.crane-text-overflow[data-v-fa6b2cd2]{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { a1 as f } from "./index-EF-patVm.js";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.crane-wraper[data-v-1094345c]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-1094345c]{margin:10px}.crane-margin-right10[data-v-1094345c]{margin-right:10px}[data-v-5dd58742] .yqg-permission-modal-wrap .yqg-permission-modal-confirm-btns{text-align:center!important}.crane-step-wraper[data-v-f3d62522]{display:flex;align-items:center;width:100%;overflow-x:scroll;line-height:32px;padding-bottom:8px}.crane-step-node[data-v-f3d62522]{display:flex;align-items:center}.crane-step-icon[data-v-f3d62522]{margin:0 8px;height:auto;max-width:none}[data-v-ffc07c35] .yqg-permission-tree-list{margin-top:4px}[data-v-ffc07c35] .yqg-permission-tree-node-selected{background:none!important}[data-v-ffc07c35] .yqg-permission-tree-checkbox{margin:0!important}[data-v-ffc07c35] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-ffc07c35] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-ffc07c35] .yqg-permission-tree-treenode,[data-v-ffc07c35] .yqg-permission-tree-node-content-wrapper-normal,[data-v-ffc07c35] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-68a2b49c]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-68a2b49c] .crane-category-wraper label{font-size:12px!important}[data-v-68a2b49c] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-68a2b49c] .yqg-permission-form-item{margin-bottom:18px}[data-v-68a2b49c] .yqg-permission-form-item-required{font-size:12px!important}[data-v-68a2b49c] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-68a2b49c]{font-size:14px;font-weight:700}.crane-required[data-v-68a2b49c]: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-68a2b49c]{color:#86909c;font-size:12px}.crane-category-line[data-v-68a2b49c]{height:1px;background-color:#c9cdd4;margin:10px 0}.crane-flex-center[data-v-c5efdf9a]{display:flex;align-items:center;white-space:nowrap}.permission-item-wraper[data-v-c5efdf9a]{padding-right:32px}.crane-checkbox-line[data-v-c5efdf9a]{line-height:28px;display:flex;align-items:center}.crane-tag-position[data-v-c5efdf9a]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-c5efdf9a]{margin-right:0}.crane-margin-left-4[data-v-c5efdf9a]{margin-left:4px}.crane-margin-right-4[data-v-c5efdf9a]{margin-right:4px}.crane-margin-left-12[data-v-c5efdf9a]{margin-left:12px}.crane-disabled-color[data-v-c5efdf9a]{color:#c9cdd4}.crane-weak-color[data-v-c5efdf9a]{color:#86909c}.crane-text-overflow[data-v-c5efdf9a]{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-BNldYMQw.js";
3
3
  export {
4
4
  f as default
5
5
  };