@yqg/permission 1.3.0-alpha.8 → 1.3.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--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";
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-XvlOgi6s.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-BrOMv4sA.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-CAVNFmBo.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-Ct9rKeUf.js";
5
5
  function na(e) {
6
6
  return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
7
7
  }
@@ -182,10 +182,10 @@ const ua = {
182
182
  class: `${V}-empty`,
183
183
  onMousedown: g
184
184
  }, [z]);
185
- const Q = {
185
+ const J = {
186
186
  fieldNames: o.fieldNames
187
187
  };
188
- return ue && (Q.loadedKeys = ue), x.value && (Q.expandedKeys = x.value), U("div", {
188
+ return ue && (J.loadedKeys = ue), x.value && (J.expandedKeys = x.value), U("div", {
189
189
  onMousedown: g
190
190
  }, [K.value && T && U("span", {
191
191
  style: ua,
@@ -211,7 +211,7 @@ const ua = {
211
211
  checkedKeys: c.value,
212
212
  selectedKeys: se ? [] : H,
213
213
  defaultExpandAll: ce
214
- }, Q), {}, {
214
+ }, J), {}, {
215
215
  onActiveChange: O,
216
216
  onSelect: F,
217
217
  onCheck: F,
@@ -224,10 +224,10 @@ const ua = {
224
224
  }))]);
225
225
  };
226
226
  }
