yxuse 2.0.13 → 2.0.15

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.
Files changed (65) hide show
  1. package/README.md +37 -0
  2. package/lib/api.cjs.js +1 -1
  3. package/lib/api.es.js +8 -6
  4. package/lib/components.cjs.js +1 -1
  5. package/lib/components.es.js +13 -10
  6. package/lib/directives.cjs.js +1 -1
  7. package/lib/directives.es.js +2 -2
  8. package/lib/hooks.cjs.js +1 -0
  9. package/lib/hooks.es.js +5 -0
  10. package/lib/index.cjs.js +1 -1
  11. package/lib/index.cjs2.js +40 -1
  12. package/lib/index.cjs2.js.gz +0 -0
  13. package/lib/index.cjs3.js +1 -3
  14. package/lib/index.cjs4.js +1 -1
  15. package/lib/index.cjs5.js +1 -1
  16. package/lib/index.cjs6.js +3 -40
  17. package/lib/index.cjs6.js.gz +0 -0
  18. package/lib/index.cjs7.js +1 -0
  19. package/lib/index.cjs8.js +1 -0
  20. package/lib/index.es.js +16 -14
  21. package/lib/index.es2.js +8116 -34
  22. package/lib/index.es2.js.gz +0 -0
  23. package/lib/index.es3.js +116 -3839
  24. package/lib/index.es4.js +38 -20
  25. package/lib/index.es5.js +310 -132
  26. package/lib/index.es5.js.gz +0 -0
  27. package/lib/index.es6.js +3709 -7736
  28. package/lib/index.es6.js.gz +0 -0
  29. package/lib/index.es7.js +13 -0
  30. package/lib/index.es8.js +24 -0
  31. package/lib/style.css +1 -1
  32. package/lib/style.css.gz +0 -0
  33. package/lib/theme.cjs.js +1 -1
  34. package/lib/theme.es.js +11 -10
  35. package/lib/utils.cjs.js +1 -1
  36. package/lib/utils.es.js +2 -2
  37. package/lib/vue.runtime.esm-bundler.cjs.js +5 -7
  38. package/lib/vue.runtime.esm-bundler.cjs.js.gz +0 -0
  39. package/lib/vue.runtime.esm-bundler.es.js +86 -107
  40. package/lib/vue.runtime.esm-bundler.es.js.gz +0 -0
  41. package/lib/yxIcon.cjs.js +1 -0
  42. package/lib/yxIcon.es.js +43 -0
  43. package/package.json +13 -7
  44. package/types/api/index.d.ts +2 -1
  45. package/types/api/modules/assets/index.d.ts +3 -0
  46. package/types/components/YxFormV2/index.d.ts +3 -0
  47. package/types/components/YxFormV2/index.vue.d.ts +46 -0
  48. package/types/components/YxFormV2/type.d.ts +54 -0
  49. package/types/components/YxUpload/index.d.ts +3 -0
  50. package/types/components/YxUpload/index.vue.d.ts +16 -0
  51. package/types/components/YxUpload/type.d.ts +6 -0
  52. package/types/components/index.d.ts +2 -0
  53. package/types/components/type.d.ts +1 -0
  54. package/types/hooks/index.d.ts +1 -0
  55. package/types/hooks/useTime/index.d.ts +3 -0
  56. package/types/index.d.ts +6 -3
  57. package/types/translate/index.d.ts +2 -0
  58. package/types/yxIcon/index.d.ts +5 -0
  59. package/types/yxi18n/index.d.ts +4 -0
  60. package/lib/icons.cjs.js +0 -1
  61. package/lib/icons.cjs.js.gz +0 -0
  62. package/lib/icons.es.js +0 -75
  63. package/lib/icons.es.js.gz +0 -0
  64. package/lib/index.cjs3.js.gz +0 -0
  65. package/lib/index.es3.js.gz +0 -0
@@ -18,7 +18,7 @@ const W = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Et = p
18
18
  return (n) => t[n] || (t[n] = e(n));
19
19
  }, Ds = /-(\w)/g, Se = bn((e) => e.replace(Ds, (t, n) => n ? n.toUpperCase() : "")), xs = /\B([A-Z])/g, vt = bn(
20
20
  (e) => e.replace(xs, "-$1").toLowerCase()
21
- ), yt = bn((e) => e.charAt(0).toUpperCase() + e.slice(1)), Be = bn((e) => e ? `on${yt(e)}` : ""), ct = (e, t) => !Object.is(e, t), xt = (e, t) => {
21
+ ), Mt = bn((e) => e.charAt(0).toUpperCase() + e.slice(1)), Be = bn((e) => e ? `on${Mt(e)}` : ""), ct = (e, t) => !Object.is(e, t), Dt = (e, t) => {
22
22
  for (let n = 0; n < e.length; n++)
23
23
  e[n](t);
24
24
  }, ln = (e, t, n) => {
@@ -83,7 +83,6 @@ const rc = (e) => X(e) ? e : e == null ? "" : C(e) || L(e) && (e.toString === ur
83
83
  [`Set(${t.size})`]: [...t.values()]
84
84
  } : L(t) && !C(t) && !fr(t) ? String(t) : t;
85
85
  function un(e, ...t) {
86
- console.warn(`[Vue warn] ${e}`, ...t);
87
86
  }
88
87
  let _e;
89
88
  class Ms {
@@ -167,7 +166,7 @@ const Ft = (e) => {
167
166
  t.length = n;
168
167
  }
169
168
  }, fn = /* @__PURE__ */ new WeakMap();
170
- let Ct = 0, Je = 1;
169
+ let Vt = 0, Je = 1;
171
170
  const Wn = 30;
172
171
  let fe;
173
172
  const nt = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), zn = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
