@yqg/permission 1.3.0-alpha.7 → 1.3.0-alpha.8
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-BcN1RhQi.js → apply-modal-gvLhFEdj.js} +4 -4
- package/dist/{category-selector-BvBV-lpA.js → category-selector-BTzW1HZD.js} +4 -4
- package/dist/{index-CWuyMc3g.js → index--jS5hjon.js} +1 -1
- package/dist/{index-BFByVNRT.js → index-Deb9hDa0.js} +3 -3
- package/dist/index.js +2 -2
- package/dist/{permission-item-AXg2_ddM.js → permission-item-BwYX18tp.js} +4 -4
- package/dist/{yqg-permission-D65t3nRR.js → yqg-permission-C3sGU3v5.js} +34 -38
- package/dist/yqg-permission.umd.js +24 -24
- package/package.json +1 -1
- package/src/components/yqg-permission.vue +1 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as Ha, i as Nl, _ as y, P as ee, a as H, c as ne, b as Ml, s as dt, w as He, I as Je, d as Fl, e as Ut, g as za, S as Ft, h as Et, j as $t, k as _l, l as Rl, m as ja, n as _r, o as Dl, M as Va, p as Wa, q as ka, r as Kl, t as En, u as qa, v as Ga, x as Ll, y as Bl, U as bo, z as Rr, A as bn, B as Dr, C as Hl, D as Ua, E as zl, F as Xa, G as jl, H as Vl, J as Wl, K as xo, L as kl, N as It, O as ql, Q as Qe, R as Ze, T as Ya, V as Kr, W as ot, X as Gl, Y as De, Z as Ul, $ as Ve, a0 as vt, a1 as Lr, a2 as In, a3 as Xl, a4 as Qa, a5 as Za, a6 as Yl, a7 as Br, a8 as Tn, a9 as Hr, aa as Ja, ab as Pn, ac as ei, ad as ti, ae as lt, af as Ql, ag as Zl, ah as Jl, ai as qe, aj as Ae, ak as fr, al as ut, am as Ye, an as pr, ao as An, ap as St, aq as So, ar as es, as as ni, at as $o, au as xn, av as ri, aw as ts, ax as ns, ay as rs, az as os, aA as as, aB as is, aC as ls, aD as ss, aE as Sn, aF as cs, aG as oi, aH as us, aI as ds, aJ as fs, aK as ps, aL as vs, aM as gs, aN as hs, aO as Tt, aP as $e, aQ as zr, aR as ms, aS as ys, aT as Nt, aU as Xn, aV as bs, aW as Yn } from "./yqg-permission-
|
|
2
|
-
import { d as ie, G as at, l as Ue, v as Nn, x as jr, w as se, g as Xt, s as W, e as w, r as ae, c as N, m as qt, o as je, E as _t, q as _e, b as Ne, p as Ge, a as Ct, F as it, f as Mn, z as Fn, H as xs, k as _n, u as de, W as Ss, i as Co, n as wo, X as $s, K as Be, L as Bt, y as ai, P as ft, Y as Cs, R as yt, N as vr, S as Oo, M as nt, U as $n, Z as Eo, _ as ws, V as Io } from "./index
|
|
1
|
+
import { f as Ha, i as Nl, _ as y, P as ee, a as H, c as ne, b as Ml, s as dt, w as He, I as Je, d as Fl, e as Ut, g as za, S as Ft, h as Et, j as $t, k as _l, l as Rl, m as ja, n as _r, o as Dl, M as Va, p as Wa, q as ka, r as Kl, t as En, u as qa, v as Ga, x as Ll, y as Bl, U as bo, z as Rr, A as bn, B as Dr, C as Hl, D as Ua, E as zl, F as Xa, G as jl, H as Vl, J as Wl, K as xo, L as kl, N as It, O as ql, Q as Qe, R as Ze, T as Ya, V as Kr, W as ot, X as Gl, Y as De, Z as Ul, $ as Ve, a0 as vt, a1 as Lr, a2 as In, a3 as Xl, a4 as Qa, a5 as Za, a6 as Yl, a7 as Br, a8 as Tn, a9 as Hr, aa as Ja, ab as Pn, ac as ei, ad as ti, ae as lt, af as Ql, ag as Zl, ah as Jl, ai as qe, aj as Ae, ak as fr, al as ut, am as Ye, an as pr, ao as An, ap as St, aq as So, ar as es, as as ni, at as $o, au as xn, av as ri, aw as ts, ax as ns, ay as rs, az as os, aA as as, aB as is, aC as ls, aD as ss, aE as Sn, aF as cs, aG as oi, aH as us, aI as ds, aJ as fs, aK as ps, aL as vs, aM as gs, aN as hs, aO as Tt, aP as $e, aQ as zr, aR as ms, aS as ys, aT as Nt, aU as Xn, aV as bs, aW as Yn } from "./yqg-permission-C3sGU3v5.js";
|
|
2
|
+
import { d as ie, G as at, l as Ue, v as Nn, x as jr, w as se, g as Xt, s as W, e as w, r as ae, c as N, m as qt, o as je, E as _t, q as _e, b as Ne, p as Ge, a as Ct, F as it, f as Mn, z as Fn, H as xs, k as _n, u as de, W as Ss, i as Co, n as wo, X as $s, K as Be, L as Bt, y as ai, P as ft, Y as Cs, R as yt, N as vr, S as Oo, M as nt, U as $n, Z as Eo, _ as ws, V as Io } from "./index--jS5hjon.js";
|
|
3
3
|
const ii = ie({
|
|
4
4
|
compatConfig: {
|
|
5
5
|
MODE: 3
|
|
@@ -12663,9 +12663,9 @@ const Ug = { key: 0 }, Xg = { key: 0 }, Yg = {
|
|
|
12663
12663
|
emits: /* @__PURE__ */ Eo(["onSubmit", "onSuccess"], ["update:modelValue"]),
|
|
12664
12664
|
setup(e, { emit: t }) {
|
|
12665
12665
|
const n = Io(
|
|
12666
|
-
() => import("./category-selector-
|
|
12666
|
+
() => import("./category-selector-BTzW1HZD.js")
|
|
12667
12667
|
), r = Io(
|
|
12668
|
-
() => import("./permission-item-
|
|
12668
|
+
() => import("./permission-item-BwYX18tp.js")
|
|
12669
12669
|
), o = e, a = t, i = ws(e, "modelValue"), l = ae(!1), s = N(() => o.permissionList), c = ai(o, "workNumber"), d = ae(), u = ae(), f = ae();
|
|
12670
12670
|
let g = ae([]);
|
|
12671
12671
|
const S = ae([]), m = ae([]), p = ae([]), v = 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
|
|
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-
|
|
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-
|
|
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-
|
|
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--jS5hjon.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-C3sGU3v5.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-Deb9hDa0.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-gvLhFEdj.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-
|
|
4947
|
+
const If = /* @__PURE__ */ qo(() => import("./yqg-permission-C3sGU3v5.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-
|
|
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
|
|
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, 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-C3sGU3v5.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--jS5hjon.js";
|
|
3
|
+
import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-gvLhFEdj.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 e=document.createElement("style");e.appendChild(document.createTextNode('.crane-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('.crane-wraper[data-v-c567f4e6]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-c567f4e6]{margin:10px}.crane-margin-right10[data-v-c567f4e6]{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-318cb6f3] .yqg-permission-tree-list{margin-top:4px}[data-v-318cb6f3] .yqg-permission-tree-node-selected{background:none!important}[data-v-318cb6f3] .yqg-permission-tree-checkbox{margin:0!important}[data-v-318cb6f3] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-318cb6f3] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-318cb6f3] .yqg-permission-tree-treenode,[data-v-318cb6f3] .yqg-permission-tree-node-content-wrapper-normal,[data-v-318cb6f3] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-1b90e3f1]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-1b90e3f1] .crane-category-wraper label{font-size:12px!important}[data-v-1b90e3f1] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-1b90e3f1] .yqg-permission-form-item{margin-bottom:18px}[data-v-1b90e3f1] .yqg-permission-form-item-required{font-size:12px!important}[data-v-1b90e3f1] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-1b90e3f1]{font-size:14px;font-weight:700}.crane-required[data-v-1b90e3f1]: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-1b90e3f1]{color:#86909c;font-size:12px}.crane-category-line[data-v-1b90e3f1]{height:1px;background-color:#c9cdd4;margin:10px 0}.crane-flex-center[data-v-ee71dc45]{display:flex;align-items:center;white-space:nowrap}.permission-item-wraper[data-v-ee71dc45]{padding-right:32px}.crane-checkbox-line[data-v-ee71dc45]{line-height:28px;display:flex;align-items:center}.crane-tag-position[data-v-ee71dc45]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-ee71dc45]{margin-right:0}.crane-margin-left-4[data-v-ee71dc45]{margin-left:4px}.crane-margin-right-4[data-v-ee71dc45]{margin-right:4px}.crane-margin-left-12[data-v-ee71dc45]{margin-left:12px}.crane-disabled-color[data-v-ee71dc45]{color:#c9cdd4}.crane-weak-color[data-v-ee71dc45]{color:#86909c}.crane-text-overflow[data-v-ee71dc45]{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--jS5hjon.js";
|
|
3
3
|
export {
|
|
4
4
|
f as default
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as ge, Y as Ne, a as _, a1 as Ge, b as nt, _ as P, ae as We, aX as Me, aZ as He, P as ne, $ as Be, ar as at, as as it, aE as st, aY as rt, a_ as ct, a0 as _e, ak as Ce, aj as ut, am as dt, N as vt, R as mt, a$ as ft, b0 as gt, Q as pt, b1 as ht, b2 as bt, b3 as yt, aq as St, aD as Ct, aP as G, aS as we, aQ as At } from "./yqg-permission-
|
|
2
|
-
import { p as Ot, a as It, d as pe, c as A, G as wt, w as Ee, E as Xe, q as je, e as N, F as Re, s as de, b as Ve, y as oe, r as Ye, K as q, P as Ae, L as Oe, M as J, S as Te, R as H, O as xt, u as R, U as ue, N as W, a0 as Vt, Y as Nt } from "./index
|
|
3
|
-
import { L as Tt, j as Pt, p as Et, K as Z, d as Ft, F as Dt, e as Bt, f as Rt, Q as kt } from "./apply-modal-
|
|
4
|
-
import { u as $t, b as Lt, T as Mt, i as Fe, c as Ht, h as _t, j as jt, k as zt, t as Ut, B as Kt, e as Gt, f as Wt, g as Xt } from "./index-
|
|
1
|
+
import { c as ge, Y as Ne, a as _, a1 as Ge, b as nt, _ as P, ae as We, aX as Me, aZ as He, P as ne, $ as Be, ar as at, as as it, aE as st, aY as rt, a_ as ct, a0 as _e, ak as Ce, aj as ut, am as dt, N as vt, R as mt, a$ as ft, b0 as gt, Q as pt, b1 as ht, b2 as bt, b3 as yt, aq as St, aD as Ct, aP as G, aS as we, aQ as At } from "./yqg-permission-C3sGU3v5.js";
|
|
2
|
+
import { p as Ot, a as It, d as pe, c as A, G as wt, w as Ee, E as Xe, q as je, e as N, F as Re, s as de, b as Ve, y as oe, r as Ye, K as q, P as Ae, L as Oe, M as J, S as Te, R as H, O as xt, u as R, U as ue, N as W, a0 as Vt, Y as Nt } from "./index--jS5hjon.js";
|
|
3
|
+
import { L as Tt, j as Pt, p as Et, K as Z, d as Ft, F as Dt, e as Bt, f as Rt, Q as kt } from "./apply-modal-gvLhFEdj.js";
|
|
4
|
+
import { u as $t, b as Lt, T as Mt, i as Fe, c as Ht, h as _t, j as jt, k as zt, t as Ut, B as Kt, e as Gt, f as Wt, g as Xt } from "./index-Deb9hDa0.js";
|
|
5
5
|
function Yt() {
|
|
6
6
|
return /(mac\sos|macintosh)/i.test(navigator.appVersion);
|
|
7
7
|
}
|
|
@@ -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--jS5hjon.js";
|
|
2
2
|
function Qn(e) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return Qn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -14597,37 +14597,34 @@ 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-gvLhFEdj.js").then((h) => h.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: ""
|
|
14604
14604
|
});
|
|
14605
14605
|
const g = b(() => {
|
|
14606
|
-
var
|
|
14607
|
-
return c.value = [], Array.isArray(i.permissions) ? i.permissions.filter((
|
|
14608
|
-
}), d =
|
|
14609
|
-
|
|
14610
|
-
|
|
14611
|
-
|
|
14612
|
-
|
|
14613
|
-
const
|
|
14614
|
-
m &&
|
|
14615
|
-
|
|
14616
|
-
|
|
14617
|
-
|
|
14618
|
-
const P = {
|
|
14619
|
-
workNumber: m,
|
|
14620
|
-
features: w.toString()
|
|
14606
|
+
var h, m;
|
|
14607
|
+
return c.value = [], Array.isArray(i.permissions) ? i.permissions.filter((w) => w.trim()) : ((m = (h = i.permissions) == null ? void 0 : h.split(",")) == null ? void 0 : m.filter((w) => w.trim())) || [];
|
|
14608
|
+
}), d = () => {
|
|
14609
|
+
var m;
|
|
14610
|
+
const h = (m = l.value) == null ? void 0 : m.oaFlowUrl;
|
|
14611
|
+
h && window.open(h, "_blank");
|
|
14612
|
+
}, f = async () => {
|
|
14613
|
+
const { workNumber: h } = i, m = g.value;
|
|
14614
|
+
if (!(m != null && m.length) || !h) return;
|
|
14615
|
+
const w = {
|
|
14616
|
+
workNumber: h,
|
|
14617
|
+
features: m.toString()
|
|
14621
14618
|
};
|
|
14622
14619
|
s.value = !0;
|
|
14623
|
-
const
|
|
14624
|
-
c.value = s0(
|
|
14625
|
-
},
|
|
14626
|
-
a.value = !a.value,
|
|
14627
|
-
}, { currentTop:
|
|
14628
|
-
return je(
|
|
14629
|
-
|
|
14630
|
-
}, { immediate: !0 }), (
|
|
14620
|
+
const P = await e0.getPermissions(w);
|
|
14621
|
+
c.value = s0(P.body || []), u.value = i0(c.value, l), s.value = !1;
|
|
14622
|
+
}, p = () => {
|
|
14623
|
+
a.value = !a.value, f();
|
|
14624
|
+
}, { currentTop: B, dragElement: E } = r0(i, p);
|
|
14625
|
+
return je(f), q(() => i.locale, (h, m) => {
|
|
14626
|
+
h !== m && localStorage.setItem("permission_locale", i.locale);
|
|
14627
|
+
}, { immediate: !0 }), (h, m) => (st(), oi(J(Ft), {
|
|
14631
14628
|
prefixCls: "yqg-permission",
|
|
14632
14629
|
theme: {
|
|
14633
14630
|
token: {
|
|
@@ -14640,12 +14637,12 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14640
14637
|
[o.FLOATBUTTON, o.TEXT].includes(e.type) ? (st(), oi(J(ot), {
|
|
14641
14638
|
key: 0,
|
|
14642
14639
|
ref_key: "dragElement",
|
|
14643
|
-
ref:
|
|
14640
|
+
ref: E,
|
|
14644
14641
|
type: "primary",
|
|
14645
14642
|
tooltip: J(Me)("clickToApply"),
|
|
14646
14643
|
style: yu({
|
|
14647
14644
|
right: I0,
|
|
14648
|
-
top: J(
|
|
14645
|
+
top: J(B)
|
|
14649
14646
|
})
|
|
14650
14647
|
}, {
|
|
14651
14648
|
icon: lt(() => [
|
|
@@ -14658,9 +14655,9 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14658
14655
|
_: 1
|
|
14659
14656
|
}, 8, ["tooltip", "style"])) : e.type === o.CUSTOM ? (st(), ln("div", {
|
|
14660
14657
|
key: 1,
|
|
14661
|
-
onClick:
|
|
14658
|
+
onClick: p
|
|
14662
14659
|
}, [
|
|
14663
|
-
bu(
|
|
14660
|
+
bu(h.$slots, "custom", {}, void 0, !0)
|
|
14664
14661
|
])) : (st(), ln(Ce, { key: 2 }, [
|
|
14665
14662
|
J(u).status === n.DEFAULT ? (st(), ln(Ce, { key: 0 }, [
|
|
14666
14663
|
ge("img", {
|
|
@@ -14673,7 +14670,7 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14673
14670
|
ge("div", null, [
|
|
14674
14671
|
v(J(Qt), {
|
|
14675
14672
|
type: "primary",
|
|
14676
|
-
onClick:
|
|
14673
|
+
onClick: p
|
|
14677
14674
|
}, {
|
|
14678
14675
|
default: lt(() => [
|
|
14679
14676
|
Gn("+ " + $e(J(Me)("applyPermission")), 1)
|
|
@@ -14700,7 +14697,7 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14700
14697
|
ge("div", null, [
|
|
14701
14698
|
v(J(Qt), {
|
|
14702
14699
|
class: "crane-margin-right10",
|
|
14703
|
-
onClick:
|
|
14700
|
+
onClick: d
|
|
14704
14701
|
}, {
|
|
14705
14702
|
default: lt(() => [
|
|
14706
14703
|
Gn($e(J(Me)("viewApprovalDetail")), 1)
|
|
@@ -14709,7 +14706,7 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14709
14706
|
}),
|
|
14710
14707
|
v(J(Qt), {
|
|
14711
14708
|
type: "primary",
|
|
14712
|
-
onClick:
|
|
14709
|
+
onClick: p
|
|
14713
14710
|
}, {
|
|
14714
14711
|
default: lt(() => [
|
|
14715
14712
|
Gn("+ " + $e(J(Me)("applyMore")), 1)
|
|
@@ -14742,14 +14739,13 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14742
14739
|
]),
|
|
14743
14740
|
v(J(r), {
|
|
14744
14741
|
modelValue: a.value,
|
|
14745
|
-
"onUpdate:modelValue":
|
|
14742
|
+
"onUpdate:modelValue": m[0] || (m[0] = (w) => a.value = w),
|
|
14746
14743
|
permissionList: J(c),
|
|
14747
14744
|
spining: s.value,
|
|
14748
14745
|
workNumber: e.workNumber,
|
|
14749
|
-
|
|
14750
|
-
|
|
14751
|
-
|
|
14752
|
-
}, null, 8, ["modelValue", "permissionList", "spining", "workNumber", "businessCode"])
|
|
14746
|
+
onOnSuccess: m[1] || (m[1] = () => A("onSuccess")),
|
|
14747
|
+
onOnSubmit: f
|
|
14748
|
+
}, null, 8, ["modelValue", "permissionList", "spining", "workNumber"])
|
|
14753
14749
|
]),
|
|
14754
14750
|
_: 3
|
|
14755
14751
|
}, 8, ["theme"]));
|
|
@@ -14759,7 +14755,7 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
|
|
|
14759
14755
|
for (const [o, r] of t)
|
|
14760
14756
|
n[o] = r;
|
|
14761
14757
|
return n;
|
|
14762
|
-
}, w0 = /* @__PURE__ */ Q0(m0, [["__scopeId", "data-v-
|
|
14758
|
+
}, w0 = /* @__PURE__ */ Q0(m0, [["__scopeId", "data-v-c567f4e6"]]), F0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14763
14759
|
__proto__: null,
|
|
14764
14760
|
default: w0
|
|
14765
14761
|
}, Symbol.toStringTag, { value: "Module" }));
|