@yqg/permission 1.0.9-beta.0 → 1.0.9
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-B0Mtpli3.js → apply-modal-CAyKTe_X.js} +471 -471
- package/dist/{checkbox-item-BMkF060v.js → checkbox-item-BlnoVZm5.js} +74 -74
- package/dist/{index-WEDWEtKt.js → index-C8yV-rG_.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +39 -39
- package/dist/{yqg-permission-CBdjaux0.js → yqg-permission-JCO1H4Fv.js} +9 -9
- package/package.json +4 -6
- package/src/App.vue +1 -1
- package/src/axios/index.ts +1 -1
- package/src/components/apply-modal.vue +2 -2
- package/src/components/checkbox-item.vue +5 -3
- package/src/components/success-modal.vue +6 -6
- package/src/components/yqg-permission.vue +1 -0
- package/src/i18n/en-US.ts +2 -2
- package/src/i18n/zh-CH.ts +2 -2
- package/src/typings/index.d.ts +3 -0
- package/src/vite-env.d.ts +1 -1
- package/vite.config.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as ce, c as R, f as he, k as y, i as Yn, v as Zt, e as Ue, p as Je, b as en, s as G, w as ae, h as
|
|
2
|
-
import { _ as w, Q as qn, P as A, G as Y, F as ue, bb as Qn, aE as Jn, aw as tn, bc as ht, aP as K, E as bt, R as We, an as nn, bd as Oe, be as Ce, aD as Ze, bf as Zn, bg as we, bh as _t, bi as Bt, bj as zt, I as eo, a6 as to, a7 as no, bk as oo, au as lo, C as on, K as de, Y as yt, bl as mt, L as Te, bm as ln, J as io, bn as ao, ai as ro, a2 as so, aG as uo, bo as co, N as fo, aH as mo, am as po, aV as vo, bp as go, aL as ho, bq as bo, O as Kt, ae as Be, ad as yo, ag as So, b4 as Ie, br as wo, b6 as qe, b7 as Io } from "./yqg-permission-
|
|
3
|
-
import { p as St, S as Co, T as rt, C as xo, Q as Oo } from "./apply-modal-
|
|
1
|
+
import { d as ce, c as R, f as he, k as y, i as Yn, v as Zt, e as Ue, p as Je, b as en, s as G, w as ae, h as Pe, o as $e, P as Me, F as Ke, j as Ye, W as Gn, r as Le, I as Xn, G as gt, y as ze, a as kn, z as xe, K as ye, R as ke, N as ge, O as Se, L as _e, u as ie, Q as ve, M as Ne, _ as Ht } from "./index-C8yV-rG_.js";
|
|
2
|
+
import { _ as w, Q as qn, P as A, G as Y, F as ue, bb as Qn, aE as Jn, aw as tn, bc as ht, aP as K, E as bt, R as We, an as nn, bd as Oe, be as Ce, aD as Ze, bf as Zn, bg as we, bh as _t, bi as Bt, bj as zt, I as eo, a6 as to, a7 as no, bk as oo, au as lo, C as on, K as de, Y as yt, bl as mt, L as Te, bm as ln, J as io, bn as ao, ai as ro, a2 as so, aG as uo, bo as co, N as fo, aH as mo, am as po, aV as vo, bp as go, aL as ho, bq as bo, O as Kt, ae as Be, ad as yo, ag as So, b4 as Ie, br as wo, b6 as qe, b7 as Io } from "./yqg-permission-JCO1H4Fv.js";
|
|
3
|
+
import { p as St, S as Co, T as rt, C as xo, Q as Oo } from "./apply-modal-CAyKTe_X.js";
|
|
4
4
|
function Wt(e, n) {
|
|
5
5
|
const {
|
|
6
6
|
key: o
|
|
@@ -231,7 +231,7 @@ const Mo = (e) => {
|
|
|
231
231
|
});
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
|
-
}),
|
|
234
|
+
}), Re = (e, n) => {
|
|
235
235
|
let {
|
|
236
236
|
slots: o
|
|
237
237
|
} = n;
|
|
@@ -260,9 +260,9 @@ const Mo = (e) => {
|
|
|
260
260
|
class: l.split(/\s+/).map((s) => `${s}-icon`)
|
|
261
261
|
}, [(t = o.default) === null || t === void 0 ? void 0 : t.call(o)])]);
|
|
262
262
|
};
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
Re.inheritAttrs = !1;
|
|
264
|
+
Re.displayName = "TransBtn";
|
|
265
|
+
Re.props = {
|
|
266
266
|
class: String,
|
|
267
267
|
customizeIcon: A.any,
|
|
268
268
|
customizeIconProps: A.any,
|
|
@@ -845,7 +845,7 @@ const _o = {
|
|
|
845
845
|
props: _o,
|
|
846
846
|
setup(e) {
|
|
847
847
|
const n = G(), o = G(0), t = G(!1), l = wt(), i = R(() => `${e.prefixCls}-selection`), u = R(() => e.open || e.mode === "tags" ? e.searchValue : ""), a = R(() => e.mode === "tags" || e.showSearch && (e.open || t.value)), m = he("");
|
|
848
|
-
|
|
848
|
+
Pe(() => {
|
|
849
849
|
m.value = u.value;
|
|
850
850
|
}), $e(() => {
|
|
851
851
|
ae(m, () => {
|
|
@@ -863,13 +863,13 @@ const _o = {
|
|
|
863
863
|
title: typeof h == "string" || typeof h == "number" ? h.toString() : void 0
|
|
864
864
|
}, [y("span", {
|
|
865
865
|
class: `${i.value}-item-content`
|
|
866
|
-
}, [x]), I && y(
|
|
866
|
+
}, [x]), I && y(Re, {
|
|
867
867
|
class: `${i.value}-item-remove`,
|
|
868
868
|
onMousedown: jt,
|
|
869
869
|
onClick: P,
|
|
870
870
|
customizeIcon: e.removeIcon
|
|
871
871
|
}, {
|
|
872
|
-
default: () => [
|
|
872
|
+
default: () => [Me("×")]
|
|
873
873
|
})]);
|
|
874
874
|
}
|
|
875
875
|
function s(h, x, O, I, P, D) {
|
|
@@ -969,7 +969,7 @@ const _o = {
|
|
|
969
969
|
ref: n,
|
|
970
970
|
class: `${i.value}-search-mirror`,
|
|
971
971
|
"aria-hidden": !0
|
|
972
|
-
}, [m.value,
|
|
972
|
+
}, [m.value, Me(" ")])]), L = y(et, {
|
|
973
973
|
prefixCls: `${i.value}-overflow`,
|
|
974
974
|
data: O,
|
|
975
975
|
renderItem: f,
|
|
@@ -1575,7 +1575,7 @@ const Zo = ce({
|
|
|
1575
1575
|
N(e.open);
|
|
1576
1576
|
});
|
|
1577
1577
|
const V = R(() => !e.notFoundContent && e.emptyOptions);
|
|
1578
|
-
|
|
1578
|
+
Pe(() => {
|
|
1579
1579
|
$.value = T.value, (e.disabled || V.value && $.value && e.mode === "combobox") && ($.value = !1);
|
|
1580
1580
|
});
|
|
1581
1581
|
const j = R(() => V.value ? !1 : $.value), z = (c) => {
|
|
@@ -1720,8 +1720,8 @@ const Zo = ce({
|
|
|
1720
1720
|
showArrow: Ge,
|
|
1721
1721
|
inputIcon: nt,
|
|
1722
1722
|
// Others
|
|
1723
|
-
disabled:
|
|
1724
|
-
loading:
|
|
1723
|
+
disabled: De,
|
|
1724
|
+
loading: Fe,
|
|
1725
1725
|
getInputElement: Mt,
|
|
1726
1726
|
getPopupContainer: xn,
|
|
1727
1727
|
placement: On,
|
|
@@ -1733,20 +1733,20 @@ const Zo = ce({
|
|
|
1733
1733
|
dropdownMatchSelectWidth: Pn,
|
|
1734
1734
|
dropdownRender: Rn,
|
|
1735
1735
|
dropdownAlign: Dn,
|
|
1736
|
-
showAction:
|
|
1736
|
+
showAction: bi,
|
|
1737
1737
|
direction: Fn,
|
|
1738
1738
|
// Tags
|
|
1739
|
-
tokenSeparators:
|
|
1739
|
+
tokenSeparators: yi,
|
|
1740
1740
|
tagRender: Nn,
|
|
1741
1741
|
optionLabelRender: An,
|
|
1742
1742
|
// Events
|
|
1743
|
-
onPopupScroll:
|
|
1744
|
-
onDropdownVisibleChange:
|
|
1745
|
-
onFocus:
|
|
1746
|
-
onBlur:
|
|
1747
|
-
onKeyup:
|
|
1748
|
-
onKeydown:
|
|
1749
|
-
onMousedown:
|
|
1743
|
+
onPopupScroll: Si,
|
|
1744
|
+
onDropdownVisibleChange: wi,
|
|
1745
|
+
onFocus: Ii,
|
|
1746
|
+
onBlur: Ci,
|
|
1747
|
+
onKeyup: xi,
|
|
1748
|
+
onKeydown: Oi,
|
|
1749
|
+
onMousedown: $i,
|
|
1750
1750
|
onClear: ot,
|
|
1751
1751
|
omitDomProps: lt,
|
|
1752
1752
|
getRawInputElement: Pt,
|
|
@@ -1765,15 +1765,15 @@ const Zo = ce({
|
|
|
1765
1765
|
}), lt == null || lt.forEach((Ee) => {
|
|
1766
1766
|
delete it[Ee];
|
|
1767
1767
|
});
|
|
1768
|
-
const Ft = Ge !== void 0 ? Ge :
|
|
1768
|
+
const Ft = Ge !== void 0 ? Ge : Fe || !i.value && q !== "combobox";
|
|
1769
1769
|
let Nt;
|
|
1770
|
-
Ft && (Nt = y(
|
|
1770
|
+
Ft && (Nt = y(Re, {
|
|
1771
1771
|
class: ue(`${d}-arrow`, {
|
|
1772
|
-
[`${d}-arrow-loading`]:
|
|
1772
|
+
[`${d}-arrow-loading`]: Fe
|
|
1773
1773
|
}),
|
|
1774
1774
|
customizeIcon: nt,
|
|
1775
1775
|
customizeIconProps: {
|
|
1776
|
-
loading:
|
|
1776
|
+
loading: Fe,
|
|
1777
1777
|
searchValue: C.value,
|
|
1778
1778
|
open: $.value,
|
|
1779
1779
|
focused: x.value,
|
|
@@ -1787,12 +1787,12 @@ const Zo = ce({
|
|
|
1787
1787
|
values: Xe
|
|
1788
1788
|
}), X("", !1, !1);
|
|
1789
1789
|
};
|
|
1790
|
-
!
|
|
1790
|
+
!De && se && (Xe.length || C.value) && (At = y(Re, {
|
|
1791
1791
|
class: `${d}-clear`,
|
|
1792
1792
|
onMousedown: Kn,
|
|
1793
1793
|
customizeIcon: fe
|
|
1794
1794
|
}, {
|
|
1795
|
-
default: () => [
|
|
1795
|
+
default: () => [Me("×")]
|
|
1796
1796
|
}));
|
|
1797
1797
|
const Wn = y(Bn, {
|
|
1798
1798
|
ref: S
|
|
@@ -1804,14 +1804,14 @@ const Zo = ce({
|
|
|
1804
1804
|
[`${d}-single`]: !i.value,
|
|
1805
1805
|
[`${d}-allow-clear`]: se,
|
|
1806
1806
|
[`${d}-show-arrow`]: Ft,
|
|
1807
|
-
[`${d}-disabled`]:
|
|
1808
|
-
[`${d}-loading`]:
|
|
1807
|
+
[`${d}-disabled`]: De,
|
|
1808
|
+
[`${d}-loading`]: Fe,
|
|
1809
1809
|
[`${d}-open`]: $.value,
|
|
1810
1810
|
[`${d}-customize-input`]: Rt,
|
|
1811
1811
|
[`${d}-show-search`]: u.value
|
|
1812
1812
|
}), Vt = y(Po, {
|
|
1813
1813
|
ref: f,
|
|
1814
|
-
disabled:
|
|
1814
|
+
disabled: De,
|
|
1815
1815
|
prefixCls: d,
|
|
1816
1816
|
visible: j.value,
|
|
1817
1817
|
popupElement: Wn,
|
|
@@ -2502,7 +2502,7 @@ const fl = ce({
|
|
|
2502
2502
|
passive: !1
|
|
2503
2503
|
} : !1), r.value.removeEventListener("DOMMouseScroll", X), r.value.removeEventListener("MozMousePixelScroll", U));
|
|
2504
2504
|
};
|
|
2505
|
-
|
|
2505
|
+
Pe(() => {
|
|
2506
2506
|
ze(() => {
|
|
2507
2507
|
r.value && (M(), r.value.addEventListener("wheel", Q, Oe ? {
|
|
2508
2508
|
passive: !1
|
|
@@ -2853,7 +2853,7 @@ const bl = ce({
|
|
|
2853
2853
|
style: pe
|
|
2854
2854
|
}), [y("div", {
|
|
2855
2855
|
class: `${B}-content`
|
|
2856
|
-
}, [X ? X(W) : Z]), We(N) || E, le && y(
|
|
2856
|
+
}, [X ? X(W) : Z]), We(N) || E, le && y(Re, {
|
|
2857
2857
|
class: `${u.value}-option-state`,
|
|
2858
2858
|
customizeIcon: N,
|
|
2859
2859
|
customizeIconProps: {
|
|
@@ -2921,7 +2921,7 @@ function wl(e, n, o) {
|
|
|
2921
2921
|
}, {
|
|
2922
2922
|
immediate: !0,
|
|
2923
2923
|
deep: !0
|
|
2924
|
-
}),
|
|
2924
|
+
}), Pe(() => {
|
|
2925
2925
|
const a = u.value, m = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), s = o.value;
|
|
2926
2926
|
function f(p) {
|
|
2927
2927
|
let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
@@ -3153,7 +3153,7 @@ const Rl = ce({
|
|
|
3153
3153
|
});
|
|
3154
3154
|
});
|
|
3155
3155
|
}), $ = R(() => new Set(C.value.map((b) => b.value)));
|
|
3156
|
-
|
|
3156
|
+
Pe(() => {
|
|
3157
3157
|
var b;
|
|
3158
3158
|
if (e.mode === "combobox") {
|
|
3159
3159
|
const c = (b = C.value[0]) === null || b === void 0 ? void 0 : b.value;
|
|
@@ -3169,7 +3169,7 @@ const Rl = ce({
|
|
|
3169
3169
|
[r.value.label]: d
|
|
3170
3170
|
};
|
|
3171
3171
|
}, V = G();
|
|
3172
|
-
|
|
3172
|
+
Pe(() => {
|
|
3173
3173
|
if (e.mode !== "tags") {
|
|
3174
3174
|
V.value = x.value;
|
|
3175
3175
|
return;
|
|
@@ -3266,7 +3266,7 @@ const Rl = ce({
|
|
|
3266
3266
|
listHeight: xe(e, "listHeight"),
|
|
3267
3267
|
listItemHeight: xe(e, "listItemHeight"),
|
|
3268
3268
|
childrenAsData: a
|
|
3269
|
-
}))), process.env.NODE_ENV !== "production" &&
|
|
3269
|
+
}))), process.env.NODE_ENV !== "production" && Pe(() => {
|
|
3270
3270
|
$l(e);
|
|
3271
3271
|
}, {
|
|
3272
3272
|
flush: "post"
|
|
@@ -4390,7 +4390,7 @@ const Jl = (e) => {
|
|
|
4390
4390
|
placement: Be(),
|
|
4391
4391
|
status: Be(),
|
|
4392
4392
|
"onUpdate:value": So()
|
|
4393
|
-
}), Jt = "SECRET_COMBOBOX_MODE_DO_NOT_USE",
|
|
4393
|
+
}), Jt = "SECRET_COMBOBOX_MODE_DO_NOT_USE", be = ce({
|
|
4394
4394
|
compatConfig: {
|
|
4395
4395
|
MODE: 3
|
|
4396
4396
|
},
|
|
@@ -4495,14 +4495,14 @@ const Jl = (e) => {
|
|
|
4495
4495
|
hasFeedback: J,
|
|
4496
4496
|
feedbackIcon: le,
|
|
4497
4497
|
showArrow: W.value
|
|
4498
|
-
}), l),
|
|
4498
|
+
}), l), De = Ze(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), Fe = ue(b || c, {
|
|
4499
4499
|
[`${h.value}-dropdown-${x.value}`]: x.value === "rtl"
|
|
4500
4500
|
}, X.value);
|
|
4501
4501
|
return Q(y(Rl, Y(Y(Y({
|
|
4502
4502
|
ref: u,
|
|
4503
4503
|
virtual: d,
|
|
4504
4504
|
dropdownMatchSelectWidth: F
|
|
4505
|
-
},
|
|
4505
|
+
}, De), o), {}, {
|
|
4506
4506
|
showSearch: (te = e.showSearch) !== null && te !== void 0 ? te : (oe = T == null ? void 0 : T.value) === null || oe === void 0 ? void 0 : oe.showSearch,
|
|
4507
4507
|
placeholder: B,
|
|
4508
4508
|
listHeight: me,
|
|
@@ -4517,11 +4517,11 @@ const Jl = (e) => {
|
|
|
4517
4517
|
notFoundContent: Z,
|
|
4518
4518
|
class: [k.value, o.class],
|
|
4519
4519
|
getPopupContainer: C == null ? void 0 : C.value,
|
|
4520
|
-
dropdownClassName:
|
|
4520
|
+
dropdownClassName: Fe,
|
|
4521
4521
|
onChange: ee,
|
|
4522
4522
|
onBlur: g,
|
|
4523
4523
|
id: E,
|
|
4524
|
-
dropdownRender:
|
|
4524
|
+
dropdownRender: De.dropdownRender || l.dropdownRender,
|
|
4525
4525
|
transitionName: L.value,
|
|
4526
4526
|
children: (re = l.default) === null || re === void 0 ? void 0 : re.call(l),
|
|
4527
4527
|
tagRender: e.tagRender || l.tagRender,
|
|
@@ -4535,15 +4535,15 @@ const Jl = (e) => {
|
|
|
4535
4535
|
};
|
|
4536
4536
|
}
|
|
4537
4537
|
});
|
|
4538
|
-
|
|
4539
|
-
return e.component(
|
|
4538
|
+
be.install = function(e) {
|
|
4539
|
+
return e.component(be.name, be), e.component(be.Option.displayName, be.Option), e.component(be.OptGroup.displayName, be.OptGroup), e;
|
|
4540
4540
|
};
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBlVNLTgJBEK1qOrjtI4w34AhwAuQEZBJc4yyVBbCRxE2HrZoQT4CcAI7AEeYIbDUM5asGZYj0KJX0J1WvX9eXqUIm/qUpbNp6ZzHT+yzNY1iOGR796w2sc1w3B5Ujoc5D1ns/hzcxImb2OPJPqV3rwn0NYh/DR4mEJBGhxShLN7pEZAF1EsPbmAExr7C1kad9KGy6oF/RpR6R1FIGkzAvw4KPqqv4OC4jP3N1LpZ6R55aGiJd7JES4SF+CquK5JdHWnKE48o6YenjcCw8PtGTbMqtwGWSQ9/8X0p9ZY+M7DShLNKCOq9m2Cb7Ahy9P1N+m1eNgsrEz7AXJ7qQ7Cf/3IBLw71rxQzApIIkUUyAsgzDWyXSEhdcm2tY6N4xuqXxDTwrsCkGXT/VPtuyWSqHuaJtQ8cBuUkH2e0IgDcAmzEeteHD6SDr3eHMoHLKYT/IruuIF0PaR+UczjaIc4rLGpguRmfFTN1dUNncHAZyDEUoP0iclV0nxgLbz+joG32rxeGTJKKs6uFfXaw50XDK2C8hpcmbpfjHLAAAAABJRU5ErkJggg==", ii = { class: "crane-checkbox-line" }, ai = { class: "crane-flex-center crane-checkbox-label" }, ri = { class: "crane-text-overflow" },
|
|
4541
|
+
be.Option;
|
|
4542
|
+
be.OptGroup;
|
|
4543
|
+
const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBlVNLTgJBEK1qOrjtI4w34AhwAuQEZBJc4yyVBbCRxE2HrZoQT4CcAI7AEeYIbDUM5asGZYj0KJX0J1WvX9eXqUIm/qUpbNp6ZzHT+yzNY1iOGR796w2sc1w3B5Ujoc5D1ns/hzcxImb2OPJPqV3rwn0NYh/DR4mEJBGhxShLN7pEZAF1EsPbmAExr7C1kad9KGy6oF/RpR6R1FIGkzAvw4KPqqv4OC4jP3N1LpZ6R55aGiJd7JES4SF+CquK5JdHWnKE48o6YenjcCw8PtGTbMqtwGWSQ9/8X0p9ZY+M7DShLNKCOq9m2Cb7Ahy9P1N+m1eNgsrEz7AXJ7qQ7Cf/3IBLw71rxQzApIIkUUyAsgzDWyXSEhdcm2tY6N4xuqXxDTwrsCkGXT/VPtuyWSqHuaJtQ8cBuUkH2e0IgDcAmzEeteHD6SDr3eHMoHLKYT/IruuIF0PaR+UczjaIc4rLGpguRmfFTN1dUNncHAZyDEUoP0iclV0nxgLbz+joG32rxeGTJKKs6uFfXaw50XDK2C8hpcmbpfjHLAAAAABJRU5ErkJggg==", ii = { class: "crane-checkbox-line" }, ai = { class: "crane-flex-center crane-checkbox-label" }, ri = { style: { "max-width": "400px" } }, si = { class: "crane-text-overflow" }, ui = { key: 0 }, ci = { key: 1 }, di = { style: { "max-width": "400px" } }, fi = { style: { "max-width": "400px" } }, mi = { class: "crane-flex-center crane-margin-left-4" }, pi = ["src"], vi = { class: "crane-week-color crane-margin-left-4" }, gi = {
|
|
4544
4544
|
key: 2,
|
|
4545
4545
|
class: "crane-week-color crane-margin-left-12"
|
|
4546
|
-
},
|
|
4546
|
+
}, hi = /* @__PURE__ */ ce({
|
|
4547
4547
|
__name: "checkbox-item",
|
|
4548
4548
|
props: {
|
|
4549
4549
|
item: {
|
|
@@ -4589,42 +4589,42 @@ const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
|
|
|
4589
4589
|
}, m = (r) => {
|
|
4590
4590
|
r.target.checked && (i.value = u(o.item));
|
|
4591
4591
|
};
|
|
4592
|
-
return (r, s) => (
|
|
4592
|
+
return (r, s) => (ye(), ke("div", ii, [
|
|
4593
4593
|
y(ie(xo), {
|
|
4594
4594
|
value: e.item.roleId,
|
|
4595
4595
|
disabled: ["OWNER", "PENDING", "NO"].includes(ie(o).item.businessApplyType),
|
|
4596
4596
|
onChange: m
|
|
4597
4597
|
}, {
|
|
4598
4598
|
default: ge(() => [
|
|
4599
|
-
|
|
4600
|
-
e.item.securityLevel ? (
|
|
4599
|
+
Se("div", ai, [
|
|
4600
|
+
e.item.securityLevel ? (ye(), _e(ie(rt), {
|
|
4601
4601
|
key: 0,
|
|
4602
4602
|
bordered: !1,
|
|
4603
4603
|
color: n[e.item.securityLevel].color,
|
|
4604
4604
|
class: "crane-tag-position"
|
|
4605
4605
|
}, {
|
|
4606
4606
|
default: ge(() => [
|
|
4607
|
-
|
|
4607
|
+
Me(ve(n[e.item.securityLevel].text), 1)
|
|
4608
4608
|
]),
|
|
4609
4609
|
_: 1
|
|
4610
4610
|
}, 8, ["color"])) : Ne("", !0),
|
|
4611
|
-
|
|
4611
|
+
Se("span", null, ve(ie(Ie)(`operationType.${e.item.operationType}`)) + "| ", 1),
|
|
4612
4612
|
y(ie(qe), null, {
|
|
4613
4613
|
content: ge(() => [
|
|
4614
|
-
|
|
4614
|
+
Se("div", ri, ve(e.item.name), 1)
|
|
4615
4615
|
]),
|
|
4616
4616
|
default: ge(() => [
|
|
4617
|
-
|
|
4617
|
+
Se("span", si, ve(e.item.name), 1)
|
|
4618
4618
|
]),
|
|
4619
4619
|
_: 1
|
|
4620
4620
|
}),
|
|
4621
|
-
e.item.businessApplyType && e.item.businessApplyType !== "TEMP_OWNER" ? (
|
|
4621
|
+
e.item.businessApplyType && e.item.businessApplyType !== "TEMP_OWNER" ? (ye(), _e(ie(rt), {
|
|
4622
4622
|
key: 1,
|
|
4623
4623
|
bordered: !1,
|
|
4624
4624
|
class: Ht(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING", "TEMP_OWNER"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
|
|
4625
4625
|
}, {
|
|
4626
4626
|
default: ge(() => [
|
|
4627
|
-
|
|
4627
|
+
Me(ve(ie(l)[e.item.businessApplyType]), 1)
|
|
4628
4628
|
]),
|
|
4629
4629
|
_: 1
|
|
4630
4630
|
}, 8, ["class"])) : Ne("", !0),
|
|
@@ -4632,17 +4632,17 @@ const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
|
|
|
4632
4632
|
content: ge(() => {
|
|
4633
4633
|
var f, p, S, h;
|
|
4634
4634
|
return [
|
|
4635
|
-
((p = (f = e.item) == null ? void 0 : f.ownStatusVO) == null ? void 0 : p.dayDiff) > 0 ? (
|
|
4635
|
+
((p = (f = e.item) == null ? void 0 : f.ownStatusVO) == null ? void 0 : p.dayDiff) > 0 ? (ye(), ke("span", ui, ve(ie(Ie)("lastDays", { count: (h = (S = e.item) == null ? void 0 : S.ownStatusVO) == null ? void 0 : h.dayDiff })), 1)) : (ye(), ke("span", ci, ve(ie(Ie)("taday")), 1))
|
|
4636
4636
|
];
|
|
4637
4637
|
}),
|
|
4638
4638
|
default: ge(() => [
|
|
4639
|
-
e.item.businessApplyType === "TEMP_OWNER" ? (
|
|
4639
|
+
e.item.businessApplyType === "TEMP_OWNER" ? (ye(), _e(ie(rt), {
|
|
4640
4640
|
key: 0,
|
|
4641
4641
|
bordered: !1,
|
|
4642
4642
|
class: Ht(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
|
|
4643
4643
|
}, {
|
|
4644
4644
|
default: ge(() => [
|
|
4645
|
-
|
|
4645
|
+
Me(ve(ie(l)[e.item.businessApplyType]), 1)
|
|
4646
4646
|
]),
|
|
4647
4647
|
_: 1
|
|
4648
4648
|
}, 8, ["class"])) : Ne("", !0)
|
|
@@ -4653,34 +4653,34 @@ const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
|
|
|
4653
4653
|
]),
|
|
4654
4654
|
_: 1
|
|
4655
4655
|
}, 8, ["value", "disabled"]),
|
|
4656
|
-
e.item.desc ? (
|
|
4656
|
+
e.item.desc ? (ye(), _e(ie(qe), { key: 0 }, {
|
|
4657
4657
|
content: ge(() => [
|
|
4658
|
-
|
|
4658
|
+
Se("div", di, ve(e.item.desc), 1)
|
|
4659
4659
|
]),
|
|
4660
4660
|
default: ge(() => [
|
|
4661
4661
|
y(ie(Oo), { class: "crane-week-color" })
|
|
4662
4662
|
]),
|
|
4663
4663
|
_: 1
|
|
4664
4664
|
})) : Ne("", !0),
|
|
4665
|
-
e.item.relatedDepartments ? (
|
|
4665
|
+
e.item.relatedDepartments ? (ye(), _e(ie(qe), { key: 1 }, {
|
|
4666
4666
|
content: ge(() => [
|
|
4667
|
-
|
|
4667
|
+
Se("div", fi, ve(ie(Ie)("adaptDepartment")) + ":" + ve(e.item.relatedDepartments.map((f) => f.name).join("、")), 1)
|
|
4668
4668
|
]),
|
|
4669
4669
|
default: ge(() => [
|
|
4670
|
-
|
|
4671
|
-
|
|
4670
|
+
Se("span", mi, [
|
|
4671
|
+
Se("img", {
|
|
4672
4672
|
src: ie(li),
|
|
4673
4673
|
height: "14",
|
|
4674
4674
|
width: "14"
|
|
4675
|
-
}, null, 8,
|
|
4676
|
-
|
|
4675
|
+
}, null, 8, pi),
|
|
4676
|
+
Se("span", vi, ve(e.item.relatedDepartments.length), 1)
|
|
4677
4677
|
])
|
|
4678
4678
|
]),
|
|
4679
4679
|
_: 1
|
|
4680
4680
|
})) : Ne("", !0),
|
|
4681
|
-
e.checkedIds.includes(e.item.roleId) ? (
|
|
4682
|
-
|
|
4683
|
-
y(ie(
|
|
4681
|
+
e.checkedIds.includes(e.item.roleId) ? (ye(), ke("span", gi, [
|
|
4682
|
+
Me(ve(ie(Ie)("availableTime")) + ": ", 1),
|
|
4683
|
+
y(ie(be), {
|
|
4684
4684
|
value: i.value,
|
|
4685
4685
|
"onUpdate:value": s[0] || (s[0] = (f) => i.value = f),
|
|
4686
4686
|
style: { width: "100px" },
|
|
@@ -4691,7 +4691,7 @@ const li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
|
|
|
4691
4691
|
])) : Ne("", !0)
|
|
4692
4692
|
]));
|
|
4693
4693
|
}
|
|
4694
|
-
}),
|
|
4694
|
+
}), Pi = /* @__PURE__ */ Io(hi, [["__scopeId", "data-v-54cde79d"]]);
|
|
4695
4695
|
export {
|
|
4696
|
-
|
|
4696
|
+
Pi as default
|
|
4697
4697
|
};
|
|
@@ -6069,7 +6069,7 @@ function bu() {
|
|
|
6069
6069
|
If();
|
|
6070
6070
|
}
|
|
6071
6071
|
process.env.NODE_ENV !== "production" && bu();
|
|
6072
|
-
const Ou = /* @__PURE__ */ vc(() => import("./yqg-permission-
|
|
6072
|
+
const Ou = /* @__PURE__ */ vc(() => import("./yqg-permission-JCO1H4Fv.js").then((e) => e.bs)), Du = (e) => {
|
|
6073
6073
|
customElements.define(
|
|
6074
6074
|
e,
|
|
6075
6075
|
/* @__PURE__ */ iu(Ou, {
|
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 { $ 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-debef759]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-debef759]{margin:10px}.crane-margin-right10[data-v-debef759]{margin-right:10px}.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}.crane-flex-center[data-v-54cde79d]{display:flex;align-items:center}.crane-checkbox-line[data-v-54cde79d]{margin-bottom:12px;display:flex;align-items:center}.crane-checkbox-line[data-v-54cde79d]:last-child{margin-bottom:0}.crane-checkbox-label[data-v-54cde79d]{max-width:346px}.crane-tag-position[data-v-54cde79d]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-54cde79d]{margin-right:0}.crane-margin-left-4[data-v-54cde79d]{margin-left:4px}.crane-margin-right-4[data-v-54cde79d]{margin-right:4px}.crane-margin-left-12[data-v-54cde79d]{margin-left:12px}.crane-disabled-color[data-v-54cde79d]{color:#c9cdd4}.crane-week-color[data-v-54cde79d]{color:#86909c}.crane-text-overflow[data-v-54cde79d]{flex:1;overflow:hidden;text-overflow:ellipsis}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
+
import { $ as f } from "./index-C8yV-rG_.js";
|
|
3
3
|
export {
|
|
4
4
|
f as default
|
|
5
5
|
};
|