@das-fed/upf-ui 6.4.0-dev.216 → 6.4.0-dev.218

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 (100) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-BgyMyjJo.js → index-BybM3Q9u.js} +700 -711
  3. package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
  4. package/packages/business-components/ai-panel/index-CgWRv2Ge.js +142 -0
  5. package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-Bw7rNZmA.js → index-CwdJKHy0.js} +9 -9
  7. package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.js +8773 -8873
  10. package/packages/business-components/device-panel/index.js.gz +0 -0
  11. package/packages/business-components/echarts/index.js +2049 -2056
  12. package/packages/business-components/echarts/index.js.gz +0 -0
  13. package/packages/business-components/process-configuration/index.js +50 -50
  14. package/packages/business-components/process-configuration/index.js.gz +0 -0
  15. package/packages/business-components/process-form/index.js +149 -149
  16. package/packages/business-components/process-form/index.js.gz +0 -0
  17. package/packages/business-components/process-search-form/index.js +60 -60
  18. package/packages/business-components/process-search-form/index.js.gz +0 -0
  19. package/packages/business-components/process-table/index.js +128 -130
  20. package/packages/business-components/process-table/index.js.gz +0 -0
  21. package/packages/business-components/urgent-panel/index.js +896 -904
  22. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  23. package/packages/business-components/user-org-dialog/index.js +246 -249
  24. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  25. package/packages/business-components/video-dialog/index.js +0 -1
  26. package/packages/business-components/video-dialog/index.js.gz +0 -0
  27. package/packages/components/autocomplete/index.js +6 -12
  28. package/packages/components/autocomplete/index.js.gz +0 -0
  29. package/packages/components/calendar/index.js +104 -104
  30. package/packages/components/calendar/index.js.gz +0 -0
  31. package/packages/components/cascader/index.js +27 -27
  32. package/packages/components/cascader/index.js.gz +0 -0
  33. package/packages/components/checkbox/index.js +54 -54
  34. package/packages/components/checkbox/index.js.gz +0 -0
  35. package/packages/components/date-picker/index.js +459 -459
  36. package/packages/components/date-picker/index.js.gz +0 -0
  37. package/packages/components/dimple-layout/index.js +61 -63
  38. package/packages/components/dimple-layout/index.js.gz +0 -0
  39. package/packages/components/dropdown/index.js +22 -23
  40. package/packages/components/dropdown/index.js.gz +0 -0
  41. package/packages/components/edit-table/index.js +223 -224
  42. package/packages/components/edit-table/index.js.gz +0 -0
  43. package/packages/components/error-overlay-model/index.js +42 -44
  44. package/packages/components/error-overlay-model/index.js.gz +0 -0
  45. package/packages/components/form-item/index.js +63 -67
  46. package/packages/components/form-item/index.js.gz +0 -0
  47. package/packages/components/image-viewer/index.js +32 -32
  48. package/packages/components/image-viewer/index.js.gz +0 -0
  49. package/packages/components/input/index.d.ts +4264 -0
  50. package/packages/components/input/index.js +51 -51
  51. package/packages/components/input/index.js.gz +0 -0
  52. package/packages/components/input/src/index.vue.d.ts +1432 -0
  53. package/packages/components/input-number/index.js +44 -44
  54. package/packages/components/input-number/index.js.gz +0 -0
  55. package/packages/components/live-player/index.js +832 -834
  56. package/packages/components/live-player/index.js.gz +0 -0
  57. package/packages/components/map/index.js +431 -437
  58. package/packages/components/map/index.js.gz +0 -0
  59. package/packages/components/menu-aside/index.js +1 -1
  60. package/packages/components/menu-aside/index.js.gz +0 -0
  61. package/packages/components/message/index.js +6 -6
  62. package/packages/components/message/index.js.gz +0 -0
  63. package/packages/components/radio-tabs/index.js +33 -33
  64. package/packages/components/radio-tabs/index.js.gz +0 -0
  65. package/packages/components/rich-editor/index.js +4556 -4586
  66. package/packages/components/rich-editor/index.js.gz +0 -0
  67. package/packages/components/scrollbar/index.js +135 -135
  68. package/packages/components/scrollbar/index.js.gz +0 -0
  69. package/packages/components/search/index.js +2 -2
  70. package/packages/components/search/index.js.gz +0 -0
  71. package/packages/components/select/index.js +92 -92
  72. package/packages/components/select/index.js.gz +0 -0
  73. package/packages/components/select-list/index.js +6 -10
  74. package/packages/components/select-list/index.js.gz +0 -0
  75. package/packages/components/special-range-picker-month/index.js +14 -16
  76. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  77. package/packages/components/special-range-picker-year/index.js +51 -53
  78. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  79. package/packages/components/spin/index.js +35 -35
  80. package/packages/components/spin/index.js.gz +0 -0
  81. package/packages/components/split-panel/index.js +101 -102
  82. package/packages/components/split-panel/index.js.gz +0 -0
  83. package/packages/components/table/index.js +599 -604
  84. package/packages/components/table/index.js.gz +0 -0
  85. package/packages/components/time-line/index.js +1 -1
  86. package/packages/components/time-line/index.js.gz +0 -0
  87. package/packages/components/tree/index.js +173 -182
  88. package/packages/components/tree/index.js.gz +0 -0
  89. package/packages/components/tree-select/index.js +81 -81
  90. package/packages/components/tree-select/index.js.gz +0 -0
  91. package/packages/components/tree-table/index.js +2 -2
  92. package/packages/components/tree-table/index.js.gz +0 -0
  93. package/packages/components/tree-v2/index.js +1208 -1240
  94. package/packages/components/tree-v2/index.js.gz +0 -0
  95. package/packages/components/virtual-tree/src/App.vue.d.ts +3974 -0
  96. package/packages/components/virtual-tree/src/type.d.ts +43 -0
  97. package/packages/business-components/ai-panel/index-B4pMosXu.js +0 -143
  98. package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
  99. package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
  100. package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  import '@das-fed/upf-ui/packages/components/tree/style.css';
2
- import { defineComponent as lr, openBlock as T, createBlock as ze, unref as i, createElementBlock as j, createElementVNode as Ne, renderSlot as B, createTextVNode as Se, toDisplayString as $e, ref as G, computed as X, watch as bt, nextTick as _e, onMounted as Sa, onBeforeUnmount as Ln, useAttrs as Kn, normalizeStyle as Ir, normalizeClass as Xe, mergeProps as xr, isRef as Nn, createSlots as Tt, withCtx as ke, createVNode as dt, createCommentVNode as A, withDirectives as ve, withModifiers as Ze, Fragment as we, vShow as Mn, renderList as ht } from "vue";
2
+ import { defineComponent as lr, openBlock as T, createBlock as ze, unref as i, createElementBlock as j, createElementVNode as Ne, renderSlot as B, createTextVNode as Se, toDisplayString as $e, ref as G, computed as X, watch as bt, nextTick as _e, onMounted as Sa, onBeforeUnmount as Ln, useAttrs as Kn, normalizeStyle as Ir, normalizeClass as Xe, mergeProps as xr, isRef as Nn, createSlots as Tt, withCtx as ke, createVNode as dt, createCommentVNode as A, withDirectives as ve, withModifiers as Ze, Fragment as Te, vShow as Mn, renderList as ht } from "vue";
3
3
  import { withInstall as Aa } from "@das-fed/upf-utils/with-install/index";
4
4
  import { setThemeRule as Dn } from "@das-fed/upf-web/packages/theme/index";
5
5
  import { t as me, setI18nRule as Fn } from "@das-fed/upf-web/packages/i18n/index";