227
- }), da = "SHOW_ALL", vt = "SHOW_PARENT", Qe = "SHOW_CHILD";
227
+ }), da = "SHOW_ALL", vt = "SHOW_PARENT", Je = "SHOW_CHILD";
228
228
  function ot(e, s, l, t) {
229
229
  const a = new Set(e);
230
- return s === Qe ? e.filter((n) => {
230
+ return s === Je ? e.filter((n) => {
231
231
  const o = l[n];
232
232
  return !(o && o.children && o.children.some((r) => {
233
233
  let {
@@ -633,7 +633,7 @@ const xa = Ve({
633
633
  props: ut(ft(), {
634
634
  treeNodeFilterProp: "value",
635
635
  autoClearSearchValue: !0,
636
- showCheckedStrategy: Qe,
636
+ showCheckedStrategy: Je,
637
637
  listHeight: 200,
638
638
  listItemHeight: 20,
639
639
  prefixCls: "vc-tree-select"
@@ -773,13 +773,13 @@ const xa = Ve({
773
773
  const {
774
774
  missingRawValues: te,
775
775
  existRawValues: Se
776
- } = F(j), Je = Se.map((Re) => R.get(Re).key);
776
+ } = F(j), Qe = Se.map((Re) => R.get(Re).key);
777
777
  let He;
778
778
  m ? {
779
779
  checkedKeys: He
780
- } = Xe(Je, !0, N, B.value, le.value) : {
780
+ } = Xe(Qe, !0, N, B.value, le.value) : {
781
781
  checkedKeys: He
782
- } = Xe(Je, {
782
+ } = Xe(Qe, {
783
783
  checked: !1,
784
784
  halfCheckedKeys: re.value
785
785
  }, N, B.value, le.value), j = [...te, ...He.map((Re) => N[Re].node[u.value.value])];
@@ -817,7 +817,7 @@ const xa = Ve({
817
817
  onTreeLoad: _,
818
818
  // Expanded
819
819
  treeDefaultExpandAll: H,
820
- treeExpandedKeys: Q,
820
+ treeExpandedKeys: J,
821
821
  treeDefaultExpandedKeys: ke,
822
822
  onTreeExpand: Ne,
823
823
  // Options
@@ -842,7 +842,7 @@ const xa = Ve({
842
842
  checkedKeys: q,
843
843
  halfCheckedKeys: re,
844
844
  treeDefaultExpandAll: H,
845
- treeExpandedKeys: Q,
845
+ treeExpandedKeys: J,
846
846
  treeDefaultExpandedKeys: ke,
847
847
  onTreeExpand: Ne,
848
848
  treeIcon: Ce,
@@ -863,19 +863,19 @@ const xa = Ve({
863
863
  dropdownMatchSelectWidth: Fe,
864
864
  treeExpandAction: Oe
865
865
  }));
866
- const J = fe();
866
+ const Q = fe();
867
867
  return t({
868
868
  focus() {
869
869
  var i;
870
- (i = J.value) === null || i === void 0 || i.focus();
870
+ (i = Q.value) === null || i === void 0 || i.focus();
871
871
  },
872
872
  blur() {
873
873
  var i;
874
- (i = J.value) === null || i === void 0 || i.blur();
874
+ (i = Q.value) === null || i === void 0 || i.blur();
875
875
  },
876
876
  scrollTo(i) {
877
877
  var h;
878
- (h = J.value) === null || h === void 0 || h.scrollTo(i);
878
+ (h = Q.value) === null || h === void 0 || h.scrollTo(i);
879
879
  }
880
880
  }), () => {
881
881
  var i;
@@ -931,7 +931,7 @@ const xa = Ve({
931
931
  "treeMotion"
932
932
  ]);
933
933
  return U($t, X(X(X({
934
- ref: J
934
+ ref: Q
935
935
  }, l), h), {}, {
936
936
  id: n,
937
937
  prefixCls: e.prefixCls,
@@ -1045,7 +1045,7 @@ const Ue = Ve({
1045
1045
  emit: n
1046
1046
  } = s;
1047
1047
  kt(!(e.treeData === void 0 && t.default)), $e(e.multiple !== !1 || !e.treeCheckable, "TreeSelect", "`multiple` will always be `true` when `treeCheckable` is true"), $e(e.replaceFields === void 0, "TreeSelect", "`replaceFields` is deprecated, please use fieldNames instead"), $e(!e.dropdownClassName, "TreeSelect", "`dropdownClassName` is deprecated. Please use `popupClassName` instead.");
1048
- const o = Qt(), r = Jt.useInject(), d = y(() => Zt(r.status, e.status)), {
1048
+ const o = Jt(), r = Qt.useInject(), d = y(() => Zt(r.status, e.status)), {
1049
1049
  prefixCls: c,
1050
1050
  renderEmpty: u,
1051
1051
  direction: f,
@@ -1088,7 +1088,7 @@ const Ue = Ve({
1088
1088
  return () => {
1089
1089
  var C, _, H;
1090
1090
  const {
1091
- notFoundContent: Q = (C = t.notFoundContent) === null || C === void 0 ? void 0 : C.call(t),
1091
+ notFoundContent: J = (C = t.notFoundContent) === null || C === void 0 ? void 0 : C.call(t),
1092
1092
  prefixCls: ke,
1093
1093
  bordered: Ne,
1094
1094
  listHeight: Te,
@@ -1103,7 +1103,7 @@ const Ue = Ve({
1103
1103
  placeholder: Fe = (H = t.placeholder) === null || H === void 0 ? void 0 : H.call(t)
1104
1104
  } = e, {
1105
1105
  isFormItemInput: Oe,
1106
- hasFeedback: J,
1106
+ hasFeedback: Q,
1107
1107
  feedbackIcon: i
1108
1108
  } = r, {
1109
1109
  suffixIcon: h,
@@ -1112,19 +1112,19 @@ const Ue = Ve({
1112
1112
  } = Ut(b(b({}, e), {
1113
1113
  multiple: ce.value,
1114
1114
  showArrow: ne.value,
1115
- hasFeedback: J,
1115
+ hasFeedback: Q,
1116
1116
  feedbackIcon: i,
1117
1117
  prefixCls: c.value
1118
1118
  }), t);
1119
1119
  let P;
1120
- Q !== void 0 ? P = Q : P = u("Select");
1120
+ J !== void 0 ? P = J : P = u("Select");
1121
1121
  const L = Ie(e, ["suffixIcon", "itemIcon", "removeIcon", "clearIcon", "switcherIcon", "bordered", "status", "onUpdate:value", "onUpdate:treeExpandedKeys", "onUpdate:searchValue"]), I = at(!ke && B.value, {
1122
1122
  [`${c.value}-lg`]: O.value === "large",
1123
1123
  [`${c.value}-sm`]: O.value === "small",
1124
1124
  [`${c.value}-rtl`]: f.value === "rtl",
1125
1125
  [`${c.value}-borderless`]: !Ne,
1126
1126
  [`${c.value}-in-form-item`]: Oe
1127
- }, ea(c.value, d.value, J), K.value, l.class, q.value), N = {};
1127
+ }, ea(c.value, d.value, Q), K.value, l.class, q.value), N = {};
1128
1128
  return e.treeData === void 0 && t.default && (N.children = _t(t.default())), le(re(U(xa, X(X(X(X({}, l), L), {}, {
1129
1129
  disabled: V.value,
1130
1130
  virtual: p.value,
@@ -1161,7 +1161,7 @@ const Ue = Ve({
1161
1161
  }),
1162
1162
  maxTagPlaceholder: e.maxTagPlaceholder || t.maxTagPlaceholder,
1163
1163
  placement: D.value,
1164
- showArrow: J || Pe,
1164
+ showArrow: Q || Pe,
1165
1165
  placeholder: Fe
1166
1166
  }), b(b({}, t), {
1167
1167
  treeCheckable: () => U("span", {
@@ -1174,7 +1174,7 @@ const Ue = Ve({
1174
1174
  TreeNode: he,
1175
1175
  SHOW_ALL: da,
1176
1176
  SHOW_PARENT: vt,
1177
- SHOW_CHILD: Qe,
1177
+ SHOW_CHILD: Je,
1178
1178
  install: (e) => (e.component(Ue.name, Ue), e.component(st.displayName, st), e)
1179
1179
  }), ze = yt({});
1180
1180
  function Na(e) {
@@ -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-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";
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-BrOMv4sA.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-XvlOgi6s.js";
3
+ import { B as vt, R as yn, p as bn, K as P, j as Sn, S as ht } from "./apply-modal-Ct9rKeUf.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-C3sGU3v5.js").then((e) => e.b8)), Nf = (e) => {
4947
+ const If = /* @__PURE__ */ qo(() => import("./yqg-permission-BrOMv4sA.js").then((e) => e.b8)), Nf = (e) => {
4948
4948
  customElements.define(
4949
4949
  e,
4950
4950
  /* @__PURE__ */ bf(If, {
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-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";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.crane-wraper[data-v-1b3b9804]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}.crane-margin10[data-v-1b3b9804]{margin:10px}.crane-margin-right10[data-v-1b3b9804]{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}[data-v-55315dbc] .yqg-permission-tree-list{margin-top:4px}[data-v-55315dbc] .yqg-permission-tree-node-selected{background:none!important}[data-v-55315dbc] .yqg-permission-tree-checkbox{margin:0!important}[data-v-55315dbc] .yqg-permission-tree-switcher-noop{width:18px!important}[data-v-55315dbc] .yqg-permission-tree-checkbox+span:hover{background:none!important}[data-v-55315dbc] .yqg-permission-tree-treenode,[data-v-55315dbc] .yqg-permission-tree-node-content-wrapper-normal,[data-v-55315dbc] .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-XvlOgi6s.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-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";
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-BrOMv4sA.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, P as Ae, L as Oe, M as J, S as Te, R as H, O as xt, u as B, U as ue, N as W, a0 as Vt, Y as Nt } from "./index-XvlOgi6s.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-Ct9rKeUf.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-CAVNFmBo.js";
5
5
  function Yt() {
6
6
  return /(mac\sos|macintosh)/i.test(navigator.appVersion);
7
7
  }
@@ -164,7 +164,7 @@ const Zt = pe({
164
164
  id: `${r}_list`,
165
165
  class: `${v.value}-empty`,
166
166
  onMousedown: f
167
- }, [O]) : N(Re, null, [N("div", {
167
+ }, [O]) : N(Be, null, [N("div", {
168
168
  role: "listbox",
169
169
  id: `${r}_list`,
170
170
  style: {
@@ -466,23 +466,23 @@ const sl = pe({
466
466
  var l;
467
467
  const s = I(E.value);
468
468
  return e.mode === "combobox" && !(!((l = s[0]) === null || l === void 0) && l.value) ? [] : s;
469
- }), [B, r] = nl(te, w), O = A(() => {
470
- if (!e.mode && B.value.length === 1) {
471
- const l = B.value[0];
469
+ }), [R, r] = nl(te, w), O = A(() => {
470
+ if (!e.mode && R.value.length === 1) {
471
+ const l = R.value[0];
472
472
  if (l.value === null && (l.label === null || l.label === void 0))
473
473
  return [];
474
474
  }
475
- return B.value.map((l) => {
475
+ return R.value.map((l) => {
476
476
  var s;
477
477
  return P(P({}, l), {
478
478
  label: (s = typeof l.label == "function" ? l.label() : l.label) !== null && s !== void 0 ? s : l.value
479
479
  });
480
480
  });
481
- }), x = A(() => new Set(B.value.map((l) => l.value)));
481
+ }), x = A(() => new Set(R.value.map((l) => l.value)));
482
482
  Ve(() => {
483
483
  var l;
484
484
  if (e.mode === "combobox") {
485
- const s = (l = B.value[0]) === null || l === void 0 ? void 0 : l.value;
485
+ const s = (l = R.value[0]) === null || l === void 0 ? void 0 : l.value;
486
486
  s != null && b(String(s));
487
487
  }
488
488
  }, {
@@ -501,7 +501,7 @@ const sl = pe({
501
501
  return;
502
502
  }
503
503
  const l = S.value.slice(), s = (u) => w.value.has(u);
504
- [...B.value].sort((u, h) => u.value < h.value ? -1 : 1).forEach((u) => {
504
+ [...R.value].sort((u, h) => u.value < h.value ? -1 : 1).forEach((u) => {
505
505
  const h = u.value;
506
506
  s(h) || l.push(y(h, u.label));
507
507
  }), F.value = l;
@@ -512,9 +512,9 @@ const sl = pe({
512
512
  })), z = (l) => {
513
513
  const s = I(l);
514
514
  if (X(s), e.onChange && // Trigger event only when value changed
515
- (s.length !== B.value.length || s.some((u, h) => {
515
+ (s.length !== R.value.length || s.some((u, h) => {
516
516
  var d;
517
- return ((d = B.value[h]) === null || d === void 0 ? void 0 : d.value) !== (u == null ? void 0 : u.value);
517
+ return ((d = R.value[h]) === null || d === void 0 ? void 0 : d.value) !== (u == null ? void 0 : u.value);
518
518
  }))) {
519
519
  const u = e.labelInValue ? s.map((d) => P(P({}, d), {
520
520
  originLabel: d.label,
@@ -553,7 +553,7 @@ const sl = pe({
553
553
  }, C = (l, s) => {
554
554
  let u;
555
555
  const h = v.value ? s.selected : !0;
556
- h ? u = v.value ? [...B.value, l] : [l] : u = B.value.filter((d) => d.value !== l), z(u), U(l, h), e.mode === "combobox" ? M("") : (!v.value || e.autoClearSearchValue) && (b(""), M(""));
556
+ h ? u = v.value ? [...R.value, l] : [l] : u = R.value.filter((d) => d.value !== l), z(u), U(l, h), e.mode === "combobox" ? M("") : (!v.value || e.autoClearSearchValue) && (b(""), M(""));
557
557
  }, k = (l, s) => {
558
558
  z(l), (s.type === "remove" || s.type === "clear") && s.values.forEach((u) => {
559
559
  U(u.value, !1);
@@ -703,7 +703,7 @@ const rl = () => P(P({}, Ne(Ze(), ["inputIcon", "mode", "getInputElement", "getR
703
703
  slots: t,
704
704
  expose: n
705
705
  } = g;
706
- const v = Ye(), m = Ft(), p = Dt.useInject(), f = A(() => Bt(p.status, e.status)), a = () => {
706
+ const v = Ye(), m = Ft(), p = Dt.useInject(), f = A(() => Rt(p.status, e.status)), a = () => {
707
707
  var C;
708
708
  (C = v.value) === null || C === void 0 || C.focus();
709
709
  }, b = () => {
@@ -725,10 +725,10 @@ const rl = () => P(P({}, Ne(Ze(), ["inputIcon", "mode", "getInputElement", "getR
725
725
  renderEmpty: E,
726
726
  size: X,
727
727
  getPrefixCls: te,
728
- getPopupContainer: B,
728
+ getPopupContainer: R,
729
729
  disabled: r,
730
730
  select: O
731
- } = Be("select", e), {
731
+ } = Re("select", e), {
732
732
  compactSize: x,
733
733
  compactItemClassnames: y
734
734
  } = at(c, S), F = A(() => x.value || X.value), j = it(), L = A(() => {
@@ -740,7 +740,7 @@ const rl = () => P(P({}, Ne(Ze(), ["inputIcon", "mode", "getInputElement", "getR
740
740
  [`${c.value}-rtl`]: S.value === "rtl",
741
741
  [`${c.value}-borderless`]: !e.bordered,
742
742
  [`${c.value}-in-form-item`]: p.isFormItemInput
743
- }, Rt(c.value, f.value, p.hasFeedback), y.value, Y.value)), ie = function() {
743
+ }, Bt(c.value, f.value, p.hasFeedback), y.value, Y.value)), ie = function() {
744
744
  for (var C = arguments.length, k = new Array(C), $ = 0; $ < C; $++)
745
745
  k[$] = arguments[$];
746
746
  o("update:value", k[0]), o("change", ...k), m.onFieldChange();
@@ -806,7 +806,7 @@ const rl = () => P(P({}, Ne(Ze(), ["inputIcon", "mode", "getInputElement", "getR
806
806
  clearIcon: lt,
807
807
  notFoundContent: T,
808
808
  class: [ae.value, i.class],
809
- getPopupContainer: B == null ? void 0 : B.value,
809
+ getPopupContainer: R == null ? void 0 : R.value,
810
810
  dropdownClassName: ot,
811
811
  onChange: ie,
812
812
  onBlur: ye,
@@ -990,7 +990,7 @@ const xe = (e, g, i) => {
990
990
  } = g;
991
991
  const {
992
992
  prefixCls: n
993
- } = Be("tag", e), [v, m] = et(n), p = (a) => {
993
+ } = Re("tag", e), [v, m] = et(n), p = (a) => {
994
994
  const {
995
995
  checked: b
996
996
  } = e;
@@ -1050,7 +1050,7 @@ const xe = (e, g, i) => {
1050
1050
  const {
1051
1051
  prefixCls: n,
1052
1052
  direction: v
1053
- } = Be("tag", e), [m, p] = et(n), f = de(!0);
1053
+ } = Re("tag", e), [m, p] = et(n), f = de(!0);
1054
1054
  Ve(() => {
1055
1055
  e.visible !== void 0 && (f.value = e.visible);
1056
1056
  });
@@ -1071,8 +1071,8 @@ const xe = (e, g, i) => {
1071
1071
  icon: E = (c = i.icon) === null || c === void 0 ? void 0 : c.call(i),
1072
1072
  color: X,
1073
1073
  closeIcon: te = (S = i.closeIcon) === null || S === void 0 ? void 0 : S.call(i),
1074
- closable: B = !1
1075
- } = e, r = () => B ? te ? N("span", {
1074
+ closable: R = !1
1075
+ } = e, r = () => R ? te ? N("span", {
1076
1076
  class: `${n.value}-close-icon`,
1077
1077
  onClick: a
1078
1078
  }, [te]) : N(Ct, {
@@ -1080,7 +1080,7 @@ const xe = (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(Re, null, [x, N("span", null, [y])]) : y, j = e.onClick !== void 0, L = N("span", _(_({}, 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]
@@ -1144,7 +1144,7 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1144
1144
  return (f, a) => {
1145
1145
  var b, V, w;
1146
1146
  return q(), Ae("div", gl, [
1147
- e.item.securityLevel ? (q(), Oe(R(fe), {
1147
+ e.item.securityLevel ? (q(), Oe(B(fe), {
1148
1148
  key: 0,
1149
1149
  bordered: !1,
1150
1150
  style: xt({ color: i[e.item.securityLevel].color, background: i[e.item.securityLevel].background }),
@@ -1155,8 +1155,8 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1155
1155
  ]),
1156
1156
  _: 1
1157
1157
  }, 8, ["style"])) : ue("", !0),
1158
- W("div", pl, H(R(G)(`operationType.${e.item.operationType}`)) + "| ", 1),
1159
- N(R(we), null, {
1158
+ W("div", pl, H(B(G)(`operationType.${e.item.operationType}`)) + "| ", 1),
1159
+ N(B(we), null, {
1160
1160
  content: J(() => [
1161
1161
  W("div", hl, H(e.item.name), 1)
1162
1162
  ]),
@@ -1165,7 +1165,7 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1165
1165
  ]),
1166
1166
  _: 1
1167
1167
  }),
1168
- e.item.businessApplyType ? (q(), Oe(R(fe), {
1168
+ e.item.businessApplyType ? (q(), Oe(B(fe), {
1169
1169
  key: 1,
1170
1170
  bordered: !1,
1171
1171
  class: Vt(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
@@ -1173,30 +1173,30 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1173
1173
  default: J(() => {
1174
1174
  var c, S, I, E;
1175
1175
  return [
1176
- Te(H(R(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 ? R(G)("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
- }) : R(G)("today")})` : ""), 1)
1178
+ }) : B(G)("today")})` : ""), 1)
1179
1179
  ];
1180
1180
  }),
1181
1181
  _: 1
1182
1182
  }, 8, ["class"])) : ue("", !0),
1183
- e.item.desc ? (q(), Oe(R(we), { key: 2 }, {
1183
+ e.item.desc ? (q(), Oe(B(we), { key: 2 }, {
1184
1184
  content: J(() => [
1185
1185
  W("div", yl, H(e.item.desc), 1)
1186
1186
  ]),
1187
1187
  default: J(() => [
1188
- N(R(kt), { class: "crane-weak-color crane-margin-left-4" })
1188
+ N(B(kt), { class: "crane-weak-color crane-margin-left-4" })
1189
1189
  ]),
1190
1190
  _: 1
1191
1191
  })) : ue("", !0),
1192
- (b = e.item.relatedCompleteNames) != null && b.length ? (q(), Oe(R(we), { key: 3 }, {
1192
+ (b = e.item.relatedCompleteNames) != null && b.length ? (q(), Oe(B(we), { key: 3 }, {
1193
1193
  content: J(() => [
1194
- W("div", Sl, H(R(G)("adaptDepartment")) + ":" + H(e.item.relatedCompleteNames.map((c) => c).join("、")), 1)
1194
+ W("div", Sl, H(B(G)("adaptDepartment")) + ":" + H(e.item.relatedCompleteNames.map((c) => c).join("、")), 1)
1195
1195
  ]),
1196
1196
  default: J(() => [
1197
1197
  W("div", Cl, [
1198
1198
  W("img", {
1199
- src: R(ml),
1199
+ src: B(ml),
1200
1200
  height: "14",
1201
1201
  width: "14"
1202
1202
  }, null, 8, Al),
@@ -1207,16 +1207,16 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1207
1207
  })) : ue("", !0),
1208
1208
  (V = e.item.categoryVOS) != null && V.length ? (q(), Ae("img", {
1209
1209
  key: 4,
1210
- src: R(fl),
1210
+ src: B(fl),
1211
1211
  height: "16",
1212
1212
  width: "16",
1213
1213
  class: "crane-margin-left-4"
1214
1214
  }, null, 8, Il)) : ue("", !0),
1215
- (w = e.item.categoryVOS) != null && w.length ? (q(), Oe(R(we), { key: 5 }, {
1215
+ (w = e.item.categoryVOS) != null && w.length ? (q(), Oe(B(we), { key: 5 }, {
1216
1216
  content: J(() => [
1217
1217
  W("div", wl, [
1218
- W("div", null, H(R(G)("categoryTips")), 1),
1219
- (q(!0), Ae(Re, null, Nt(e.item.categoryVOS, (c) => (q(), Ae("div", {
1218
+ W("div", null, H(B(G)("categoryTips")), 1),
1219
+ (q(!0), Ae(Be, null, Nt(e.item.categoryVOS, (c) => (q(), Ae("div", {
1220
1220
  key: c.id
1221
1221
  }, H(m(c)), 1))), 128))
1222
1222
  ])
@@ -1230,8 +1230,8 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1230
1230
  _: 1
1231
1231
  })) : ue("", !0),
1232
1232
  e.checkedKeys.includes(e.item.feature) ? (q(), Ae("span", Vl, [
1233
- Te(H(R(G)("availableTime")) + ": ", 1),
1234
- N(R(ee), {
1233
+ Te(H(B(G)("availableTime")) + ": ", 1),
1234
+ N(B(ee), {
1235
1235
  value: e.item.validTime,
1236
1236
  "onUpdate:value": a[0] || (a[0] = (c) => e.item.validTime = c),
1237
1237
  style: { width: "100px" },
@@ -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--jS5hjon.js";
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-XvlOgi6s.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,7 +14597,7 @@ 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-gvLhFEdj.js").then((h) => h.k)), A = t, i = e, a = L(!1), l = L(), s = L(!1);
14600
+ const r = Pu(() => import("./apply-modal-Ct9rKeUf.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: ""
@@ -14622,7 +14622,9 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
14622
14622
  }, p = () => {
14623
14623
  a.value = !a.value, f();
14624
14624
  }, { currentTop: B, dragElement: E } = r0(i, p);
14625
- return je(f), q(() => i.locale, (h, m) => {
14625
+ return je(() => {
14626
+ i.type === o.DEFAULT && f();
14627
+ }), q(() => i.locale, (h, m) => {
14626
14628
  h !== m && localStorage.setItem("permission_locale", i.locale);
14627
14629
  }, { immediate: !0 }), (h, m) => (st(), oi(J(Ft), {
14628
14630
  prefixCls: "yqg-permission",
@@ -14755,7 +14757,7 @@ const l0 = { class: "crane-wraper" }, c0 = ["src"], u0 = ["src"], g0 = { class:
14755
14757
  for (const [o, r] of t)
14756
14758
  n[o] = r;
14757
14759
  return n;
14758
- }, w0 = /* @__PURE__ */ Q0(m0, [["__scopeId", "data-v-c567f4e6"]]), F0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14760
+ }, w0 = /* @__PURE__ */ Q0(m0, [["__scopeId", "data-v-1b3b9804"]]), F0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14759
14761
  __proto__: null,
14760
14762
  default: w0
14761
14763
  }, Symbol.toStringTag, { value: "Module" }));
@@ -14816,9 +14818,9 @@ export {
14816
14818
  bl as aN,
14817
14819
  ci as aO,
14818
14820
  Me as aP,
14819
- Q0 as aQ,
14820
- jA as aR,
14821
- vv as aS,
14821
+ jA as aQ,
14822
+ vv as aR,
14823
+ Q0 as aS,
14822
14824
  o0 as aT,
14823
14825
  e0 as aU,
14824
14826
  N0 as aV,