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

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 (105) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +4 -4
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +4 -4
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +4 -4
  4. package/package.json +5 -5
  5. package/packages/business-components/ai-panel/index-B4pMosXu.js +143 -0
  6. package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-BybM3Q9u.js → index-BgyMyjJo.js} +711 -700
  8. package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
  9. package/packages/business-components/ai-panel/{index-CwdJKHy0.js → index-Bw7rNZmA.js} +9 -9
  10. package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
  11. package/packages/business-components/ai-panel/index.js +1 -1
  12. package/packages/business-components/change-enterprises/index.d.ts +5 -5
  13. package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -1
  14. package/packages/business-components/device-panel/index.js +8873 -8773
  15. package/packages/business-components/device-panel/index.js.gz +0 -0
  16. package/packages/business-components/echarts/index.js +2056 -2049
  17. package/packages/business-components/echarts/index.js.gz +0 -0
  18. package/packages/business-components/process-configuration/index.js +50 -50
  19. package/packages/business-components/process-configuration/index.js.gz +0 -0
  20. package/packages/business-components/process-form/index.js +149 -149
  21. package/packages/business-components/process-form/index.js.gz +0 -0
  22. package/packages/business-components/process-search-form/index.js +60 -60
  23. package/packages/business-components/process-search-form/index.js.gz +0 -0
  24. package/packages/business-components/process-table/index.js +130 -128
  25. package/packages/business-components/process-table/index.js.gz +0 -0
  26. package/packages/business-components/urgent-panel/index.js +904 -896
  27. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  28. package/packages/business-components/user-org-dialog/index.js +249 -246
  29. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  30. package/packages/business-components/video-dialog/index.js +1 -0
  31. package/packages/business-components/video-dialog/index.js.gz +0 -0
  32. package/packages/components/autocomplete/index.js +12 -6
  33. package/packages/components/autocomplete/index.js.gz +0 -0
  34. package/packages/components/calendar/index.js +104 -104
  35. package/packages/components/calendar/index.js.gz +0 -0
  36. package/packages/components/cascader/index.js +27 -27
  37. package/packages/components/cascader/index.js.gz +0 -0
  38. package/packages/components/checkbox/index.js +54 -54
  39. package/packages/components/checkbox/index.js.gz +0 -0
  40. package/packages/components/date-picker/index.js +459 -459
  41. package/packages/components/date-picker/index.js.gz +0 -0
  42. package/packages/components/dimple-layout/index.js +63 -61
  43. package/packages/components/dimple-layout/index.js.gz +0 -0
  44. package/packages/components/dropdown/index.js +23 -22
  45. package/packages/components/dropdown/index.js.gz +0 -0
  46. package/packages/components/edit-table/index.js +224 -223
  47. package/packages/components/edit-table/index.js.gz +0 -0
  48. package/packages/components/error-overlay-model/index.js +44 -42
  49. package/packages/components/error-overlay-model/index.js.gz +0 -0
  50. package/packages/components/form-item/index.js +67 -63
  51. package/packages/components/form-item/index.js.gz +0 -0
  52. package/packages/components/image-viewer/index.js +32 -32
  53. package/packages/components/image-viewer/index.js.gz +0 -0
  54. package/packages/components/input/index.js +51 -51
  55. package/packages/components/input/index.js.gz +0 -0
  56. package/packages/components/input-number/index.js +44 -44
  57. package/packages/components/input-number/index.js.gz +0 -0
  58. package/packages/components/live-player/index.js +834 -832
  59. package/packages/components/live-player/index.js.gz +0 -0
  60. package/packages/components/map/index.js +437 -431
  61. package/packages/components/map/index.js.gz +0 -0
  62. package/packages/components/menu-aside/index.js +1 -1
  63. package/packages/components/menu-aside/index.js.gz +0 -0
  64. package/packages/components/message/index.js +6 -6
  65. package/packages/components/message/index.js.gz +0 -0
  66. package/packages/components/radio-tabs/index.js +33 -33
  67. package/packages/components/radio-tabs/index.js.gz +0 -0
  68. package/packages/components/rich-editor/index.js +4586 -4556
  69. package/packages/components/rich-editor/index.js.gz +0 -0
  70. package/packages/components/scrollbar/index.js +135 -135
  71. package/packages/components/scrollbar/index.js.gz +0 -0
  72. package/packages/components/search/index.js +2 -2
  73. package/packages/components/search/index.js.gz +0 -0
  74. package/packages/components/select/index.js +92 -92
  75. package/packages/components/select/index.js.gz +0 -0
  76. package/packages/components/select-list/index.js +10 -6
  77. package/packages/components/select-list/index.js.gz +0 -0
  78. package/packages/components/special-range-picker-month/index.js +16 -14
  79. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  80. package/packages/components/special-range-picker-year/index.js +53 -51
  81. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  82. package/packages/components/spin/index.js +35 -35
  83. package/packages/components/spin/index.js.gz +0 -0
  84. package/packages/components/split-panel/index.js +102 -101
  85. package/packages/components/split-panel/index.js.gz +0 -0
  86. package/packages/components/table/index.js +604 -599
  87. package/packages/components/table/index.js.gz +0 -0
  88. package/packages/components/time-line/index.js +1 -1
  89. package/packages/components/time-line/index.js.gz +0 -0
  90. package/packages/components/tree/index.js +182 -173
  91. package/packages/components/tree/index.js.gz +0 -0
  92. package/packages/components/tree-select/index.js +81 -81
  93. package/packages/components/tree-select/index.js.gz +0 -0
  94. package/packages/components/tree-table/index.js +2 -2
  95. package/packages/components/tree-table/index.js.gz +0 -0
  96. package/packages/components/tree-v2/index.js +1240 -1208
  97. package/packages/components/tree-v2/index.js.gz +0 -0
  98. package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
  99. package/packages/business-components/ai-panel/index-CgWRv2Ge.js +0 -142
  100. package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
  101. package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
  102. package/packages/components/input/index.d.ts +0 -4264
  103. package/packages/components/input/src/index.vue.d.ts +0 -1432
  104. package/packages/components/virtual-tree/src/App.vue.d.ts +0 -3974
  105. package/packages/components/virtual-tree/src/type.d.ts +0 -43