@@ -101,7 +101,7 @@ function lo(e) {
101
101
  function co(e) {
102
102
  return this.__data__.has(e);
103
103
  }
104
- var Pa = typeof global == "object" && global && global.Object === Object && global, uo = typeof self == "object" && self && self.Object === Object && self, Oe = Pa || uo || Function("return this")(), et = Oe.Symbol, Ea = Object.prototype, fo = Ea.hasOwnProperty, ho = Ea.toString, yt = et ? et.toStringTag : void 0;
104
+ var Pa = typeof global == "object" && global && global.Object === Object && global, uo = typeof self == "object" && self && self.Object === Object && self, we = Pa || uo || Function("return this")(), et = we.Symbol, Ea = Object.prototype, fo = Ea.hasOwnProperty, ho = Ea.toString, yt = et ? et.toStringTag : void 0;
105
105
  function vo(e) {
106
106
  var t = fo.call(e, yt), r = e[yt];
107
107
  try {
@@ -131,7 +131,7 @@ function La(e) {
131
131
  var t = rt(e);
132
132
  return t == mo || t == Co || t == _o || t == To;
133
133
  }
134
- var Wt = Oe["__core-js_shared__"], Lr = function() {
134
+ var Wt = we["__core-js_shared__"], Lr = function() {
135
135
  var e = /[^.]+$/.exec(Wt && Wt.keys && Wt.keys.IE_PROTO || "");
136
136
  return e ? "Symbol(src)_1." + e : "";
137
137
  }();
@@ -168,7 +168,7 @@ function He(e, t) {
168
168
  var r = Ko(e, t);
169
169
  return Lo(r) ? r : void 0;
170
170
  }
171
- var $t = He(Oe, "Map"), _t = He(Object, "create");
171
+ var $t = He(we, "Map"), _t = He(Object, "create");
172
172
  function No() {
173
173
  this.__data__ = _t ? _t(null) : {}, this.size = 0;
174
174
  }
@@ -322,7 +322,7 @@ var Ma = Object.prototype, ss = Ma.hasOwnProperty, is = Ma.propertyIsEnumerable,
322
322
  function cs() {
323
323
  return !1;
324
324
  }
325
- var Da = typeof exports == "object" && exports && !exports.nodeType && exports, Mr = Da && typeof module == "object" && module && !module.nodeType && module, us = Mr && Mr.exports === Da, Dr = us ? Oe.Buffer : void 0, fs = Dr ? Dr.isBuffer : void 0, Fa = fs || cs, ds = 9007199254740991, hs = /^(?:0|[1-9]\d*)$/;
325
+ var Da = typeof exports == "object" && exports && !exports.nodeType && exports, Mr = Da && typeof module == "object" && module && !module.nodeType && module, us = Mr && Mr.exports === Da, Dr = us ? we.Buffer : void 0, fs = Dr ? Dr.isBuffer : void 0, Fa = fs || cs, ds = 9007199254740991, hs = /^(?:0|[1-9]\d*)$/;
326
326
  function vs(e, t) {
327
327
  var r = typeof e;
328
328
  return t = t ?? ds, !!t && (r == "number" || r != "symbol" && hs.test(e)) && e > -1 && e % 1 == 0 && e < t;
@@ -409,7 +409,7 @@ function hr(e) {
409
409
  function ti(e, t) {
410
410
  return e && Et(t, hr(t), e);
411
411
  }
412
- var Va = typeof exports == "object" && exports && !exports.nodeType && exports, Br = Va && typeof module == "object" && module && !module.nodeType && module, ri = Br && Br.exports === Va, zr = ri ? Oe.Buffer : void 0, Ur = zr ? zr.allocUnsafe : void 0;
412
+ var Va = typeof exports == "object" && exports && !exports.nodeType && exports, Br = Va && typeof module == "object" && module && !module.nodeType && module, ri = Br && Br.exports === Va, zr = ri ? we.Buffer : void 0, Ur = zr ? zr.allocUnsafe : void 0;
413
413
  function ai(e, t) {
414
414
  if (t)
415
415
  return e.slice();
@@ -463,7 +463,7 @@ function fi(e) {
463
463
  function di(e) {
464
464
  return Ya(e, hr, Ja);
465
465
  }
466
- var Qt = He(Oe, "DataView"), er = He(Oe, "Promise"), tr = He(Oe, "Set"), rr = He(Oe, "WeakMap"), Rr = "[object Map]", hi = "[object Object]", Vr = "[object Promise]", Hr = "[object Set]", Wr = "[object WeakMap]", qr = "[object DataView]", vi = Ve(Qt), yi = Ve($t), pi = Ve(er), gi = Ve(tr), bi = Ve(rr), Ee = rt;
466
+ var Qt = He(we, "DataView"), er = He(we, "Promise"), tr = He(we, "Set"), rr = He(we, "WeakMap"), Rr = "[object Map]", hi = "[object Object]", Vr = "[object Promise]", Hr = "[object Set]", Wr = "[object WeakMap]", qr = "[object DataView]", vi = Ve(Qt), yi = Ve($t), pi = Ve(er), gi = Ve(tr), bi = Ve(rr), Ee = rt;
467
467
  (Qt && Ee(new Qt(new ArrayBuffer(1))) != qr || $t && Ee(new $t()) != Rr || er && Ee(er.resolve()) != Vr || tr && Ee(new tr()) != Hr || rr && Ee(new rr()) != Wr) && (Ee = function(e) {
468
468
  var t = rt(e), r = t == hi ? e.constructor : void 0, a = r ? Ve(r) : "";
469
469
  if (a)
@@ -486,7 +486,7 @@ function mi(e) {
486
486
  var t = e.length, r = new e.constructor(t);
487
487
  return t && typeof e[0] == "string" && _i.call(e, "index") && (r.index = e.index, r.input = e.input), r;
488
488
  }
489
- var Jr = Oe.Uint8Array;
489
+ var Jr = we.Uint8Array;
490
490
  function yr(e) {
491
491
  var t = new e.constructor(e.byteLength);
492
492
  return new Jr(t).set(new Jr(e)), t;
@@ -580,11 +580,11 @@ function jt(e, t, r, a, c, d) {
580
580
  if (s = mi(e), !g)
581
581
  return ni(e, s);
582
582
  } else {
583
- var C = Ee(e), K = C == Za || C == ll;
583
+ var C = Ee(e), L = C == Za || C == ll;
584
584
  if (Fa(e))
585
585
  return ai(e, g);
586
- if (C == Qa || C == Xa || K && !c) {
587
- if (s = b || K ? {} : qi(e), !g)
586
+ if (C == Qa || C == Xa || L && !c) {
587
+ if (s = b || L ? {} : qi(e), !g)
588
588
  return b ? ui(e, ti(s, e)) : li(e, Ys(s, e));
589
589
  } else {
590
590
  if (!z[C])
@@ -598,12 +598,12 @@ function jt(e, t, r, a, c, d) {
598
598
  return w;
599
599
  d.set(e, s), el(e) ? e.forEach(function(x) {
600
600
  s.add(jt(x, t, r, x, e, d));
601
- }) : Xi(e) && e.forEach(function(x, N) {
602
- s.set(N, jt(x, t, r, N, e, d));
601
+ }) : Xi(e) && e.forEach(function(x, K) {
602
+ s.set(K, jt(x, t, r, K, e, d));
603
603
  });
604
604
  var ce = h ? b ? di : fi : b ? hr : dr, O = M ? void 0 : ce(e);
605
- return ts(O || e, function(x, N) {
606
- O && (N = x, x = e[N]), Na(s, N, jt(x, t, r, N, e, d));
605
+ return ts(O || e, function(x, K) {
606
+ O && (K = x, x = e[K]), Na(s, K, jt(x, t, r, K, e, d));
607
607
  }), s;
608
608
  }
609
609
  var kl = 1, Sl = 4;
@@ -611,7 +611,7 @@ function Ue(e) {
611
611
  return jt(e, kl | Sl);
612
612
  }
613
613
  var Jt = function() {
614
- return Oe.Date.now();
614
+ return we.Date.now();
615
615
  }, Al = /\s/;
616
616
  function Il(e) {
617
617
  for (var t = e.length; t-- && Al.test(e.charAt(t)); )
@@ -644,16 +644,16 @@ function ra(e) {
644
644
  }
645
645
  var Fl = "Expected a function", Bl = Math.max, zl = Math.min;
646
646
  function Ul(e, t, r) {
647
- var a, c, d, s, g, b, h = 0, M = !1, C = !1, K = !0;
647
+ var a, c, d, s, g, b, h = 0, M = !1, C = !1, L = !0;
648
648
  if (typeof e != "function")
649
649
  throw new TypeError(Fl);
650
- t = ra(t) || 0, Me(r) && (M = !!r.leading, C = "maxWait" in r, d = C ? Bl(ra(r.maxWait) || 0, t) : d, K = "trailing" in r ? !!r.trailing : K);
650
+ t = ra(t) || 0, Me(r) && (M = !!r.leading, C = "maxWait" in r, d = C ? Bl(ra(r.maxWait) || 0, t) : d, L = "trailing" in r ? !!r.trailing : L);
651
651
  function w(I) {
652
652
  var re = a, Z = c;
653
653
  return a = c = void 0, h = I, s = e.apply(Z, re), s;
654
654
  }
655
655
  function ce(I) {
656
- return h = I, g = setTimeout(N, t), M ? w(I) : s;
656
+ return h = I, g = setTimeout(K, t), M ? w(I) : s;
657
657
  }
658
658
  function O(I) {
659
659
  var re = I - b, Z = I - h, te = t - re;
@@ -663,19 +663,19 @@ function Ul(e, t, r) {
663
663
  var re = I - b, Z = I - h;
664
664
  return b === void 0 || re >= t || re < 0 || C && Z >= d;
665
665
  }
666
- function N() {
666
+ function K() {
667
667
  var I = Jt();
668
668
  if (x(I))
669
669
  return Ie(I);
670
- g = setTimeout(N, O(I));
670
+ g = setTimeout(K, O(I));
671
671
  }
672
672
  function Ie(I) {
673
- return g = void 0, K && a ? w(I) : (a = c = void 0, s);
673
+ return g = void 0, L && a ? w(I) : (a = c = void 0, s);
674
674
  }
675
675
  function Ce() {
676
676
  g !== void 0 && clearTimeout(g), h = 0, a = b = c = g = void 0;
677
677
  }
678
- function se() {
678
+ function oe() {
679
679
  return g === void 0 ? s : Ie(Jt());
680
680
  }
681
681
  function ue() {
@@ -684,14 +684,14 @@ function Ul(e, t, r) {
684
684
  if (g === void 0)
685
685
  return ce(b);
686
686
  if (C)
687
- return clearTimeout(g), g = setTimeout(N, t), w(b);
687
+ return clearTimeout(g), g = setTimeout(K, t), w(b);
688
688
  }
689
- return g === void 0 && (g = setTimeout(N, t)), s;
689
+ return g === void 0 && (g = setTimeout(K, t)), s;
690
690
  }
691
- return ue.cancel = Ce, ue.flush = se, ue;
691
+ return ue.cancel = Ce, ue.flush = oe, ue;
692
692
  }
693
693
  const Gl = (e, t, r, a, c, d, s, g, b, h) => {
694
- const M = G(null), C = G([]), K = G(!1), w = X(() => ({
694
+ const M = G(null), C = G([]), L = G(!1), w = X(() => ({
695
695
  label: "name",
696
696
  children: "children",
697
697
  parentId: "parentId",
@@ -708,10 +708,10 @@ const Gl = (e, t, r, a, c, d, s, g, b, h) => {
708
708
  const y = e.operationsLabel[o];
709
709
  if (y)
710
710
  return typeof y == "function" ? y(u, l) : y;
711
- }, x = G({}), N = (o, u) => {
711
+ }, x = G({}), K = (o, u) => {
712
712
  o && (x.value[u] = o);
713
- }, Ie = G(null), Ce = G(null), se = G({ node: null, data: null }), ue = (o, u) => {
714
- Ce.value = x.value[u[e.nodeKey]], se.value = {
713
+ }, Ie = G(null), Ce = G(null), oe = G({ node: null, data: null }), ue = (o, u) => {
714
+ Ce.value = x.value[u[e.nodeKey]], oe.value = {
715
715
  node: o,
716
716
  data: u
717
717
  };
@@ -719,7 +719,7 @@ const Gl = (e, t, r, a, c, d, s, g, b, h) => {
719
719
  var o;
720
720
  (o = Ie.value) == null || o.hide();
721
721
  }, re = G(""), Z = (o) => {
722
- re.value = o ? se.value.data[e.nodeKey] : "";
722
+ re.value = o ? oe.value.data[e.nodeKey] : "";
723
723
  }, te = (o, u) => {
724
724
  var p, Y, D, je;
725
725
  let l = {};
@@ -774,14 +774,14 @@ const Gl = (e, t, r, a, c, d, s, g, b, h) => {
774
774
  }, De = (o, u) => {
775
775
  var l;
776
776
  return o ? u[(l = w.value) == null ? void 0 : l.label].includes(o) : !0;
777
- }, ie = (o, u) => {
777
+ }, se = (o, u) => {
778
778
  let l = !1;
779
779
  return typeof w.value.disabled == "string" ? l = o[w.value.disabled] ?? !1 : typeof w.value.disabled == "function" && (l = w.value.disabled(o, u) ?? !1), l;
780
780
  }, Fe = (o, u = "parentId") => {
781
781
  var D;
782
782
  const l = o[u], y = (D = r.value) == null ? void 0 : D.store.nodesMap, p = (y == null ? void 0 : y[l]) ?? null;
783
783
  if (!p) return [null, null];
784
- if (!ie(p.data, p)) return [p.data, p];
784
+ if (!se(p.data, p)) return [p.data, p];
785
785
  const Y = Fe(p.data, u);
786
786
  if (Y) return Y;
787
787
  }, Be = (o, u) => {
@@ -802,31 +802,31 @@ const Gl = (e, t, r, a, c, d, s, g, b, h) => {
802
802
  return o || u;
803
803
  }), k = async (o, u) => {
804
804
  var y;
805
- if ((y = M.value) == null || y.click(), ie(o, u)) return;
805
+ if ((y = M.value) == null || y.click(), se(o, u)) return;
806
806
  let l = !0;
807
807
  if (e.changeNodeConfirm && (l = await e.changeNodeConfirm(o)), !!l) {
808
808
  if (!P.value) {
809
- Te(o, u);
809
+ Oe(o, u);
810
810
  return;
811
811
  }
812
- _++, E(o, u);
812
+ _++, N(o, u);
813
813
  }
814
- }, E = Ul((...o) => {
814
+ }, N = Ul((...o) => {
815
815
  const [u, l] = o;
816
- _ > 1 ? q(u, l) : Te(u, l), _ = 0;
817
- }, 500), q = (o, u) => {
816
+ _ > 1 ? J(u, l) : Oe(u, l), _ = 0;
817
+ }, 500), J = (o, u) => {
818
818
  e.showCheckbox ? t("check-node-db-click", o, u) : t("node-db-click", o, u);
819
- }, Te = (o, u) => {
819
+ }, Oe = (o, u) => {
820
820
  var l;
821
- e.showCheckbox ? t("check-node-click", o, u) : (K.value = !0, c.value = o[e.nodeKey], (l = r.value) == null || l.setCurrentKey(c.value), o.path && (a.value = o.path), t("change", o[e.nodeKey], o), t("node-click", o, u), t("node-change", o));
822
- }, ae = async (o, u) => {
821
+ e.showCheckbox ? t("check-node-click", o, u) : (L.value = !0, c.value = o[e.nodeKey], (l = r.value) == null || l.setCurrentKey(c.value), o.path && (a.value = o.path), t("change", o[e.nodeKey], o), t("node-click", o, u), t("node-change", o));
822
+ }, ie = async (o, u) => {
823
823
  await _e(), !(d.value && !e.showCheckbox && c.value && o[e.nodeKey] !== c.value) && t("current-change", o, u);
824
824
  }, Q = (o, u = !1) => {
825
825
  let l = !1;
826
826
  return e != null && e.nodeKey && (e.showCheckbox ? u && (l = !!c.value.includes(o[e.nodeKey])) : l = c.value === o[e.nodeKey]), l;
827
827
  }, ee = async (o) => {
828
828
  var u, l, y;
829
- if (!ie(o, null)) {
829
+ if (!se(o, null)) {
830
830
  if (!e.showCheckbox)
831
831
  k(o);
832
832
  else {
@@ -847,7 +847,7 @@ const Gl = (e, t, r, a, c, d, s, g, b, h) => {
847
847
  return w.value.class && (typeof w.value.class == "string" ? y = w.value.class : y = w.value.class(o, u)), y && (l = `${l} ${y}`), Q(o) && (l = `${l} is-active`), Ke(u) && (l = `${l} show-draggable-icon`), l;
848
848
  }, be = async () => {
849
849
  var o;
850
- return await _e(), K.value ? K.value = !1 : (e.showCheckbox || (o = r.value) == null || o.setCurrentKey(c.value, !0), !0);
850
+ return await _e(), L.value ? L.value = !1 : (e.showCheckbox || (o = r.value) == null || o.setCurrentKey(c.value, !0), !0);
851
851
  };
852
852
  return bt(
853
853
  () => e.data,
@@ -891,19 +891,19 @@ const Gl = (e, t, r, a, c, d, s, g, b, h) => {
891
891
  filterClear: ft,
892
892
  isActive: Q,
893
893
  expandParent: be,
894
- disabledFlag: ie,
894
+ disabledFlag: se,
895
895
  currentOprationKey: re,
896
896
  getMergeOperations: te,
897
- setOprationsMoreBtnRefs: N,
897
+ setOprationsMoreBtnRefs: K,
898
898
  oprationsPopoverRef: Ie,
899
899
  currentMoreBtnRef: Ce,
900
900
  moreBtnEnter: ue,
901
- currentOprationItem: se,
901
+ currentOprationItem: oe,
902
902
  isLeafFlag: Be,
903
903
  filterCustomClass: Je,
904
904
  allowUnSelectFlag: ge,
905
905
  findSelectableParentNode: Fe,
906
- currentChange: ae
906
+ currentChange: ie
907
907
  };
908
908
  };
909
909
  var wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -1329,8 +1329,8 @@ It.exports;
1329
1329
  function b(h, M) {
1330
1330
  if (M)
1331
1331
  return h.slice();
1332
- var C = h.length, K = g ? g(C) : new h.constructor(C);
1333
- return h.copy(K), K;
1332
+ var C = h.length, L = g ? g(C) : new h.constructor(C);
1333
+ return h.copy(L), L;
1334
1334
  }
1335
1335
  e.exports = b;
1336
1336
  })(It, It.exports);
@@ -1507,11 +1507,11 @@ function kt(e, t, r, a, c, d) {
1507
1507
  if (s = Lp(e), !g)
1508
1508
  return Sp(e, s);
1509
1509
  } else {
1510
- var C = Ep(e), K = C == mn || C == Xp;
1510
+ var C = Ep(e), L = C == mn || C == Xp;
1511
1511
  if (Dp(e))
1512
1512
  return kp(e, g);
1513
- if (C == Cn || C == _n || K && !c) {
1514
- if (s = b || K ? {} : Np(e), !g)
1513
+ if (C == Cn || C == _n || L && !c) {
1514
+ if (s = b || L ? {} : Np(e), !g)
1515
1515
  return b ? Ip(e, jp(s, e)) : Ap(e, Op(s, e));
1516
1516
  } else {
1517
1517
  if (!U[C])
@@ -1525,12 +1525,12 @@ function kt(e, t, r, a, c, d) {
1525
1525
  return w;
1526
1526
  d.set(e, s), zp(e) ? e.forEach(function(x) {
1527
1527
  s.add(kt(x, t, r, x, e, d));
1528
- }) : Fp(e) && e.forEach(function(x, N) {
1529
- s.set(N, kt(x, t, r, N, e, d));
1528
+ }) : Fp(e) && e.forEach(function(x, K) {
1529
+ s.set(K, kt(x, t, r, K, e, d));
1530
1530
  });
1531
1531
  var ce = h ? b ? Pp : xp : b ? Gp : Up, O = M ? void 0 : ce(e);
1532
- return Tp(O || e, function(x, N) {
1533
- O && (N = x, x = e[N]), wp(s, N, kt(x, t, r, N, e, d));
1532
+ return Tp(O || e, function(x, K) {
1533
+ O && (K = x, x = e[K]), wp(s, K, kt(x, t, r, K, e, d));
1534
1534
  }), s;
1535
1535
  }
1536
1536
  var pg = kt, gg = pg, bg = 1, $g = 4;
@@ -1538,10 +1538,10 @@ function _g(e) {
1538
1538
  return gg(e, bg | $g);
1539
1539
  }
1540
1540
  var mg = _g;
1541
- const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K, w, ce, O, x, N, Ie) => {
1542
- const Ce = G([]), se = G(!1), ue = G(null), I = G(null);
1541
+ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L, w, ce, O, x, K, Ie) => {
1542
+ const Ce = G([]), oe = G(!1), ue = G(null), I = G(null);
1543
1543
  bt(
1544
- () => se.value,
1544
+ () => oe.value,
1545
1545
  (_) => {
1546
1546
  if (!_) {
1547
1547
  I.value && I.value.close();
@@ -1564,44 +1564,36 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1564
1564
  try {
1565
1565
  await M(), await _e();
1566
1566
  const k = (P = (_ = r.value) == null ? void 0 : _.store) == null ? void 0 : P.nodesMap;
1567
- if (!k) {
1568
- console.warn("[Tree] nodesMap 未准备好,批量加载取消");
1567
+ if (!k)
1569
1568
  return;
1570
- }
1571
- const E = te.value.map((ae) => ae[e.nodeKey]);
1572
- console.log("[Tree] 开始批量加载", E.length, "个节点");
1573
- const q = await e.batchLoad(E);
1574
- console.log("[Tree] 批量加载返回:", Object.keys(q).length, "个节点的数据"), await _e();
1575
- let Te = 0;
1576
- for (const ae of E) {
1577
- const Q = k[ae];
1578
- if (!Q) {
1579
- console.warn("[Tree] 节点不存在,跳过:", ae);
1569
+ const N = te.value.map((ie) => ie[e.nodeKey]), J = await e.batchLoad(N);
1570
+ await _e();
1571
+ let Oe = 0;
1572
+ for (const ie of N) {
1573
+ const Q = k[ie];
1574
+ if (!Q)
1580
1575
  continue;
1581
- }
1582
- const ee = q[ae] || [];
1583
- Q.loaded = !0, Q.loading = !1, ee.length > 0 && (Q.childNodes = [], Q.doCreateChildren(ee), ce.value = Xt([...ce.value, ...ee], e.nodeKey), Te++);
1576
+ const ee = J[ie] || [];
1577
+ Q.loaded = !0, Q.loading = !1, ee.length > 0 && (Q.childNodes = [], Q.doCreateChildren(ee), ce.value = Xt([...ce.value, ...ee], e.nodeKey), Oe++);
1584
1578
  }
1585
- console.log("[Tree] 批量加载完成,成功设置", Te, "个节点");
1586
- } catch (k) {
1587
- console.error("[Tree] 批量加载失败:", k);
1579
+ } catch {
1588
1580
  }
1589
1581
  }, de = async (_, P, k = !1) => {
1590
1582
  var Q, ee;
1591
1583
  await _e(), !ue.value && a.value && (fe.value = !0, ue.value = Pr.service({
1592
1584
  target: a.value
1593
1585
  }));
1594
- let E = {};
1595
- w(_.data, _) ? E = { data: [] } : E = await re(_.data, _.level), ue.value && (ue.value.close(), fe.value = !1);
1596
- let { data: q } = E;
1597
- q || (q = []);
1598
- let Te = [];
1599
- const ae = ((Q = _ == null ? void 0 : _.childNodes) == null ? void 0 : Q.map((he) => he.data)) || [];
1600
- if (q && ae.length && q.length && ae.length === q.length) {
1601
- const he = Object.keys(q[0]), be = ae.map((l) => {
1586
+ let N = {};
1587
+ w(_.data, _) ? N = { data: [] } : N = await re(_.data, _.level), ue.value && (ue.value.close(), fe.value = !1);
1588
+ let { data: J } = N;
1589
+ J || (J = []);
1590
+ let Oe = [];
1591
+ const ie = ((Q = _ == null ? void 0 : _.childNodes) == null ? void 0 : Q.map((he) => he.data)) || [];
1592
+ if (J && ie.length && J.length && ie.length === J.length) {
1593
+ const he = Object.keys(J[0]), be = ie.map((l) => {
1602
1594
  let y = {};
1603
1595
  return he.forEach((p) => y[p] = l[p]), y;
1604
- }), o = q.map((l) => {
1596
+ }), o = J.map((l) => {
1605
1597
  let y = {};
1606
1598
  return he.forEach((p) => y[p] = l[p]), y;
1607
1599
  });
@@ -1609,7 +1601,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1609
1601
  return _.loaded = !0, _.loading = !1, [];
1610
1602
  }
1611
1603
  if (_.level === 0) {
1612
- if (te.value = q, e.defaultExpandRoot) {
1604
+ if (te.value = J, e.defaultExpandRoot) {
1613
1605
  const he = (ee = te.value) == null ? void 0 : ee.map((be) => be[e.nodeKey]);
1614
1606
  e.batchLoad && te.value.length > 0 ? setTimeout(async () => {
1615
1607
  await pe(), await _e(), x.value = Qe(he);
@@ -1617,21 +1609,21 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1617
1609
  }
1618
1610
  k || (ye.value.push(_), qe.value.push(P));
1619
1611
  }
1620
- return ce.value = Xt([...ce.value, ...q, ...Te], e.nodeKey), P && P(q), q;
1612
+ return ce.value = Xt([...ce.value, ...J, ...Oe], e.nodeKey), P && P(J), J;
1621
1613
  }, xe = G(!1), ft = async () => {
1622
1614
  xe.value = !0;
1623
1615
  const _ = await Z() || [];
1624
1616
  (!_ || !(_ != null && _.length)) && _.push({ [g.value.label]: me("暂无数据"), id: "nodata" }), Ce.value = _, xe.value = !1;
1625
1617
  }, De = () => {
1626
1618
  Ce.value = [];
1627
- }, ie = async (_, P = !1) => {
1628
- var ae, Q, ee, he, be, o, u;
1619
+ }, se = async (_, P = !1) => {
1620
+ var ie, Q, ee, he, be, o, u;
1629
1621
  let k = _ ?? {};
1630
- if (Ce.value = [], d.value = "", se.value || P && C(k, null) || (k.path || (k.path = k[e.nodeKey] ?? ""), !k.path)) return;
1631
- const E = k.path.split(/[\/,]/);
1632
- E[0] !== e.rootNodeId && E.unshift(e.rootNodeId + "");
1633
- const q = (ae = r.value) == null ? void 0 : ae.store.nodesMap;
1634
- if (k[e.nodeKey] ? q[k[e.nodeKey]] : null) {
1622
+ if (Ce.value = [], d.value = "", oe.value || P && C(k, null) || (k.path || (k.path = k[e.nodeKey] ?? ""), !k.path)) return;
1623
+ const N = k.path.split(/[\/,]/);
1624
+ N[0] !== e.rootNodeId && N.unshift(e.rootNodeId + "");
1625
+ const J = (ie = r.value) == null ? void 0 : ie.store.nodesMap;
1626
+ if (k[e.nodeKey] ? J[k[e.nodeKey]] : null) {
1635
1627
  if (!e.showCheckbox)
1636
1628
  h(k);
1637
1629
  else if (P) {
@@ -1645,8 +1637,8 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1645
1637
  t("filter-node-click", k);
1646
1638
  } else {
1647
1639
  let l = "", y = {};
1648
- se.value = !0;
1649
- for (const p of E) {
1640
+ oe.value = !0;
1641
+ for (const p of N) {
1650
1642
  await _e();
1651
1643
  const Y = (Q = r.value) == null ? void 0 : Q.store.nodesMap, D = Y == null ? void 0 : Y[p];
1652
1644
  if (!D) continue;
@@ -1668,13 +1660,13 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1668
1660
  t("filter-node-click", y);
1669
1661
  }
1670
1662
  }
1671
- return se.value = !1, !0;
1663
+ return oe.value = !1, !0;
1672
1664
  }, Fe = async () => {
1673
1665
  let _ = e.defaultExpandedPaths || [];
1674
1666
  if (e.showCheckbox ? b.value && b.value.length && (_ = [..._, ...b.value]) : b.value && (_ = _ == null ? void 0 : _.concat(b.value)), _.length) {
1675
1667
  _ = Array.from(new Set(_));
1676
1668
  for (const P of _)
1677
- await ie({ path: P });
1669
+ await se({ path: P });
1678
1670
  }
1679
1671
  return !0;
1680
1672
  }, Be = () => new Promise((_) => {
@@ -1713,15 +1705,15 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1713
1705
  search: Z,
1714
1706
  handleSearch: ft,
1715
1707
  handleSearchClear: De,
1716
- handleSearchResultItemClick: ie,
1708
+ handleSearchResultItemClick: se,
1717
1709
  resetLazyLoad: Je
1718
1710
  };
1719
1711
  }, Tg = (e, t, r) => {
1720
1712
  let a = 0, c = "";
1721
1713
  const d = (b = "visible", h) => {
1722
- var K;
1714
+ var L;
1723
1715
  if (!r.isEllipsis) return;
1724
- const M = (K = t.value) == null ? void 0 : K.$el.querySelectorAll(".el-tree-node__children"), C = (M == null ? void 0 : M.length) ?? 0;
1716
+ const M = (L = t.value) == null ? void 0 : L.$el.querySelectorAll(".el-tree-node__children"), C = (M == null ? void 0 : M.length) ?? 0;
1725
1717
  !h && c === b && a === C || (a = C, c = b, M && M.length && M.forEach((w) => {
1726
1718
  w.classList.remove(c === "visible" ? "overflow-hide" : "overflow-visible"), w.classList.add(c === "visible" ? "overflow-visible" : "overflow-hide");
1727
1719
  }));
@@ -1842,7 +1834,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1842
1834
  preview: import("@das-fed/upf-ui/packages/icons/preview"),
1843
1835
  view: import("@das-fed/upf-ui/packages/icons/view")
1844
1836
  });
1845
- const d = Kn(), s = G(), g = X(() => a.emptyText || me("暂无数据")), b = X(() => a.searchEmptyText || me("noDataTryAnotherKeyword")), h = X(() => d.lazy ?? !!M.value), M = X(() => a.load ?? void 0), C = G([]), K = X(() => a.search ?? void 0), w = X(() => a.showCheckbox ? O.value : []), ce = X(() => a.showCheckbox ? a.currentNodeKey : O.value), O = X({
1837
+ const d = Kn(), s = G(), g = X(() => a.emptyText || me("暂无数据")), b = X(() => a.searchEmptyText || me("noDataTryAnotherKeyword")), h = X(() => d.lazy ?? !!M.value), M = X(() => a.load ?? void 0), C = G([]), L = X(() => a.search ?? void 0), w = X(() => a.showCheckbox ? O.value : []), ce = X(() => a.showCheckbox ? a.currentNodeKey : O.value), O = X({
1846
1838
  get() {
1847
1839
  return a.showCheckbox && !a.modelValue ? [] : a.modelValue;
1848
1840
  },
@@ -1854,26 +1846,26 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1854
1846
  set: (n) => {
1855
1847
  c("update:path", n);
1856
1848
  }
1857
- }), N = G([]), Ie = X(() => {
1858
- let n = [...N.value, ...a.defaultExpandedKeys];
1849
+ }), K = G([]), Ie = X(() => {
1850
+ let n = [...K.value, ...a.defaultExpandedKeys];
1859
1851
  return Array.from(new Set(n));
1860
1852
  }), Ce = () => new Promise((n) => {
1861
1853
  const f = () => {
1862
- var S, v, $, L;
1863
- if ((v = (S = s.value) == null ? void 0 : S.store) != null && v.nodesMap && ((L = Object.keys(($ = s.value) == null ? void 0 : $.store.nodesMap)) == null ? void 0 : L.length) > 0)
1854
+ var S, v, $, E;
1855
+ if ((v = (S = s.value) == null ? void 0 : S.store) != null && v.nodesMap && ((E = Object.keys(($ = s.value) == null ? void 0 : $.store.nodesMap)) == null ? void 0 : E.length) > 0)
1864
1856
  return n(!0);
1865
1857
  setTimeout(() => f(), 50);
1866
1858
  };
1867
1859
  f();
1868
- }), se = (n) => new Promise((f) => {
1860
+ }), oe = (n) => new Promise((f) => {
1869
1861
  let S = 0;
1870
1862
  const v = () => {
1871
1863
  if (!(!C.value || !C.value.length)) {
1872
1864
  if (Array.isArray(n)) {
1873
- const $ = C.value.filter((L) => n.includes(L[a.nodeKey]));
1865
+ const $ = C.value.filter((E) => n.includes(E[a.nodeKey]));
1874
1866
  if ($.length === n.length) return f($);
1875
1867
  } else {
1876
- const $ = C.value.find((L) => L[a.nodeKey] === n);
1868
+ const $ = C.value.find((E) => E[a.nodeKey] === n);
1877
1869
  if ($) return f($);
1878
1870
  }
1879
1871
  if (setTimeout(() => {
@@ -1885,45 +1877,44 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1885
1877
  v();
1886
1878
  }), ue = async (n) => a.getGrandChildren ? await a.getGrandChildren(n) : [], I = (n, f) => {
1887
1879
  var v;
1888
- console.log(n, f);
1889
1880
  let S = n.childNodes.length;
1890
1881
  if (S > 0)
1891
1882
  for (let $ = 0; $ < S; $++) {
1892
- const L = f, J = n.childNodes[$];
1893
- if (ee(J.data, J)) {
1894
- I({ ...J, checked: L }, f);
1883
+ const E = f, q = n.childNodes[$];
1884
+ if (ee(q.data, q)) {
1885
+ I({ ...q, checked: E }, f);
1895
1886
  continue;
1896
1887
  }
1897
- J.checked !== L && (J.checked = L), I(J, f);
1888
+ q.checked !== E && (q.checked = E), I(q, f);
1898
1889
  }
1899
1890
  s.value && (O.value = (v = s.value) == null ? void 0 : v.getCheckedKeys());
1900
1891
  }, re = async (n, f) => {
1901
- var L, J, ne;
1892
+ var E, q, ae;
1902
1893
  if (Y(n, null)) {
1903
1894
  if (f)
1904
1895
  O.value.includes(n[a.nodeKey]) || O.value.push(n[a.nodeKey]);
1905
1896
  else {
1906
- const oe = O.value.findIndex((H) => H === n[a.nodeKey]);
1907
- oe > -1 && O.value.splice(oe, 1);
1897
+ const ne = O.value.findIndex((H) => H === n[a.nodeKey]);
1898
+ ne > -1 && O.value.splice(ne, 1);
1908
1899
  }
1909
- return (L = s.value) == null || L.setCheckedKeys(O.value), pe.value = !0, [];
1900
+ return (E = s.value) == null || E.setCheckedKeys(O.value), pe.value = !0, [];
1910
1901
  }
1911
1902
  let S = await ue(n);
1912
1903
  C.value = Xt([...C.value, ...S], a.nodeKey);
1913
- const v = S.concat(n), $ = Array.from(new Set(v.map((oe) => oe[a.nodeKey])));
1904
+ const v = S.concat(n), $ = Array.from(new Set(v.map((ne) => ne[a.nodeKey])));
1914
1905
  if (f) {
1915
- const oe = O.value ?? [], H = Ue([...oe, ...$]);
1916
- O.value = Array.from(new Set(H)), (J = s.value) == null || J.setCheckedKeys(H);
1906
+ const ne = O.value ?? [], H = Ue([...ne, ...$]);
1907
+ O.value = Array.from(new Set(H)), (q = s.value) == null || q.setCheckedKeys(H);
1917
1908
  } else {
1918
1909
  const H = (O.value ?? []).filter((W) => !$.includes(W));
1919
- O.value = Array.from(new Set(H)), (ne = s.value) == null || ne.setCheckedKeys(H);
1910
+ O.value = Array.from(new Set(H)), (ae = s.value) == null || ae.setCheckedKeys(H);
1920
1911
  }
1921
1912
  return S;
1922
1913
  }, Z = G([]), te = async (n, f) => {
1923
1914
  var v;
1924
1915
  if (h.value) {
1925
1916
  const $ = await re(n, f);
1926
- return c("check-node-change", O.value, n, f), Z.value = $.map((L) => L[a.nodeKey]), $;
1917
+ return c("check-node-change", O.value, n, f), Z.value = $.map((E) => E[a.nodeKey]), $;
1927
1918
  }
1928
1919
  await _e();
1929
1920
  const S = (v = s.value) == null ? void 0 : v.getNode(n[a.nodeKey]);
@@ -1945,19 +1936,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1945
1936
  }, fe = G(!1), pe = G(!1), de = async (n, f, S = !1) => {
1946
1937
  var H, W;
1947
1938
  pe.value = !0;
1948
- const { checkedKeys: v } = f, $ = v.includes(n[a.nodeKey]), L = O.value.includes(n[a.nodeKey]), J = a.keepSelected && !je(n) && L && !$;
1939
+ const { checkedKeys: v } = f, $ = v.includes(n[a.nodeKey]), E = O.value.includes(n[a.nodeKey]), q = a.keepSelected && !je(n) && E && !$;
1949
1940
  await _e();
1950
- let ne = ((H = s.value) == null ? void 0 : H.getCheckedKeys()) || [];
1951
- if (J && (ne = Ue([...ne, n[a.nodeKey]]), a.showCheckbox && ((W = s.value) == null || W.setCheckedKeys(ne))), a.parentLinkChildrenStrictly || (O.value = ne), $ && a.childLinkParentStrictly && !fe.value) {
1941
+ let ae = ((H = s.value) == null ? void 0 : H.getCheckedKeys()) || [];
1942
+ if (q && (ae = Ue([...ae, n[a.nodeKey]]), a.showCheckbox && ((W = s.value) == null || W.setCheckedKeys(ae))), a.parentLinkChildrenStrictly || (O.value = ae), $ && a.childLinkParentStrictly && !fe.value) {
1952
1943
  const F = O.value ?? [];
1953
1944
  await qe(n, $), O.value = Array.from(/* @__PURE__ */ new Set([...F, ...O.value]));
1954
1945
  }
1955
- let oe = [];
1956
- a.parentLinkChildrenStrictly && !fe.value && (oe = await te(n, $)), a.parentLinkChildrenStrictly && h.value || (await _e(), c("check-node-change", O.value, n, $)), S && c("change", O.value, n, $, oe);
1946
+ let ne = [];
1947
+ a.parentLinkChildrenStrictly && !fe.value && (ne = await te(n, $)), a.parentLinkChildrenStrictly && h.value || (await _e(), c("check-node-change", O.value, n, $)), S && c("change", O.value, n, $, ne);
1957
1948
  }, xe = G(!1), {
1958
1949
  realHeight: ft,
1959
1950
  dasTree: De,
1960
- getMergeOperations: ie,
1951
+ getMergeOperations: se,
1961
1952
  getOperations: Fe,
1962
1953
  handleOperation: Be,
1963
1954
  filterInnerValue: ge,
@@ -1966,10 +1957,10 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1966
1957
  nodeClass: _,
1967
1958
  nodeClick: P,
1968
1959
  isActive: k,
1969
- defaultProps: E,
1970
- filterNodeMethodFn: q,
1971
- filterSeach: Te,
1972
- filterClear: ae,
1960
+ defaultProps: N,
1961
+ filterNodeMethodFn: J,
1962
+ filterSeach: Oe,
1963
+ filterClear: ie,
1973
1964
  expandParent: Q,
1974
1965
  disabledFlag: ee,
1975
1966
  currentOprationKey: he,
@@ -1984,7 +1975,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
1984
1975
  allowUnSelectFlag: je,
1985
1976
  findSelectableParentNode: Bt,
1986
1977
  currentChange: Tn
1987
- } = Gl(a, c, s, x, O, h, N, de, xe, d), {
1978
+ } = Gl(a, c, s, x, O, h, K, de, xe, d), {
1988
1979
  rootLevelData: wn,
1989
1980
  searchLoading: zt,
1990
1981
  searchData: Ut,
@@ -2002,7 +1993,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2002
1993
  h,
2003
1994
  ge,
2004
1995
  O,
2005
- E,
1996
+ N,
2006
1997
  x,
2007
1998
  P,
2008
1999
  Ce,
@@ -2011,11 +2002,11 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2011
2002
  Y,
2012
2003
  C,
2013
2004
  de,
2014
- N,
2005
+ K,
2015
2006
  ue,
2016
2007
  xe
2017
2008
  ), An = () => {
2018
- K.value ? kr() : Te();
2009
+ L.value ? kr() : Oe();
2019
2010
  };
2020
2011
  bt(
2021
2012
  () => ge.value,
@@ -2027,7 +2018,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2027
2018
  bt(
2028
2019
  () => O.value,
2029
2020
  (n) => {
2030
- var v, $, L, J, ne, oe;
2021
+ var v, $, E, q, ae, ne;
2031
2022
  const f = a.showCheckbox ? n ?? [] : n ?? void 0, S = a.showCheckbox ? Ye.value ?? [] : Ye.value ?? void 0;
2032
2023
  if (JSON.stringify(f) !== JSON.stringify(S)) {
2033
2024
  if (a.showCheckbox) {
@@ -2044,19 +2035,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2044
2035
  return;
2045
2036
  }
2046
2037
  if (!h.value)
2047
- a.showCheckbox ? (L = s.value) == null || L.setCheckedKeys(f) : Q();
2038
+ a.showCheckbox ? (E = s.value) == null || E.setCheckedKeys(f) : Q();
2048
2039
  else if (a.showCheckbox)
2049
2040
  if (!a.parentLinkChildrenStrictly || !a.dataLinkView) {
2050
2041
  const H = C.value.map((F) => F[a.nodeKey]), W = f.filter((F) => !H.includes(F));
2051
2042
  W && W.length ? Gt().then(() => {
2052
2043
  var F;
2053
2044
  s.value && ((F = s.value) == null || F.setCheckedKeys(f));
2054
- }) : s.value && ((ne = s.value) == null || ne.setCheckedKeys(f));
2045
+ }) : s.value && ((ae = s.value) == null || ae.setCheckedKeys(f));
2055
2046
  } else {
2056
- if (s.value && ((oe = s.value) == null || oe.setCheckedKeys([])), f.length && S.length === 0)
2047
+ if (s.value && ((ne = s.value) == null || ne.setCheckedKeys([])), f.length && S.length === 0)
2057
2048
  for (let H of f) {
2058
2049
  const W = Z.value.findIndex((F) => F === H);
2059
- W !== -1 && Z.value.splice(W, 1), se(H).then((F) => {
2050
+ W !== -1 && Z.value.splice(W, 1), oe(H).then((F) => {
2060
2051
  F && (fe.value = !0, de(F, { checkedKeys: [...f] }).then(() => {
2061
2052
  pe.value = !1, fe.value = !1;
2062
2053
  }));
@@ -2067,7 +2058,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2067
2058
  if (H && H.length)
2068
2059
  for (let F of H) {
2069
2060
  const m = Z.value.findIndex((le) => le === F);
2070
- m !== -1 && Z.value.splice(m, 1), se(F).then(async (le) => {
2061
+ m !== -1 && Z.value.splice(m, 1), oe(F).then(async (le) => {
2071
2062
  le && (fe.value = !0, de(le, { checkedKeys: [...f] }).then(() => {
2072
2063
  pe.value = !1, fe.value = !1;
2073
2064
  }));
@@ -2076,7 +2067,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2076
2067
  if (W && W.length)
2077
2068
  for (let F of W) {
2078
2069
  const m = Z.value.findIndex((le) => le === F);
2079
- m !== -1 && Z.value.splice(m, 1), se(F).then((le) => {
2070
+ m !== -1 && Z.value.splice(m, 1), oe(F).then((le) => {
2080
2071
  le && (fe.value = !0, de(le, { checkedKeys: [...f] }).then(() => {
2081
2072
  pe.value = !1, fe.value = !1;
2082
2073
  }));
@@ -2085,7 +2076,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2085
2076
  }
2086
2077
  }
2087
2078
  else if (C.value.find((W) => W[a.nodeKey] === f))
2088
- (J = s.value) == null || J.setCurrentKey(f);
2079
+ (q = s.value) == null || q.setCurrentKey(f);
2089
2080
  else {
2090
2081
  if (a.notAutoresetLazyLoad) return;
2091
2082
  Gt().then(() => {
@@ -2099,16 +2090,16 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2099
2090
  { immediate: !0, deep: !0 }
2100
2091
  );
2101
2092
  const Rt = () => {
2102
- K.value ? kn() : ae();
2093
+ L.value ? kn() : ie();
2103
2094
  }, In = X(() => a.parentLinkChildrenStrictly || a.childLinkParentStrictly ? !0 : !!(a.checkStrictly ?? h.value)), xn = X(() => h.value ? !!jn.value : a.loading), Vt = X(() => {
2104
2095
  var n, f;
2105
2096
  return h.value ? !((n = wn.value) != null && n.length) : !((f = a.data) != null && f.length);
2106
2097
  }), Sr = X(() => {
2107
2098
  var n;
2108
- if (K.value)
2109
- return !zt.value && ((n = Ut.value) == null ? void 0 : n.length) === 1 && Ut.value[0][E.value.label] === me("暂无数据");
2099
+ if (L.value)
2100
+ return !zt.value && ((n = Ut.value) == null ? void 0 : n.length) === 1 && Ut.value[0][N.value.label] === me("暂无数据");
2110
2101
  if (a.isFilter)
2111
- return Ke.value.length === 1 && Ke.value[0][E.value.label] === me("暂无数据");
2102
+ return Ke.value.length === 1 && Ke.value[0][N.value.label] === me("暂无数据");
2112
2103
  }), { setTreeNodeChildrenOverflow: Pn } = Tg(De, s, a), En = () => {
2113
2104
  a.isEllipsis && Pn("hidden");
2114
2105
  };
@@ -2124,7 +2115,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2124
2115
  /** 非懒加载:父级联动子级 */
2125
2116
  parentLinkChild: I,
2126
2117
  /** 清空搜索框并重新加载整棵树方法(用于懒加载重新请求整颗树的数据) */
2127
- resetLazyLoad: async () => ((K.value || a.isFilter) && (ge.value = "", Rt()), await Gt(), !0),
2118
+ resetLazyLoad: async () => ((L.value || a.isFilter) && (ge.value = "", Rt()), await Gt(), !0),
2128
2119
  /** 自动展开父节点方法 */
2129
2120
  autoExpand: Q,
2130
2121
  /** 清空搜索值,回到tree面板 */
@@ -2132,9 +2123,9 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2132
2123
  /** 懒加载获取到的所有平铺数据 */
2133
2124
  lazyData: C,
2134
2125
  /** 判断懒加载指定节点、节点集合是否全部加载完成 */
2135
- lazyDataNextTick: se,
2126
+ lazyDataNextTick: oe,
2136
2127
  /** 非懒加载模式触发搜索 */
2137
- filterSeach: Te,
2128
+ filterSeach: Oe,
2138
2129
  /** 懒加载模式触发搜索 */
2139
2130
  handleSearch: kr,
2140
2131
  /** 根据父级获取所有子孙节点(提供给tree-select组件使用) */
@@ -2154,7 +2145,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2154
2145
  "root-checkbox_hide": n.hideRootCheckbox
2155
2146
  })
2156
2147
  }, [
2157
- (n.isFilter || K.value) && n.showFilterInput ? (T(), ze(i(zn), xr({
2148
+ (n.isFilter || L.value) && n.showFilterInput ? (T(), ze(i(zn), xr({
2158
2149
  key: 0,
2159
2150
  class: "das-tree-filter-input",
2160
2151
  modelValue: i(ge),
@@ -2220,10 +2211,10 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2220
2211
  "current-node-key": ce.value,
2221
2212
  "default-checked-keys": w.value,
2222
2213
  "default-expanded-keys": Ie.value,
2223
- props: { ...i(E), class: i(_) },
2214
+ props: { ...i(N), class: i(_) },
2224
2215
  "show-checkbox": n.showCheckbox,
2225
2216
  "expand-on-click-node": n.expandOnClickNode ?? n.showCheckbox,
2226
- "filter-node-method": i(q),
2217
+ "filter-node-method": i(J),
2227
2218
  draggable: n.draggable,
2228
2219
  "allow-drag": n.allowDrag
2229
2220
  }, { ...i(d), onCurrentChange: void 0 }, {
@@ -2239,7 +2230,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2239
2230
  node: v,
2240
2231
  data: $
2241
2232
  }, () => {
2242
- var L, J;
2233
+ var E, q;
2243
2234
  return [
2244
2235
  f[5] || (f[5] = Ne("div", null, null, -1)),
2245
2236
  n.showOperations ? (T(), j("div", kg, [
@@ -2248,20 +2239,20 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2248
2239
  data: $
2249
2240
  }, () => [
2250
2241
  n.isEllipsis ? ve((T(), j("div", Sg, [
2251
- Se($e($[i(E).label]), 1)
2242
+ Se($e($[i(N).label]), 1)
2252
2243
  ])), [
2253
2244
  [i(Pe)]
2254
2245
  ]) : A("", !0),
2255
- n.isEllipsis ? A("", !0) : (T(), j("div", Ag, $e($[i(E).label]), 1))
2246
+ n.isEllipsis ? A("", !0) : (T(), j("div", Ag, $e($[i(N).label]), 1))
2256
2247
  ]),
2257
- !i(ee)($, v) && ((J = (L = i(ie)(v, $)) == null ? void 0 : L.list) != null && J.length || i(Fe)(v, $).length) ? (T(), j("div", {
2248
+ !i(ee)($, v) && ((q = (E = i(se)(v, $)) == null ? void 0 : E.list) != null && q.length || i(Fe)(v, $).length) ? (T(), j("div", {
2258
2249
  key: 0,
2259
2250
  class: "oprations-box",
2260
- onMouseenter: (ne) => i(l)(v, $)
2251
+ onMouseenter: (ae) => i(l)(v, $)
2261
2252
  }, [
2262
2253
  Ne("div", {
2263
2254
  class: "more-icon",
2264
- ref: (ne) => i(o)(ne, $[n.nodeKey]),
2255
+ ref: (ae) => i(o)(ae, $[n.nodeKey]),
2265
2256
  style: Ir(i(he) === $[n.nodeKey] ? "opacity: 1" : ""),
2266
2257
  onClick: f[1] || (f[1] = Ze(() => {
2267
2258
  }, ["stop"]))
@@ -2274,12 +2265,12 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2274
2265
  ], 4)
2275
2266
  ], 40, Ig)) : A("", !0)
2276
2267
  ])) : A("", !0),
2277
- n.showOperations ? A("", !0) : (T(), j(we, { key: 1 }, [
2268
+ n.showOperations ? A("", !0) : (T(), j(Te, { key: 1 }, [
2278
2269
  n.isEllipsis ? ve((T(), j("div", xg, [
2279
- Se($e($[i(E).label]), 1)
2270
+ Se($e($[i(N).label]), 1)
2280
2271
  ])), [
2281
2272
  [i(Pe)]
2282
- ]) : (T(), j("div", Pg, $e($[i(E).label]), 1))
2273
+ ]) : (T(), j("div", Pg, $e($[i(N).label]), 1))
2283
2274
  ], 64))
2284
2275
  ];
2285
2276
  })
@@ -2305,7 +2296,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2305
2296
  ]), 1032, ["empty-text"]),
2306
2297
  n.$slots.bottom ? B(n.$slots, "bottom", { key: 1 }) : A("", !0)
2307
2298
  ])) : A("", !0),
2308
- i(ge) && !i(zt) && K.value ? (T(), j(we, { key: 1 }, [
2299
+ i(ge) && !i(zt) && L.value ? (T(), j(Te, { key: 1 }, [
2309
2300
  Sr.value ? (T(), j("div", Dg, [
2310
2301
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2311
2302
  dt(Ot, { "empty-text": b.value }, Tt({ _: 2 }, [
@@ -2320,7 +2311,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2320
2311
  n.$slots.bottom ? B(n.$slots, "bottom", { key: 1 }) : A("", !0)
2321
2312
  ])) : ve((T(), j("ul", Lg, [
2322
2313
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2323
- (T(!0), j(we, null, ht(i(Ut), (v, $) => (T(), j("li", {
2314
+ (T(!0), j(Te, null, ht(i(Ut), (v, $) => (T(), j("li", {
2324
2315
  key: v[n.nodeKey],
2325
2316
  class: Xe([
2326
2317
  "search-result-item",
@@ -2328,19 +2319,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2328
2319
  i(ee)(v, null) ? "is-disabled" : "",
2329
2320
  i(D)(v, $)
2330
2321
  ]),
2331
- onMousedown: Ze((L) => i(Sn)(v, !0), ["stop"])
2322
+ onMousedown: Ze((E) => i(Sn)(v, !0), ["stop"])
2332
2323
  }, [
2333
2324
  B(n.$slots, "search-result-item", {
2334
2325
  item: v,
2335
2326
  index: $
2336
2327
  }, () => [
2337
2328
  ve((T(), j("div", Ng, [
2338
- Se($e(v[i(E).label]), 1)
2329
+ Se($e(v[i(N).label]), 1)
2339
2330
  ])), [
2340
2331
  [i(Pe)]
2341
2332
  ]),
2342
- v[i(E).pathName] ? ve((T(), j("div", Mg, [
2343
- Se($e(v[i(E).pathName]), 1)
2333
+ v[i(N).pathName] ? ve((T(), j("div", Mg, [
2334
+ Se($e(v[i(N).pathName]), 1)
2344
2335
  ])), [
2345
2336
  [i(Pe)]
2346
2337
  ]) : A("", !0)
@@ -2350,7 +2341,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2350
2341
  ])), [
2351
2342
  [i(Ht)]
2352
2343
  ])
2353
- ], 64)) : i(ge) && n.isFilter ? (T(), j(we, { key: 2 }, [
2344
+ ], 64)) : i(ge) && n.isFilter ? (T(), j(Te, { key: 2 }, [
2354
2345
  Sr.value ? (T(), j("div", Gg, [
2355
2346
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2356
2347
  dt(Ot, { "empty-text": b.value }, Tt({ _: 2 }, [
@@ -2365,7 +2356,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2365
2356
  n.$slots.bottom ? B(n.$slots, "bottom", { key: 1 }) : A("", !0)
2366
2357
  ])) : ve((T(), j("ul", Fg, [
2367
2358
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2368
- (T(!0), j(we, null, ht(i(Ke), (v, $) => (T(), j("li", {
2359
+ (T(!0), j(Te, null, ht(i(Ke), (v, $) => (T(), j("li", {
2369
2360
  key: v[n.nodeKey],
2370
2361
  class: Xe([
2371
2362
  "search-result-item",
@@ -2373,19 +2364,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2373
2364
  i(ee)(v, null) ? "is-disabled" : "",
2374
2365
  i(D)(v, $)
2375
2366
  ]),
2376
- onMousedown: Ze((L) => i(Je)(v), ["stop"])
2367
+ onMousedown: Ze((E) => i(Je)(v), ["stop"])
2377
2368
  }, [
2378
2369
  B(n.$slots, "search-result-item", {
2379
2370
  item: v,
2380
2371
  index: $
2381
2372
  }, () => [
2382
2373
  ve((T(), j("div", zg, [
2383
- Se($e(v[i(E).label]), 1)
2374
+ Se($e(v[i(N).label]), 1)
2384
2375
  ])), [
2385
2376
  [i(Pe)]
2386
2377
  ]),
2387
- v[i(E).pathName] ? ve((T(), j("div", Ug, [
2388
- Se($e(v[i(E).pathName]), 1)
2378
+ v[i(N).pathName] ? ve((T(), j("div", Ug, [
2379
+ Se($e(v[i(N).pathName]), 1)
2389
2380
  ])), [
2390
2381
  [i(Pe)]
2391
2382
  ]) : A("", !0)
@@ -2417,10 +2408,10 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2417
2408
  Ne("span", { class: "virtual-ref-placeholder" }, " ", -1)
2418
2409
  ])),
2419
2410
  default: ke(() => {
2420
- var v, $, L, J, ne, oe, H, W, F;
2411
+ var v, $, E, q, ae, ne, H, W, F;
2421
2412
  return [
2422
2413
  (v = i(p)) != null && v.node ? (T(), j("ul", Rg, [
2423
- (L = ($ = i(ie)(i(p).node, i(p).data)) == null ? void 0 : $.list) != null && L.length && ((J = i(ie)(i(p).node, i(p).data)) == null ? void 0 : J.position) === "top" ? (T(!0), j(we, { key: 0 }, ht((ne = i(ie)(i(p).node, i(p).data)) == null ? void 0 : ne.list, (m, le) => (T(), j(we, {
2414
+ (E = ($ = i(se)(i(p).node, i(p).data)) == null ? void 0 : $.list) != null && E.length && ((q = i(se)(i(p).node, i(p).data)) == null ? void 0 : q.position) === "top" ? (T(!0), j(Te, { key: 0 }, ht((ae = i(se)(i(p).node, i(p).data)) == null ? void 0 : ae.list, (m, le) => (T(), j(Te, {
2424
2415
  key: m.value
2425
2416
  }, [
2426
2417
  m.hidden ? A("", !0) : (T(), j("li", {
@@ -2444,7 +2435,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2444
2435
  ])
2445
2436
  ], 10, Vg))
2446
2437
  ], 64))), 128)) : A("", !0),
2447
- (T(!0), j(we, null, ht(i(Fe)(i(p).node, i(p).data), (m, le) => (T(), j(we, {
2438
+ (T(!0), j(Te, null, ht(i(Fe)(i(p).node, i(p).data), (m, le) => (T(), j(Te, {
2448
2439
  key: m.value
2449
2440
  }, [
2450
2441
  m.hidden ? A("", !0) : (T(), j("li", {
@@ -2468,7 +2459,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, K,
2468
2459
  ])
2469
2460
  ], 10, qg))
2470
2461
  ], 64))), 128)),
2471
- (H = (oe = i(ie)(i(p).node, i(p).data)) == null ? void 0 : oe.list) != null && H.length && ((W = i(ie)(i(p).node, i(p).data)) == null ? void 0 : W.position) === "bottom" ? (T(!0), j(we, { key: 1 }, ht((F = i(ie)(i(p).node, i(p).data)) == null ? void 0 : F.list, (m, le) => (T(), j(we, {
2462
+ (H = (ne = i(se)(i(p).node, i(p).data)) == null ? void 0 : ne.list) != null && H.length && ((W = i(se)(i(p).node, i(p).data)) == null ? void 0 : W.position) === "bottom" ? (T(!0), j(Te, { key: 1 }, ht((F = i(se)(i(p).node, i(p).data)) == null ? void 0 : F.list, (m, le) => (T(), j(Te, {
2472
2463
  key: m.value
2473
2464
  }, [
2474
2465
  m.hidden ? A("", !0) : (T(), j("li", {