@@ -185,9 +184,9 @@ class ho {
185
184
  t = t.parent;
186
185
  }
187
186
  try {
188
- return this.parent = fe, fe = this, qe = !0, Je = 1 << ++Ct, Ct <= Wn ? js(this) : Ao(this), this.fn();
187
+ return this.parent = fe, fe = this, qe = !0, Je = 1 << ++Vt, Vt <= Wn ? js(this) : Ao(this), this.fn();
189
188
  } finally {
190
- Ct <= Wn && ks(this), Je = 1 << --Ct, fe = this.parent, qe = n, this.parent = void 0, this.deferStop && this.stop();
189
+ Vt <= Wn && ks(this), Je = 1 << --Vt, fe = this.parent, qe = n, this.parent = void 0, this.deferStop && this.stop();
191
190
  }
192
191
  }
193
192
  stop() {
@@ -223,7 +222,7 @@ function re(e, t, n) {
223
222
  }
224
223
  function qn(e, t) {
225
224
  let n = !1;
226
- Ct <= Wn ? dr(e) || (e.n |= Je, n = !pr(e)) : n = !e.has(fe), n && (e.add(fe), fe.deps.push(e), process.env.NODE_ENV !== "production" && fe.onTrack && fe.onTrack(
225
+ Vt <= Wn ? dr(e) || (e.n |= Je, n = !pr(e)) : n = !e.has(fe), n && (e.add(fe), fe.deps.push(e), process.env.NODE_ENV !== "production" && fe.onTrack && fe.onTrack(
227
226
  Y(
228
227
  {
229
228
  effect: fe
@@ -454,10 +453,6 @@ function Le(e) {
454
453
  return function(...t) {
455
454
  if (process.env.NODE_ENV !== "production") {
456
455
  const n = t[0] ? `on key "${t[0]}" ` : "";
457
- console.warn(
458
- `${yt(e)} operation ${n}failed: target is readonly.`,
459
- R(this)
460
- );
461
456
  }
462
457
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
463
458
  };
@@ -572,9 +567,6 @@ function Nr(e, t, n) {
572
567
  const o = R(n);
573
568
  if (o !== n && t.call(e, o)) {
574
569
  const r = uo(e);
575
- console.warn(
576
- `Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
577
- );
578
570
  }
579
571
  }
580
572
  const vr = /* @__PURE__ */ new WeakMap(), yr = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), Or = /* @__PURE__ */ new WeakMap();
@@ -622,7 +614,7 @@ function wr(e) {
622
614
  br
623
615
  );
624
616
  }
625
- function Tt(e) {
617
+ function Ct(e) {
626
618
  return Dn(
627
619
  e,
628
620
  !0,
@@ -633,7 +625,7 @@ function Tt(e) {
633
625
  }
634
626
  function Dn(e, t, n, o, r) {
635
627
  if (!L(e))
636
- return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
628
+ return process.env.NODE_ENV, e;
637
629
  if (e.__v_raw && !(t && e.__v_isReactive))
638
630
  return e;
639
631
  const s = r.get(e);
@@ -720,7 +712,7 @@ function Cr(e) {
720
712
  return ot(e) ? e : new Proxy(e, ui);
721
713
  }
722
714
  function lc(e) {
723
- process.env.NODE_ENV !== "production" && !pn(e) && console.warn("toRefs() expects a reactive object but received a plain one.");
715
+ process.env.NODE_ENV !== "production" && pn(e);
724
716
  const t = C(e) ? new Array(e.length) : {};
725
717
  for (const n in e)
726
718
  t[n] = ai(e, n);
@@ -763,7 +755,6 @@ function di(e, t, n = !1) {
763
755
  let o, r;
764
756
  const s = I(e);
765
757
  s ? (o = e, r = process.env.NODE_ENV !== "production" ? () => {
766
- console.warn("Write operation failed: computed value is readonly");
767
758
  } : oe) : (o = e.get, r = e.set);
768
759
  const i = new pi(o, r, s || !r, n);
769
760
  return process.env.NODE_ENV !== "production" && t && !n && (i.effect.onTrack = t.onTrack, i.effect.onTrigger = t.onTrigger), i;
@@ -798,7 +789,7 @@ function v(e, ...t) {
798
789
  else {
799
790
  const s = [`[Vue warn]: ${e}`, ...t];
800
791
  r.length && s.push(`
801
- `, ...gi(r)), console.warn(...s);
792
+ `, ...gi(r));
802
793
  }
803
794
  at();
804
795
  }
@@ -929,9 +920,7 @@ function Ei(e, t, n, o = !0) {
929
920
  const r = Eo[t];
930
921
  if (n && tn(n), v(`Unhandled error${r ? ` during execution of ${r}` : ""}`), n && nn(), o)
931
922
  throw e;
932
- console.error(e);
933
- } else
934
- console.error(e);
923
+ }
935
924
  }
936
925
  let jt = !1, Jn = !1;
937
926
  const ie = [];
@@ -1052,35 +1041,33 @@ function Di(e) {
1052
1041
  }
1053
1042
  function Mr(e, t) {
1054
1043
  return ut.has(e) ? !1 : (ut.set(e, {
1055
- initialDef: Pt(t),
1044
+ initialDef: It(t),
1056
1045
  instances: /* @__PURE__ */ new Set()
1057
1046
  }), !0);
1058
1047
  }
1059
- function Pt(e) {
1048
+ function It(e) {
1060
1049
  return Ns(e) ? e.__vccOpts : e;
1061
1050
  }
1062
1051
  function xi(e, t) {
1063
1052
  const n = ut.get(e);
1064
1053
  n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
1065
- t && (o.render = t, Pt(o.type).render = t), o.renderCache = [], st = !0, o.update(), st = !1;
1054
+ t && (o.render = t, It(o.type).render = t), o.renderCache = [], st = !0, o.update(), st = !1;
1066
1055
  }));
1067
1056
  }
1068
1057
  function Vi(e, t) {
1069
1058
  const n = ut.get(e);
1070
1059
  if (!n)
1071
1060
  return;
1072
- t = Pt(t), Bo(n.initialDef, t);
1061
+ t = It(t), Bo(n.initialDef, t);
1073
1062
  const o = [...n.instances];
1074
1063
  for (const r of o) {
1075
- const s = Pt(r.type);
1076
- _t.has(s) || (s !== n.initialDef && Bo(s, t), _t.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (_t.add(s), r.ceReload(t.styles), _t.delete(s)) : r.parent ? Vn(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window != "undefined" ? window.location.reload() : console.warn(
1077
- "[HMR] Root or manually mounted instance modified. Full reload required."
1078
- );
1064
+ const s = It(r.type);
1065
+ _t.has(s) || (s !== n.initialDef && Bo(s, t), _t.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (_t.add(s), r.ceReload(t.styles), _t.delete(s)) : r.parent ? Vn(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window != "undefined" && window.location.reload();
1079
1066
  }
1080
1067
  Pr(() => {
1081
1068
  for (const r of o)
1082
1069
  _t.delete(
1083
- Pt(r.type)
1070
+ It(r.type)
1084
1071
  );
1085
1072
  });
1086
1073
  }
@@ -1094,32 +1081,29 @@ function jn(e) {
1094
1081
  try {
1095
1082
  return e(t, n);
1096
1083
  } catch (o) {
1097
- console.error(o), console.warn(
1098
- "[HMR] Something went wrong during Vue component hot-reload. Full reload required."
1099
- );
1100
1084
  }
1101
1085
  };
1102
1086
  }
1103
- let Te, $t = [], Yn = !1;
1087
+ let Te, Tt = [], Yn = !1;
1104
1088
  function Bt(e, ...t) {
1105
- Te ? Te.emit(e, ...t) : Yn || $t.push({ event: e, args: t });
1089
+ Te ? Te.emit(e, ...t) : Yn || Tt.push({ event: e, args: t });
1106
1090
  }
1107
1091
  function Fr(e, t) {
1108
1092
  var n, o;
1109
- Te = e, Te ? (Te.enabled = !0, $t.forEach(({ event: r, args: s }) => Te.emit(r, ...s)), $t = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window != "undefined" && // some envs mock window but not fully
1093
+ Te = e, Te ? (Te.enabled = !0, Tt.forEach(({ event: r, args: s }) => Te.emit(r, ...s)), Tt = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window != "undefined" && // some envs mock window but not fully
1110
1094
  window.HTMLElement && // also exclude jsdom
1111
1095
  !((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
1112
1096
  Fr(s, t);
1113
1097
  }), setTimeout(() => {
1114
- Te || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Yn = !0, $t = []);
1115
- }, 3e3)) : (Yn = !0, $t = []);
1098
+ Te || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Yn = !0, Tt = []);
1099
+ }, 3e3)) : (Yn = !0, Tt = []);
1116
1100
  }
1117
1101
  function Ci(e, t) {
1118
1102
  Bt("app:init", e, t, {
1119
1103
  Fragment: me,
1120
1104
  Text: Kt,
1121
1105
  Comment: te,
1122
- Static: At
1106
+ Static: Rt
1123
1107
  });
1124
1108
  }
1125
1109
  function Ti(e) {
@@ -1340,7 +1324,7 @@ function kn(e) {
1340
1324
  ), J = t.props ? f : ki(f);
1341
1325
  }
1342
1326
  } catch (T) {
1343
- Mt.length = 0, xn(T, e, 1), B = ae(te);
1327
+ At.length = 0, xn(T, e, 1), B = ae(te);
1344
1328
  }
1345
1329
  let S = B, le;
1346
1330
  if (process.env.NODE_ENV !== "production" && B.patchFlag > 0 && B.patchFlag & 2048 && ([S, le] = ji(B)), J && $ !== !1) {
@@ -1384,7 +1368,7 @@ function Hr(e) {
1384
1368
  let t;
1385
1369
  for (let n = 0; n < e.length; n++) {
1386
1370
  const o = e[n];
1387
- if (bt(o)) {
1371
+ if (yt(o)) {
1388
1372
  if (o.type !== te || o.children === "v-if") {
1389
1373
  if (t)
1390
1374
  return;
@@ -1460,7 +1444,7 @@ function Br(e, t, n = !0, o = !1) {
1460
1444
  !1
1461
1445
  /* do not include inferred name to avoid breaking existing code */
1462
1446
  );
1463
- if (c && (c === t || c === Se(t) || c === yt(Se(t))))
1447
+ if (c && (c === t || c === Se(t) || c === Mt(Se(t))))
1464
1448
  return s;
1465
1449
  }
1466
1450
  const i = (
@@ -1479,11 +1463,11 @@ If this is a native custom element, make sure to exclude it from component resol
1479
1463
  return i;
1480
1464
  } else
1481
1465
  process.env.NODE_ENV !== "production" && v(
1482
- `resolve${yt(e.slice(0, -1))} can only be used in render() or setup().`
1466
+ `resolve${Mt(e.slice(0, -1))} can only be used in render() or setup().`
1483
1467
  );
1484
1468
  }
1485
1469
  function Wo(e, t) {
1486
- return e && (e[t] || e[Se(t)] || e[yt(Se(t))]);
1470
+ return e && (e[t] || e[Se(t)] || e[Mt(Se(t))]);
1487
1471
  }
1488
1472
  const Ui = (e) => e.__isSuspense;
1489
1473
  function Ki(e, t) {
@@ -1584,9 +1568,9 @@ function Wi(e, t, n) {
1584
1568
  let s;
1585
1569
  I(t) ? s = t : (s = t.handler, n = t);
1586
1570
  const i = G;
1587
- Ot(this);
1571
+ bt(this);
1588
1572
  const c = bo(r, s.bind(o), n);
1589
- return i ? Ot(i) : lt(), c;
1573
+ return i ? bt(i) : lt(), c;
1590
1574
  }
1591
1575
  function Ur(e, t) {
1592
1576
  const n = t.split(".");
@@ -1874,7 +1858,7 @@ function _c(e, t) {
1874
1858
  Y({ name: e.name }, t, { setup: e })
1875
1859
  ) : e;
1876
1860
  }
1877
- const Rt = (e) => !!e.type.__asyncLoader, Ut = (e) => e.type.__isKeepAlive;
1861
+ const Pt = (e) => !!e.type.__asyncLoader, Ut = (e) => e.type.__isKeepAlive;
1878
1862
  function Yi(e, t) {
1879
1863
  qr(e, "a", t);
1880
1864
  }
@@ -1914,7 +1898,7 @@ function $n(e, t, n = G, o = !1) {
1914
1898
  const r = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
1915
1899
  if (n.isUnmounted)
1916
1900
  return;
1917
- ft(), Ot(n);
1901
+ ft(), bt(n);
1918
1902
  const c = Oe(t, n, e, i);
1919
1903
  return lt(), at(), c;
1920
1904
  });
@@ -1981,7 +1965,7 @@ function Ec(e, t) {
1981
1965
  return e;
1982
1966
  }
1983
1967
  function Nc(e, t, n = {}, o, r) {
1984
- if (ee.isCE || ee.parent && Rt(ee.parent) && ee.parent.isCE)
1968
+ if (ee.isCE || ee.parent && Pt(ee.parent) && ee.parent.isCE)
1985
1969
  return t !== "default" && (n.name = t), ae("slot", n, o && o());
1986
1970
  let s = e[t];
1987
1971
  process.env.NODE_ENV !== "production" && s && s.length > 1 && (v(
@@ -2000,7 +1984,7 @@ function Nc(e, t, n = {}, o, r) {
2000
1984
  return !r && c.scopeId && (c.slotScopeIds = [c.scopeId + "-s"]), s && s._c && (s._d = !0), c;
2001
1985
  }
2002
1986
  function Qr(e) {
2003
- return e.some((t) => bt(t) ? !(t.type === te || t.type === me && !Qr(t.children)) : !0) ? e : null;
1987
+ return e.some((t) => yt(t) ? !(t.type === te || t.type === me && !Qr(t.children)) : !0) ? e : null;
2004
1988
  }
2005
1989
  function vc(e, t) {
2006
1990
  const n = {};
@@ -2017,10 +2001,10 @@ const Gn = (e) => e ? _s(e) ? Pn(e) || e.proxy : Gn(e.parent) : null, it = (
2017
2001
  $: (e) => e,
2018
2002
  $el: (e) => e.vnode.el,
2019
2003
  $data: (e) => e.data,
2020
- $props: (e) => process.env.NODE_ENV !== "production" ? Tt(e.props) : e.props,
2021
- $attrs: (e) => process.env.NODE_ENV !== "production" ? Tt(e.attrs) : e.attrs,
2022
- $slots: (e) => process.env.NODE_ENV !== "production" ? Tt(e.slots) : e.slots,
2023
- $refs: (e) => process.env.NODE_ENV !== "production" ? Tt(e.refs) : e.refs,
2004
+ $props: (e) => process.env.NODE_ENV !== "production" ? Ct(e.props) : e.props,
2005
+ $attrs: (e) => process.env.NODE_ENV !== "production" ? Ct(e.attrs) : e.attrs,
2006
+ $slots: (e) => process.env.NODE_ENV !== "production" ? Ct(e.slots) : e.slots,
2007
+ $refs: (e) => process.env.NODE_ENV !== "production" ? Ct(e.refs) : e.refs,
2024
2008
  $parent: (e) => Gn(e.parent),
2025
2009
  $root: (e) => Gn(e.root),
2026
2010
  $emit: (e) => e.emit,
@@ -2268,15 +2252,15 @@ function ul(e) {
2268
2252
  v(
2269
2253
  `Write operation failed: computed property "${k}" is readonly.`
2270
2254
  );
2271
- } : oe, wt = Jl({
2255
+ } : oe, Ot = Jl({
2272
2256
  get: we,
2273
2257
  set: An
2274
2258
  });
2275
2259
  Object.defineProperty(o, k, {
2276
2260
  enumerable: !0,
2277
2261
  configurable: !0,
2278
- get: () => wt.value,
2279
- set: (pt) => wt.value = pt
2262
+ get: () => Ot.value,
2263
+ set: (pt) => Ot.value = pt
2280
2264
  }), process.env.NODE_ENV !== "production" && ke("Computed", k);
2281
2265
  }
2282
2266
  if (c)
@@ -2379,8 +2363,8 @@ const al = {
2379
2363
  props: Zo,
2380
2364
  emits: Zo,
2381
2365
  // objects
2382
- methods: It,
2383
- computed: It,
2366
+ methods: $t,
2367
+ computed: $t,
2384
2368
  // lifecycle
2385
2369
  beforeCreate: ue,
2386
2370
  created: ue,
@@ -2397,8 +2381,8 @@ const al = {
2397
2381
  errorCaptured: ue,
2398
2382
  serverPrefetch: ue,
2399
2383
  // assets
2400
- components: It,
2401
- directives: It,
2384
+ components: $t,
2385
+ directives: $t,
2402
2386
  // watch
2403
2387
  watch: dl,
2404
2388
  // provide / inject
@@ -2414,7 +2398,7 @@ function Yo(e, t) {
2414
2398
  } : t : e;
2415
2399
  }
2416
2400
  function pl(e, t) {
2417
- return It(to(e), to(t));
2401
+ return $t(to(e), to(t));
2418
2402
  }
2419
2403
  function to(e) {
2420
2404
  if (C(e)) {
@@ -2428,7 +2412,7 @@ function to(e) {
2428
2412
  function ue(e, t) {
2429
2413
  return e ? [...new Set([].concat(e, t))] : t;
2430
2414
  }
2431
- function It(e, t) {
2415
+ function $t(e, t) {
2432
2416
  return e ? Y(/* @__PURE__ */ Object.create(null), e, t) : t;
2433
2417
  }
2434
2418
  function Zo(e, t) {
@@ -2687,7 +2671,7 @@ function no(e, t, n, o, r, s) {
2687
2671
  const f = i.default;
2688
2672
  if (i.type !== Function && !i.skipFactory && I(f)) {
2689
2673
  const { propsDefaults: a } = r;
2690
- n in a ? o = a[n] : (Ot(r), o = a[n] = f.call(
2674
+ n in a ? o = a[n] : (bt(r), o = a[n] = f.call(
2691
2675
  null,
2692
2676
  t
2693
2677
  ), lt());
@@ -2814,7 +2798,7 @@ function bl(e, t) {
2814
2798
  function Ol(e, t, n) {
2815
2799
  if (n.length === 0)
2816
2800
  return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
2817
- let o = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(yt).join(" | ")}`;
2801
+ let o = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(Mt).join(" | ")}`;
2818
2802
  const r = n[0], s = uo(t), i = er(t, r), c = er(t, s);
2819
2803
  return n.length === 1 && tr(r) && !wl(r, s) && (o += ` with value ${i}`), o += `, got ${s} `, tr(s) && (o += `with value ${c}.`), o;
2820
2804
  }
@@ -2891,7 +2875,7 @@ function ro(e, t, n, o, r = !1) {
2891
2875
  );
2892
2876
  return;
2893
2877
  }
2894
- if (Rt(o) && !r)
2878
+ if (Pt(o) && !r)
2895
2879
  return;
2896
2880
  const s = o.shapeFlag & 4 ? Pn(o.component) || o.component.proxy : o.el, i = r ? null : s, { i: c, r: f } = e;
2897
2881
  if (process.env.NODE_ENV !== "production" && !c) {
@@ -2918,7 +2902,7 @@ function ro(e, t, n, o, r = !1) {
2918
2902
  process.env.NODE_ENV !== "production" && v("Invalid template ref type:", f, `(${typeof f})`);
2919
2903
  }
2920
2904
  }
2921
- let Vt, ze;
2905
+ let xt, ze;
2922
2906
  function Ae(e, t) {
2923
2907
  e.appContext.config.performance && En() && ze.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && Ri(e, t, En() ? ze.now() : Date.now());
2924
2908
  }
@@ -2934,17 +2918,12 @@ function Me(e, t) {
2934
2918
  process.env.NODE_ENV !== "production" && Ai(e, t, En() ? ze.now() : Date.now());
2935
2919
  }
2936
2920
  function En() {
2937
- return Vt !== void 0 || (typeof window != "undefined" && window.performance ? (Vt = !0, ze = window.performance) : Vt = !1), Vt;
2921
+ return xt !== void 0 || (typeof window != "undefined" && window.performance ? (xt = !0, ze = window.performance) : xt = !1), xt;
2938
2922
  }
2939
2923
  function Cl() {
2940
2924
  const e = [];
2941
2925
  if (process.env.NODE_ENV !== "production" && e.length) {
2942
2926
  const t = e.length > 1;
2943
- console.warn(
2944
- `Feature flag${t ? "s" : ""} ${e.join(", ")} ${t ? "are" : "is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
2945
-
2946
- For more details, see https://link.vuejs.org/feature-flags.`
2947
- );
2948
2927
  }
2949
2928
  }
2950
2929
  const ge = Ki;
@@ -2980,7 +2959,7 @@ function Tl(e, t) {
2980
2959
  case te:
2981
2960
  J(l, u, d, g);
2982
2961
  break;
2983
- case At:
2962
+ case Rt:
2984
2963
  l == null ? pe(u, d, g, O) : process.env.NODE_ENV !== "production" && S(l, u, d, O);
2985
2964
  break;
2986
2965
  case me:
@@ -3398,7 +3377,7 @@ function Tl(e, t) {
3398
3377
  const N = () => {
3399
3378
  if (l.isMounted) {
3400
3379
  let { next: x, bu: D, u: V, parent: P, vnode: j } = l, z = x, K;
3401
- process.env.NODE_ENV !== "production" && tn(x || l.vnode), Xe(l, !1), x ? (x.el = j.el, H(l, x, O)) : x = j, D && xt(D), (K = x.props && x.props.onVnodeBeforeUpdate) && xe(K, P, x, j), Xe(l, !0), process.env.NODE_ENV !== "production" && Ae(l, "render");
3380
+ process.env.NODE_ENV !== "production" && tn(x || l.vnode), Xe(l, !1), x ? (x.el = j.el, H(l, x, O)) : x = j, D && Dt(D), (K = x.props && x.props.onVnodeBeforeUpdate) && xe(K, P, x, j), Xe(l, !0), process.env.NODE_ENV !== "production" && Ae(l, "render");
3402
3381
  const Z = kn(l);
3403
3382
  process.env.NODE_ENV !== "production" && Me(l, "render");
3404
3383
  const ve = l.subTree;
@@ -3418,8 +3397,8 @@ function Tl(e, t) {
3418
3397
  ), process.env.NODE_ENV !== "production" && Sr(l), process.env.NODE_ENV !== "production" && nn();
3419
3398
  } else {
3420
3399
  let x;
3421
- const { el: D, props: V } = u, { bm: P, m: j, parent: z } = l, K = Rt(u);
3422
- if (Xe(l, !1), P && xt(P), !K && (x = V && V.onVnodeBeforeMount) && xe(x, z, u), Xe(l, !0), D && Sn) {
3400
+ const { el: D, props: V } = u, { bm: P, m: j, parent: z } = l, K = Pt(u);
3401
+ if (Xe(l, !1), P && Dt(P), !K && (x = V && V.onVnodeBeforeMount) && xe(x, z, u), Xe(l, !0), D && Sn) {
3423
3402
  const Z = () => {
3424
3403
  process.env.NODE_ENV !== "production" && Ae(l, "render"), l.subTree = kn(l), process.env.NODE_ENV !== "production" && Me(l, "render"), process.env.NODE_ENV !== "production" && Ae(l, "hydrate"), Sn(
3425
3404
  D,
@@ -3456,7 +3435,7 @@ function Tl(e, t) {
3456
3435
  _
3457
3436
  );
3458
3437
  }
3459
- (u.shapeFlag & 256 || z && Rt(z.vnode) && z.vnode.shapeFlag & 256) && l.a && ge(l.a, _), l.isMounted = !0, process.env.NODE_ENV !== "production" && $i(l), u = d = g = null;
3438
+ (u.shapeFlag & 256 || z && Pt(z.vnode) && z.vnode.shapeFlag & 256) && l.a && ge(l.a, _), l.isMounted = !0, process.env.NODE_ENV !== "production" && $i(l), u = d = g = null;
3460
3439
  }
3461
3440
  }, b = l.effect = new ho(
3462
3441
  N,
@@ -3464,7 +3443,7 @@ function Tl(e, t) {
3464
3443
  l.scope
3465
3444
  // track it in component's effect scope
3466
3445
  ), E = l.update = () => b.run();
3467
- E.id = l.uid, Xe(l, !0), process.env.NODE_ENV !== "production" && (b.onTrack = l.rtc ? (x) => xt(l.rtc, x) : void 0, b.onTrigger = l.rtg ? (x) => xt(l.rtg, x) : void 0, E.ownerInstance = l), E();
3446
+ E.id = l.uid, Xe(l, !0), process.env.NODE_ENV !== "production" && (b.onTrack = l.rtc ? (x) => Dt(l.rtc, x) : void 0, b.onTrigger = l.rtg ? (x) => Dt(l.rtg, x) : void 0, E.ownerInstance = l), E();
3468
3447
  }, H = (l, u, d) => {
3469
3448
  u.component = l;
3470
3449
  const g = l.vnode.props;
@@ -3473,7 +3452,7 @@ function Tl(e, t) {
3473
3452
  const E = l && l.children, x = l ? l.shapeFlag : 0, D = u.children, { patchFlag: V, shapeFlag: P } = u;
3474
3453
  if (V > 0) {
3475
3454
  if (V & 128) {
3476
- wt(
3455
+ Ot(
3477
3456
  E,
3478
3457
  D,
3479
3458
  d,
@@ -3500,7 +3479,7 @@ function Tl(e, t) {
3500
3479
  return;
3501
3480
  }
3502
3481
  }
3503
- P & 8 ? (x & 16 && Re(E, _, y), D !== E && h(d, D)) : x & 16 ? P & 16 ? wt(
3482
+ P & 8 ? (x & 16 && Re(E, _, y), D !== E && h(d, D)) : x & 16 ? P & 16 ? Ot(
3504
3483
  E,
3505
3484
  D,
3506
3485
  d,
@@ -3556,7 +3535,7 @@ function Tl(e, t) {
3556
3535
  b,
3557
3536
  D
3558
3537
  );
3559
- }, wt = (l, u, d, g, _, y, O, N, b) => {
3538
+ }, Ot = (l, u, d, g, _, y, O, N, b) => {
3560
3539
  let E = 0;
3561
3540
  const x = u.length;
3562
3541
  let D = l.length - 1, V = x - 1;
@@ -3628,9 +3607,9 @@ function Tl(e, t) {
3628
3607
  let K, Z = 0;
3629
3608
  const ve = V - j + 1;
3630
3609
  let ht = !1, $o = 0;
3631
- const Dt = new Array(ve);
3610
+ const wt = new Array(ve);
3632
3611
  for (E = 0; E < ve; E++)
3633
- Dt[E] = 0;
3612
+ wt[E] = 0;
3634
3613
  for (E = P; E <= D; E++) {
3635
3614
  const ce = l[E];
3636
3615
  if (Z >= ve) {
@@ -3642,11 +3621,11 @@ function Tl(e, t) {
3642
3621
  De = z.get(ce.key);
3643
3622
  else
3644
3623
  for (K = j; K <= V; K++)
3645
- if (Dt[K - j] === 0 && Ge(ce, u[K])) {
3624
+ if (wt[K - j] === 0 && Ge(ce, u[K])) {
3646
3625
  De = K;
3647
3626
  break;
3648
3627
  }
3649
- De === void 0 ? He(ce, _, y, !0) : (Dt[De - j] = E + 1, De >= $o ? $o = De : ht = !0, $(
3628
+ De === void 0 ? He(ce, _, y, !0) : (wt[De - j] = E + 1, De >= $o ? $o = De : ht = !0, $(
3650
3629
  ce,
3651
3630
  u[De],
3652
3631
  d,
@@ -3658,10 +3637,10 @@ function Tl(e, t) {
3658
3637
  b
3659
3638
  ), Z++);
3660
3639
  }
3661
- const Io = ht ? Il(Dt) : Et;
3640
+ const Io = ht ? Il(wt) : Et;
3662
3641
  for (K = Io.length - 1, E = ve - 1; E >= 0; E--) {
3663
3642
  const ce = j + E, De = u[ce], Po = ce + 1 < x ? u[ce + 1].el : g;
3664
- Dt[E] === 0 ? $(
3643
+ wt[E] === 0 ? $(
3665
3644
  null,
3666
3645
  De,
3667
3646
  d,
@@ -3695,7 +3674,7 @@ function Tl(e, t) {
3695
3674
  o(l.anchor, u, d);
3696
3675
  return;
3697
3676
  }
3698
- if (O === At) {
3677
+ if (O === Rt) {
3699
3678
  le(l, u, d);
3700
3679
  return;
3701
3680
  }
@@ -3727,7 +3706,7 @@ function Tl(e, t) {
3727
3706
  u.ctx.deactivate(l);
3728
3707
  return;
3729
3708
  }
3730
- const P = x & 1 && V, j = !Rt(l);
3709
+ const P = x & 1 && V, j = !Pt(l);
3731
3710
  let z;
3732
3711
  if (j && (z = O && O.onVnodeBeforeUnmount) && xe(z, u, l), x & 6)
3733
3712
  ys(l.component, d, g);
@@ -3763,7 +3742,7 @@ function Tl(e, t) {
3763
3742
  }) : vs(d, g);
3764
3743
  return;
3765
3744
  }
3766
- if (u === At) {
3745
+ if (u === Rt) {
3767
3746
  T(l);
3768
3747
  return;
3769
3748
  }
@@ -3783,7 +3762,7 @@ function Tl(e, t) {
3783
3762
  }, ys = (l, u, d) => {
3784
3763
  process.env.NODE_ENV !== "production" && l.type.__hmrId && Di(l);
3785
3764
  const { bum: g, scope: _, update: y, subTree: O, um: N } = l;
3786
- g && xt(g), _.stop(), y && (y.active = !1, He(O, l, u, d)), N && ge(N, u), ge(() => {
3765
+ g && Dt(g), _.stop(), y && (y.active = !1, He(O, l, u, d)), N && ge(N, u), ge(() => {
3787
3766
  l.isUnmounted = !0;
3788
3767
  }, u), u && u.pendingBranch && !u.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === u.pendingId && (u.deps--, u.deps === 0 && u.resolve()), process.env.NODE_ENV !== "production" && Pi(l);
3789
3768
  }, Re = (l, u, d, g = !1, _ = !1, y = 0) => {
@@ -3847,13 +3826,13 @@ function Il(e) {
3847
3826
  n[s] = i, i = t[i];
3848
3827
  return n;
3849
3828
  }
3850
- const Pl = (e) => e.__isTeleport, me = Symbol.for("v-fgt"), Kt = Symbol.for("v-txt"), te = Symbol.for("v-cmt"), At = Symbol.for("v-stc"), Mt = [];
3829
+ const Pl = (e) => e.__isTeleport, me = Symbol.for("v-fgt"), Kt = Symbol.for("v-txt"), te = Symbol.for("v-cmt"), Rt = Symbol.for("v-stc"), At = [];
3851
3830
  let be = null;
3852
3831
  function cs(e = !1) {
3853
- Mt.push(be = e ? null : []);
3832
+ At.push(be = e ? null : []);
3854
3833
  }
3855
3834
  function Rl() {
3856
- Mt.pop(), be = Mt[Mt.length - 1] || null;
3835
+ At.pop(), be = At[At.length - 1] || null;
3857
3836
  }
3858
3837
  let Ht = 1;
3859
3838
  function nr(e) {
@@ -3889,7 +3868,7 @@ function fs(e, t, n, o, r) {
3889
3868
  )
3890
3869
  );
3891
3870
  }
3892
- function bt(e) {
3871
+ function yt(e) {
3893
3872
  return e ? e.__v_isVNode === !0 : !1;
3894
3873
  }
3895
3874
  function Ge(e, t) {
@@ -3943,7 +3922,7 @@ function ps(e, t = null, n = null, o = 0, r = null, s = e === me ? 0 : 1, i = !1
3943
3922
  }
3944
3923
  const ae = process.env.NODE_ENV !== "production" ? Al : ds;
3945
3924
  function ds(e, t = null, n = null, o = 0, r = null, s = !1) {
3946
- if ((!e || e === Lr) && (process.env.NODE_ENV !== "production" && !e && v(`Invalid vnode type when creating vnode: ${e}.`), e = te), bt(e)) {
3925
+ if ((!e || e === Lr) && (process.env.NODE_ENV !== "production" && !e && v(`Invalid vnode type when creating vnode: ${e}.`), e = te), yt(e)) {
3947
3926
  const c = Ie(
3948
3927
  e,
3949
3928
  t,
@@ -4030,7 +4009,7 @@ function Fl(e = " ", t = 0) {
4030
4009
  return ae(Kt, null, e, t);
4031
4010
  }
4032
4011
  function Dc(e, t) {
4033
- const n = ae(At, null, e);
4012
+ const n = ae(Rt, null, e);
4034
4013
  return n.staticCount = t, n;
4035
4014
  }
4036
4015
  function xc(e = "", t = !1) {
@@ -4178,7 +4157,7 @@ let Vo, gt, or = "__VUE_INSTANCE_SETTERS__";
4178
4157
  (gt = cn()[or]) || (gt = cn()[or] = []), gt.push((e) => G = e), Vo = (e) => {
4179
4158
  gt.length > 1 ? gt.forEach((t) => t(e)) : gt[0](e);
4180
4159
  };
4181
- const Ot = (e) => {
4160
+ const bt = (e) => {
4182
4161
  Vo(e), e.scope.on();
4183
4162
  }, lt = () => {
4184
4163
  G && G.scope.off(), Vo(null);
@@ -4222,12 +4201,12 @@ function Ul(e, t) {
4222
4201
  const { setup: r } = o;
4223
4202
  if (r) {
4224
4203
  const s = e.setupContext = r.length > 1 ? Es(e) : null;
4225
- Ot(e), ft();
4204
+ bt(e), ft();
4226
4205
  const i = Fe(
4227
4206
  r,
4228
4207
  e,
4229
4208
  0,
4230
- [process.env.NODE_ENV !== "production" ? Tt(e.props) : e.props, s]
4209
+ [process.env.NODE_ENV !== "production" ? Ct(e.props) : e.props, s]
4231
4210
  );
4232
4211
  if (at(), lt(), co(i)) {
4233
4212
  if (i.then(lt, lt), t)
@@ -4248,7 +4227,7 @@ function Ul(e, t) {
4248
4227
  ms(e, t);
4249
4228
  }
4250
4229
  function rr(e, t, n) {
4251
- I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : L(t) ? (process.env.NODE_ENV !== "production" && bt(t) && v(
4230
+ I(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : L(t) ? (process.env.NODE_ENV !== "production" && yt(t) && v(
4252
4231
  "setup() should not return VNodes directly - return a render function instead."
4253
4232
  ), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = Cr(t), process.env.NODE_ENV !== "production" && ll(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && v(
4254
4233
  `setup() should return an object. Received: ${t === null ? "null" : typeof t}`
@@ -4279,7 +4258,7 @@ function ms(e, t, n) {
4279
4258
  e.render = o.render || oe;
4280
4259
  }
4281
4260
  {
4282
- Ot(e), ft();
4261
+ bt(e), ft();
4283
4262
  try {
4284
4263
  ul(e);
4285
4264
  } finally {
@@ -4390,7 +4369,7 @@ function Ns(e) {
4390
4369
  const Jl = (e, t) => di(e, t, Lt);
4391
4370
  function Vc(e, t, n) {
4392
4371
  const o = arguments.length;
4393
- return o === 2 ? L(t) && !C(t) ? bt(t) ? ae(e, null, [t]) : ae(e, t) : ae(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : o === 3 && bt(n) && (n = [n]), ae(e, t, n));
4372
+ return o === 2 ? L(t) && !C(t) ? yt(t) ? ae(e, null, [t]) : ae(e, t) : ae(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : o === 3 && yt(n) && (n = [n]), ae(e, t, n));
4394
4373
  }
4395
4374
  const Yl = Symbol.for("v-scx"), Zl = () => {
4396
4375
  {
@@ -4515,7 +4494,7 @@ function Xl() {
4515
4494
  }
4516
4495
  process.env.NODE_ENV !== "production" && Xl();
4517
4496
  export {
4518
- At as $,
4497
+ Rt as $,
4519
4498
  rc as A,
4520
4499
  vc as B,
4521
4500
  uc as C,
@@ -4547,7 +4526,7 @@ export {
4547
4526
  Nn as a0,
4548
4527
  Kn as a1,
4549
4528
  Se as a2,
4550
- yt as a3,
4529
+ Mt as a3,
4551
4530
  nc as a4,
4552
4531
  oc as a5,
4553
4532
  Oe as a6,
@@ -4580,7 +4559,7 @@ export {
4580
4559
  Jr as s,
4581
4560
  vi as t,
4582
4561
  yc as u,
4583
- bt as v,
4562
+ yt as v,
4584
4563
  Si as w,
4585
4564
  Jl as x,
4586
4565
  ci as y,
@@ -0,0 +1 @@
1
+ "use strict";var r=(n,t,e)=>new Promise((i,u)=>{var l=o=>{try{s(e.next(o))}catch(c){u(c)}},g=o=>{try{s(e.throw(o))}catch(c){u(c)}},s=o=>o.done?i(o.value):Promise.resolve(o.value).then(l,g);s((e=e.apply(n,t)).next())});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index.cjs6.js");const a=require("./index.cjs7.js");require("./vue.runtime.esm-bundler.cjs.js");const d="yxIcon",p=()=>{w()},w=()=>r(exports,null,function*(){var e;const{data:n}=yield a.getGroupListApi(),t=(e=n.find(i=>i.groupName===d))==null?void 0:e.groupUuid;m(t)}),m=n=>r(exports,null,function*(){const{data:t}=yield a.getResourceListApi(n,1);return x(t),t}),x=n=>{const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("xmlns:xlin","http://www.w3.org/1999/xlink");let e="";n.forEach(i=>{e+=i.text.replace(/\\/g,"").trim().replace(/^"(.*)"$/,"$1")}),t.innerHTML=e,t.style.position="absolute",t.style.width="0",t.style.height="0",document.head.appendChild(t)},h={install:function(n){p()}};exports.default=h;