@yqg/permission 1.3.1-alpha.0 → 1.3.2-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,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-CHKs7hG7.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-CEJEsvl5.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-CvLY5Rbl.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-D3Frqfx8.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-BmkUdNAO.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-TXUFbfxZ.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-PEBPXz6I.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-CSpYfIii.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-CEJEsvl5.js").then((e) => e.b8)), Nf = (e) => {
4947
+ const If = /* @__PURE__ */ qo(() => import("./yqg-permission-TXUFbfxZ.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,
@@ -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-CEJEsvl5.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-CHKs7hG7.js";
3
- import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-D3Frqfx8.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-TXUFbfxZ.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-BmkUdNAO.js";
3
+ import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-CSpYfIii.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-e759cf0e]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-e759cf0e]{margin:10px}.crane-margin-right10[data-v-e759cf0e]{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-aa5db75d]{color:#ff4d4f;font-size:14px;margin-left:8px;font-weight:400}[data-v-aa5db75d] .yqg-permission-tree-list{margin-top:4px}[data-v-aa5db75d] .yqg-permission-tree-node-selected{background:none!important}[data-v-aa5db75d] .yqg-permission-tree-checkbox{margin:0!important}[data-v-aa5db75d] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-aa5db75d] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-aa5db75d] .yqg-permission-tree-treenode,[data-v-aa5db75d] .yqg-permission-tree-node-content-wrapper-normal,[data-v-aa5db75d] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-990a59cb]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-990a59cb] .crane-category-wraper label{font-size:12px!important}[data-v-990a59cb] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-990a59cb] .yqg-permission-form-item{margin-bottom:18px}[data-v-990a59cb] .yqg-permission-form-item-required{font-size:12px!important}[data-v-990a59cb] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-990a59cb]{font-size:14px;font-weight:700}.crane-required[data-v-990a59cb]: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-990a59cb]{color:#86909c;font-size:12px}.crane-category-line[data-v-990a59cb]{height:1px;background-color:#c9cdd4;margin:10px 0}.crane-flex-center[data-v-57b8c473]{display:flex;align-items:center;white-space:nowrap}.permission-item-wraper[data-v-57b8c473]{padding-right:32px}.crane-checkbox-line[data-v-57b8c473]{line-height:28px;display:flex;align-items:center}.crane-tag-position[data-v-57b8c473]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-57b8c473]{margin-right:0}.crane-margin-left-4[data-v-57b8c473]{margin-left:4px}.crane-margin-right-4[data-v-57b8c473]{margin-right:4px}.crane-margin-left-12[data-v-57b8c473]{margin-left:12px}.crane-disabled-color[data-v-57b8c473]{color:#c9cdd4}.crane-weak-color[data-v-57b8c473]{color:#86909c}.crane-text-overflow[data-v-57b8c473]{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-CHKs7hG7.js";
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('.crane-wraper[data-v-bb13b134]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-bb13b134]{margin:10px}.crane-margin-right10[data-v-bb13b134]{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}[data-v-f16940d8] .yqg-permission-tree-list{margin-top:4px}[data-v-f16940d8] .yqg-permission-tree-node-selected{background:none!important}[data-v-f16940d8] .yqg-permission-tree-checkbox{margin:0!important}[data-v-f16940d8] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-f16940d8] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-f16940d8] .yqg-permission-tree-treenode,[data-v-f16940d8] .yqg-permission-tree-node-content-wrapper-normal,[data-v-f16940d8] .yqg-permission-tree-title{width:100%!important}.crane-category-wraper[data-v-990a59cb]{margin-top:16px;padding:12px;padding-bottom:1px!important;border-radius:4px;background-color:#f2f3f5}[data-v-990a59cb] .crane-category-wraper label{font-size:12px!important}[data-v-990a59cb] .yqg-permission-form-item-explain-error{font-size:12px}[data-v-990a59cb] .yqg-permission-form-item{margin-bottom:18px}[data-v-990a59cb] .yqg-permission-form-item-required{font-size:12px!important}[data-v-990a59cb] .yqg-permission-form-item-required:before{display:none!important}.crane-required[data-v-990a59cb]{font-size:14px;font-weight:700}.crane-required[data-v-990a59cb]: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-990a59cb]{color:#86909c;font-size:12px}.crane-category-line[data-v-990a59cb]{height:1px;background-color:#c9cdd4;margin:10px 0}.crane-flex-center[data-v-3b2a3c00]{display:flex;align-items:center;white-space:nowrap}.permission-item-wraper[data-v-3b2a3c00]{padding-right:32px}.crane-checkbox-line[data-v-3b2a3c00]{line-height:28px;display:flex;align-items:center}.crane-tag-position[data-v-3b2a3c00]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-3b2a3c00]{margin-right:0}.crane-margin-left-4[data-v-3b2a3c00]{margin-left:4px}.crane-margin-right-4[data-v-3b2a3c00]{margin-right:4px}.crane-margin-left-12[data-v-3b2a3c00]{margin-left:12px}.crane-disabled-color[data-v-3b2a3c00]{color:#c9cdd4}.crane-weak-color[data-v-3b2a3c00]{color:#86909c}.crane-text-overflow[data-v-3b2a3c00]{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-BmkUdNAO.js";
3
3
  export {
4
4
  f as default
5
5
  };
@@ -1,7 +1,7 @@
1
- import { c as ge, Y as Te, a as j, a1 as Ge, b as nt, _ as P, ae as We, aX as Me, aZ as He, P as ne, $ as Re, ar as at, as as it, aE as st, aY as rt, a_ as ct, a0 as je, 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 W, aR as we, aS as At } from "./yqg-permission-CEJEsvl5.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 _e, e as N, F as Be, s as de, b as Ne, y as oe, r as Ye, K as q, P as Ae, L as Oe, M as J, S as xe, R as H, O as xt, u as B, U as ue, N as G, a0 as Vt, Y as Nt } from "./index-CHKs7hG7.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-D3Frqfx8.js";
4
- import { u as $t, b as Lt, T as Mt, i as Fe, 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-CvLY5Rbl.js";
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 Re, 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, aR as we, aS as At } from "./yqg-permission-TXUFbfxZ.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 Be, s as de, b as Ve, y as oe, r as Ye, K as q, N as Ae, L as Oe, M as J, S as Te, R as H, O as xt, u as B, U as ue, P as W, a0 as Vt, Y as Nt } from "./index-BmkUdNAO.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-CSpYfIii.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-PEBPXz6I.js";
5
5
  function Yt() {
6
6
  return /(mac\sos|macintosh)/i.test(navigator.appVersion);
7
7
  }
@@ -44,10 +44,10 @@ const Zt = pe({
44
44
  const x = m.value.length;
45
45
  for (let y = 0; y < x; y += 1) {
46
46
  const F = (r + y * O + x) % x, {
47
- group: _,
47
+ group: j,
48
48
  data: L
49
49
  } = m.value[F];
50
- if (!_ && !L.disabled)
50
+ if (!j && !L.disabled)
51
51
  return F;
52
52
  }
53
53
  return -1;
@@ -79,11 +79,11 @@ const Zt = pe({
79
79
  } = x;
80
80
  return y[n.fieldNames.value] === r;
81
81
  });
82
- O !== -1 && (w(O), _e(() => {
82
+ O !== -1 && (w(O), je(() => {
83
83
  a(O);
84
84
  }));
85
85
  }
86
- t.open && _e(() => {
86
+ t.open && je(() => {
87
87
  var r;
88
88
  (r = p.current) === null || r === void 0 || r.scrollTo(void 0);
89
89
  });
@@ -103,10 +103,10 @@ const Zt = pe({
103
103
  value: y
104
104
  } = x, {
105
105
  group: F
106
- } = O, _ = Et(x, !0), L = I(O);
107
- return O ? N("div", j(j({
106
+ } = O, j = Et(x, !0), L = I(O);
107
+ return O ? N("div", _(_({
108
108
  "aria-label": typeof L == "string" && !F ? L : null
109
- }, _), {}, {
109
+ }, j), {}, {
110
110
  key: r,
111
111
  role: F ? "presentation" : "option",
112
112
  id: `${t.id}_list_${r}`,
@@ -153,7 +153,7 @@ const Zt = pe({
153
153
  } = t, {
154
154
  menuItemSelectedIcon: y,
155
155
  fieldNames: F,
156
- virtual: _,
156
+ virtual: j,
157
157
  listHeight: L,
158
158
  listItemHeight: he
159
159
  } = n, Y = o.option, {
@@ -181,7 +181,7 @@ const Zt = pe({
181
181
  fullHeight: !1,
182
182
  onMousedown: f,
183
183
  onScroll: x,
184
- virtual: _
184
+ virtual: j
185
185
  }, {
186
186
  default: (M, ae) => {
187
187
  var ie;
@@ -207,14 +207,14 @@ const Zt = pe({
207
207
  style: Se,
208
208
  class: l,
209
209
  className: s
210
- } = U, u = Jt(U, ["disabled", "title", "children", "style", "class", "className"]), h = Te(u, be), d = c(C), D = `${v.value}-option`, le = ge(v.value, D, l, s, {
210
+ } = U, u = Jt(U, ["disabled", "title", "children", "style", "class", "className"]), h = Ne(u, be), d = c(C), D = `${v.value}-option`, le = ge(v.value, D, l, s, {
211
211
  [`${D}-grouped`]: ve,
212
212
  [`${D}-active`]: z === ae && !Q,
213
213
  [`${D}-disabled`]: Q,
214
214
  [`${D}-selected`]: d
215
215
  }), K = I(M), me = !y || typeof y == "function" || d, T = typeof K == "number" ? K : K || C;
216
216
  let Ie = ze(T) ? T.toString() : void 0;
217
- return se !== void 0 && (Ie = se), N("div", j(j({}, h), {}, {
217
+ return se !== void 0 && (Ie = se), N("div", _(_({}, h), {}, {
218
218
  "aria-selected": d,
219
219
  class: le,
220
220
  title: Ie,
@@ -295,7 +295,7 @@ function ll(e, g, i) {
295
295
  }, {
296
296
  immediate: !0,
297
297
  deep: !0
298
- }), Ne(() => {
298
+ }), Ve(() => {
299
299
  const m = v.value, p = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), a = i.value;
300
300
  function b(V) {
301
301
  let w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
@@ -441,7 +441,7 @@ const sl = pe({
441
441
  attrs: o,
442
442
  slots: t
443
443
  } = g;
444
- const n = Ht(oe(e, "id")), v = A(() => jt(e.mode)), m = A(() => !!(!e.options && e.children)), p = A(() => e.filterOption === void 0 && e.mode === "combobox" ? !1 : e.filterOption), f = A(() => _t(e.fieldNames, m.value)), [a, b] = Me("", {
444
+ const n = Ht(oe(e, "id")), v = A(() => _t(e.mode)), m = A(() => !!(!e.options && e.children)), p = A(() => e.filterOption === void 0 && e.mode === "combobox" ? !1 : e.filterOption), f = A(() => jt(e.fieldNames, m.value)), [a, b] = Me("", {
445
445
  value: A(() => e.searchValue !== void 0 ? e.searchValue : e.inputValue),
446
446
  postState: (l) => l || ""
447
447
  }), V = ll(oe(e, "options"), oe(e, "children"), f), {
@@ -479,7 +479,7 @@ const sl = pe({
479
479
  });
480
480
  });
481
481
  }), x = A(() => new Set(R.value.map((l) => l.value)));
482
- Ne(() => {
482
+ Ve(() => {
483
483
  var l;
484
484
  if (e.mode === "combobox") {
485
485
  const s = (l = R.value[0]) === null || l === void 0 ? void 0 : l.value;
@@ -495,7 +495,7 @@ const sl = pe({
495
495
  [f.value.label]: u
496
496
  };
497
497
  }, F = de();
498
- Ne(() => {
498
+ Ve(() => {
499
499
  if (e.mode !== "tags") {
500
500
  F.value = S.value;
501
501
  return;
@@ -506,7 +506,7 @@ const sl = pe({
506
506
  s(h) || l.push(y(h, u.label));
507
507
  }), F.value = l;
508
508
  });
509
- const _ = ol(F, f, a, p, oe(e, "optionFilterProp")), L = A(() => e.mode !== "tags" || !a.value || _.value.some((l) => l[e.optionFilterProp || "value"] === a.value) ? _.value : [y(a.value), ..._.value]), he = A(() => e.filterSort ? [...L.value].sort((l, s) => e.filterSort(l, s)) : L.value), Y = A(() => zt(he.value, {
509
+ const j = ol(F, f, a, p, oe(e, "optionFilterProp")), L = A(() => e.mode !== "tags" || !a.value || j.value.some((l) => l[e.optionFilterProp || "value"] === a.value) ? j.value : [y(a.value), ...j.value]), he = A(() => e.filterSort ? [...L.value].sort((l, s) => e.filterSort(l, s)) : L.value), Y = A(() => zt(he.value, {
510
510
  fieldNames: f.value,
511
511
  childrenAsData: m.value
512
512
  })), z = (l) => {
@@ -608,7 +608,7 @@ const sl = pe({
608
608
  (s = re.value) === null || s === void 0 || s.scrollTo(l);
609
609
  }
610
610
  });
611
- const Se = A(() => Te(e, [
611
+ const Se = A(() => Ne(e, [
612
612
  "id",
613
613
  "mode",
614
614
  "prefixCls",
@@ -641,7 +641,7 @@ const sl = pe({
641
641
  "labelInValue",
642
642
  "onChange"
643
643
  ]));
644
- return () => N(Kt, j(j(j({}, Se.value), o), {}, {
644
+ return () => N(Kt, _(_(_({}, Se.value), o), {}, {
645
645
  id: n,
646
646
  prefixCls: e.prefixCls,
647
647
  ref: re,
@@ -665,9 +665,9 @@ ke.displayName = "ASelectOption";
665
665
  const $e = () => null;
666
666
  $e.isSelectOptGroup = !0;
667
667
  $e.displayName = "ASelectOptGroup";
668
- const rl = () => P(P({}, Te(Ze(), ["inputIcon", "mode", "getInputElement", "getRawInputElement", "backfill"])), {
669
- value: je([Array, Object, String, Number]),
670
- defaultValue: je([Array, Object, String, Number]),
668
+ const rl = () => P(P({}, Ne(Ze(), ["inputIcon", "mode", "getInputElement", "getRawInputElement", "backfill"])), {
669
+ value: _e([Array, Object, String, Number]),
670
+ defaultValue: _e([Array, Object, String, Number]),
671
671
  notFoundContent: ne.any,
672
672
  suffixIcon: ne.any,
673
673
  itemIcon: ne.any,
@@ -731,9 +731,9 @@ const rl = () => P(P({}, Te(Ze(), ["inputIcon", "mode", "getInputElement", "getR
731
731
  } = Re("select", e), {
732
732
  compactSize: x,
733
733
  compactItemClassnames: y
734
- } = at(c, S), F = A(() => x.value || X.value), _ = it(), L = A(() => {
734
+ } = at(c, S), F = A(() => x.value || X.value), j = it(), L = A(() => {
735
735
  var C;
736
- return (C = r.value) !== null && C !== void 0 ? C : _.value;
736
+ return (C = r.value) !== null && C !== void 0 ? C : j.value;
737
737
  }), [he, Y] = Wt(c), z = A(() => te()), be = A(() => e.placement !== void 0 ? e.placement : S.value === "rtl" ? "bottomRight" : "bottomLeft"), M = A(() => st(z.value, rt(be.value), e.transitionName)), ae = A(() => ge({
738
738
  [`${c.value}-lg`]: F.value === "large",
739
739
  [`${c.value}-sm`]: F.value === "small",
@@ -785,10 +785,10 @@ const rl = () => P(P({}, Te(Ze(), ["inputIcon", "mode", "getInputElement", "getR
785
785
  hasFeedback: K,
786
786
  feedbackIcon: me,
787
787
  showArrow: U.value
788
- }), t), Le = Te(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), ot = ge(l || s, {
788
+ }), t), Le = Ne(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), ot = ge(l || s, {
789
789
  [`${c.value}-dropdown-${S.value}`]: S.value === "rtl"
790
790
  }, Y.value);
791
- return he(N(sl, j(j(j({
791
+ return he(N(sl, _(_(_({
792
792
  ref: v,
793
793
  virtual: u,
794
794
  dropdownMatchSelectWidth: h
@@ -830,7 +830,7 @@ ee.install = function(e) {
830
830
  };
831
831
  ee.Option;
832
832
  ee.OptGroup;
833
- const Ve = (e, g, i) => {
833
+ const xe = (e, g, i) => {
834
834
  const o = ft(i);
835
835
  return {
836
836
  [`${e.componentCls}-${g}`]: {
@@ -960,7 +960,7 @@ const Ve = (e, g, i) => {
960
960
  tagPaddingHorizontal: 8,
961
961
  tagBorderlessBg: e.colorFillTertiary
962
962
  });
963
- return [ul(a), cl(a), Ve(a, "success", "Success"), Ve(a, "processing", "Info"), Ve(a, "error", "Error"), Ve(a, "warning", "Warning")];
963
+ return [ul(a), cl(a), xe(a, "success", "Success"), xe(a, "processing", "Info"), xe(a, "error", "Error"), xe(a, "warning", "Warning")];
964
964
  }), dl = () => ({
965
965
  prefixCls: String,
966
966
  checked: {
@@ -1001,7 +1001,7 @@ const Ve = (e, g, i) => {
1001
1001
  }));
1002
1002
  return () => {
1003
1003
  var a;
1004
- return v(N("span", j(j({}, t), {}, {
1004
+ return v(N("span", _(_({}, t), {}, {
1005
1005
  class: [f.value, t.class],
1006
1006
  onClick: p
1007
1007
  }), [(a = i.default) === null || a === void 0 ? void 0 : a.call(i)]));
@@ -1051,7 +1051,7 @@ const Ve = (e, g, i) => {
1051
1051
  prefixCls: n,
1052
1052
  direction: v
1053
1053
  } = Re("tag", e), [m, p] = et(n), f = de(!0);
1054
- Ne(() => {
1054
+ Ve(() => {
1055
1055
  e.visible !== void 0 && (f.value = e.visible);
1056
1056
  });
1057
1057
  const a = (c) => {
@@ -1080,12 +1080,12 @@ const Ve = (e, g, i) => {
1080
1080
  onClick: a
1081
1081
  }, null) : null, O = {
1082
1082
  backgroundColor: X && !b.value ? X : void 0
1083
- }, x = E || null, y = (I = i.default) === null || I === void 0 ? void 0 : I.call(i), F = x ? N(Be, null, [x, N("span", null, [y])]) : y, _ = e.onClick !== void 0, L = N("span", j(j({}, t), {}, {
1083
+ }, x = E || null, y = (I = i.default) === null || I === void 0 ? void 0 : I.call(i), F = x ? N(Be, null, [x, N("span", null, [y])]) : y, j = e.onClick !== void 0, L = N("span", _(_({}, t), {}, {
1084
1084
  onClick: w,
1085
1085
  class: [V.value, t.class],
1086
1086
  style: [O, t.style]
1087
1087
  }), [F, r()]);
1088
- return m(_ ? N(yt, null, {
1088
+ return m(j ? N(yt, null, {
1089
1089
  default: () => [L]
1090
1090
  }) : L);
1091
1091
  };
@@ -1120,24 +1120,24 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1120
1120
  const i = {
1121
1121
  L1: {
1122
1122
  color: "#1AA83B",
1123
- text: W("levels.L1"),
1123
+ text: G("levels.L1"),
1124
1124
  background: "#E3F9E9"
1125
1125
  },
1126
1126
  L2: {
1127
1127
  color: "#F37D1C",
1128
- text: W("levels.L2"),
1128
+ text: G("levels.L2"),
1129
1129
  background: "#FFE4BA"
1130
1130
  },
1131
1131
  L3: {
1132
1132
  color: "#F2494B",
1133
- text: W("levels.L3"),
1133
+ text: G("levels.L3"),
1134
1134
  background: "#FDCDC5"
1135
1135
  }
1136
1136
  };
1137
1137
  let o = g, t = e;
1138
- const n = W("status"), v = A(() => t.validTimeOptions.filter((f) => f.value !== "FOREVER")), m = (f) => {
1138
+ const n = G("status"), v = A(() => t.validTimeOptions.filter((f) => f.value !== "FOREVER")), m = (f) => {
1139
1139
  var a, b;
1140
- return `【${f.categoryName}】:${((b = (a = f.attributeValues) == null ? void 0 : a.map((V) => V.attributeName)) == null ? void 0 : b.join("、")) || W("empty")}`;
1140
+ return `【${f.categoryName}】:${((b = (a = f.attributeValues) == null ? void 0 : a.map((V) => V.attributeName)) == null ? void 0 : b.join("、")) || G("empty")}`;
1141
1141
  }, p = () => {
1142
1142
  o("updateTime", t.item), o("onChangeTime", t.item);
1143
1143
  };
@@ -1151,17 +1151,17 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1151
1151
  class: "crane-tag-position"
1152
1152
  }, {
1153
1153
  default: J(() => [
1154
- xe(H(i[e.item.securityLevel].text), 1)
1154
+ Te(H(i[e.item.securityLevel].text), 1)
1155
1155
  ]),
1156
1156
  _: 1
1157
1157
  }, 8, ["style"])) : ue("", !0),
1158
- G("div", pl, H(B(W)(`operationType.${e.item.operationType}`)) + "| ", 1),
1158
+ W("div", pl, H(B(G)(`operationType.${e.item.operationType}`)) + "| ", 1),
1159
1159
  N(B(we), null, {
1160
1160
  content: J(() => [
1161
- G("div", hl, H(e.item.name), 1)
1161
+ W("div", hl, H(e.item.name), 1)
1162
1162
  ]),
1163
1163
  default: J(() => [
1164
- G("div", bl, H(e.item.shortName), 1)
1164
+ W("div", bl, H(e.item.shortName), 1)
1165
1165
  ]),
1166
1166
  _: 1
1167
1167
  }),
@@ -1173,16 +1173,16 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1173
1173
  default: J(() => {
1174
1174
  var c, S, I, E;
1175
1175
  return [
1176
- xe(H(B(n)[e.item.businessApplyType]) + " " + H(e.item.businessApplyType === "TEMP_OWNER" ? `(${((S = (c = e.item) == null ? void 0 : c.ownStatusVO) == null ? void 0 : S.dayDiff) > 0 ? B(W)("lastDays", {
1176
+ Te(H(B(n)[e.item.businessApplyType]) + " " + H(e.item.businessApplyType === "TEMP_OWNER" ? `(${((S = (c = e.item) == null ? void 0 : c.ownStatusVO) == null ? void 0 : S.dayDiff) > 0 ? B(G)("lastDays", {
1177
1177
  count: (E = (I = e.item) == null ? void 0 : I.ownStatusVO) == null ? void 0 : E.dayDiff
1178
- }) : B(W)("today")})` : ""), 1)
1178
+ }) : B(G)("today")})` : ""), 1)
1179
1179
  ];
1180
1180
  }),
1181
1181
  _: 1
1182
1182
  }, 8, ["class"])) : ue("", !0),
1183
1183
  e.item.desc ? (q(), Oe(B(we), { key: 2 }, {
1184
1184
  content: J(() => [
1185
- G("div", yl, H(e.item.desc), 1)
1185
+ W("div", yl, H(e.item.desc), 1)
1186
1186
  ]),
1187
1187
  default: J(() => [
1188
1188
  N(B(kt), { class: "crane-weak-color crane-margin-left-4" })
@@ -1191,19 +1191,16 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1191
1191
  })) : ue("", !0),
1192
1192
  (b = e.item.relatedCompleteNames) != null && b.length ? (q(), Oe(B(we), { key: 3 }, {
1193
1193
  content: J(() => [
1194
- G("div", Sl, [
1195
- G("div", null, H(B(W)("adaptDepartment")) + ": ", 1),
1196
- xe(" " + H(e.item.relatedCompleteNames.map((c) => c).join("、")), 1)
1197
- ])
1194
+ W("div", Sl, H(B(G)("adaptDepartment")) + ":" + H(e.item.relatedCompleteNames.map((c) => c).join("、")), 1)
1198
1195
  ]),
1199
1196
  default: J(() => [
1200
- G("div", Cl, [
1201
- G("img", {
1197
+ W("div", Cl, [
1198
+ W("img", {
1202
1199
  src: B(ml),
1203
1200
  height: "14",
1204
1201
  width: "14"
1205
1202
  }, null, 8, Al),
1206
- G("span", Ol, H(e.item.relatedCompleteNames.length), 1)
1203
+ W("span", Ol, H(e.item.relatedCompleteNames.length), 1)
1207
1204
  ])
1208
1205
  ]),
1209
1206
  _: 1
@@ -1217,8 +1214,8 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1217
1214
  }, null, 8, Il)) : ue("", !0),
1218
1215
  (w = e.item.categoryVOS) != null && w.length ? (q(), Oe(B(we), { key: 5 }, {
1219
1216
  content: J(() => [
1220
- G("div", wl, [
1221
- G("div", null, H(B(W)("categoryTips")), 1),
1217
+ W("div", wl, [
1218
+ W("div", null, H(B(G)("categoryTips")), 1),
1222
1219
  (q(!0), Ae(Be, null, Nt(e.item.categoryVOS, (c) => (q(), Ae("div", {
1223
1220
  key: c.id
1224
1221
  }, H(m(c)), 1))), 128))
@@ -1227,13 +1224,13 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1227
1224
  default: J(() => {
1228
1225
  var c;
1229
1226
  return [
1230
- G("div", xl, H((c = e.item.categoryVOS) == null ? void 0 : c.map((S) => S.categoryName).join("、")), 1)
1227
+ W("div", xl, H((c = e.item.categoryVOS) == null ? void 0 : c.map((S) => S.categoryName).join("、")), 1)
1231
1228
  ];
1232
1229
  }),
1233
1230
  _: 1
1234
1231
  })) : ue("", !0),
1235
- e.checkedKeys.includes(e.item.feature) && !e.item.disabled ? (q(), Ae("span", Vl, [
1236
- xe(H(B(W)("availableTime")) + ": ", 1),
1232
+ e.checkedKeys.includes(e.item.feature) ? (q(), Ae("span", Vl, [
1233
+ Te(H(B(G)("availableTime")) + ": ", 1),
1237
1234
  N(B(ee), {
1238
1235
  value: e.item.validTime,
1239
1236
  "onUpdate:value": a[0] || (a[0] = (c) => e.item.validTime = c),
@@ -1247,7 +1244,7 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1247
1244
  ]);
1248
1245
  };
1249
1246
  }
1250
- }), Dl = /* @__PURE__ */ At(Nl, [["__scopeId", "data-v-57b8c473"]]);
1247
+ }), Dl = /* @__PURE__ */ At(Nl, [["__scopeId", "data-v-3b2a3c00"]]);
1251
1248
  export {
1252
1249
  Dl as default
1253
1250
  };