@@ -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 Te, 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 we, 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, we = Pa || uo || Function("return this")(), et = we.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, Oe = Pa || uo || Function("return this")(), et = Oe.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 = we["__core-js_shared__"], Lr = function() {
134
+ var Wt = Oe["__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(we, "Map"), _t = He(Object, "create");
171
+ var $t = He(Oe, "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 ? we.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 ? Oe.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 ? we.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 ? Oe.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(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;
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;
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 = we.Uint8Array;
489
+ var Jr = Oe.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), L = C == Za || C == ll;
583
+ var C = Ee(e), K = C == Za || C == ll;
584
584
  if (Fa(e))
585
585
  return ai(e, g);
586
- if (C == Qa || C == Xa || L && !c) {
587
- if (s = b || L ? {} : qi(e), !g)
586
+ if (C == Qa || C == Xa || K && !c) {
587
+ if (s = b || K ? {} : 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, K) {
602
- s.set(K, jt(x, t, r, K, e, d));
601
+ }) : Xi(e) && e.forEach(function(x, N) {
602
+ s.set(N, jt(x, t, r, N, 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, K) {
606
- O && (K = x, x = e[K]), Na(s, K, jt(x, t, r, K, e, d));
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));
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 we.Date.now();
614
+ return Oe.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, L = !0;
647
+ var a, c, d, s, g, b, h = 0, M = !1, C = !1, K = !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, L = "trailing" in r ? !!r.trailing : L);
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);
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(K, t), M ? w(I) : s;
656
+ return h = I, g = setTimeout(N, 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 K() {
666
+ function N() {
667
667
  var I = Jt();
668
668
  if (x(I))
669
669
  return Ie(I);
670
- g = setTimeout(K, O(I));
670
+ g = setTimeout(N, O(I));
671
671
  }
672
672
  function Ie(I) {
673
- return g = void 0, L && a ? w(I) : (a = c = void 0, s);
673
+ return g = void 0, K && 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 oe() {
678
+ function se() {
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(K, t), w(b);
687
+ return clearTimeout(g), g = setTimeout(N, t), w(b);
688
688
  }
689
- return g === void 0 && (g = setTimeout(K, t)), s;
689
+ return g === void 0 && (g = setTimeout(N, t)), s;
690
690
  }
691
- return ue.cancel = Ce, ue.flush = oe, ue;
691
+ return ue.cancel = Ce, ue.flush = se, ue;
692
692
  }
693
693
  const Gl = (e, t, r, a, c, d, s, g, b, h) => {
694
- const M = G(null), C = G([]), L = G(!1), w = X(() => ({
694
+ const M = G(null), C = G([]), K = 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({}), K = (o, u) => {
711
+ }, x = G({}), N = (o, u) => {
712
712
  o && (x.value[u] = o);
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 = {
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 = {
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 ? oe.value.data[e.nodeKey] : "";
722
+ re.value = o ? se.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
- }, se = (o, u) => {
777
+ }, ie = (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 (!se(p.data, p)) return [p.data, p];
784
+ if (!ie(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(), se(o, u)) return;
805
+ if ((y = M.value) == null || y.click(), ie(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
- Oe(o, u);
809
+ Te(o, u);
810
810
  return;
811
811
  }
812
- _++, N(o, u);
812
+ _++, E(o, u);
813
813
  }
814
- }, N = Ul((...o) => {
814
+ }, E = Ul((...o) => {
815
815
  const [u, l] = o;
816
- _ > 1 ? J(u, l) : Oe(u, l), _ = 0;
817
- }, 500), J = (o, u) => {
816
+ _ > 1 ? q(u, l) : Te(u, l), _ = 0;
817
+ }, 500), q = (o, u) => {
818
818
  e.showCheckbox ? t("check-node-db-click", o, u) : t("node-db-click", o, u);
819
- }, Oe = (o, u) => {
819
+ }, Te = (o, u) => {
820
820
  var l;
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) => {
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) => {
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 (!se(o, null)) {
829
+ if (!ie(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(), L.value ? L.value = !1 : (e.showCheckbox || (o = r.value) == null || o.setCurrentKey(c.value, !0), !0);
850
+ return await _e(), K.value ? K.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: se,
894
+ disabledFlag: ie,
895
895
  currentOprationKey: re,
896
896
  getMergeOperations: te,
897
- setOprationsMoreBtnRefs: K,
897
+ setOprationsMoreBtnRefs: N,
898
898
  oprationsPopoverRef: Ie,
899
899
  currentMoreBtnRef: Ce,
900
900
  moreBtnEnter: ue,
901
- currentOprationItem: oe,
901
+ currentOprationItem: se,
902
902
  isLeafFlag: Be,
903
903
  filterCustomClass: Je,
904
904
  allowUnSelectFlag: ge,
905
905
  findSelectableParentNode: Fe,
906
- currentChange: ie
906
+ currentChange: ae
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, L = g ? g(C) : new h.constructor(C);
1333
- return h.copy(L), L;
1332
+ var C = h.length, K = g ? g(C) : new h.constructor(C);
1333
+ return h.copy(K), K;
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), L = C == mn || C == Xp;
1510
+ var C = Ep(e), K = C == mn || C == Xp;
1511
1511
  if (Dp(e))
1512
1512
  return kp(e, g);
1513
- if (C == Cn || C == _n || L && !c) {
1514
- if (s = b || L ? {} : Np(e), !g)
1513
+ if (C == Cn || C == _n || K && !c) {
1514
+ if (s = b || K ? {} : 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, K) {
1529
- s.set(K, kt(x, t, r, K, e, d));
1528
+ }) : Fp(e) && e.forEach(function(x, N) {
1529
+ s.set(N, kt(x, t, r, N, 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, K) {
1533
- O && (K = x, x = e[K]), wp(s, K, kt(x, t, r, K, e, d));
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));
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, L, w, ce, O, x, K, Ie) => {
1542
- const Ce = G([]), oe = 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, K, w, ce, O, x, N, Ie) => {
1542
+ const Ce = G([]), se = G(!1), ue = G(null), I = G(null);
1543
1543
  bt(
1544
- () => oe.value,
1544
+ () => se.value,
1545
1545
  (_) => {
1546
1546
  if (!_) {
1547
1547
  I.value && I.value.close();
@@ -1564,36 +1564,44 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
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)
1567
+ if (!k) {
1568
+ console.warn("[Tree] nodesMap 未准备好,批量加载取消");
1568
1569
  return;
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)
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);
1575
1580
  continue;
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++);
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++);
1578
1584
  }
1579
- } catch {
1585
+ console.log("[Tree] 批量加载完成,成功设置", Te, "个节点");
1586
+ } catch (k) {
1587
+ console.error("[Tree] 批量加载失败:", k);
1580
1588
  }
1581
1589
  }, de = async (_, P, k = !1) => {
1582
1590
  var Q, ee;
1583
1591
  await _e(), !ue.value && a.value && (fe.value = !0, ue.value = Pr.service({
1584
1592
  target: a.value
1585
1593
  }));
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) => {
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) => {
1594
1602
  let y = {};
1595
1603
  return he.forEach((p) => y[p] = l[p]), y;
1596
- }), o = J.map((l) => {
1604
+ }), o = q.map((l) => {
1597
1605
  let y = {};
1598
1606
  return he.forEach((p) => y[p] = l[p]), y;
1599
1607
  });
@@ -1601,7 +1609,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1601
1609
  return _.loaded = !0, _.loading = !1, [];
1602
1610
  }
1603
1611
  if (_.level === 0) {
1604
- if (te.value = J, e.defaultExpandRoot) {
1612
+ if (te.value = q, e.defaultExpandRoot) {
1605
1613
  const he = (ee = te.value) == null ? void 0 : ee.map((be) => be[e.nodeKey]);
1606
1614
  e.batchLoad && te.value.length > 0 ? setTimeout(async () => {
1607
1615
  await pe(), await _e(), x.value = Qe(he);
@@ -1609,21 +1617,21 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1609
1617
  }
1610
1618
  k || (ye.value.push(_), qe.value.push(P));
1611
1619
  }
1612
- return ce.value = Xt([...ce.value, ...J, ...Oe], e.nodeKey), P && P(J), J;
1620
+ return ce.value = Xt([...ce.value, ...q, ...Te], e.nodeKey), P && P(q), q;
1613
1621
  }, xe = G(!1), ft = async () => {
1614
1622
  xe.value = !0;
1615
1623
  const _ = await Z() || [];
1616
1624
  (!_ || !(_ != null && _.length)) && _.push({ [g.value.label]: me("暂无数据"), id: "nodata" }), Ce.value = _, xe.value = !1;
1617
1625
  }, De = () => {
1618
1626
  Ce.value = [];
1619
- }, se = async (_, P = !1) => {
1620
- var ie, Q, ee, he, be, o, u;
1627
+ }, ie = async (_, P = !1) => {
1628
+ var ae, Q, ee, he, be, o, u;
1621
1629
  let k = _ ?? {};
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) {
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) {
1627
1635
  if (!e.showCheckbox)
1628
1636
  h(k);
1629
1637
  else if (P) {
@@ -1637,8 +1645,8 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1637
1645
  t("filter-node-click", k);
1638
1646
  } else {
1639
1647
  let l = "", y = {};
1640
- oe.value = !0;
1641
- for (const p of N) {
1648
+ se.value = !0;
1649
+ for (const p of E) {
1642
1650
  await _e();
1643
1651
  const Y = (Q = r.value) == null ? void 0 : Q.store.nodesMap, D = Y == null ? void 0 : Y[p];
1644
1652
  if (!D) continue;
@@ -1660,13 +1668,13 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1660
1668
  t("filter-node-click", y);
1661
1669
  }
1662
1670
  }
1663
- return oe.value = !1, !0;
1671
+ return se.value = !1, !0;
1664
1672
  }, Fe = async () => {
1665
1673
  let _ = e.defaultExpandedPaths || [];
1666
1674
  if (e.showCheckbox ? b.value && b.value.length && (_ = [..._, ...b.value]) : b.value && (_ = _ == null ? void 0 : _.concat(b.value)), _.length) {
1667
1675
  _ = Array.from(new Set(_));
1668
1676
  for (const P of _)
1669
- await se({ path: P });
1677
+ await ie({ path: P });
1670
1678
  }
1671
1679
  return !0;
1672
1680
  }, Be = () => new Promise((_) => {
@@ -1705,15 +1713,15 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1705
1713
  search: Z,
1706
1714
  handleSearch: ft,
1707
1715
  handleSearchClear: De,
1708
- handleSearchResultItemClick: se,
1716
+ handleSearchResultItemClick: ie,
1709
1717
  resetLazyLoad: Je
1710
1718
  };
1711
1719
  }, Tg = (e, t, r) => {
1712
1720
  let a = 0, c = "";
1713
1721
  const d = (b = "visible", h) => {
1714
- var L;
1722
+ var K;
1715
1723
  if (!r.isEllipsis) return;
1716
- const M = (L = t.value) == null ? void 0 : L.$el.querySelectorAll(".el-tree-node__children"), C = (M == null ? void 0 : M.length) ?? 0;
1724
+ const M = (K = t.value) == null ? void 0 : K.$el.querySelectorAll(".el-tree-node__children"), C = (M == null ? void 0 : M.length) ?? 0;
1717
1725
  !h && c === b && a === C || (a = C, c = b, M && M.length && M.forEach((w) => {
1718
1726
  w.classList.remove(c === "visible" ? "overflow-hide" : "overflow-visible"), w.classList.add(c === "visible" ? "overflow-visible" : "overflow-hide");
1719
1727
  }));
@@ -1834,7 +1842,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1834
1842
  preview: import("@das-fed/upf-ui/packages/icons/preview"),
1835
1843
  view: import("@das-fed/upf-ui/packages/icons/view")
1836
1844
  });
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({
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({
1838
1846
  get() {
1839
1847
  return a.showCheckbox && !a.modelValue ? [] : a.modelValue;
1840
1848
  },
@@ -1846,26 +1854,26 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1846
1854
  set: (n) => {
1847
1855
  c("update:path", n);
1848
1856
  }
1849
- }), K = G([]), Ie = X(() => {
1850
- let n = [...K.value, ...a.defaultExpandedKeys];
1857
+ }), N = G([]), Ie = X(() => {
1858
+ let n = [...N.value, ...a.defaultExpandedKeys];
1851
1859
  return Array.from(new Set(n));
1852
1860
  }), Ce = () => new Promise((n) => {
1853
1861
  const f = () => {
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)
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)
1856
1864
  return n(!0);
1857
1865
  setTimeout(() => f(), 50);
1858
1866
  };
1859
1867
  f();
1860
- }), oe = (n) => new Promise((f) => {
1868
+ }), se = (n) => new Promise((f) => {
1861
1869
  let S = 0;
1862
1870
  const v = () => {
1863
1871
  if (!(!C.value || !C.value.length)) {
1864
1872
  if (Array.isArray(n)) {
1865
- const $ = C.value.filter((E) => n.includes(E[a.nodeKey]));
1873
+ const $ = C.value.filter((L) => n.includes(L[a.nodeKey]));
1866
1874
  if ($.length === n.length) return f($);
1867
1875
  } else {
1868
- const $ = C.value.find((E) => E[a.nodeKey] === n);
1876
+ const $ = C.value.find((L) => L[a.nodeKey] === n);
1869
1877
  if ($) return f($);
1870
1878
  }
1871
1879
  if (setTimeout(() => {
@@ -1877,44 +1885,45 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1877
1885
  v();
1878
1886
  }), ue = async (n) => a.getGrandChildren ? await a.getGrandChildren(n) : [], I = (n, f) => {
1879
1887
  var v;
1888
+ console.log(n, f);
1880
1889
  let S = n.childNodes.length;
1881
1890
  if (S > 0)
1882
1891
  for (let $ = 0; $ < S; $++) {
1883
- const E = f, q = n.childNodes[$];
1884
- if (ee(q.data, q)) {
1885
- I({ ...q, checked: E }, f);
1892
+ const L = f, J = n.childNodes[$];
1893
+ if (ee(J.data, J)) {
1894
+ I({ ...J, checked: L }, f);
1886
1895
  continue;
1887
1896
  }
1888
- q.checked !== E && (q.checked = E), I(q, f);
1897
+ J.checked !== L && (J.checked = L), I(J, f);
1889
1898
  }
1890
1899
  s.value && (O.value = (v = s.value) == null ? void 0 : v.getCheckedKeys());
1891
1900
  }, re = async (n, f) => {
1892
- var E, q, ae;
1901
+ var L, J, ne;
1893
1902
  if (Y(n, null)) {
1894
1903
  if (f)
1895
1904
  O.value.includes(n[a.nodeKey]) || O.value.push(n[a.nodeKey]);
1896
1905
  else {
1897
- const ne = O.value.findIndex((H) => H === n[a.nodeKey]);
1898
- ne > -1 && O.value.splice(ne, 1);
1906
+ const oe = O.value.findIndex((H) => H === n[a.nodeKey]);
1907
+ oe > -1 && O.value.splice(oe, 1);
1899
1908
  }
1900
- return (E = s.value) == null || E.setCheckedKeys(O.value), pe.value = !0, [];
1909
+ return (L = s.value) == null || L.setCheckedKeys(O.value), pe.value = !0, [];
1901
1910
  }
1902
1911
  let S = await ue(n);
1903
1912
  C.value = Xt([...C.value, ...S], a.nodeKey);
1904
- const v = S.concat(n), $ = Array.from(new Set(v.map((ne) => ne[a.nodeKey])));
1913
+ const v = S.concat(n), $ = Array.from(new Set(v.map((oe) => oe[a.nodeKey])));
1905
1914
  if (f) {
1906
- const ne = O.value ?? [], H = Ue([...ne, ...$]);
1907
- O.value = Array.from(new Set(H)), (q = s.value) == null || q.setCheckedKeys(H);
1915
+ const oe = O.value ?? [], H = Ue([...oe, ...$]);
1916
+ O.value = Array.from(new Set(H)), (J = s.value) == null || J.setCheckedKeys(H);
1908
1917
  } else {
1909
1918
  const H = (O.value ?? []).filter((W) => !$.includes(W));
1910
- O.value = Array.from(new Set(H)), (ae = s.value) == null || ae.setCheckedKeys(H);
1919
+ O.value = Array.from(new Set(H)), (ne = s.value) == null || ne.setCheckedKeys(H);
1911
1920
  }
1912
1921
  return S;
1913
1922
  }, Z = G([]), te = async (n, f) => {
1914
1923
  var v;
1915
1924
  if (h.value) {
1916
1925
  const $ = await re(n, f);
1917
- return c("check-node-change", O.value, n, f), Z.value = $.map((E) => E[a.nodeKey]), $;
1926
+ return c("check-node-change", O.value, n, f), Z.value = $.map((L) => L[a.nodeKey]), $;
1918
1927
  }
1919
1928
  await _e();
1920
1929
  const S = (v = s.value) == null ? void 0 : v.getNode(n[a.nodeKey]);
@@ -1936,19 +1945,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1936
1945
  }, fe = G(!1), pe = G(!1), de = async (n, f, S = !1) => {
1937
1946
  var H, W;
1938
1947
  pe.value = !0;
1939
- const { checkedKeys: v } = f, $ = v.includes(n[a.nodeKey]), E = O.value.includes(n[a.nodeKey]), q = a.keepSelected && !je(n) && E && !$;
1948
+ const { checkedKeys: v } = f, $ = v.includes(n[a.nodeKey]), L = O.value.includes(n[a.nodeKey]), J = a.keepSelected && !je(n) && L && !$;
1940
1949
  await _e();
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) {
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) {
1943
1952
  const F = O.value ?? [];
1944
1953
  await qe(n, $), O.value = Array.from(/* @__PURE__ */ new Set([...F, ...O.value]));
1945
1954
  }
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);
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);
1948
1957
  }, xe = G(!1), {
1949
1958
  realHeight: ft,
1950
1959
  dasTree: De,
1951
- getMergeOperations: se,
1960
+ getMergeOperations: ie,
1952
1961
  getOperations: Fe,
1953
1962
  handleOperation: Be,
1954
1963
  filterInnerValue: ge,
@@ -1957,10 +1966,10 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1957
1966
  nodeClass: _,
1958
1967
  nodeClick: P,
1959
1968
  isActive: k,
1960
- defaultProps: N,
1961
- filterNodeMethodFn: J,
1962
- filterSeach: Oe,
1963
- filterClear: ie,
1969
+ defaultProps: E,
1970
+ filterNodeMethodFn: q,
1971
+ filterSeach: Te,
1972
+ filterClear: ae,
1964
1973
  expandParent: Q,
1965
1974
  disabledFlag: ee,
1966
1975
  currentOprationKey: he,
@@ -1975,7 +1984,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1975
1984
  allowUnSelectFlag: je,
1976
1985
  findSelectableParentNode: Bt,
1977
1986
  currentChange: Tn
1978
- } = Gl(a, c, s, x, O, h, K, de, xe, d), {
1987
+ } = Gl(a, c, s, x, O, h, N, de, xe, d), {
1979
1988
  rootLevelData: wn,
1980
1989
  searchLoading: zt,
1981
1990
  searchData: Ut,
@@ -1993,7 +2002,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
1993
2002
  h,
1994
2003
  ge,
1995
2004
  O,
1996
- N,
2005
+ E,
1997
2006
  x,
1998
2007
  P,
1999
2008
  Ce,
@@ -2002,11 +2011,11 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2002
2011
  Y,
2003
2012
  C,
2004
2013
  de,
2005
- K,
2014
+ N,
2006
2015
  ue,
2007
2016
  xe
2008
2017
  ), An = () => {
2009
- L.value ? kr() : Oe();
2018
+ K.value ? kr() : Te();
2010
2019
  };
2011
2020
  bt(
2012
2021
  () => ge.value,
@@ -2018,7 +2027,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2018
2027
  bt(
2019
2028
  () => O.value,
2020
2029
  (n) => {
2021
- var v, $, E, q, ae, ne;
2030
+ var v, $, L, J, ne, oe;
2022
2031
  const f = a.showCheckbox ? n ?? [] : n ?? void 0, S = a.showCheckbox ? Ye.value ?? [] : Ye.value ?? void 0;
2023
2032
  if (JSON.stringify(f) !== JSON.stringify(S)) {
2024
2033
  if (a.showCheckbox) {
@@ -2035,19 +2044,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2035
2044
  return;
2036
2045
  }
2037
2046
  if (!h.value)
2038
- a.showCheckbox ? (E = s.value) == null || E.setCheckedKeys(f) : Q();
2047
+ a.showCheckbox ? (L = s.value) == null || L.setCheckedKeys(f) : Q();
2039
2048
  else if (a.showCheckbox)
2040
2049
  if (!a.parentLinkChildrenStrictly || !a.dataLinkView) {
2041
2050
  const H = C.value.map((F) => F[a.nodeKey]), W = f.filter((F) => !H.includes(F));
2042
2051
  W && W.length ? Gt().then(() => {
2043
2052
  var F;
2044
2053
  s.value && ((F = s.value) == null || F.setCheckedKeys(f));
2045
- }) : s.value && ((ae = s.value) == null || ae.setCheckedKeys(f));
2054
+ }) : s.value && ((ne = s.value) == null || ne.setCheckedKeys(f));
2046
2055
  } else {
2047
- if (s.value && ((ne = s.value) == null || ne.setCheckedKeys([])), f.length && S.length === 0)
2056
+ if (s.value && ((oe = s.value) == null || oe.setCheckedKeys([])), f.length && S.length === 0)
2048
2057
  for (let H of f) {
2049
2058
  const W = Z.value.findIndex((F) => F === H);
2050
- W !== -1 && Z.value.splice(W, 1), oe(H).then((F) => {
2059
+ W !== -1 && Z.value.splice(W, 1), se(H).then((F) => {
2051
2060
  F && (fe.value = !0, de(F, { checkedKeys: [...f] }).then(() => {
2052
2061
  pe.value = !1, fe.value = !1;
2053
2062
  }));
@@ -2058,7 +2067,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2058
2067
  if (H && H.length)
2059
2068
  for (let F of H) {
2060
2069
  const m = Z.value.findIndex((le) => le === F);
2061
- m !== -1 && Z.value.splice(m, 1), oe(F).then(async (le) => {
2070
+ m !== -1 && Z.value.splice(m, 1), se(F).then(async (le) => {
2062
2071
  le && (fe.value = !0, de(le, { checkedKeys: [...f] }).then(() => {
2063
2072
  pe.value = !1, fe.value = !1;
2064
2073
  }));
@@ -2067,7 +2076,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2067
2076
  if (W && W.length)
2068
2077
  for (let F of W) {
2069
2078
  const m = Z.value.findIndex((le) => le === F);
2070
- m !== -1 && Z.value.splice(m, 1), oe(F).then((le) => {
2079
+ m !== -1 && Z.value.splice(m, 1), se(F).then((le) => {
2071
2080
  le && (fe.value = !0, de(le, { checkedKeys: [...f] }).then(() => {
2072
2081
  pe.value = !1, fe.value = !1;
2073
2082
  }));
@@ -2076,7 +2085,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2076
2085
  }
2077
2086
  }
2078
2087
  else if (C.value.find((W) => W[a.nodeKey] === f))
2079
- (q = s.value) == null || q.setCurrentKey(f);
2088
+ (J = s.value) == null || J.setCurrentKey(f);
2080
2089
  else {
2081
2090
  if (a.notAutoresetLazyLoad) return;
2082
2091
  Gt().then(() => {
@@ -2090,16 +2099,16 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2090
2099
  { immediate: !0, deep: !0 }
2091
2100
  );
2092
2101
  const Rt = () => {
2093
- L.value ? kn() : ie();
2102
+ K.value ? kn() : ae();
2094
2103
  }, In = X(() => a.parentLinkChildrenStrictly || a.childLinkParentStrictly ? !0 : !!(a.checkStrictly ?? h.value)), xn = X(() => h.value ? !!jn.value : a.loading), Vt = X(() => {
2095
2104
  var n, f;
2096
2105
  return h.value ? !((n = wn.value) != null && n.length) : !((f = a.data) != null && f.length);
2097
2106
  }), Sr = X(() => {
2098
2107
  var n;
2099
- if (L.value)
2100
- return !zt.value && ((n = Ut.value) == null ? void 0 : n.length) === 1 && Ut.value[0][N.value.label] === me("暂无数据");
2108
+ if (K.value)
2109
+ return !zt.value && ((n = Ut.value) == null ? void 0 : n.length) === 1 && Ut.value[0][E.value.label] === me("暂无数据");
2101
2110
  if (a.isFilter)
2102
- return Ke.value.length === 1 && Ke.value[0][N.value.label] === me("暂无数据");
2111
+ return Ke.value.length === 1 && Ke.value[0][E.value.label] === me("暂无数据");
2103
2112
  }), { setTreeNodeChildrenOverflow: Pn } = Tg(De, s, a), En = () => {
2104
2113
  a.isEllipsis && Pn("hidden");
2105
2114
  };
@@ -2115,7 +2124,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2115
2124
  /** 非懒加载:父级联动子级 */
2116
2125
  parentLinkChild: I,
2117
2126
  /** 清空搜索框并重新加载整棵树方法(用于懒加载重新请求整颗树的数据) */
2118
- resetLazyLoad: async () => ((L.value || a.isFilter) && (ge.value = "", Rt()), await Gt(), !0),
2127
+ resetLazyLoad: async () => ((K.value || a.isFilter) && (ge.value = "", Rt()), await Gt(), !0),
2119
2128
  /** 自动展开父节点方法 */
2120
2129
  autoExpand: Q,
2121
2130
  /** 清空搜索值,回到tree面板 */
@@ -2123,9 +2132,9 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2123
2132
  /** 懒加载获取到的所有平铺数据 */
2124
2133
  lazyData: C,
2125
2134
  /** 判断懒加载指定节点、节点集合是否全部加载完成 */
2126
- lazyDataNextTick: oe,
2135
+ lazyDataNextTick: se,
2127
2136
  /** 非懒加载模式触发搜索 */
2128
- filterSeach: Oe,
2137
+ filterSeach: Te,
2129
2138
  /** 懒加载模式触发搜索 */
2130
2139
  handleSearch: kr,
2131
2140
  /** 根据父级获取所有子孙节点(提供给tree-select组件使用) */
@@ -2145,7 +2154,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2145
2154
  "root-checkbox_hide": n.hideRootCheckbox
2146
2155
  })
2147
2156
  }, [
2148
- (n.isFilter || L.value) && n.showFilterInput ? (T(), ze(i(zn), xr({
2157
+ (n.isFilter || K.value) && n.showFilterInput ? (T(), ze(i(zn), xr({
2149
2158
  key: 0,
2150
2159
  class: "das-tree-filter-input",
2151
2160
  modelValue: i(ge),
@@ -2211,10 +2220,10 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2211
2220
  "current-node-key": ce.value,
2212
2221
  "default-checked-keys": w.value,
2213
2222
  "default-expanded-keys": Ie.value,
2214
- props: { ...i(N), class: i(_) },
2223
+ props: { ...i(E), class: i(_) },
2215
2224
  "show-checkbox": n.showCheckbox,
2216
2225
  "expand-on-click-node": n.expandOnClickNode ?? n.showCheckbox,
2217
- "filter-node-method": i(J),
2226
+ "filter-node-method": i(q),
2218
2227
  draggable: n.draggable,
2219
2228
  "allow-drag": n.allowDrag
2220
2229
  }, { ...i(d), onCurrentChange: void 0 }, {
@@ -2230,7 +2239,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2230
2239
  node: v,
2231
2240
  data: $
2232
2241
  }, () => {
2233
- var E, q;
2242
+ var L, J;
2234
2243
  return [
2235
2244
  f[5] || (f[5] = Ne("div", null, null, -1)),
2236
2245
  n.showOperations ? (T(), j("div", kg, [
@@ -2239,20 +2248,20 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2239
2248
  data: $
2240
2249
  }, () => [
2241
2250
  n.isEllipsis ? ve((T(), j("div", Sg, [
2242
- Se($e($[i(N).label]), 1)
2251
+ Se($e($[i(E).label]), 1)
2243
2252
  ])), [
2244
2253
  [i(Pe)]
2245
2254
  ]) : A("", !0),
2246
- n.isEllipsis ? A("", !0) : (T(), j("div", Ag, $e($[i(N).label]), 1))
2255
+ n.isEllipsis ? A("", !0) : (T(), j("div", Ag, $e($[i(E).label]), 1))
2247
2256
  ]),
2248
- !i(ee)($, v) && ((q = (E = i(se)(v, $)) == null ? void 0 : E.list) != null && q.length || i(Fe)(v, $).length) ? (T(), j("div", {
2257
+ !i(ee)($, v) && ((J = (L = i(ie)(v, $)) == null ? void 0 : L.list) != null && J.length || i(Fe)(v, $).length) ? (T(), j("div", {
2249
2258
  key: 0,
2250
2259
  class: "oprations-box",
2251
- onMouseenter: (ae) => i(l)(v, $)
2260
+ onMouseenter: (ne) => i(l)(v, $)
2252
2261
  }, [
2253
2262
  Ne("div", {
2254
2263
  class: "more-icon",
2255
- ref: (ae) => i(o)(ae, $[n.nodeKey]),
2264
+ ref: (ne) => i(o)(ne, $[n.nodeKey]),
2256
2265
  style: Ir(i(he) === $[n.nodeKey] ? "opacity: 1" : ""),
2257
2266
  onClick: f[1] || (f[1] = Ze(() => {
2258
2267
  }, ["stop"]))
@@ -2265,12 +2274,12 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2265
2274
  ], 4)
2266
2275
  ], 40, Ig)) : A("", !0)
2267
2276
  ])) : A("", !0),
2268
- n.showOperations ? A("", !0) : (T(), j(Te, { key: 1 }, [
2277
+ n.showOperations ? A("", !0) : (T(), j(we, { key: 1 }, [
2269
2278
  n.isEllipsis ? ve((T(), j("div", xg, [
2270
- Se($e($[i(N).label]), 1)
2279
+ Se($e($[i(E).label]), 1)
2271
2280
  ])), [
2272
2281
  [i(Pe)]
2273
- ]) : (T(), j("div", Pg, $e($[i(N).label]), 1))
2282
+ ]) : (T(), j("div", Pg, $e($[i(E).label]), 1))
2274
2283
  ], 64))
2275
2284
  ];
2276
2285
  })
@@ -2296,7 +2305,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2296
2305
  ]), 1032, ["empty-text"]),
2297
2306
  n.$slots.bottom ? B(n.$slots, "bottom", { key: 1 }) : A("", !0)
2298
2307
  ])) : A("", !0),
2299
- i(ge) && !i(zt) && L.value ? (T(), j(Te, { key: 1 }, [
2308
+ i(ge) && !i(zt) && K.value ? (T(), j(we, { key: 1 }, [
2300
2309
  Sr.value ? (T(), j("div", Dg, [
2301
2310
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2302
2311
  dt(Ot, { "empty-text": b.value }, Tt({ _: 2 }, [
@@ -2311,7 +2320,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2311
2320
  n.$slots.bottom ? B(n.$slots, "bottom", { key: 1 }) : A("", !0)
2312
2321
  ])) : ve((T(), j("ul", Lg, [
2313
2322
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2314
- (T(!0), j(Te, null, ht(i(Ut), (v, $) => (T(), j("li", {
2323
+ (T(!0), j(we, null, ht(i(Ut), (v, $) => (T(), j("li", {
2315
2324
  key: v[n.nodeKey],
2316
2325
  class: Xe([
2317
2326
  "search-result-item",
@@ -2319,19 +2328,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2319
2328
  i(ee)(v, null) ? "is-disabled" : "",
2320
2329
  i(D)(v, $)
2321
2330
  ]),
2322
- onMousedown: Ze((E) => i(Sn)(v, !0), ["stop"])
2331
+ onMousedown: Ze((L) => i(Sn)(v, !0), ["stop"])
2323
2332
  }, [
2324
2333
  B(n.$slots, "search-result-item", {
2325
2334
  item: v,
2326
2335
  index: $
2327
2336
  }, () => [
2328
2337
  ve((T(), j("div", Ng, [
2329
- Se($e(v[i(N).label]), 1)
2338
+ Se($e(v[i(E).label]), 1)
2330
2339
  ])), [
2331
2340
  [i(Pe)]
2332
2341
  ]),
2333
- v[i(N).pathName] ? ve((T(), j("div", Mg, [
2334
- Se($e(v[i(N).pathName]), 1)
2342
+ v[i(E).pathName] ? ve((T(), j("div", Mg, [
2343
+ Se($e(v[i(E).pathName]), 1)
2335
2344
  ])), [
2336
2345
  [i(Pe)]
2337
2346
  ]) : A("", !0)
@@ -2341,7 +2350,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2341
2350
  ])), [
2342
2351
  [i(Ht)]
2343
2352
  ])
2344
- ], 64)) : i(ge) && n.isFilter ? (T(), j(Te, { key: 2 }, [
2353
+ ], 64)) : i(ge) && n.isFilter ? (T(), j(we, { key: 2 }, [
2345
2354
  Sr.value ? (T(), j("div", Gg, [
2346
2355
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2347
2356
  dt(Ot, { "empty-text": b.value }, Tt({ _: 2 }, [
@@ -2356,7 +2365,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2356
2365
  n.$slots.bottom ? B(n.$slots, "bottom", { key: 1 }) : A("", !0)
2357
2366
  ])) : ve((T(), j("ul", Fg, [
2358
2367
  n.$slots.top ? B(n.$slots, "top", { key: 0 }) : A("", !0),
2359
- (T(!0), j(Te, null, ht(i(Ke), (v, $) => (T(), j("li", {
2368
+ (T(!0), j(we, null, ht(i(Ke), (v, $) => (T(), j("li", {
2360
2369
  key: v[n.nodeKey],
2361
2370
  class: Xe([
2362
2371
  "search-result-item",
@@ -2364,19 +2373,19 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2364
2373
  i(ee)(v, null) ? "is-disabled" : "",
2365
2374
  i(D)(v, $)
2366
2375
  ]),
2367
- onMousedown: Ze((E) => i(Je)(v), ["stop"])
2376
+ onMousedown: Ze((L) => i(Je)(v), ["stop"])
2368
2377
  }, [
2369
2378
  B(n.$slots, "search-result-item", {
2370
2379
  item: v,
2371
2380
  index: $
2372
2381
  }, () => [
2373
2382
  ve((T(), j("div", zg, [
2374
- Se($e(v[i(N).label]), 1)
2383
+ Se($e(v[i(E).label]), 1)
2375
2384
  ])), [
2376
2385
  [i(Pe)]
2377
2386
  ]),
2378
- v[i(N).pathName] ? ve((T(), j("div", Ug, [
2379
- Se($e(v[i(N).pathName]), 1)
2387
+ v[i(E).pathName] ? ve((T(), j("div", Ug, [
2388
+ Se($e(v[i(E).pathName]), 1)
2380
2389
  ])), [
2381
2390
  [i(Pe)]
2382
2391
  ]) : A("", !0)
@@ -2408,10 +2417,10 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2408
2417
  Ne("span", { class: "virtual-ref-placeholder" }, " ", -1)
2409
2418
  ])),
2410
2419
  default: ke(() => {
2411
- var v, $, E, q, ae, ne, H, W, F;
2420
+ var v, $, L, J, ne, oe, H, W, F;
2412
2421
  return [
2413
2422
  (v = i(p)) != null && v.node ? (T(), j("ul", Rg, [
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, {
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, {
2415
2424
  key: m.value
2416
2425
  }, [
2417
2426
  m.hidden ? A("", !0) : (T(), j("li", {
@@ -2435,7 +2444,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2435
2444
  ])
2436
2445
  ], 10, Vg))
2437
2446
  ], 64))), 128)) : A("", !0),
2438
- (T(!0), j(Te, null, ht(i(Fe)(i(p).node, i(p).data), (m, le) => (T(), j(Te, {
2447
+ (T(!0), j(we, null, ht(i(Fe)(i(p).node, i(p).data), (m, le) => (T(), j(we, {
2439
2448
  key: m.value
2440
2449
  }, [
2441
2450
  m.hidden ? A("", !0) : (T(), j("li", {
@@ -2459,7 +2468,7 @@ const Qe = /* @__PURE__ */ Rl(mg), Cg = (e, t, r, a, c, d, s, g, b, h, M, C, L,
2459
2468
  ])
2460
2469
  ], 10, qg))
2461
2470
  ], 64))), 128)),
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, {
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, {
2463
2472
  key: m.value
2464
2473
  }, [
2465
2474
  m.hidden ? A("", !0) : (T(), j("li", {