@das-fed/upf-ui 6.4.0-dev.215 → 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 (96) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/index-B4pMosXu.js +143 -0
  3. package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-BybM3Q9u.js → index-BgyMyjJo.js} +711 -700
  5. package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-CwdJKHy0.js → index-Bw7rNZmA.js} +9 -9
  7. package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.js +8873 -8773
  10. package/packages/business-components/device-panel/index.js.gz +0 -0
  11. package/packages/business-components/echarts/index.js +2056 -2049
  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 +130 -128
  20. package/packages/business-components/process-table/index.js.gz +0 -0
  21. package/packages/business-components/urgent-panel/index.js +904 -896
  22. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  23. package/packages/business-components/user-org-dialog/index.js +249 -246
  24. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  25. package/packages/business-components/video-dialog/index.js +1 -0
  26. package/packages/business-components/video-dialog/index.js.gz +0 -0
  27. package/packages/components/autocomplete/index.js +12 -6
  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 +63 -61
  38. package/packages/components/dimple-layout/index.js.gz +0 -0
  39. package/packages/components/dropdown/index.js +23 -22
  40. package/packages/components/dropdown/index.js.gz +0 -0
  41. package/packages/components/edit-table/index.js +224 -223
  42. package/packages/components/edit-table/index.js.gz +0 -0
  43. package/packages/components/error-overlay-model/index.js +44 -42
  44. package/packages/components/error-overlay-model/index.js.gz +0 -0
  45. package/packages/components/form-item/index.js +67 -63
  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.js +51 -51
  50. package/packages/components/input/index.js.gz +0 -0
  51. package/packages/components/input-number/index.js +44 -44
  52. package/packages/components/input-number/index.js.gz +0 -0
  53. package/packages/components/live-player/index.js +834 -832
  54. package/packages/components/live-player/index.js.gz +0 -0
  55. package/packages/components/map/index.js +437 -431
  56. package/packages/components/map/index.js.gz +0 -0
  57. package/packages/components/menu-aside/index.js +1 -1
  58. package/packages/components/menu-aside/index.js.gz +0 -0
  59. package/packages/components/message/index.js +6 -6
  60. package/packages/components/message/index.js.gz +0 -0
  61. package/packages/components/radio-tabs/index.js +33 -33
  62. package/packages/components/radio-tabs/index.js.gz +0 -0
  63. package/packages/components/rich-editor/index.js +4586 -4556
  64. package/packages/components/rich-editor/index.js.gz +0 -0
  65. package/packages/components/scrollbar/index.js +135 -135
  66. package/packages/components/scrollbar/index.js.gz +0 -0
  67. package/packages/components/search/index.js +2 -2
  68. package/packages/components/search/index.js.gz +0 -0
  69. package/packages/components/select/index.js +92 -92
  70. package/packages/components/select/index.js.gz +0 -0
  71. package/packages/components/select-list/index.js +10 -6
  72. package/packages/components/select-list/index.js.gz +0 -0
  73. package/packages/components/special-range-picker-month/index.js +16 -14
  74. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  75. package/packages/components/special-range-picker-year/index.js +53 -51
  76. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  77. package/packages/components/spin/index.js +35 -35
  78. package/packages/components/spin/index.js.gz +0 -0
  79. package/packages/components/split-panel/index.js +102 -101
  80. package/packages/components/split-panel/index.js.gz +0 -0
  81. package/packages/components/table/index.js +604 -599
  82. package/packages/components/table/index.js.gz +0 -0
  83. package/packages/components/time-line/index.js +1 -1
  84. package/packages/components/time-line/index.js.gz +0 -0
  85. package/packages/components/tree/index.js +182 -173
  86. package/packages/components/tree/index.js.gz +0 -0
  87. package/packages/components/tree-select/index.js +81 -81
  88. package/packages/components/tree-select/index.js.gz +0 -0
  89. package/packages/components/tree-table/index.js +2 -2
  90. package/packages/components/tree-table/index.js.gz +0 -0
  91. package/packages/components/tree-v2/index.js +1240 -1208
  92. package/packages/components/tree-v2/index.js.gz +0 -0
  93. package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
  94. package/packages/business-components/ai-panel/index-CgWRv2Ge.js +0 -142
  95. package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
  96. package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
@@ -1,17 +1,17 @@
1
1
  import '@das-fed/upf-ui/packages/components/tree-v2/style.css';
2
- import { defineComponent as Gn, openBlock as M, createBlock as Ge, unref as p, createElementBlock as W, createElementVNode as Re, renderSlot as ne, createTextVNode as tt, toDisplayString as Ue, ref as te, computed as Te, watch as _t, nextTick as ge, onMounted as Xr, onBeforeUnmount as xo, onUnmounted as Qi, pushScopeId as es, popScopeId as ts, withScopeId as rs, markRaw as ns, shallowReactive as as, resolveComponent as os, resolveDirective as is, withDirectives as Fe, normalizeClass as yt, createCommentVNode as H, resolveDynamicComponent as _a, normalizeStyle as Cn, withCtx as Me, Fragment as rt, renderList as Dr, mergeProps as On, toHandlers as ss, createVNode as Bt, useAttrs as ls, isRef as us, createSlots as Tr, withModifiers as Lt, vShow as cs } from "vue";
2
+ import { defineComponent as Gn, openBlock as M, createBlock as Ge, unref as g, createElementBlock as Y, createElementVNode as Re, renderSlot as ne, createTextVNode as tt, toDisplayString as Ue, ref as te, computed as Te, watch as _t, nextTick as ve, onMounted as Xr, onBeforeUnmount as xo, onUnmounted as Qi, pushScopeId as es, popScopeId as ts, withScopeId as rs, markRaw as ns, shallowReactive as as, resolveComponent as os, resolveDirective as is, withDirectives as Fe, normalizeClass as yt, createCommentVNode as H, resolveDynamicComponent as _a, normalizeStyle as Cn, withCtx as Me, Fragment as rt, renderList as Dr, mergeProps as On, toHandlers as ss, createVNode as Bt, useAttrs as ls, isRef as cs, createSlots as Tr, withModifiers as Lt, vShow as us } from "vue";
3
3
  import { withInstall as ds } from "@das-fed/upf-utils/with-install/index";
4
4
  import { setThemeRule as fs } from "@das-fed/upf-web/packages/theme/index";
5
5
  import { t as He, setI18nRule as hs } from "@das-fed/upf-web/packages/i18n/index";
6
- import { DasAutoRegisterIcon as ps, DasIcon as ar } from "@das-fed/upf-ui/packages/components/icon/index";
7
- import { DasInput as vs } from "@das-fed/upf-ui/packages/components/input/index";
6
+ import { DasAutoRegisterIcon as gs, DasIcon as ar } from "@das-fed/upf-ui/packages/components/icon/index";
7
+ import { DasInput as ps } from "@das-fed/upf-ui/packages/components/input/index";
8
8
  import { vOverlay as wa } from "@das-fed/upf-ui/packages/components/overlay/index";
9
- import { vDasTooltip as st } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
10
- import { ElLoading as Sa, ElTreeV2 as gs, ElPopover as ys } from "element-plus";
9
+ import { vDasTooltip as lt } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
10
+ import { ElLoading as Sa, ElTreeV2 as vs, ElPopover as ys } from "element-plus";
11
11
  import "element-plus/es/components/popover/style/css";
12
12
  import "element-plus/es/components/tree-v2/style/css";
13
13
  import { DasIconCaretRight as bs } from "@das-fed/upf-ui/packages/icons/caret-right/index";
14
- import { arrUnique as cr, treeFind as ms } from "@das-fed/upf-utils/common-tools";
14
+ import { arrUnique as ur, treeFind as ms } from "@das-fed/upf-utils/common-tools";
15
15
  import "element-plus/es/components/loading/style/css";
16
16
  import { DomWatcher as $s } from "@das-fed/upf-utils/dom-watcher";
17
17
  import { DasMessage as _s } from "@das-fed/upf-ui/packages/components/message/index";
@@ -19,7 +19,7 @@ import { SizeWatcher as ws } from "@das-fed/upf-utils/size-watcher";
19
19
  const Ss = /* @__PURE__ */ Gn({
20
20
  __name: "expand-icon",
21
21
  setup(e) {
22
- return (t, r) => (M(), Ge(p(bs), {
22
+ return (t, r) => (M(), Ge(g(bs), {
23
23
  class: "das-tree__expand-icon",
24
24
  size: "medium"
25
25
  }));
@@ -35,7 +35,7 @@ const Ss = /* @__PURE__ */ Gn({
35
35
  emptyText: {}
36
36
  },
37
37
  setup(e) {
38
- return (t, r) => (M(), W("div", Cs, [
38
+ return (t, r) => (M(), Y("div", Cs, [
39
39
  Re("div", Os, [
40
40
  ne(t.$slots, "default", {}, () => [
41
41
  tt(Ue(t.emptyText), 1)
@@ -43,7 +43,7 @@ const Ss = /* @__PURE__ */ Gn({
43
43
  ])
44
44
  ]));
45
45
  }
46
- }), cn = /* @__PURE__ */ jo(Is, [["__scopeId", "data-v-507e2bf9"]]), Es = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), As = (e) => typeof e == "string" && Es(e) ? e : e + "px", In = (e, t = "children") => Array.isArray(e) && e.length ? e.reduce((r, n) => {
46
+ }), un = /* @__PURE__ */ jo(Is, [["__scopeId", "data-v-507e2bf9"]]), Es = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), As = (e) => typeof e == "string" && Es(e) ? e : e + "px", In = (e, t = "children") => Array.isArray(e) && e.length ? e.reduce((r, n) => {
47
47
  let a = n[t], o = { ...n };
48
48
  return delete o[t], a && a.length ? r.concat(o, In(a, t)) : r.concat(o);
49
49
  }, []) : [];
@@ -78,20 +78,20 @@ function Ms(e, t) {
78
78
  var r = this.__data__, n = qr(r, e);
79
79
  return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
80
80
  }
81
- function dt(e) {
81
+ function ft(e) {
82
82
  var t = -1, r = e == null ? 0 : e.length;
83
83
  for (this.clear(); ++t < r; ) {
84
84
  var n = e[t];
85
85
  this.set(n[0], n[1]);
86
86
  }
87
87
  }
88
- dt.prototype.clear = Ds;
89
- dt.prototype.delete = ks;
90
- dt.prototype.get = Ps;
91
- dt.prototype.has = Ns;
92
- dt.prototype.set = Ms;
88
+ ft.prototype.clear = Ds;
89
+ ft.prototype.delete = ks;
90
+ ft.prototype.get = Ps;
91
+ ft.prototype.has = Ns;
92
+ ft.prototype.set = Ms;
93
93
  function Ls() {
94
- this.__data__ = new dt(), this.size = 0;
94
+ this.__data__ = new ft(), this.size = 0;
95
95
  }
96
96
  function zs(e) {
97
97
  var t = this.__data__, r = t.delete(e);
@@ -154,13 +154,13 @@ function At(e) {
154
154
  }
155
155
  return "";
156
156
  }
157
- var nl = /[\\^$.*+?()[\]{}|]/g, al = /^\[object .+?Constructor\]$/, ol = Function.prototype, il = Object.prototype, sl = ol.toString, ll = il.hasOwnProperty, ul = RegExp(
157
+ var nl = /[\\^$.*+?()[\]{}|]/g, al = /^\[object .+?Constructor\]$/, ol = Function.prototype, il = Object.prototype, sl = ol.toString, ll = il.hasOwnProperty, cl = RegExp(
158
158
  "^" + sl.call(ll).replace(nl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
159
159
  );
160
- function cl(e) {
160
+ function ul(e) {
161
161
  if (!wt(e) || el(e))
162
162
  return !1;
163
- var t = Mo(e) ? ul : al;
163
+ var t = Mo(e) ? cl : al;
164
164
  return t.test(At(e));
165
165
  }
166
166
  function dl(e, t) {
@@ -168,7 +168,7 @@ function dl(e, t) {
168
168
  }
169
169
  function Dt(e, t) {
170
170
  var r = dl(e, t);
171
- return cl(r) ? r : void 0;
171
+ return ul(r) ? r : void 0;
172
172
  }
173
173
  var yr = Dt(qe, "Map"), br = Dt(Object, "create");
174
174
  function fl() {
@@ -178,14 +178,14 @@ function hl(e) {
178
178
  var t = this.has(e) && delete this.__data__[e];
179
179
  return this.size -= t ? 1 : 0, t;
180
180
  }
181
- var pl = "__lodash_hash_undefined__", vl = Object.prototype, gl = vl.hasOwnProperty;
181
+ var gl = "__lodash_hash_undefined__", pl = Object.prototype, vl = pl.hasOwnProperty;
182
182
  function yl(e) {
183
183
  var t = this.__data__;
184
184
  if (br) {
185
185
  var r = t[e];
186
- return r === pl ? void 0 : r;
186
+ return r === gl ? void 0 : r;
187
187
  }
188
- return gl.call(t, e) ? t[e] : void 0;
188
+ return vl.call(t, e) ? t[e] : void 0;
189
189
  }
190
190
  var bl = Object.prototype, ml = bl.hasOwnProperty;
191
191
  function $l(e) {
@@ -212,7 +212,7 @@ Et.prototype.set = wl;
212
212
  function Sl() {
213
213
  this.size = 0, this.__data__ = {
214
214
  hash: new Et(),
215
- map: new (yr || dt)(),
215
+ map: new (yr || ft)(),
216
216
  string: new Et()
217
217
  };
218
218
  }
@@ -253,7 +253,7 @@ Xt.prototype.set = El;
253
253
  var Al = 200;
254
254
  function Dl(e, t) {
255
255
  var r = this.__data__;
256
- if (r instanceof dt) {
256
+ if (r instanceof ft) {
257
257
  var n = r.__data__;
258
258
  if (!yr || n.length < Al - 1)
259
259
  return n.push([e, t]), this.size = ++r.size, this;
@@ -262,7 +262,7 @@ function Dl(e, t) {
262
262
  return r.set(e, t), this.size = r.size, this;
263
263
  }
264
264
  function qt(e) {
265
- var t = this.__data__ = new dt(e);
265
+ var t = this.__data__ = new ft(e);
266
266
  this.size = t.size;
267
267
  }
268
268
  qt.prototype.clear = Ls;
@@ -333,10 +333,10 @@ var Gl = 9007199254740991;
333
333
  function Ro(e) {
334
334
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Gl;
335
335
  }
336
- var Hl = "[object Arguments]", Wl = "[object Array]", Yl = "[object Boolean]", Xl = "[object Date]", ql = "[object Error]", Jl = "[object Function]", Zl = "[object Map]", Ql = "[object Number]", eu = "[object Object]", tu = "[object RegExp]", ru = "[object Set]", nu = "[object String]", au = "[object WeakMap]", ou = "[object ArrayBuffer]", iu = "[object DataView]", su = "[object Float32Array]", lu = "[object Float64Array]", uu = "[object Int8Array]", cu = "[object Int16Array]", du = "[object Int32Array]", fu = "[object Uint8Array]", hu = "[object Uint8ClampedArray]", pu = "[object Uint16Array]", vu = "[object Uint32Array]", de = {};
337
- de[su] = de[lu] = de[uu] = de[cu] = de[du] = de[fu] = de[hu] = de[pu] = de[vu] = !0;
338
- de[Hl] = de[Wl] = de[ou] = de[Yl] = de[iu] = de[Xl] = de[ql] = de[Jl] = de[Zl] = de[Ql] = de[eu] = de[tu] = de[ru] = de[nu] = de[au] = !1;
339
- function gu(e) {
336
+ var Hl = "[object Arguments]", Wl = "[object Array]", Yl = "[object Boolean]", Xl = "[object Date]", ql = "[object Error]", Jl = "[object Function]", Zl = "[object Map]", Ql = "[object Number]", ec = "[object Object]", tc = "[object RegExp]", rc = "[object Set]", nc = "[object String]", ac = "[object WeakMap]", oc = "[object ArrayBuffer]", ic = "[object DataView]", sc = "[object Float32Array]", lc = "[object Float64Array]", cc = "[object Int8Array]", uc = "[object Int16Array]", dc = "[object Int32Array]", fc = "[object Uint8Array]", hc = "[object Uint8ClampedArray]", gc = "[object Uint16Array]", pc = "[object Uint32Array]", de = {};
337
+ de[sc] = de[lc] = de[cc] = de[uc] = de[dc] = de[fc] = de[hc] = de[gc] = de[pc] = !0;
338
+ de[Hl] = de[Wl] = de[oc] = de[Yl] = de[ic] = de[Xl] = de[ql] = de[Jl] = de[Zl] = de[Ql] = de[ec] = de[tc] = de[rc] = de[nc] = de[ac] = !1;
339
+ function vc(e) {
340
340
  return Jt(e) && Ro(e.length) && !!de[Yt(e)];
341
341
  }
342
342
  function Wn(e) {
@@ -344,26 +344,26 @@ function Wn(e) {
344
344
  return e(t);
345
345
  };
346
346
  }
347
- var Uo = typeof exports == "object" && exports && !exports.nodeType && exports, dr = Uo && typeof module == "object" && module && !module.nodeType && module, yu = dr && dr.exports === Uo, fn = yu && Po.process, Ht = function() {
347
+ var Uo = typeof exports == "object" && exports && !exports.nodeType && exports, dr = Uo && typeof module == "object" && module && !module.nodeType && module, yc = dr && dr.exports === Uo, fn = yc && Po.process, Ht = function() {
348
348
  try {
349
349
  var e = dr && dr.require && dr.require("util").types;
350
350
  return e || fn && fn.binding && fn.binding("util");
351
351
  } catch {
352
352
  }
353
- }(), Da = Ht && Ht.isTypedArray, bu = Da ? Wn(Da) : gu, mu = Object.prototype, $u = mu.hasOwnProperty;
353
+ }(), Da = Ht && Ht.isTypedArray, bc = Da ? Wn(Da) : vc, mc = Object.prototype, $c = mc.hasOwnProperty;
354
354
  function Vo(e, t) {
355
- var r = Hn(e), n = !r && zl(e), a = !r && !n && Bo(e), o = !r && !n && !a && bu(e), i = r || n || a || o, s = i ? Pl(e.length, String) : [], l = s.length;
356
- for (var u in e)
357
- (t || $u.call(e, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
358
- (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
359
- a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
360
- o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
361
- Vl(u, l))) && s.push(u);
355
+ var r = Hn(e), n = !r && zl(e), a = !r && !n && Bo(e), o = !r && !n && !a && bc(e), i = r || n || a || o, s = i ? Pl(e.length, String) : [], l = s.length;
356
+ for (var c in e)
357
+ (t || $c.call(e, c)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
358
+ (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
359
+ a && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
360
+ o && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
361
+ Vl(c, l))) && s.push(c);
362
362
  return s;
363
363
  }
364
- var _u = Object.prototype;
364
+ var _c = Object.prototype;
365
365
  function Yn(e) {
366
- var t = e && e.constructor, r = typeof t == "function" && t.prototype || _u;
366
+ var t = e && e.constructor, r = typeof t == "function" && t.prototype || _c;
367
367
  return e === r;
368
368
  }
369
369
  function Go(e, t) {
@@ -371,60 +371,60 @@ function Go(e, t) {
371
371
  return e(t(r));
372
372
  };
373
373
  }
374
- var wu = Go(Object.keys, Object), Su = Object.prototype, Tu = Su.hasOwnProperty;
375
- function Cu(e) {
374
+ var wc = Go(Object.keys, Object), Sc = Object.prototype, Tc = Sc.hasOwnProperty;
375
+ function Cc(e) {
376
376
  if (!Yn(e))
377
- return wu(e);
377
+ return wc(e);
378
378
  var t = [];
379
379
  for (var r in Object(e))
380
- Tu.call(e, r) && r != "constructor" && t.push(r);
380
+ Tc.call(e, r) && r != "constructor" && t.push(r);
381
381
  return t;
382
382
  }
383
383
  function Ho(e) {
384
384
  return e != null && Ro(e.length) && !Mo(e);
385
385
  }
386
386
  function Xn(e) {
387
- return Ho(e) ? Vo(e) : Cu(e);
387
+ return Ho(e) ? Vo(e) : Cc(e);
388
388
  }
389
- function Ou(e, t) {
389
+ function Oc(e, t) {
390
390
  return e && Zr(t, Xn(t), e);
391
391
  }
392
- function Iu(e) {
392
+ function Ic(e) {
393
393
  var t = [];
394
394
  if (e != null)
395
395
  for (var r in Object(e))
396
396
  t.push(r);
397
397
  return t;
398
398
  }
399
- var Eu = Object.prototype, Au = Eu.hasOwnProperty;
400
- function Du(e) {
399
+ var Ec = Object.prototype, Ac = Ec.hasOwnProperty;
400
+ function Dc(e) {
401
401
  if (!wt(e))
402
- return Iu(e);
402
+ return Ic(e);
403
403
  var t = Yn(e), r = [];
404
404
  for (var n in e)
405
- n == "constructor" && (t || !Au.call(e, n)) || r.push(n);
405
+ n == "constructor" && (t || !Ac.call(e, n)) || r.push(n);
406
406
  return r;
407
407
  }
408
408
  function qn(e) {
409
- return Ho(e) ? Vo(e, !0) : Du(e);
409
+ return Ho(e) ? Vo(e, !0) : Dc(e);
410
410
  }
411
- function xu(e, t) {
411
+ function xc(e, t) {
412
412
  return e && Zr(t, qn(t), e);
413
413
  }
414
- var Wo = typeof exports == "object" && exports && !exports.nodeType && exports, xa = Wo && typeof module == "object" && module && !module.nodeType && module, ju = xa && xa.exports === Wo, ja = ju ? qe.Buffer : void 0, ka = ja ? ja.allocUnsafe : void 0;
415
- function ku(e, t) {
414
+ var Wo = typeof exports == "object" && exports && !exports.nodeType && exports, xa = Wo && typeof module == "object" && module && !module.nodeType && module, jc = xa && xa.exports === Wo, ja = jc ? qe.Buffer : void 0, ka = ja ? ja.allocUnsafe : void 0;
415
+ function kc(e, t) {
416
416
  if (t)
417
417
  return e.slice();
418
418
  var r = e.length, n = ka ? ka(r) : new e.constructor(r);
419
419
  return e.copy(n), n;
420
420
  }
421
- function Pu(e, t) {
421
+ function Pc(e, t) {
422
422
  var r = -1, n = e.length;
423
423
  for (t || (t = Array(n)); ++r < n; )
424
424
  t[r] = e[r];
425
425
  return t;
426
426
  }
427
- function Nu(e, t) {
427
+ function Nc(e, t) {
428
428
  for (var r = -1, n = e == null ? 0 : e.length, a = 0, o = []; ++r < n; ) {
429
429
  var i = e[r];
430
430
  t(i, r, e) && (o[a++] = i);
@@ -434,12 +434,12 @@ function Nu(e, t) {
434
434
  function Yo() {
435
435
  return [];
436
436
  }
437
- var Mu = Object.prototype, Lu = Mu.propertyIsEnumerable, Pa = Object.getOwnPropertySymbols, Jn = Pa ? function(e) {
438
- return e == null ? [] : (e = Object(e), Nu(Pa(e), function(t) {
439
- return Lu.call(e, t);
437
+ var Mc = Object.prototype, Lc = Mc.propertyIsEnumerable, Pa = Object.getOwnPropertySymbols, Jn = Pa ? function(e) {
438
+ return e == null ? [] : (e = Object(e), Nc(Pa(e), function(t) {
439
+ return Lc.call(e, t);
440
440
  }));
441
441
  } : Yo;
442
- function zu(e, t) {
442
+ function zc(e, t) {
443
443
  return Zr(e, Jn(e), t);
444
444
  }
445
445
  function Xo(e, t) {
@@ -447,104 +447,104 @@ function Xo(e, t) {
447
447
  e[a + r] = t[r];
448
448
  return e;
449
449
  }
450
- var qo = Go(Object.getPrototypeOf, Object), Fu = Object.getOwnPropertySymbols, Jo = Fu ? function(e) {
450
+ var qo = Go(Object.getPrototypeOf, Object), Fc = Object.getOwnPropertySymbols, Jo = Fc ? function(e) {
451
451
  for (var t = []; e; )
452
452
  Xo(t, Jn(e)), e = qo(e);
453
453
  return t;
454
454
  } : Yo;
455
- function Ku(e, t) {
455
+ function Kc(e, t) {
456
456
  return Zr(e, Jo(e), t);
457
457
  }
458
458
  function Zo(e, t, r) {
459
459
  var n = t(e);
460
460
  return Hn(e) ? n : Xo(n, r(e));
461
461
  }
462
- function Bu(e) {
462
+ function Bc(e) {
463
463
  return Zo(e, Xn, Jn);
464
464
  }
465
- function Ru(e) {
465
+ function Rc(e) {
466
466
  return Zo(e, qn, Jo);
467
467
  }
468
- var En = Dt(qe, "DataView"), An = Dt(qe, "Promise"), Dn = Dt(qe, "Set"), xn = Dt(qe, "WeakMap"), Na = "[object Map]", Uu = "[object Object]", Ma = "[object Promise]", La = "[object Set]", za = "[object WeakMap]", Fa = "[object DataView]", Vu = At(En), Gu = At(yr), Hu = At(An), Wu = At(Dn), Yu = At(xn), lt = Yt;
469
- (En && lt(new En(new ArrayBuffer(1))) != Fa || yr && lt(new yr()) != Na || An && lt(An.resolve()) != Ma || Dn && lt(new Dn()) != La || xn && lt(new xn()) != za) && (lt = function(e) {
470
- var t = Yt(e), r = t == Uu ? e.constructor : void 0, n = r ? At(r) : "";
468
+ var En = Dt(qe, "DataView"), An = Dt(qe, "Promise"), Dn = Dt(qe, "Set"), xn = Dt(qe, "WeakMap"), Na = "[object Map]", Uc = "[object Object]", Ma = "[object Promise]", La = "[object Set]", za = "[object WeakMap]", Fa = "[object DataView]", Vc = At(En), Gc = At(yr), Hc = At(An), Wc = At(Dn), Yc = At(xn), ct = Yt;
469
+ (En && ct(new En(new ArrayBuffer(1))) != Fa || yr && ct(new yr()) != Na || An && ct(An.resolve()) != Ma || Dn && ct(new Dn()) != La || xn && ct(new xn()) != za) && (ct = function(e) {
470
+ var t = Yt(e), r = t == Uc ? e.constructor : void 0, n = r ? At(r) : "";
471
471
  if (n)
472
472
  switch (n) {
473
- case Vu:
473
+ case Vc:
474
474
  return Fa;
475
- case Gu:
475
+ case Gc:
476
476
  return Na;
477
- case Hu:
477
+ case Hc:
478
478
  return Ma;
479
- case Wu:
479
+ case Wc:
480
480
  return La;
481
- case Yu:
481
+ case Yc:
482
482
  return za;
483
483
  }
484
484
  return t;
485
485
  });
486
- var Xu = Object.prototype, qu = Xu.hasOwnProperty;
487
- function Ju(e) {
486
+ var Xc = Object.prototype, qc = Xc.hasOwnProperty;
487
+ function Jc(e) {
488
488
  var t = e.length, r = new e.constructor(t);
489
- return t && typeof e[0] == "string" && qu.call(e, "index") && (r.index = e.index, r.input = e.input), r;
489
+ return t && typeof e[0] == "string" && qc.call(e, "index") && (r.index = e.index, r.input = e.input), r;
490
490
  }
491
491
  var Ka = qe.Uint8Array;
492
492
  function Zn(e) {
493
493
  var t = new e.constructor(e.byteLength);
494
494
  return new Ka(t).set(new Ka(e)), t;
495
495
  }
496
- function Zu(e, t) {
496
+ function Zc(e, t) {
497
497
  var r = t ? Zn(e.buffer) : e.buffer;
498
498
  return new e.constructor(r, e.byteOffset, e.byteLength);
499
499
  }
500
- var Qu = /\w*$/;
501
- function ec(e) {
502
- var t = new e.constructor(e.source, Qu.exec(e));
500
+ var Qc = /\w*$/;
501
+ function eu(e) {
502
+ var t = new e.constructor(e.source, Qc.exec(e));
503
503
  return t.lastIndex = e.lastIndex, t;
504
504
  }
505
505
  var Ba = Gt ? Gt.prototype : void 0, Ra = Ba ? Ba.valueOf : void 0;
506
- function tc(e) {
506
+ function tu(e) {
507
507
  return Ra ? Object(Ra.call(e)) : {};
508
508
  }
509
- function rc(e, t) {
509
+ function ru(e, t) {
510
510
  var r = t ? Zn(e.buffer) : e.buffer;
511
511
  return new e.constructor(r, e.byteOffset, e.length);
512
512
  }
513
- var nc = "[object Boolean]", ac = "[object Date]", oc = "[object Map]", ic = "[object Number]", sc = "[object RegExp]", lc = "[object Set]", uc = "[object String]", cc = "[object Symbol]", dc = "[object ArrayBuffer]", fc = "[object DataView]", hc = "[object Float32Array]", pc = "[object Float64Array]", vc = "[object Int8Array]", gc = "[object Int16Array]", yc = "[object Int32Array]", bc = "[object Uint8Array]", mc = "[object Uint8ClampedArray]", $c = "[object Uint16Array]", _c = "[object Uint32Array]";
514
- function wc(e, t, r) {
513
+ var nu = "[object Boolean]", au = "[object Date]", ou = "[object Map]", iu = "[object Number]", su = "[object RegExp]", lu = "[object Set]", cu = "[object String]", uu = "[object Symbol]", du = "[object ArrayBuffer]", fu = "[object DataView]", hu = "[object Float32Array]", gu = "[object Float64Array]", pu = "[object Int8Array]", vu = "[object Int16Array]", yu = "[object Int32Array]", bu = "[object Uint8Array]", mu = "[object Uint8ClampedArray]", $u = "[object Uint16Array]", _u = "[object Uint32Array]";
514
+ function wu(e, t, r) {
515
515
  var n = e.constructor;
516
516
  switch (t) {
517
- case dc:
517
+ case du:
518
518
  return Zn(e);
519
- case nc:
520
- case ac:
519
+ case nu:
520
+ case au:
521
521
  return new n(+e);
522
- case fc:
523
- return Zu(e, r);
524
- case hc:
525
- case pc:
526
- case vc:
527
- case gc:
528
- case yc:
529
- case bc:
530
- case mc:
531
- case $c:
532
- case _c:
533
- return rc(e, r);
534
- case oc:
522
+ case fu:
523
+ return Zc(e, r);
524
+ case hu:
525
+ case gu:
526
+ case pu:
527
+ case vu:
528
+ case yu:
529
+ case bu:
530
+ case mu:
531
+ case $u:
532
+ case _u:
533
+ return ru(e, r);
534
+ case ou:
535
535
  return new n();
536
- case ic:
537
- case uc:
536
+ case iu:
537
+ case cu:
538
538
  return new n(e);
539
- case sc:
540
- return ec(e);
541
- case lc:
539
+ case su:
540
+ return eu(e);
541
+ case lu:
542
542
  return new n();
543
- case cc:
544
- return tc(e);
543
+ case uu:
544
+ return tu(e);
545
545
  }
546
546
  }
547
- var Ua = Object.create, Sc = /* @__PURE__ */ function() {
547
+ var Ua = Object.create, Su = /* @__PURE__ */ function() {
548
548
  function e() {
549
549
  }
550
550
  return function(t) {
@@ -557,55 +557,55 @@ var Ua = Object.create, Sc = /* @__PURE__ */ function() {
557
557
  return e.prototype = void 0, r;
558
558
  };
559
559
  }();
560
- function Tc(e) {
561
- return typeof e.constructor == "function" && !Yn(e) ? Sc(qo(e)) : {};
560
+ function Tu(e) {
561
+ return typeof e.constructor == "function" && !Yn(e) ? Su(qo(e)) : {};
562
562
  }
563
- var Cc = "[object Map]";
564
- function Oc(e) {
565
- return Jt(e) && lt(e) == Cc;
563
+ var Cu = "[object Map]";
564
+ function Ou(e) {
565
+ return Jt(e) && ct(e) == Cu;
566
566
  }
567
- var Va = Ht && Ht.isMap, Ic = Va ? Wn(Va) : Oc, Ec = "[object Set]";
568
- function Ac(e) {
569
- return Jt(e) && lt(e) == Ec;
567
+ var Va = Ht && Ht.isMap, Iu = Va ? Wn(Va) : Ou, Eu = "[object Set]";
568
+ function Au(e) {
569
+ return Jt(e) && ct(e) == Eu;
570
570
  }
571
- var Ga = Ht && Ht.isSet, Dc = Ga ? Wn(Ga) : Ac, xc = 1, jc = 2, kc = 4, Qo = "[object Arguments]", Pc = "[object Array]", Nc = "[object Boolean]", Mc = "[object Date]", Lc = "[object Error]", ei = "[object Function]", zc = "[object GeneratorFunction]", Fc = "[object Map]", Kc = "[object Number]", ti = "[object Object]", Bc = "[object RegExp]", Rc = "[object Set]", Uc = "[object String]", Vc = "[object Symbol]", Gc = "[object WeakMap]", Hc = "[object ArrayBuffer]", Wc = "[object DataView]", Yc = "[object Float32Array]", Xc = "[object Float64Array]", qc = "[object Int8Array]", Jc = "[object Int16Array]", Zc = "[object Int32Array]", Qc = "[object Uint8Array]", ed = "[object Uint8ClampedArray]", td = "[object Uint16Array]", rd = "[object Uint32Array]", ue = {};
572
- ue[Qo] = ue[Pc] = ue[Hc] = ue[Wc] = ue[Nc] = ue[Mc] = ue[Yc] = ue[Xc] = ue[qc] = ue[Jc] = ue[Zc] = ue[Fc] = ue[Kc] = ue[ti] = ue[Bc] = ue[Rc] = ue[Uc] = ue[Vc] = ue[Qc] = ue[ed] = ue[td] = ue[rd] = !0;
573
- ue[Lc] = ue[ei] = ue[Gc] = !1;
571
+ var Ga = Ht && Ht.isSet, Du = Ga ? Wn(Ga) : Au, xu = 1, ju = 2, ku = 4, Qo = "[object Arguments]", Pu = "[object Array]", Nu = "[object Boolean]", Mu = "[object Date]", Lu = "[object Error]", ei = "[object Function]", zu = "[object GeneratorFunction]", Fu = "[object Map]", Ku = "[object Number]", ti = "[object Object]", Bu = "[object RegExp]", Ru = "[object Set]", Uu = "[object String]", Vu = "[object Symbol]", Gu = "[object WeakMap]", Hu = "[object ArrayBuffer]", Wu = "[object DataView]", Yu = "[object Float32Array]", Xu = "[object Float64Array]", qu = "[object Int8Array]", Ju = "[object Int16Array]", Zu = "[object Int32Array]", Qu = "[object Uint8Array]", ed = "[object Uint8ClampedArray]", td = "[object Uint16Array]", rd = "[object Uint32Array]", ce = {};
572
+ ce[Qo] = ce[Pu] = ce[Hu] = ce[Wu] = ce[Nu] = ce[Mu] = ce[Yu] = ce[Xu] = ce[qu] = ce[Ju] = ce[Zu] = ce[Fu] = ce[Ku] = ce[ti] = ce[Bu] = ce[Ru] = ce[Uu] = ce[Vu] = ce[Qu] = ce[ed] = ce[td] = ce[rd] = !0;
573
+ ce[Lu] = ce[ei] = ce[Gu] = !1;
574
574
  function xr(e, t, r, n, a, o) {
575
- var i, s = t & xc, l = t & jc, u = t & kc;
575
+ var i, s = t & xu, l = t & ju, c = t & ku;
576
576
  if (i !== void 0)
577
577
  return i;
578
578
  if (!wt(e))
579
579
  return e;
580
580
  var h = Hn(e);
581
581
  if (h) {
582
- if (i = Ju(e), !s)
583
- return Pu(e, i);
582
+ if (i = Jc(e), !s)
583
+ return Pc(e, i);
584
584
  } else {
585
- var d = lt(e), v = d == ei || d == zc;
585
+ var d = ct(e), p = d == ei || d == zu;
586
586
  if (Bo(e))
587
- return ku(e, s);
588
- if (d == ti || d == Qo || v && !a) {
589
- if (i = l || v ? {} : Tc(e), !s)
590
- return l ? Ku(e, xu(i, e)) : zu(e, Ou(i, e));
587
+ return kc(e, s);
588
+ if (d == ti || d == Qo || p && !a) {
589
+ if (i = l || p ? {} : Tu(e), !s)
590
+ return l ? Kc(e, xc(i, e)) : zc(e, Oc(i, e));
591
591
  } else {
592
- if (!ue[d])
592
+ if (!ce[d])
593
593
  return a ? e : {};
594
- i = wc(e, d, s);
594
+ i = wu(e, d, s);
595
595
  }
596
596
  }
597
597
  o || (o = new qt());
598
- var I = o.get(e);
599
- if (I)
600
- return I;
601
- o.set(e, i), Dc(e) ? e.forEach(function(b) {
602
- i.add(xr(b, t, r, b, e, o));
603
- }) : Ic(e) && e.forEach(function(b, k) {
604
- i.set(k, xr(b, t, r, k, e, o));
598
+ var E = o.get(e);
599
+ if (E)
600
+ return E;
601
+ o.set(e, i), Du(e) ? e.forEach(function(y) {
602
+ i.add(xr(y, t, r, y, e, o));
603
+ }) : Iu(e) && e.forEach(function(y, k) {
604
+ i.set(k, xr(y, t, r, k, e, o));
605
605
  });
606
- var _ = u ? l ? Ru : Bu : l ? qn : Xn, S = h ? void 0 : _(e);
607
- return xl(S || e, function(b, k) {
608
- S && (k = b, b = e[k]), zo(i, k, xr(b, t, r, k, e, o));
606
+ var w = c ? l ? Rc : Bc : l ? qn : Xn, S = h ? void 0 : w(e);
607
+ return xl(S || e, function(y, k) {
608
+ S && (k = y, y = e[k]), zo(i, k, xr(y, t, r, k, e, o));
609
609
  }), i;
610
610
  }
611
611
  var nd = 1, ad = 4;
@@ -624,15 +624,15 @@ var sd = /^\s+/;
624
624
  function ld(e) {
625
625
  return e && e.slice(0, id(e) + 1).replace(sd, "");
626
626
  }
627
- var ud = "[object Symbol]";
628
- function cd(e) {
629
- return typeof e == "symbol" || Jt(e) && Yt(e) == ud;
627
+ var cd = "[object Symbol]";
628
+ function ud(e) {
629
+ return typeof e == "symbol" || Jt(e) && Yt(e) == cd;
630
630
  }
631
- var Ha = NaN, dd = /^[-+]0x[0-9a-f]+$/i, fd = /^0b[01]+$/i, hd = /^0o[0-7]+$/i, pd = parseInt;
631
+ var Ha = NaN, dd = /^[-+]0x[0-9a-f]+$/i, fd = /^0b[01]+$/i, hd = /^0o[0-7]+$/i, gd = parseInt;
632
632
  function Wa(e) {
633
633
  if (typeof e == "number")
634
634
  return e;
635
- if (cd(e))
635
+ if (ud(e))
636
636
  return Ha;
637
637
  if (wt(e)) {
638
638
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -642,58 +642,58 @@ function Wa(e) {
642
642
  return e === 0 ? e : +e;
643
643
  e = ld(e);
644
644
  var r = fd.test(e);
645
- return r || hd.test(e) ? pd(e.slice(2), r ? 2 : 8) : dd.test(e) ? Ha : +e;
645
+ return r || hd.test(e) ? gd(e.slice(2), r ? 2 : 8) : dd.test(e) ? Ha : +e;
646
646
  }
647
- var vd = "Expected a function", gd = Math.max, yd = Math.min;
647
+ var pd = "Expected a function", vd = Math.max, yd = Math.min;
648
648
  function bd(e, t, r) {
649
- var n, a, o, i, s, l, u = 0, h = !1, d = !1, v = !0;
649
+ var n, a, o, i, s, l, c = 0, h = !1, d = !1, p = !0;
650
650
  if (typeof e != "function")
651
- throw new TypeError(vd);
652
- t = Wa(t) || 0, wt(r) && (h = !!r.leading, d = "maxWait" in r, o = d ? gd(Wa(r.maxWait) || 0, t) : o, v = "trailing" in r ? !!r.trailing : v);
653
- function I($) {
651
+ throw new TypeError(pd);
652
+ t = Wa(t) || 0, wt(r) && (h = !!r.leading, d = "maxWait" in r, o = d ? vd(Wa(r.maxWait) || 0, t) : o, p = "trailing" in r ? !!r.trailing : p);
653
+ function E(m) {
654
654
  var V = n, Q = a;
655
- return n = a = void 0, u = $, i = e.apply(Q, V), i;
655
+ return n = a = void 0, c = m, i = e.apply(Q, V), i;
656
656
  }
657
- function _($) {
658
- return u = $, s = setTimeout(k, t), h ? I($) : i;
657
+ function w(m) {
658
+ return c = m, s = setTimeout(k, t), h ? E(m) : i;
659
659
  }
660
- function S($) {
661
- var V = $ - l, Q = $ - u, R = t - V;
660
+ function S(m) {
661
+ var V = m - l, Q = m - c, R = t - V;
662
662
  return d ? yd(R, o - Q) : R;
663
663
  }
664
- function b($) {
665
- var V = $ - l, Q = $ - u;
664
+ function y(m) {
665
+ var V = m - l, Q = m - c;
666
666
  return l === void 0 || V >= t || V < 0 || d && Q >= o;
667
667
  }
668
668
  function k() {
669
- var $ = hn();
670
- if (b($))
671
- return N($);
672
- s = setTimeout(k, S($));
669
+ var m = hn();
670
+ if (y(m))
671
+ return N(m);
672
+ s = setTimeout(k, S(m));
673
673
  }
674
- function N($) {
675
- return s = void 0, v && n ? I($) : (n = a = void 0, i);
674
+ function N(m) {
675
+ return s = void 0, p && n ? E(m) : (n = a = void 0, i);
676
676
  }
677
- function P() {
678
- s !== void 0 && clearTimeout(s), u = 0, n = l = a = s = void 0;
677
+ function A() {
678
+ s !== void 0 && clearTimeout(s), c = 0, n = l = a = s = void 0;
679
679
  }
680
680
  function C() {
681
681
  return s === void 0 ? i : N(hn());
682
682
  }
683
683
  function x() {
684
- var $ = hn(), V = b($);
685
- if (n = arguments, a = this, l = $, V) {
684
+ var m = hn(), V = y(m);
685
+ if (n = arguments, a = this, l = m, V) {
686
686
  if (s === void 0)
687
- return _(l);
687
+ return w(l);
688
688
  if (d)
689
- return clearTimeout(s), s = setTimeout(k, t), I(l);
689
+ return clearTimeout(s), s = setTimeout(k, t), E(l);
690
690
  }
691
691
  return s === void 0 && (s = setTimeout(k, t)), i;
692
692
  }
693
- return x.cancel = P, x.flush = C, x;
693
+ return x.cancel = A, x.flush = C, x;
694
694
  }
695
695
  const md = (e, t, r, n, a, o, i, s, l) => {
696
- const u = te(null), h = te([]), d = te(!1), v = Te(() => ({
696
+ const c = te(null), h = te([]), d = te(!1), p = Te(() => ({
697
697
  label: "name",
698
698
  children: "children",
699
699
  parentId: "parentId",
@@ -703,171 +703,171 @@ const md = (e, t, r, n, a, o, i, s, l) => {
703
703
  allowUnSelect: "allowUnSelect",
704
704
  value: e.nodeKey,
705
705
  ...e.props
706
- })), I = Te(() => {
706
+ })), E = Te(() => {
707
707
  let f = "100%";
708
708
  return e.height && (f = As(e.height)), f;
709
- }), _ = (f, m, g) => {
709
+ }), w = (f, $, v) => {
710
710
  if (!e.operationsLabel) return;
711
- const j = e.operationsLabel[f];
712
- if (j)
713
- return typeof j == "function" ? j(m, g) : j;
714
- }, S = te({}), b = (f, m) => {
715
- f && (S.value[m] = f);
716
- }, k = te(null), N = te(null), P = te({ node: null, data: null }), C = (f, m) => {
717
- N.value = S.value[m[e.nodeKey]], P.value = {
711
+ const P = e.operationsLabel[f];
712
+ if (P)
713
+ return typeof P == "function" ? P($, v) : P;
714
+ }, S = te({}), y = (f, $) => {
715
+ f && (S.value[$] = f);
716
+ }, k = te(null), N = te(null), A = te({ node: null, data: null }), C = (f, $) => {
717
+ N.value = S.value[$[e.nodeKey]], A.value = {
718
718
  node: f,
719
- data: m
719
+ data: $
720
720
  };
721
721
  }, x = () => {
722
722
  var f;
723
723
  (f = k.value) == null || f.hide();
724
- }, $ = te(""), V = (f) => {
725
- $.value = f ? P.value.data[e.nodeKey] : "";
726
- }, Q = (f, m) => {
727
- var w, ee, re, he;
728
- let g = {};
729
- const j = "bottom";
730
- return e.showOperations && ((w = e.mergeOprations) != null && w.list ? typeof e.mergeOprations.list != "function" ? (ee = e.mergeOprations) != null && ee.list && e.mergeOprations.list.length && (g.list = e.mergeOprations.list) : g.list = e.mergeOprations.list(f, m) : g.list = [], (re = g.list) != null && re.length && (g.list = g.list.filter(($e) => !$e.hidden)), (he = e.mergeOprations) != null && he.position ? (typeof e.mergeOprations.position != "function" ? g.position = e.mergeOprations.position : g.position = e.mergeOprations.position(f, m), g.position === "left" && (g.position = "top"), g.position === "right" && (g.position = "bottom")) : g.position = j), g;
731
- }, R = (f, m) => {
732
- let g = [], j = [];
733
- if (e.showOperations && (!e.operations || !e.operations.length ? j = [
724
+ }, m = te(""), V = (f) => {
725
+ m.value = f ? A.value.data[e.nodeKey] : "";
726
+ }, Q = (f, $) => {
727
+ var _, ee, re, he;
728
+ let v = {};
729
+ const P = "bottom";
730
+ return e.showOperations && ((_ = e.mergeOprations) != null && _.list ? typeof e.mergeOprations.list != "function" ? (ee = e.mergeOprations) != null && ee.list && e.mergeOprations.list.length && (v.list = e.mergeOprations.list) : v.list = e.mergeOprations.list(f, $) : v.list = [], (re = v.list) != null && re.length && (v.list = v.list.filter((me) => !me.hidden)), (he = e.mergeOprations) != null && he.position ? (typeof e.mergeOprations.position != "function" ? v.position = e.mergeOprations.position : v.position = e.mergeOprations.position(f, $), v.position === "left" && (v.position = "top"), v.position === "right" && (v.position = "bottom")) : v.position = P), v;
731
+ }, R = (f, $) => {
732
+ let v = [], P = [];
733
+ if (e.showOperations && (!e.operations || !e.operations.length ? P = [
734
734
  {
735
735
  value: "add",
736
- label: _("add", f, m) ?? He("新增同级"),
736
+ label: w("add", f, $) ?? He("新增同级"),
737
737
  icon: "add"
738
738
  },
739
739
  {
740
740
  value: "addItem",
741
- label: _("addItem", f, m) ?? He("新增子级"),
741
+ label: w("addItem", f, $) ?? He("新增子级"),
742
742
  icon: "addItem"
743
743
  },
744
744
  {
745
745
  value: "edit",
746
- label: _("edit", f, m) ?? He("编辑"),
746
+ label: w("edit", f, $) ?? He("编辑"),
747
747
  icon: "edit"
748
748
  },
749
749
  {
750
750
  value: "delete",
751
- label: _("delete", f, m) ?? He("删除"),
751
+ label: w("delete", f, $) ?? He("删除"),
752
752
  icon: "delete"
753
753
  }
754
- ] : typeof e.operations == "function" ? j = e.operations(f, m) : j = e.operations), !j || !j.length) return [];
754
+ ] : typeof e.operations == "function" ? P = e.operations(f, $) : P = e.operations), !P || !P.length) return [];
755
755
  if (e.operations)
756
- g = j;
756
+ v = P;
757
757
  else {
758
- let w = [];
759
- e.operationsLayout && (typeof e.operationsLayout == "string" ? w = e.operationsLayout.split(",") : typeof e.operationsLayout(f, m) == "string" ? w = e.operationsLayout(f, m).split(",") : w = ["add", "addItem", "edit", "delete"]), j != null && j.length && (w != null && w.length) && w.forEach((ee) => {
760
- const re = j.find((he) => he.value === ee);
761
- re && g.push(re);
758
+ let _ = [];
759
+ e.operationsLayout && (typeof e.operationsLayout == "string" ? _ = e.operationsLayout.split(",") : typeof e.operationsLayout(f, $) == "string" ? _ = e.operationsLayout(f, $).split(",") : _ = ["add", "addItem", "edit", "delete"]), P != null && P.length && (_ != null && _.length) && _.forEach((ee) => {
760
+ const re = P.find((he) => he.value === ee);
761
+ re && v.push(re);
762
762
  });
763
763
  }
764
- return f.level === Number(e.maxNodeLevel) && (g = g.filter((w) => w.icon !== "addItem" && w.name !== He("新增子级"))), g.length && (g = g.filter((w) => !w.hidden)), g;
765
- }, D = (f, m, g) => {
766
- f.disabled || (x(), $.value = "", setTimeout(() => t("handleOperation", f, m, g), 0));
767
- }, q = (f, m) => f ? m[v.value.label].toLowerCase().includes(f.toLowerCase()) : !0, Y = Te(() => (e == null ? void 0 : e.filterNodeMethod) ?? q), L = Te({
764
+ return f.level === Number(e.maxNodeLevel) && (v = v.filter((_) => _.icon !== "addItem" && _.name !== He("新增子级"))), v.length && (v = v.filter((_) => !_.hidden)), v;
765
+ }, j = (f, $, v) => {
766
+ f.disabled || (x(), m.value = "", setTimeout(() => t("handleOperation", f, $, v), 0));
767
+ }, X = (f, $) => f ? $[p.value.label].toLowerCase().includes(f.toLowerCase()) : !0, q = Te(() => (e == null ? void 0 : e.filterNodeMethod) ?? X), L = Te({
768
768
  get: () => e.filterValue,
769
769
  set: (f) => {
770
770
  t("update:filterValue", f);
771
771
  }
772
- }), oe = () => {
772
+ }), ie = () => {
773
773
  const f = L.value;
774
774
  if (!f) {
775
775
  h.value = [];
776
776
  return;
777
777
  }
778
- const m = v.value.children;
779
- f && e.data ? h.value = In(e.data, m).filter((g) => Y.value(f, g)) : e.data && (h.value = In(e.data, m)), h.value.length || h.value.push({ [v.value.label]: He("暂无数据"), id: "nodata" });
780
- }, me = () => {
778
+ const $ = p.value.children;
779
+ f && e.data ? h.value = In(e.data, $).filter((v) => q.value(f, v)) : e.data && (h.value = In(e.data, $)), h.value.length || h.value.push({ [p.value.label]: He("暂无数据"), id: "nodata" });
780
+ }, be = () => {
781
781
  h.value = [];
782
- }, ae = (f, m) => {
783
- var g;
784
- return f ? m[(g = v.value) == null ? void 0 : g.label].includes(f) : !0;
785
- }, xe = (f, m) => {
786
- let g = !1;
787
- return typeof v.value.disabled == "string" ? g = f[v.value.disabled] ?? !1 : typeof v.value.disabled == "function" && (g = v.value.disabled(f, m) ?? !1), g;
788
- }, Oe = (f, m = "parentId") => {
782
+ }, ae = (f, $) => {
783
+ var v;
784
+ return f ? $[(v = p.value) == null ? void 0 : v.label].includes(f) : !0;
785
+ }, xe = (f, $) => {
786
+ let v = !1;
787
+ return typeof p.value.disabled == "string" ? v = f[p.value.disabled] ?? !1 : typeof p.value.disabled == "function" && (v = p.value.disabled(f, $) ?? !1), v;
788
+ }, Oe = (f, $ = "parentId") => {
789
789
  var re;
790
- const g = f[m], j = (re = r.value) == null ? void 0 : re.store.nodesMap, w = (j == null ? void 0 : j[g]) ?? null;
791
- if (!w) return [null, null];
792
- if (!xe(w.data, w)) return [w.data, w];
793
- const ee = Oe(w.data, m);
790
+ const v = f[$], P = (re = r.value) == null ? void 0 : re.store.nodesMap, _ = (P == null ? void 0 : P[v]) ?? null;
791
+ if (!_) return [null, null];
792
+ if (!xe(_.data, _)) return [_.data, _];
793
+ const ee = Oe(_.data, $);
794
794
  if (ee) return ee;
795
- }, Je = (f, m) => {
796
- let g = !1;
797
- return typeof v.value.isLeaf == "string" ? g = f[v.value.isLeaf] ?? !1 : typeof v.value.isLeaf == "function" && (g = v.value.isLeaf(f, m) ?? !1), g;
795
+ }, Je = (f, $) => {
796
+ let v = !1;
797
+ return typeof p.value.isLeaf == "string" ? v = f[p.value.isLeaf] ?? !1 : typeof p.value.isLeaf == "function" && (v = p.value.isLeaf(f, $) ?? !1), v;
798
798
  }, jt = (f) => {
799
- let m = !1;
800
- return typeof v.value.allowUnSelect == "string" ? m = f[v.value.allowUnSelect] ?? !1 : typeof v.value.allowUnSelect == "function" && (m = v.value.allowUnSelect(f) ?? !1), m;
801
- }, Ze = (f) => e.draggable ? e.allowDrag ? e.allowDrag(f) : !0 : !1, Qe = (f, m) => {
799
+ let $ = !1;
800
+ return typeof p.value.allowUnSelect == "string" ? $ = f[p.value.allowUnSelect] ?? !1 : typeof p.value.allowUnSelect == "function" && ($ = p.value.allowUnSelect(f) ?? !1), $;
801
+ }, Ze = (f) => e.draggable ? e.allowDrag ? e.allowDrag(f) : !0 : !1, Qe = (f, $) => {
802
802
  if (typeof e.filterItemClass == "string")
803
803
  return e.filterItemClass;
804
804
  if (typeof e.filterItemClass == "function")
805
- return e.filterItemClass(f, m);
805
+ return e.filterItemClass(f, $);
806
806
  };
807
807
  let it = 0;
808
- const ht = async (f, m) => {
809
- var j;
810
- if ((j = u.value) == null || j.click(), xe(f, m) || e.showCheckbox) return;
811
- let g = !0;
812
- e.changeNodeConfirm && (g = await e.changeNodeConfirm(f)), g && (it++, ke(f, m));
808
+ const gt = async (f, $) => {
809
+ var P;
810
+ if ((P = c.value) == null || P.click(), xe(f, $) || e.showCheckbox) return;
811
+ let v = !0;
812
+ e.changeNodeConfirm && (v = await e.changeNodeConfirm(f)), v && (it++, ke(f, $));
813
813
  }, ke = bd((...f) => {
814
- const [m, g] = f;
815
- it > 1 ? kt(m, g) : pt(m, g), it = 0;
816
- }, 200), kt = (f, m) => {
817
- t("node-db-click", f, m);
818
- }, pt = (f, m) => {
819
- var g;
820
- d.value = !0, a.value = f[e.nodeKey], (g = r.value) == null || g.setCurrentKey(a.value), f.path && (n.value = f.path), t("change", f[e.nodeKey]), t("node-click", f, m), t("node-change", f);
821
- }, E = async (f, m) => {
822
- if (await ge(), o.value && !e.showCheckbox) {
814
+ const [$, v] = f;
815
+ it > 1 ? kt($, v) : pt($, v), it = 0;
816
+ }, 200), kt = (f, $) => {
817
+ t("node-db-click", f, $);
818
+ }, pt = (f, $) => {
819
+ var v;
820
+ d.value = !0, a.value = f[e.nodeKey], (v = r.value) == null || v.setCurrentKey(a.value), f.path && (n.value = f.path), t("change", f[e.nodeKey]), t("node-click", f, $), t("node-change", f);
821
+ }, I = async (f, $) => {
822
+ if (await ve(), o.value && !e.showCheckbox) {
823
823
  if (a.value && f[e.nodeKey] !== a.value) return;
824
- t("current-change", f, m);
824
+ t("current-change", f, $);
825
825
  } else
826
- t("current-change", f, m);
827
- }, J = (f, m = !1) => {
828
- let g = !1;
829
- return e != null && e.nodeKey && (e.showCheckbox ? m && (g = !!a.value.includes(f[e.nodeKey])) : g = a.value === f[e.nodeKey]), g;
826
+ t("current-change", f, $);
827
+ }, W = (f, $ = !1) => {
828
+ let v = !1;
829
+ return e != null && e.nodeKey && (e.showCheckbox ? $ && (v = !!a.value.includes(f[e.nodeKey])) : v = a.value === f[e.nodeKey]), v;
830
830
  }, G = async (f) => {
831
- var m, g, j, w, ee;
832
- if (!xe(f, null)) {
831
+ var $, v, P, _, ee;
832
+ if (console.log(f), !xe(f, null)) {
833
833
  if (!e.showCheckbox)
834
- ht(f);
834
+ gt(f);
835
835
  else {
836
- const re = (m = e.data) == null ? void 0 : m.find((he) => he[e.nodeKey] === f[e.nodeKey]);
837
- if (!J(f, !0) || !(e.hideRootCheckbox && re)) {
836
+ const re = ($ = e.data) == null ? void 0 : $.find((he) => he[e.nodeKey] === f[e.nodeKey]);
837
+ if (!W(f, !0) || !(e.hideRootCheckbox && re)) {
838
838
  const he = a.value || [];
839
839
  if (e != null && e.nodeKey && !he.includes(f[e.nodeKey])) {
840
- const $e = he.concat(f[e.nodeKey]) || [];
841
- e.showCheckbox && ((g = r.value) == null || g.setCheckedKeys($e)), (w = r.value) == null || w.setExpandedKeys(((j = f.path) == null ? void 0 : j.split("/")) || []), s(f, { checkedKeys: [...$e] }, !0);
840
+ const me = he.concat(f[e.nodeKey]) || [];
841
+ e.showCheckbox && ((v = r.value) == null || v.setCheckedKeys(me)), console.log("-----------", r.value, me), (_ = r.value) == null || _.setExpandedKeys(((P = f.path) == null ? void 0 : P.split("/")) || []), s(f, { checkedKeys: [...me] }, !0);
842
842
  }
843
843
  }
844
844
  (ee = r.value) == null || ee.setCurrentKey(f[e.nodeKey]);
845
845
  }
846
846
  h.value = [], L.value = "", t("filter-node-click", f);
847
847
  }
848
- }, ie = (f, m) => {
849
- let g = "", j = "";
850
- return v.value.class && (typeof v.value.class == "string" ? j = v.value.class : j = v.value.class(f, m)), j && (g = `${g} ${j}`), J(f) && (g = `${g} is-active`), Ze(m) && (g = `${g} show-draggable-icon`), g;
848
+ }, se = (f, $) => {
849
+ let v = "", P = "";
850
+ return p.value.class && (typeof p.value.class == "string" ? P = p.value.class : P = p.value.class(f, $)), P && (v = `${v} ${P}`), W(f) && (v = `${v} is-active`), Ze($) && (v = `${v} show-draggable-icon`), v;
851
851
  }, le = async () => {
852
852
  var f;
853
- return await ge(), d.value ? d.value = !1 : (e.showCheckbox || (f = r.value) == null || f.setCurrentKey(a.value, !0), !0);
853
+ return await ve(), d.value ? d.value = !1 : (e.showCheckbox || (f = r.value) == null || f.setCurrentKey(a.value, !0), !0);
854
854
  };
855
855
  return _t(
856
856
  () => e.data,
857
- (f, m) => {
857
+ (f, $) => {
858
858
  if (!o.value) {
859
859
  if (!e.showOperations)
860
860
  if (f && f.length) {
861
- const g = f.find(
862
- (j) => j[v.value.children] && j[v.value.children].length
861
+ const v = f.find(
862
+ (P) => P[p.value.children] && P[p.value.children].length
863
863
  );
864
- l.value = !g;
864
+ l.value = !v;
865
865
  } else
866
866
  l.value = !1;
867
- if (JSON.stringify(f) !== JSON.stringify(m)) {
867
+ if (JSON.stringify(f) !== JSON.stringify($)) {
868
868
  if (f && f.length && e.defaultExpandRoot) {
869
- const g = f.map((j) => j[e.nodeKey]);
870
- i.value = Ct(g);
869
+ const v = f.map((P) => P[e.nodeKey]);
870
+ i.value = Ct(v);
871
871
  }
872
872
  le();
873
873
  }
@@ -875,38 +875,38 @@ const md = (e, t, r, n, a, o, i, s, l) => {
875
875
  },
876
876
  { immediate: !0, deep: !0 }
877
877
  ), {
878
- realHeight: I,
879
- dasTree: u,
878
+ realHeight: E,
879
+ dasTree: c,
880
880
  treeRef: r,
881
881
  oprationVisibleChange: V,
882
882
  getOperations: R,
883
- handleOperation: D,
883
+ handleOperation: j,
884
884
  filterInnerValue: L,
885
885
  filterMethod: ae,
886
886
  filterList: h,
887
887
  selectItem: G,
888
- nodeClass: ie,
888
+ nodeClass: se,
889
889
  innerValue: a,
890
- nodeClick: ht,
891
- defaultProps: v,
892
- filterSeach: oe,
893
- filterNodeMethodFn: Y,
894
- filterClear: me,
895
- isActive: J,
890
+ nodeClick: gt,
891
+ defaultProps: p,
892
+ filterSeach: ie,
893
+ filterNodeMethodFn: q,
894
+ filterClear: be,
895
+ isActive: W,
896
896
  expandParent: le,
897
897
  disabledFlag: xe,
898
- currentOprationKey: $,
898
+ currentOprationKey: m,
899
899
  getMergeOperations: Q,
900
- setOprationsMoreBtnRefs: b,
900
+ setOprationsMoreBtnRefs: y,
901
901
  oprationsPopoverRef: k,
902
902
  currentMoreBtnRef: N,
903
903
  moreBtnEnter: C,
904
- currentOprationItem: P,
904
+ currentOprationItem: A,
905
905
  isLeafFlag: Je,
906
906
  filterCustomClass: Qe,
907
907
  allowUnSelectFlag: jt,
908
908
  findSelectableParentNode: Oe,
909
- currentChange: E
909
+ currentChange: I
910
910
  };
911
911
  };
912
912
  var Cr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -980,7 +980,7 @@ function Zd(e) {
980
980
  return this.__data__.has(e);
981
981
  }
982
982
  var Qd = Zd, ef = typeof Cr == "object" && Cr && Cr.Object === Object && Cr, ni = ef, tf = ni, rf = typeof self == "object" && self && self.Object === Object && self, nf = tf || rf || Function("return this")(), ot = nf, af = ot, of = af.Symbol, Qn = of, Ya = Qn, ai = Object.prototype, sf = ai.hasOwnProperty, lf = ai.toString, ir = Ya ? Ya.toStringTag : void 0;
983
- function uf(e) {
983
+ function cf(e) {
984
984
  var t = sf.call(e, ir), r = e[ir];
985
985
  try {
986
986
  e[ir] = void 0;
@@ -990,13 +990,13 @@ function uf(e) {
990
990
  var a = lf.call(e);
991
991
  return n && (t ? e[ir] = r : delete e[ir]), a;
992
992
  }
993
- var cf = uf, df = Object.prototype, ff = df.toString;
993
+ var uf = cf, df = Object.prototype, ff = df.toString;
994
994
  function hf(e) {
995
995
  return ff.call(e);
996
996
  }
997
- var pf = hf, Xa = Qn, vf = cf, gf = pf, yf = "[object Null]", bf = "[object Undefined]", qa = Xa ? Xa.toStringTag : void 0;
997
+ var gf = hf, Xa = Qn, pf = uf, vf = gf, yf = "[object Null]", bf = "[object Undefined]", qa = Xa ? Xa.toStringTag : void 0;
998
998
  function mf(e) {
999
- return e == null ? e === void 0 ? bf : yf : qa && qa in Object(e) ? vf(e) : gf(e);
999
+ return e == null ? e === void 0 ? bf : yf : qa && qa in Object(e) ? pf(e) : vf(e);
1000
1000
  }
1001
1001
  var tn = mf;
1002
1002
  function $f(e) {
@@ -1010,8 +1010,8 @@ function If(e) {
1010
1010
  var t = _f(e);
1011
1011
  return t == Tf || t == Cf || t == Sf || t == Of;
1012
1012
  }
1013
- var oi = If, Ef = ot, Af = Ef["__core-js_shared__"], Df = Af, pn = Df, Ja = function() {
1014
- var e = /[^.]+$/.exec(pn && pn.keys && pn.keys.IE_PROTO || "");
1013
+ var oi = If, Ef = ot, Af = Ef["__core-js_shared__"], Df = Af, gn = Df, Ja = function() {
1014
+ var e = /[^.]+$/.exec(gn && gn.keys && gn.keys.IE_PROTO || "");
1015
1015
  return e ? "Symbol(src)_1." + e : "";
1016
1016
  }();
1017
1017
  function xf(e) {
@@ -1058,26 +1058,26 @@ function sh(e) {
1058
1058
  var t = this.has(e) && delete this.__data__[e];
1059
1059
  return this.size -= t ? 1 : 0, t;
1060
1060
  }
1061
- var lh = sh, uh = rn, ch = "__lodash_hash_undefined__", dh = Object.prototype, fh = dh.hasOwnProperty;
1061
+ var lh = sh, ch = rn, uh = "__lodash_hash_undefined__", dh = Object.prototype, fh = dh.hasOwnProperty;
1062
1062
  function hh(e) {
1063
1063
  var t = this.__data__;
1064
- if (uh) {
1064
+ if (ch) {
1065
1065
  var r = t[e];
1066
- return r === ch ? void 0 : r;
1066
+ return r === uh ? void 0 : r;
1067
1067
  }
1068
1068
  return fh.call(t, e) ? t[e] : void 0;
1069
1069
  }
1070
- var ph = hh, vh = rn, gh = Object.prototype, yh = gh.hasOwnProperty;
1070
+ var gh = hh, ph = rn, vh = Object.prototype, yh = vh.hasOwnProperty;
1071
1071
  function bh(e) {
1072
1072
  var t = this.__data__;
1073
- return vh ? t[e] !== void 0 : yh.call(t, e);
1073
+ return ph ? t[e] !== void 0 : yh.call(t, e);
1074
1074
  }
1075
1075
  var mh = bh, $h = rn, _h = "__lodash_hash_undefined__";
1076
1076
  function wh(e, t) {
1077
1077
  var r = this.__data__;
1078
1078
  return this.size += this.has(e) ? 0 : 1, r[e] = $h && t === void 0 ? _h : t, this;
1079
1079
  }
1080
- var Sh = wh, Th = ih, Ch = lh, Oh = ph, Ih = mh, Eh = Sh;
1080
+ var Sh = wh, Th = ih, Ch = lh, Oh = gh, Ih = mh, Eh = Sh;
1081
1081
  function Qt(e) {
1082
1082
  var t = -1, r = e == null ? 0 : e.length;
1083
1083
  for (this.clear(); ++t < r; ) {
@@ -1126,7 +1126,7 @@ function Yh(e, t) {
1126
1126
  var r = Wh(this, e), n = r.size;
1127
1127
  return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
1128
1128
  }
1129
- var Xh = Yh, qh = kh, Jh = Kh, Zh = Uh, Qh = Hh, ep = Xh;
1129
+ var Xh = Yh, qh = kh, Jh = Kh, Zh = Uh, Qh = Hh, eg = Xh;
1130
1130
  function er(e) {
1131
1131
  var t = -1, r = e == null ? 0 : e.length;
1132
1132
  for (this.clear(); ++t < r; ) {
@@ -1138,42 +1138,42 @@ er.prototype.clear = qh;
1138
1138
  er.prototype.delete = Jh;
1139
1139
  er.prototype.get = Zh;
1140
1140
  er.prototype.has = Qh;
1141
- er.prototype.set = ep;
1142
- var tp = er, rp = en, np = ea, ap = tp, op = 200;
1143
- function ip(e, t) {
1141
+ er.prototype.set = eg;
1142
+ var tg = er, rg = en, ng = ea, ag = tg, og = 200;
1143
+ function ig(e, t) {
1144
1144
  var r = this.__data__;
1145
- if (r instanceof rp) {
1145
+ if (r instanceof rg) {
1146
1146
  var n = r.__data__;
1147
- if (!np || n.length < op - 1)
1147
+ if (!ng || n.length < og - 1)
1148
1148
  return n.push([e, t]), this.size = ++r.size, this;
1149
- r = this.__data__ = new ap(n);
1149
+ r = this.__data__ = new ag(n);
1150
1150
  }
1151
1151
  return r.set(e, t), this.size = r.size, this;
1152
1152
  }
1153
- var sp = ip, lp = en, up = Wd, cp = Xd, dp = Jd, fp = Qd, hp = sp;
1153
+ var sg = ig, lg = en, cg = Wd, ug = Xd, dg = Jd, fg = Qd, hg = sg;
1154
1154
  function tr(e) {
1155
- var t = this.__data__ = new lp(e);
1155
+ var t = this.__data__ = new lg(e);
1156
1156
  this.size = t.size;
1157
1157
  }
1158
- tr.prototype.clear = up;
1159
- tr.prototype.delete = cp;
1160
- tr.prototype.get = dp;
1161
- tr.prototype.has = fp;
1162
- tr.prototype.set = hp;
1163
- var pp = tr;
1164
- function vp(e, t) {
1158
+ tr.prototype.clear = cg;
1159
+ tr.prototype.delete = ug;
1160
+ tr.prototype.get = dg;
1161
+ tr.prototype.has = fg;
1162
+ tr.prototype.set = hg;
1163
+ var gg = tr;
1164
+ function pg(e, t) {
1165
1165
  for (var r = -1, n = e == null ? 0 : e.length; ++r < n && t(e[r], r, e) !== !1; )
1166
1166
  ;
1167
1167
  return e;
1168
1168
  }
1169
- var gp = vp, yp = xt, bp = function() {
1169
+ var vg = pg, yg = xt, bg = function() {
1170
1170
  try {
1171
- var e = yp(Object, "defineProperty");
1171
+ var e = yg(Object, "defineProperty");
1172
1172
  return e({}, "", {}), e;
1173
1173
  } catch {
1174
1174
  }
1175
- }(), mp = bp, eo = mp;
1176
- function $p(e, t, r) {
1175
+ }(), mg = bg, eo = mg;
1176
+ function $g(e, t, r) {
1177
1177
  t == "__proto__" && eo ? eo(e, t, {
1178
1178
  configurable: !0,
1179
1179
  enumerable: !0,
@@ -1181,71 +1181,71 @@ function $p(e, t, r) {
1181
1181
  writable: !0
1182
1182
  }) : e[t] = r;
1183
1183
  }
1184
- var si = $p, _p = si, wp = ri, Sp = Object.prototype, Tp = Sp.hasOwnProperty;
1185
- function Cp(e, t, r) {
1184
+ var si = $g, _g = si, wg = ri, Sg = Object.prototype, Tg = Sg.hasOwnProperty;
1185
+ function Cg(e, t, r) {
1186
1186
  var n = e[t];
1187
- (!(Tp.call(e, t) && wp(n, r)) || r === void 0 && !(t in e)) && _p(e, t, r);
1187
+ (!(Tg.call(e, t) && wg(n, r)) || r === void 0 && !(t in e)) && _g(e, t, r);
1188
1188
  }
1189
- var li = Cp, Op = li, Ip = si;
1190
- function Ep(e, t, r, n) {
1189
+ var li = Cg, Og = li, Ig = si;
1190
+ function Eg(e, t, r, n) {
1191
1191
  var a = !r;
1192
1192
  r || (r = {});
1193
1193
  for (var o = -1, i = t.length; ++o < i; ) {
1194
1194
  var s = t[o], l = n ? n(r[s], e[s], s, r, e) : void 0;
1195
- l === void 0 && (l = e[s]), a ? Ip(r, s, l) : Op(r, s, l);
1195
+ l === void 0 && (l = e[s]), a ? Ig(r, s, l) : Og(r, s, l);
1196
1196
  }
1197
1197
  return r;
1198
1198
  }
1199
- var an = Ep;
1200
- function Ap(e, t) {
1199
+ var an = Eg;
1200
+ function Ag(e, t) {
1201
1201
  for (var r = -1, n = Array(e); ++r < e; )
1202
1202
  n[r] = t(r);
1203
1203
  return n;
1204
1204
  }
1205
- var Dp = Ap;
1206
- function xp(e) {
1205
+ var Dg = Ag;
1206
+ function xg(e) {
1207
1207
  return e != null && typeof e == "object";
1208
1208
  }
1209
- var $r = xp, jp = tn, kp = $r, Pp = "[object Arguments]";
1210
- function Np(e) {
1211
- return kp(e) && jp(e) == Pp;
1209
+ var $r = xg, jg = tn, kg = $r, Pg = "[object Arguments]";
1210
+ function Ng(e) {
1211
+ return kg(e) && jg(e) == Pg;
1212
1212
  }
1213
- var Mp = Np, to = Mp, Lp = $r, ui = Object.prototype, zp = ui.hasOwnProperty, Fp = ui.propertyIsEnumerable, Kp = to(/* @__PURE__ */ function() {
1213
+ var Mg = Ng, to = Mg, Lg = $r, ci = Object.prototype, zg = ci.hasOwnProperty, Fg = ci.propertyIsEnumerable, Kg = to(/* @__PURE__ */ function() {
1214
1214
  return arguments;
1215
1215
  }()) ? to : function(e) {
1216
- return Lp(e) && zp.call(e, "callee") && !Fp.call(e, "callee");
1217
- }, Bp = Kp, Rp = Array.isArray, ta = Rp, Kr = { exports: {} };
1218
- function Up() {
1216
+ return Lg(e) && zg.call(e, "callee") && !Fg.call(e, "callee");
1217
+ }, Bg = Kg, Rg = Array.isArray, ta = Rg, Kr = { exports: {} };
1218
+ function Ug() {
1219
1219
  return !1;
1220
1220
  }
1221
- var Vp = Up;
1221
+ var Vg = Ug;
1222
1222
  Kr.exports;
1223
1223
  (function(e, t) {
1224
- var r = ot, n = Vp, a = t && !t.nodeType && t, o = a && !0 && e && !e.nodeType && e, i = o && o.exports === a, s = i ? r.Buffer : void 0, l = s ? s.isBuffer : void 0, u = l || n;
1225
- e.exports = u;
1224
+ var r = ot, n = Vg, a = t && !t.nodeType && t, o = a && !0 && e && !e.nodeType && e, i = o && o.exports === a, s = i ? r.Buffer : void 0, l = s ? s.isBuffer : void 0, c = l || n;
1225
+ e.exports = c;
1226
1226
  })(Kr, Kr.exports);
1227
- var ci = Kr.exports, Gp = 9007199254740991, Hp = /^(?:0|[1-9]\d*)$/;
1228
- function Wp(e, t) {
1227
+ var ui = Kr.exports, Gg = 9007199254740991, Hg = /^(?:0|[1-9]\d*)$/;
1228
+ function Wg(e, t) {
1229
1229
  var r = typeof e;
1230
- return t = t ?? Gp, !!t && (r == "number" || r != "symbol" && Hp.test(e)) && e > -1 && e % 1 == 0 && e < t;
1230
+ return t = t ?? Gg, !!t && (r == "number" || r != "symbol" && Hg.test(e)) && e > -1 && e % 1 == 0 && e < t;
1231
1231
  }
1232
- var Yp = Wp, Xp = 9007199254740991;
1233
- function qp(e) {
1234
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Xp;
1232
+ var Yg = Wg, Xg = 9007199254740991;
1233
+ function qg(e) {
1234
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Xg;
1235
1235
  }
1236
- var di = qp, Jp = tn, Zp = di, Qp = $r, ev = "[object Arguments]", tv = "[object Array]", rv = "[object Boolean]", nv = "[object Date]", av = "[object Error]", ov = "[object Function]", iv = "[object Map]", sv = "[object Number]", lv = "[object Object]", uv = "[object RegExp]", cv = "[object Set]", dv = "[object String]", fv = "[object WeakMap]", hv = "[object ArrayBuffer]", pv = "[object DataView]", vv = "[object Float32Array]", gv = "[object Float64Array]", yv = "[object Int8Array]", bv = "[object Int16Array]", mv = "[object Int32Array]", $v = "[object Uint8Array]", _v = "[object Uint8ClampedArray]", wv = "[object Uint16Array]", Sv = "[object Uint32Array]", fe = {};
1237
- fe[vv] = fe[gv] = fe[yv] = fe[bv] = fe[mv] = fe[$v] = fe[_v] = fe[wv] = fe[Sv] = !0;
1238
- fe[ev] = fe[tv] = fe[hv] = fe[rv] = fe[pv] = fe[nv] = fe[av] = fe[ov] = fe[iv] = fe[sv] = fe[lv] = fe[uv] = fe[cv] = fe[dv] = fe[fv] = !1;
1239
- function Tv(e) {
1240
- return Qp(e) && Zp(e.length) && !!fe[Jp(e)];
1236
+ var di = qg, Jg = tn, Zg = di, Qg = $r, ep = "[object Arguments]", tp = "[object Array]", rp = "[object Boolean]", np = "[object Date]", ap = "[object Error]", op = "[object Function]", ip = "[object Map]", sp = "[object Number]", lp = "[object Object]", cp = "[object RegExp]", up = "[object Set]", dp = "[object String]", fp = "[object WeakMap]", hp = "[object ArrayBuffer]", gp = "[object DataView]", pp = "[object Float32Array]", vp = "[object Float64Array]", yp = "[object Int8Array]", bp = "[object Int16Array]", mp = "[object Int32Array]", $p = "[object Uint8Array]", _p = "[object Uint8ClampedArray]", wp = "[object Uint16Array]", Sp = "[object Uint32Array]", fe = {};
1237
+ fe[pp] = fe[vp] = fe[yp] = fe[bp] = fe[mp] = fe[$p] = fe[_p] = fe[wp] = fe[Sp] = !0;
1238
+ fe[ep] = fe[tp] = fe[hp] = fe[rp] = fe[gp] = fe[np] = fe[ap] = fe[op] = fe[ip] = fe[sp] = fe[lp] = fe[cp] = fe[up] = fe[dp] = fe[fp] = !1;
1239
+ function Tp(e) {
1240
+ return Qg(e) && Zg(e.length) && !!fe[Jg(e)];
1241
1241
  }
1242
- var Cv = Tv;
1243
- function Ov(e) {
1242
+ var Cp = Tp;
1243
+ function Op(e) {
1244
1244
  return function(t) {
1245
1245
  return e(t);
1246
1246
  };
1247
1247
  }
1248
- var ra = Ov, Br = { exports: {} };
1248
+ var ra = Op, Br = { exports: {} };
1249
1249
  Br.exports;
1250
1250
  (function(e, t) {
1251
1251
  var r = ni, n = t && !t.nodeType && t, a = n && !0 && e && !e.nodeType && e, o = a && a.exports === n, i = o && r.process, s = function() {
@@ -1257,128 +1257,128 @@ Br.exports;
1257
1257
  }();
1258
1258
  e.exports = s;
1259
1259
  })(Br, Br.exports);
1260
- var na = Br.exports, Iv = Cv, Ev = ra, ro = na, no = ro && ro.isTypedArray, Av = no ? Ev(no) : Iv, Dv = Av, xv = Dp, jv = Bp, kv = ta, Pv = ci, Nv = Yp, Mv = Dv, Lv = Object.prototype, zv = Lv.hasOwnProperty;
1261
- function Fv(e, t) {
1262
- var r = kv(e), n = !r && jv(e), a = !r && !n && Pv(e), o = !r && !n && !a && Mv(e), i = r || n || a || o, s = i ? xv(e.length, String) : [], l = s.length;
1263
- for (var u in e)
1264
- (t || zv.call(e, u)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
1265
- (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1266
- a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1267
- o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
1268
- Nv(u, l))) && s.push(u);
1260
+ var na = Br.exports, Ip = Cp, Ep = ra, ro = na, no = ro && ro.isTypedArray, Ap = no ? Ep(no) : Ip, Dp = Ap, xp = Dg, jp = Bg, kp = ta, Pp = ui, Np = Yg, Mp = Dp, Lp = Object.prototype, zp = Lp.hasOwnProperty;
1261
+ function Fp(e, t) {
1262
+ var r = kp(e), n = !r && jp(e), a = !r && !n && Pp(e), o = !r && !n && !a && Mp(e), i = r || n || a || o, s = i ? xp(e.length, String) : [], l = s.length;
1263
+ for (var c in e)
1264
+ (t || zp.call(e, c)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
1265
+ (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1266
+ a && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1267
+ o && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
1268
+ Np(c, l))) && s.push(c);
1269
1269
  return s;
1270
1270
  }
1271
- var fi = Fv, Kv = Object.prototype;
1272
- function Bv(e) {
1273
- var t = e && e.constructor, r = typeof t == "function" && t.prototype || Kv;
1271
+ var fi = Fp, Kp = Object.prototype;
1272
+ function Bp(e) {
1273
+ var t = e && e.constructor, r = typeof t == "function" && t.prototype || Kp;
1274
1274
  return e === r;
1275
1275
  }
1276
- var aa = Bv;
1277
- function Rv(e, t) {
1276
+ var aa = Bp;
1277
+ function Rp(e, t) {
1278
1278
  return function(r) {
1279
1279
  return e(t(r));
1280
1280
  };
1281
1281
  }
1282
- var hi = Rv, Uv = hi, Vv = Uv(Object.keys, Object), Gv = Vv, Hv = aa, Wv = Gv, Yv = Object.prototype, Xv = Yv.hasOwnProperty;
1283
- function qv(e) {
1284
- if (!Hv(e))
1285
- return Wv(e);
1282
+ var hi = Rp, Up = hi, Vp = Up(Object.keys, Object), Gp = Vp, Hp = aa, Wp = Gp, Yp = Object.prototype, Xp = Yp.hasOwnProperty;
1283
+ function qp(e) {
1284
+ if (!Hp(e))
1285
+ return Wp(e);
1286
1286
  var t = [];
1287
1287
  for (var r in Object(e))
1288
- Xv.call(e, r) && r != "constructor" && t.push(r);
1288
+ Xp.call(e, r) && r != "constructor" && t.push(r);
1289
1289
  return t;
1290
1290
  }
1291
- var Jv = qv, Zv = oi, Qv = di;
1292
- function eg(e) {
1293
- return e != null && Qv(e.length) && !Zv(e);
1291
+ var Jp = qp, Zp = oi, Qp = di;
1292
+ function ev(e) {
1293
+ return e != null && Qp(e.length) && !Zp(e);
1294
1294
  }
1295
- var pi = eg, tg = fi, rg = Jv, ng = pi;
1296
- function ag(e) {
1297
- return ng(e) ? tg(e) : rg(e);
1295
+ var gi = ev, tv = fi, rv = Jp, nv = gi;
1296
+ function av(e) {
1297
+ return nv(e) ? tv(e) : rv(e);
1298
1298
  }
1299
- var oa = ag, og = an, ig = oa;
1300
- function sg(e, t) {
1301
- return e && og(t, ig(t), e);
1299
+ var oa = av, ov = an, iv = oa;
1300
+ function sv(e, t) {
1301
+ return e && ov(t, iv(t), e);
1302
1302
  }
1303
- var lg = sg;
1304
- function ug(e) {
1303
+ var lv = sv;
1304
+ function cv(e) {
1305
1305
  var t = [];
1306
1306
  if (e != null)
1307
1307
  for (var r in Object(e))
1308
1308
  t.push(r);
1309
1309
  return t;
1310
1310
  }
1311
- var cg = ug, dg = mr, fg = aa, hg = cg, pg = Object.prototype, vg = pg.hasOwnProperty;
1312
- function gg(e) {
1313
- if (!dg(e))
1314
- return hg(e);
1315
- var t = fg(e), r = [];
1311
+ var uv = cv, dv = mr, fv = aa, hv = uv, gv = Object.prototype, pv = gv.hasOwnProperty;
1312
+ function vv(e) {
1313
+ if (!dv(e))
1314
+ return hv(e);
1315
+ var t = fv(e), r = [];
1316
1316
  for (var n in e)
1317
- n == "constructor" && (t || !vg.call(e, n)) || r.push(n);
1317
+ n == "constructor" && (t || !pv.call(e, n)) || r.push(n);
1318
1318
  return r;
1319
1319
  }
1320
- var yg = gg, bg = fi, mg = yg, $g = pi;
1321
- function _g(e) {
1322
- return $g(e) ? bg(e, !0) : mg(e);
1320
+ var yv = vv, bv = fi, mv = yv, $v = gi;
1321
+ function _v(e) {
1322
+ return $v(e) ? bv(e, !0) : mv(e);
1323
1323
  }
1324
- var ia = _g, wg = an, Sg = ia;
1325
- function Tg(e, t) {
1326
- return e && wg(t, Sg(t), e);
1324
+ var ia = _v, wv = an, Sv = ia;
1325
+ function Tv(e, t) {
1326
+ return e && wv(t, Sv(t), e);
1327
1327
  }
1328
- var Cg = Tg, Rr = { exports: {} };
1328
+ var Cv = Tv, Rr = { exports: {} };
1329
1329
  Rr.exports;
1330
1330
  (function(e, t) {
1331
1331
  var r = ot, n = t && !t.nodeType && t, a = n && !0 && e && !e.nodeType && e, o = a && a.exports === n, i = o ? r.Buffer : void 0, s = i ? i.allocUnsafe : void 0;
1332
- function l(u, h) {
1332
+ function l(c, h) {
1333
1333
  if (h)
1334
- return u.slice();
1335
- var d = u.length, v = s ? s(d) : new u.constructor(d);
1336
- return u.copy(v), v;
1334
+ return c.slice();
1335
+ var d = c.length, p = s ? s(d) : new c.constructor(d);
1336
+ return c.copy(p), p;
1337
1337
  }
1338
1338
  e.exports = l;
1339
1339
  })(Rr, Rr.exports);
1340
- var Og = Rr.exports;
1341
- function Ig(e, t) {
1340
+ var Ov = Rr.exports;
1341
+ function Iv(e, t) {
1342
1342
  var r = -1, n = e.length;
1343
1343
  for (t || (t = Array(n)); ++r < n; )
1344
1344
  t[r] = e[r];
1345
1345
  return t;
1346
1346
  }
1347
- var Eg = Ig;
1348
- function Ag(e, t) {
1347
+ var Ev = Iv;
1348
+ function Av(e, t) {
1349
1349
  for (var r = -1, n = e == null ? 0 : e.length, a = 0, o = []; ++r < n; ) {
1350
1350
  var i = e[r];
1351
1351
  t(i, r, e) && (o[a++] = i);
1352
1352
  }
1353
1353
  return o;
1354
1354
  }
1355
- var Dg = Ag;
1356
- function xg() {
1355
+ var Dv = Av;
1356
+ function xv() {
1357
1357
  return [];
1358
1358
  }
1359
- var vi = xg, jg = Dg, kg = vi, Pg = Object.prototype, Ng = Pg.propertyIsEnumerable, ao = Object.getOwnPropertySymbols, Mg = ao ? function(e) {
1360
- return e == null ? [] : (e = Object(e), jg(ao(e), function(t) {
1361
- return Ng.call(e, t);
1359
+ var pi = xv, jv = Dv, kv = pi, Pv = Object.prototype, Nv = Pv.propertyIsEnumerable, ao = Object.getOwnPropertySymbols, Mv = ao ? function(e) {
1360
+ return e == null ? [] : (e = Object(e), jv(ao(e), function(t) {
1361
+ return Nv.call(e, t);
1362
1362
  }));
1363
- } : kg, sa = Mg, Lg = an, zg = sa;
1364
- function Fg(e, t) {
1365
- return Lg(e, zg(e), t);
1363
+ } : kv, sa = Mv, Lv = an, zv = sa;
1364
+ function Fv(e, t) {
1365
+ return Lv(e, zv(e), t);
1366
1366
  }
1367
- var Kg = Fg;
1368
- function Bg(e, t) {
1367
+ var Kv = Fv;
1368
+ function Bv(e, t) {
1369
1369
  for (var r = -1, n = t.length, a = e.length; ++r < n; )
1370
1370
  e[a + r] = t[r];
1371
1371
  return e;
1372
1372
  }
1373
- var gi = Bg, Rg = hi, Ug = Rg(Object.getPrototypeOf, Object), yi = Ug, Vg = gi, Gg = yi, Hg = sa, Wg = vi, Yg = Object.getOwnPropertySymbols, Xg = Yg ? function(e) {
1373
+ var vi = Bv, Rv = hi, Uv = Rv(Object.getPrototypeOf, Object), yi = Uv, Vv = vi, Gv = yi, Hv = sa, Wv = pi, Yv = Object.getOwnPropertySymbols, Xv = Yv ? function(e) {
1374
1374
  for (var t = []; e; )
1375
- Vg(t, Hg(e)), e = Gg(e);
1375
+ Vv(t, Hv(e)), e = Gv(e);
1376
1376
  return t;
1377
- } : Wg, bi = Xg, qg = an, Jg = bi;
1378
- function Zg(e, t) {
1379
- return qg(e, Jg(e), t);
1377
+ } : Wv, bi = Xv, qv = an, Jv = bi;
1378
+ function Zv(e, t) {
1379
+ return qv(e, Jv(e), t);
1380
1380
  }
1381
- var Qg = Zg, ey = gi, ty = ta;
1381
+ var Qv = Zv, ey = vi, ty = ta;
1382
1382
  function ry(e, t, r) {
1383
1383
  var n = t(e);
1384
1384
  return ty(e) ? n : ey(n, r(e));
@@ -1387,17 +1387,17 @@ var mi = ry, ny = mi, ay = sa, oy = oa;
1387
1387
  function iy(e) {
1388
1388
  return ny(e, oy, ay);
1389
1389
  }
1390
- var sy = iy, ly = mi, uy = bi, cy = ia;
1390
+ var sy = iy, ly = mi, cy = bi, uy = ia;
1391
1391
  function dy(e) {
1392
- return ly(e, cy, uy);
1392
+ return ly(e, uy, cy);
1393
1393
  }
1394
- var fy = dy, hy = xt, py = ot, vy = hy(py, "DataView"), gy = vy, yy = xt, by = ot, my = yy(by, "Promise"), $y = my, _y = xt, wy = ot, Sy = _y(wy, "Set"), Ty = Sy, Cy = xt, Oy = ot, Iy = Cy(Oy, "WeakMap"), Ey = Iy, jn = gy, kn = ea, Pn = $y, Nn = Ty, Mn = Ey, $i = tn, rr = ii, oo = "[object Map]", Ay = "[object Object]", io = "[object Promise]", so = "[object Set]", lo = "[object WeakMap]", uo = "[object DataView]", Dy = rr(jn), xy = rr(kn), jy = rr(Pn), ky = rr(Nn), Py = rr(Mn), Ot = $i;
1395
- (jn && Ot(new jn(new ArrayBuffer(1))) != uo || kn && Ot(new kn()) != oo || Pn && Ot(Pn.resolve()) != io || Nn && Ot(new Nn()) != so || Mn && Ot(new Mn()) != lo) && (Ot = function(e) {
1394
+ var fy = dy, hy = xt, gy = ot, py = hy(gy, "DataView"), vy = py, yy = xt, by = ot, my = yy(by, "Promise"), $y = my, _y = xt, wy = ot, Sy = _y(wy, "Set"), Ty = Sy, Cy = xt, Oy = ot, Iy = Cy(Oy, "WeakMap"), Ey = Iy, jn = vy, kn = ea, Pn = $y, Nn = Ty, Mn = Ey, $i = tn, rr = ii, oo = "[object Map]", Ay = "[object Object]", io = "[object Promise]", so = "[object Set]", lo = "[object WeakMap]", co = "[object DataView]", Dy = rr(jn), xy = rr(kn), jy = rr(Pn), ky = rr(Nn), Py = rr(Mn), Ot = $i;
1395
+ (jn && Ot(new jn(new ArrayBuffer(1))) != co || kn && Ot(new kn()) != oo || Pn && Ot(Pn.resolve()) != io || Nn && Ot(new Nn()) != so || Mn && Ot(new Mn()) != lo) && (Ot = function(e) {
1396
1396
  var t = $i(e), r = t == Ay ? e.constructor : void 0, n = r ? rr(r) : "";
1397
1397
  if (n)
1398
1398
  switch (n) {
1399
1399
  case Dy:
1400
- return uo;
1400
+ return co;
1401
1401
  case xy:
1402
1402
  return oo;
1403
1403
  case jy:
@@ -1414,12 +1414,12 @@ function Ly(e) {
1414
1414
  var t = e.length, r = new e.constructor(t);
1415
1415
  return t && typeof e[0] == "string" && My.call(e, "index") && (r.index = e.index, r.input = e.input), r;
1416
1416
  }
1417
- var zy = Ly, Fy = ot, Ky = Fy.Uint8Array, By = Ky, co = By;
1417
+ var zy = Ly, Fy = ot, Ky = Fy.Uint8Array, By = Ky, uo = By;
1418
1418
  function Ry(e) {
1419
1419
  var t = new e.constructor(e.byteLength);
1420
- return new co(t).set(new co(e)), t;
1420
+ return new uo(t).set(new uo(e)), t;
1421
1421
  }
1422
- var ua = Ry, Uy = ua;
1422
+ var ca = Ry, Uy = ca;
1423
1423
  function Vy(e, t) {
1424
1424
  var r = t ? Uy(e.buffer) : e.buffer;
1425
1425
  return new e.constructor(r, e.byteOffset, e.byteLength);
@@ -1429,16 +1429,16 @@ function Wy(e) {
1429
1429
  var t = new e.constructor(e.source, Hy.exec(e));
1430
1430
  return t.lastIndex = e.lastIndex, t;
1431
1431
  }
1432
- var Yy = Wy, fo = Qn, ho = fo ? fo.prototype : void 0, po = ho ? ho.valueOf : void 0;
1432
+ var Yy = Wy, fo = Qn, ho = fo ? fo.prototype : void 0, go = ho ? ho.valueOf : void 0;
1433
1433
  function Xy(e) {
1434
- return po ? Object(po.call(e)) : {};
1434
+ return go ? Object(go.call(e)) : {};
1435
1435
  }
1436
- var qy = Xy, Jy = ua;
1436
+ var qy = Xy, Jy = ca;
1437
1437
  function Zy(e, t) {
1438
1438
  var r = t ? Jy(e.buffer) : e.buffer;
1439
1439
  return new e.constructor(r, e.byteOffset, e.length);
1440
1440
  }
1441
- var Qy = Zy, eb = ua, tb = Gy, rb = Yy, nb = qy, ab = Qy, ob = "[object Boolean]", ib = "[object Date]", sb = "[object Map]", lb = "[object Number]", ub = "[object RegExp]", cb = "[object Set]", db = "[object String]", fb = "[object Symbol]", hb = "[object ArrayBuffer]", pb = "[object DataView]", vb = "[object Float32Array]", gb = "[object Float64Array]", yb = "[object Int8Array]", bb = "[object Int16Array]", mb = "[object Int32Array]", $b = "[object Uint8Array]", _b = "[object Uint8ClampedArray]", wb = "[object Uint16Array]", Sb = "[object Uint32Array]";
1441
+ var Qy = Zy, eb = ca, tb = Gy, rb = Yy, nb = qy, ab = Qy, ob = "[object Boolean]", ib = "[object Date]", sb = "[object Map]", lb = "[object Number]", cb = "[object RegExp]", ub = "[object Set]", db = "[object String]", fb = "[object Symbol]", hb = "[object ArrayBuffer]", gb = "[object DataView]", pb = "[object Float32Array]", vb = "[object Float64Array]", yb = "[object Int8Array]", bb = "[object Int16Array]", mb = "[object Int32Array]", $b = "[object Uint8Array]", _b = "[object Uint8ClampedArray]", wb = "[object Uint16Array]", Sb = "[object Uint32Array]";
1442
1442
  function Tb(e, t, r) {
1443
1443
  var n = e.constructor;
1444
1444
  switch (t) {
@@ -1447,10 +1447,10 @@ function Tb(e, t, r) {
1447
1447
  case ob:
1448
1448
  case ib:
1449
1449
  return new n(+e);
1450
- case pb:
1450
+ case gb:
1451
1451
  return tb(e, r);
1452
+ case pb:
1452
1453
  case vb:
1453
- case gb:
1454
1454
  case yb:
1455
1455
  case bb:
1456
1456
  case mb:
@@ -1464,22 +1464,22 @@ function Tb(e, t, r) {
1464
1464
  case lb:
1465
1465
  case db:
1466
1466
  return new n(e);
1467
- case ub:
1468
- return rb(e);
1469
1467
  case cb:
1468
+ return rb(e);
1469
+ case ub:
1470
1470
  return new n();
1471
1471
  case fb:
1472
1472
  return nb(e);
1473
1473
  }
1474
1474
  }
1475
- var Cb = Tb, Ob = mr, vo = Object.create, Ib = /* @__PURE__ */ function() {
1475
+ var Cb = Tb, Ob = mr, po = Object.create, Ib = /* @__PURE__ */ function() {
1476
1476
  function e() {
1477
1477
  }
1478
1478
  return function(t) {
1479
1479
  if (!Ob(t))
1480
1480
  return {};
1481
- if (vo)
1482
- return vo(t);
1481
+ if (po)
1482
+ return po(t);
1483
1483
  e.prototype = t;
1484
1484
  var r = new e();
1485
1485
  return e.prototype = void 0, r;
@@ -1492,48 +1492,48 @@ var kb = jb, Pb = la, Nb = $r, Mb = "[object Map]";
1492
1492
  function Lb(e) {
1493
1493
  return Nb(e) && Pb(e) == Mb;
1494
1494
  }
1495
- var zb = Lb, Fb = zb, Kb = ra, go = na, yo = go && go.isMap, Bb = yo ? Kb(yo) : Fb, Rb = Bb, Ub = la, Vb = $r, Gb = "[object Set]";
1495
+ var zb = Lb, Fb = zb, Kb = ra, vo = na, yo = vo && vo.isMap, Bb = yo ? Kb(yo) : Fb, Rb = Bb, Ub = la, Vb = $r, Gb = "[object Set]";
1496
1496
  function Hb(e) {
1497
1497
  return Vb(e) && Ub(e) == Gb;
1498
1498
  }
1499
- var Wb = Hb, Yb = Wb, Xb = ra, bo = na, mo = bo && bo.isSet, qb = mo ? Xb(mo) : Yb, Jb = qb, Zb = pp, Qb = gp, em = li, tm = lg, rm = Cg, nm = Og, am = Eg, om = Kg, im = Qg, sm = sy, lm = fy, um = la, cm = zy, dm = Cb, fm = kb, hm = ta, pm = ci, vm = Rb, gm = mr, ym = Jb, bm = oa, mm = ia, $m = 1, _m = 2, wm = 4, _i = "[object Arguments]", Sm = "[object Array]", Tm = "[object Boolean]", Cm = "[object Date]", Om = "[object Error]", wi = "[object Function]", Im = "[object GeneratorFunction]", Em = "[object Map]", Am = "[object Number]", Si = "[object Object]", Dm = "[object RegExp]", xm = "[object Set]", jm = "[object String]", km = "[object Symbol]", Pm = "[object WeakMap]", Nm = "[object ArrayBuffer]", Mm = "[object DataView]", Lm = "[object Float32Array]", zm = "[object Float64Array]", Fm = "[object Int8Array]", Km = "[object Int16Array]", Bm = "[object Int32Array]", Rm = "[object Uint8Array]", Um = "[object Uint8ClampedArray]", Vm = "[object Uint16Array]", Gm = "[object Uint32Array]", ce = {};
1500
- ce[_i] = ce[Sm] = ce[Nm] = ce[Mm] = ce[Tm] = ce[Cm] = ce[Lm] = ce[zm] = ce[Fm] = ce[Km] = ce[Bm] = ce[Em] = ce[Am] = ce[Si] = ce[Dm] = ce[xm] = ce[jm] = ce[km] = ce[Rm] = ce[Um] = ce[Vm] = ce[Gm] = !0;
1501
- ce[Om] = ce[wi] = ce[Pm] = !1;
1499
+ var Wb = Hb, Yb = Wb, Xb = ra, bo = na, mo = bo && bo.isSet, qb = mo ? Xb(mo) : Yb, Jb = qb, Zb = gg, Qb = vg, em = li, tm = lv, rm = Cv, nm = Ov, am = Ev, om = Kv, im = Qv, sm = sy, lm = fy, cm = la, um = zy, dm = Cb, fm = kb, hm = ta, gm = ui, pm = Rb, vm = mr, ym = Jb, bm = oa, mm = ia, $m = 1, _m = 2, wm = 4, _i = "[object Arguments]", Sm = "[object Array]", Tm = "[object Boolean]", Cm = "[object Date]", Om = "[object Error]", wi = "[object Function]", Im = "[object GeneratorFunction]", Em = "[object Map]", Am = "[object Number]", Si = "[object Object]", Dm = "[object RegExp]", xm = "[object Set]", jm = "[object String]", km = "[object Symbol]", Pm = "[object WeakMap]", Nm = "[object ArrayBuffer]", Mm = "[object DataView]", Lm = "[object Float32Array]", zm = "[object Float64Array]", Fm = "[object Int8Array]", Km = "[object Int16Array]", Bm = "[object Int32Array]", Rm = "[object Uint8Array]", Um = "[object Uint8ClampedArray]", Vm = "[object Uint16Array]", Gm = "[object Uint32Array]", ue = {};
1500
+ ue[_i] = ue[Sm] = ue[Nm] = ue[Mm] = ue[Tm] = ue[Cm] = ue[Lm] = ue[zm] = ue[Fm] = ue[Km] = ue[Bm] = ue[Em] = ue[Am] = ue[Si] = ue[Dm] = ue[xm] = ue[jm] = ue[km] = ue[Rm] = ue[Um] = ue[Vm] = ue[Gm] = !0;
1501
+ ue[Om] = ue[wi] = ue[Pm] = !1;
1502
1502
  function jr(e, t, r, n, a, o) {
1503
- var i, s = t & $m, l = t & _m, u = t & wm;
1503
+ var i, s = t & $m, l = t & _m, c = t & wm;
1504
1504
  if (r && (i = a ? r(e, n, a, o) : r(e)), i !== void 0)
1505
1505
  return i;
1506
- if (!gm(e))
1506
+ if (!vm(e))
1507
1507
  return e;
1508
1508
  var h = hm(e);
1509
1509
  if (h) {
1510
- if (i = cm(e), !s)
1510
+ if (i = um(e), !s)
1511
1511
  return am(e, i);
1512
1512
  } else {
1513
- var d = um(e), v = d == wi || d == Im;
1514
- if (pm(e))
1513
+ var d = cm(e), p = d == wi || d == Im;
1514
+ if (gm(e))
1515
1515
  return nm(e, s);
1516
- if (d == Si || d == _i || v && !a) {
1517
- if (i = l || v ? {} : fm(e), !s)
1516
+ if (d == Si || d == _i || p && !a) {
1517
+ if (i = l || p ? {} : fm(e), !s)
1518
1518
  return l ? im(e, rm(i, e)) : om(e, tm(i, e));
1519
1519
  } else {
1520
- if (!ce[d])
1520
+ if (!ue[d])
1521
1521
  return a ? e : {};
1522
1522
  i = dm(e, d, s);
1523
1523
  }
1524
1524
  }
1525
1525
  o || (o = new Zb());
1526
- var I = o.get(e);
1527
- if (I)
1528
- return I;
1529
- o.set(e, i), ym(e) ? e.forEach(function(b) {
1530
- i.add(jr(b, t, r, b, e, o));
1531
- }) : vm(e) && e.forEach(function(b, k) {
1532
- i.set(k, jr(b, t, r, k, e, o));
1526
+ var E = o.get(e);
1527
+ if (E)
1528
+ return E;
1529
+ o.set(e, i), ym(e) ? e.forEach(function(y) {
1530
+ i.add(jr(y, t, r, y, e, o));
1531
+ }) : pm(e) && e.forEach(function(y, k) {
1532
+ i.set(k, jr(y, t, r, k, e, o));
1533
1533
  });
1534
- var _ = u ? l ? lm : sm : l ? mm : bm, S = h ? void 0 : _(e);
1535
- return Qb(S || e, function(b, k) {
1536
- S && (k = b, b = e[k]), em(i, k, jr(b, t, r, k, e, o));
1534
+ var w = c ? l ? lm : sm : l ? mm : bm, S = h ? void 0 : w(e);
1535
+ return Qb(S || e, function(y, k) {
1536
+ S && (k = y, y = e[k]), em(i, k, jr(y, t, r, k, e, o));
1537
1537
  }), i;
1538
1538
  }
1539
1539
  var Hm = jr, Wm = Hm, Ym = 1, Xm = 4;
@@ -1541,114 +1541,121 @@ function qm(e) {
1541
1541
  return Wm(e, Ym | Xm);
1542
1542
  }
1543
1543
  var Jm = qm;
1544
- const zt = /* @__PURE__ */ $d(Jm), Zm = (e, t, r, n, a, o, i, s, l, u, h, d, v, I, _, S, b, k, N, P, C, x, $) => {
1545
- const V = te([]), Q = te(!1), R = te(null), D = te(null);
1544
+ const zt = /* @__PURE__ */ $d(Jm), Zm = (e, t, r, n, a, o, i, s, l, c, h, d, p, E, w, S, y, k, N, A, C, x, m) => {
1545
+ const V = te([]), Q = te(!1), R = te(null), j = te(null);
1546
1546
  _t(
1547
1547
  () => Q.value,
1548
- (E) => {
1549
- if (!E) {
1550
- D.value && D.value.close();
1548
+ (I) => {
1549
+ if (!I) {
1550
+ j.value && j.value.close();
1551
1551
  return;
1552
1552
  }
1553
- D.value = n.value && Sa.service({
1553
+ j.value = n.value && Sa.service({
1554
1554
  target: n.value
1555
1555
  });
1556
1556
  }
1557
1557
  );
1558
- const q = async (E, J) => {
1558
+ const X = async (I, W) => {
1559
1559
  if (e.load)
1560
- return await e.load(E, J);
1561
- }, Y = async () => {
1560
+ return await e.load(I, W);
1561
+ }, q = async () => {
1562
1562
  if (e.search)
1563
1563
  return await e.search(o.value);
1564
- }, L = te([]), oe = te([]), me = te([]), ae = te(!1), xe = async () => {
1564
+ }, L = te([]), ie = te([]), be = te([]), ae = te(!1), xe = async () => {
1565
1565
  if (!(!e.batchLoad || !L.value.length))
1566
1566
  try {
1567
- let E = 0;
1568
- const J = 10, G = L.value.map((g) => g[e.nodeKey]);
1569
- let ie = !1;
1570
- for (; !ie && E < J; ) {
1571
- if (await h(), await ge(), !r.value) {
1572
- E++, await new Promise((j) => setTimeout(j, 100));
1567
+ let I = 0;
1568
+ const W = 10, G = L.value.map((v) => v[e.nodeKey]);
1569
+ let se = !1;
1570
+ for (; !se && I < W; ) {
1571
+ if (await h(), await ve(), !r.value) {
1572
+ I++, console.log(`[Tree-v2] 等待 Tree 实例准备... (${I}/${W})`), await new Promise((P) => setTimeout(P, 100));
1573
1573
  continue;
1574
1574
  }
1575
- r.value.getNode(G[0]) ? ie = !0 : (E++, await new Promise((j) => setTimeout(j, 100)));
1575
+ r.value.getNode(G[0]) ? (se = !0, console.log("[Tree-v2] 节点准备完成,开始批量加载")) : (I++, console.log(`[Tree-v2] 等待节点准备... (${I}/${W})`), await new Promise((P) => setTimeout(P, 100)));
1576
1576
  }
1577
- if (!ie || !r.value)
1577
+ if (!se || !r.value) {
1578
+ console.error("[Tree-v2] Tree 实例或节点未准备好,批量加载取消(已重试", W, "次)");
1578
1579
  return;
1580
+ }
1581
+ console.log("[Tree-v2] 开始批量加载", G.length, "个节点");
1579
1582
  const le = await e.batchLoad(G);
1580
- await ge();
1581
- let f = 0, m = [];
1582
- for (const g of G) {
1583
- const j = r.value.getNode(g);
1584
- if (!j)
1583
+ console.log("[Tree-v2] 批量加载返回:", Object.keys(le).length, "个节点的数据"), await ve();
1584
+ let f = 0, $ = [];
1585
+ for (const v of G) {
1586
+ const P = r.value.getNode(v);
1587
+ if (!P) {
1588
+ console.warn("[Tree-v2] 节点不存在,跳过:", v);
1585
1589
  continue;
1586
- const w = le[g] || [];
1587
- if (j.loaded = !0, j.loading = !1, w.length > 0) {
1588
- const ee = w.map((re) => {
1589
- var he, $e, Ce;
1590
- return !re[s.value.isLeaf] && (!((he = re.children) != null && he.length) || !((Ce = ($e = re.children) == null ? void 0 : $e[0]) != null && Ce[e.nodeKey])) ? {
1590
+ }
1591
+ const _ = le[v] || [];
1592
+ if (P.loaded = !0, P.loading = !1, _.length > 0) {
1593
+ const ee = _.map((re) => {
1594
+ var he, me, Ce;
1595
+ return !re[s.value.isLeaf] && (!((he = re.children) != null && he.length) || !((Ce = (me = re.children) == null ? void 0 : me[0]) != null && Ce[e.nodeKey])) ? {
1591
1596
  ...re,
1592
1597
  children: [{ [e.nodeKey]: "", [s.value.label]: "" }]
1593
1598
  } : re;
1594
1599
  });
1595
- C(x.value, g, {
1600
+ C(x.value, v, {
1596
1601
  [s.value.children]: ee,
1597
1602
  _hasLoadData: !0
1598
- }), m = [...m, ...w], f++;
1603
+ }), $ = [...$, ..._], f++;
1599
1604
  }
1600
1605
  }
1601
- m.length > 0 && (_.value = cr([..._.value, ...m], e.nodeKey)), P();
1602
- } catch {
1606
+ $.length > 0 && (w.value = ur([...w.value, ...$], e.nodeKey)), A(), console.log("[Tree-v2] 批量加载完成,成功设置", f, "个节点");
1607
+ } catch (I) {
1608
+ console.error("[Tree-v2] 批量加载失败:", I);
1603
1609
  }
1604
- }, Oe = async (E, J, G = !1) => {
1605
- var g, j;
1606
- await ge(), !R.value && n.value && (ae.value = !0, R.value = Sa.service({
1610
+ }, Oe = async (I, W, G = !1) => {
1611
+ var v, P;
1612
+ await ve(), !R.value && n.value && (ae.value = !0, R.value = Sa.service({
1607
1613
  target: n.value
1608
1614
  }));
1609
- let ie = {};
1610
- I(E.data, E) ? ie = { data: [] } : ie = await q(E.data, E.level), R.value && (R.value.close(), ae.value = !1);
1611
- let { data: le } = ie;
1615
+ let se = {};
1616
+ E(I.data, I) ? se = { data: [] } : se = await X(I.data, I.level), R.value && (R.value.close(), ae.value = !1);
1617
+ let { data: le } = se;
1612
1618
  le || (le = []);
1613
1619
  let f = [];
1614
- const m = ((g = E == null ? void 0 : E.childNodes) == null ? void 0 : g.map((w) => w.data)) || [];
1615
- if (le && m.length && le.length && m.length === le.length) {
1616
- const w = Object.keys(le[0]), ee = m.map(($e) => {
1620
+ const $ = ((v = I == null ? void 0 : I.childNodes) == null ? void 0 : v.map((_) => _.data)) || [];
1621
+ if (le && $.length && le.length && $.length === le.length) {
1622
+ const _ = Object.keys(le[0]), ee = $.map((me) => {
1617
1623
  let Ce = {};
1618
- return w.forEach((et) => Ce[et] = $e[et]), Ce;
1619
- }), re = le.map(($e) => {
1624
+ return _.forEach((et) => Ce[et] = me[et]), Ce;
1625
+ }), re = le.map((me) => {
1620
1626
  let Ce = {};
1621
- return w.forEach((et) => Ce[et] = $e[et]), Ce;
1627
+ return _.forEach((et) => Ce[et] = me[et]), Ce;
1622
1628
  });
1623
1629
  if (JSON.stringify(ee) === JSON.stringify(re))
1624
- return E.loaded = !0, E.loading = !1, [];
1630
+ return I.loaded = !0, I.loading = !1, [];
1625
1631
  }
1626
- if (E.level === 0) {
1632
+ if (I.level === 0) {
1627
1633
  if (L.value = le, e.defaultExpandRoot) {
1628
- const w = (j = L.value) == null ? void 0 : j.map((ee) => ee[e.nodeKey]);
1629
- e.batchLoad && L.value.length > 0 ? ge(async () => {
1634
+ const _ = (P = L.value) == null ? void 0 : P.map((ee) => ee[e.nodeKey]);
1635
+ e.batchLoad && L.value.length > 0 ? ve(async () => {
1630
1636
  try {
1631
- await xe(), await ge(), await ge(), b.value = zt(w), await ge(), r.value && r.value.setExpandedKeys(w);
1632
- } catch {
1637
+ await xe(), await ve(), await ve(), console.log("[Tree-v2] 准备展开节点:", _), y.value = zt(_), await ve(), r.value ? (r.value.setExpandedKeys(_), console.log("[Tree-v2] 节点展开完成")) : console.warn("[Tree-v2] treeRef 不存在,无法展开节点");
1638
+ } catch (ee) {
1639
+ console.error("[Tree-v2] 展开节点失败:", ee);
1633
1640
  }
1634
- }) : b.value = zt(w);
1641
+ }) : y.value = zt(_);
1635
1642
  }
1636
- G || (oe.value.push(E), me.value.push(J));
1643
+ G || (ie.value.push(I), be.value.push(W));
1637
1644
  }
1638
- if (_.value = cr([..._.value, ...le, ...f], e.nodeKey), J && J(le), E.level === 0)
1639
- le.forEach((w) => {
1645
+ if (w.value = ur([...w.value, ...le, ...f], e.nodeKey), W && W(le), I.level === 0)
1646
+ le.forEach((_) => {
1640
1647
  var ee, re, he;
1641
- !w[s.value.isLeaf] && (!((ee = w.children) != null && ee.length) || !((he = (re = w.children) == null ? void 0 : re[0]) != null && he[e.nodeKey])) && (w.children = [{ [e.nodeKey]: "", [s.value.label]: "" }]);
1642
- }), P(le);
1648
+ !_[s.value.isLeaf] && (!((ee = _.children) != null && ee.length) || !((he = (re = _.children) == null ? void 0 : re[0]) != null && he[e.nodeKey])) && (_.children = [{ [e.nodeKey]: "", [s.value.label]: "" }]);
1649
+ }), A(le), console.log("\\\\\\\\\\\\\\\\", m, y);
1643
1650
  else {
1644
- let w = cr([...le], e.nodeKey).filter((ee) => ee[e.nodeKey]).map((ee) => {
1645
- var re, he, $e;
1646
- return !ee[s.value.isLeaf] && (!((re = ee.children) != null && re.length) || !(($e = (he = ee.children) == null ? void 0 : he[0]) != null && $e[e.nodeKey])) && (ee.children = [{ [e.nodeKey]: "", [s.value.label]: "" }]), ee;
1651
+ let _ = ur([...le], e.nodeKey).filter((ee) => ee[e.nodeKey]).map((ee) => {
1652
+ var re, he, me;
1653
+ return !ee[s.value.isLeaf] && (!((re = ee.children) != null && re.length) || !((me = (he = ee.children) == null ? void 0 : he[0]) != null && me[e.nodeKey])) && (ee.children = [{ [e.nodeKey]: "", [s.value.label]: "" }]), ee;
1647
1654
  });
1648
- C(x.value, E.data[e.nodeKey], {
1649
- [s.value.children]: w,
1655
+ console.log(_), C(x.value, I.data[e.nodeKey], {
1656
+ [s.value.children]: _,
1650
1657
  _hasLoadData: !0
1651
- }), P();
1658
+ }), A();
1652
1659
  }
1653
1660
  return le;
1654
1661
  }, Je = async () => {
@@ -1657,98 +1664,98 @@ const zt = /* @__PURE__ */ $d(Jm), Zm = (e, t, r, n, a, o, i, s, l, u, h, d, v,
1657
1664
  V.value = [];
1658
1665
  return;
1659
1666
  }
1660
- const J = await Y();
1661
- J.length === 0 && J.push({ [s.value.label]: He("暂无数据"), id: "nodata" }), V.value = J;
1667
+ const W = await q();
1668
+ W.length === 0 && W.push({ [s.value.label]: He("暂无数据"), id: "nodata" }), V.value = W;
1662
1669
  }, jt = () => {
1663
1670
  V.value = [];
1664
- }, Ze = async (E, J = !1) => {
1665
- var f, m, g, j, w, ee, re, he, $e, Ce, et;
1666
- let G = E ?? {};
1667
- if (V.value = [], o.value = "", Q.value || J && d(G, null) || (G.path || (G.path = G[e.nodeKey] ?? ""), !G.path)) return;
1668
- const ie = G.path.split(/[\/,]/);
1669
- if (ie[0] !== e.rootNodeId && ie.unshift(e.rootNodeId + ""), (f = r.value) == null ? void 0 : f.getNode(G[e.nodeKey])) {
1671
+ }, Ze = async (I, W = !1) => {
1672
+ var f, $, v, P, _, ee, re, he, me, Ce, et;
1673
+ let G = I ?? {};
1674
+ if (V.value = [], o.value = "", Q.value || W && d(G, null) || (G.path || (G.path = G[e.nodeKey] ?? ""), !G.path)) return;
1675
+ const se = G.path.split(/[\/,]/);
1676
+ if (se[0] !== e.rootNodeId && se.unshift(e.rootNodeId + ""), console.log(r == null ? void 0 : r.value), (f = r.value) == null ? void 0 : f.getNode(G[e.nodeKey])) {
1670
1677
  if (!e.showCheckbox)
1671
- u(G);
1672
- else if (J) {
1678
+ c(G);
1679
+ else if (W) {
1673
1680
  const We = (ee = L.value) == null ? void 0 : ee.find((Ie) => Ie[e.nodeKey] === G[e.nodeKey]);
1674
1681
  if (!(e.hideRootCheckbox && We)) {
1675
1682
  const Ie = i.value.includes(G[e.nodeKey]) ? zt(i.value) : zt([...i.value, G[e.nodeKey]]);
1676
- (re = r.value) == null || re.setCheckedKeys(Ie), S(G, { checkedKeys: [...Ie] }, J);
1683
+ (re = r.value) == null || re.setCheckedKeys(Ie), S(G, { checkedKeys: [...Ie] }, W);
1677
1684
  }
1678
1685
  G[e.nodeKey] && ((he = r.value) == null || he.setCurrentKey(G[e.nodeKey]));
1679
1686
  }
1680
- for (const We of ie) {
1681
- await ge();
1682
- const Ie = ($e = r.value) == null ? void 0 : $e.getNode(We);
1683
- Ie && (await Oe(Ie), await ge());
1687
+ for (const We of se) {
1688
+ await ve();
1689
+ const Ie = (me = r.value) == null ? void 0 : me.getNode(We);
1690
+ Ie && (await Oe(Ie), await ve());
1684
1691
  }
1685
- (Ce = r.value) == null || Ce.setExpandedKeys(ie), (et = r.value) == null || et.setCurrentKey(G[e.nodeKey]), t("filter-node-click", G);
1692
+ (Ce = r.value) == null || Ce.setExpandedKeys(se), (et = r.value) == null || et.setCurrentKey(G[e.nodeKey]), t("filter-node-click", G);
1686
1693
  } else {
1687
1694
  let We = "", Ie = {};
1688
1695
  Q.value = !0;
1689
- for (const vt of ie) {
1690
- await ge();
1691
- const gt = (m = r.value) == null ? void 0 : m.getNode(vt);
1692
- if (gt) {
1693
- if (gt.loaded) {
1696
+ for (const vt of se) {
1697
+ await ve();
1698
+ const st = ($ = r.value) == null ? void 0 : $.getNode(vt);
1699
+ if (console.log(st), !!st) {
1700
+ if (st.loaded) {
1694
1701
  We = vt;
1695
1702
  continue;
1696
1703
  }
1697
- gt.loading = !0, gt.childNodes = [], await Oe(gt), (g = r.value) == null || g.setExpandedKeys(ie), await ge(), We = vt, Ie = gt.data;
1704
+ st.loading = !0, st.childNodes = [], await Oe(st), (v = r.value) == null || v.setExpandedKeys(se), await ve(), We = vt, Ie = st.data;
1698
1705
  }
1699
1706
  }
1700
- if (J && Ie) {
1707
+ if (W && Ie) {
1701
1708
  if (!e.showCheckbox)
1702
- u(Ie);
1709
+ c(Ie);
1703
1710
  else {
1704
1711
  const vt = i.value.includes(We) ? zt(i.value) : zt([...i.value, We]);
1705
- (j = r.value) == null || j.setCheckedKeys(vt), S(Ie, { checkedKeys: [...vt] }, J), Ie[e.nodeKey] && ((w = r.value) == null || w.setCurrentKey(Ie[e.nodeKey]));
1712
+ (P = r.value) == null || P.setCheckedKeys(vt), S(Ie, { checkedKeys: [...vt] }, W), Ie[e.nodeKey] && ((_ = r.value) == null || _.setCurrentKey(Ie[e.nodeKey]));
1706
1713
  }
1707
1714
  t("filter-node-click", Ie);
1708
1715
  }
1709
1716
  }
1710
1717
  return Q.value = !1, !0;
1711
1718
  }, Qe = async () => {
1712
- let E = e.defaultExpandedPaths || [];
1713
- if (e.showCheckbox ? l.value && l.value.length && (E = [...E, ...l.value]) : l.value && (E = E == null ? void 0 : E.concat(l.value)), E.length) {
1714
- E = Array.from(new Set(E));
1715
- for (const J of E)
1716
- await Ze({ path: J });
1719
+ let I = e.defaultExpandedPaths || [];
1720
+ if (e.showCheckbox ? l.value && l.value.length && (I = [...I, ...l.value]) : l.value && (I = I == null ? void 0 : I.concat(l.value)), I.length) {
1721
+ I = Array.from(new Set(I));
1722
+ for (const W of I)
1723
+ await Ze({ path: W });
1717
1724
  }
1718
1725
  return !0;
1719
- }, it = () => new Promise((E) => {
1720
- const J = () => {
1721
- if (L.value && L.value.length) return E(!0);
1722
- setTimeout(() => J(), 50);
1726
+ }, it = () => new Promise((I) => {
1727
+ const W = () => {
1728
+ if (L.value && L.value.length) return I(!0);
1729
+ setTimeout(() => W(), 50);
1723
1730
  };
1724
- J();
1725
- }), ht = async () => {
1731
+ W();
1732
+ }), gt = async () => {
1726
1733
  await it();
1727
- const E = L.value.find((J) => !I(J));
1728
- N.value = !E;
1734
+ const I = L.value.find((W) => !E(W));
1735
+ N.value = !I;
1729
1736
  }, ke = async () => {
1730
- await h(), await Qe(), e.showOperations || await ht();
1737
+ await h(), await Qe(), e.showOperations || await gt();
1731
1738
  }, kt = async () => {
1732
- var E, J;
1733
- if ((J = (E = r.value) == null ? void 0 : E.store) != null && J.nodesMap && (r.value.store.nodesMap = {}), oe.value.length) {
1734
- for (let G = 0; G < oe.value.length; G++)
1735
- oe.value[G].childNodes = [], ke(), await Oe(oe.value[G], me.value[G], !0);
1739
+ var I, W;
1740
+ if ((W = (I = r.value) == null ? void 0 : I.store) != null && W.nodesMap && (r.value.store.nodesMap = {}), ie.value.length) {
1741
+ for (let G = 0; G < ie.value.length; G++)
1742
+ ie.value[G].childNodes = [], ke(), await Oe(ie.value[G], be.value[G], !0);
1736
1743
  return !0;
1737
1744
  }
1738
- r.value.setExpandedKeys(b.value), pt();
1745
+ console.log("resetLazyLoad", y.value, x), r.value.setExpandedKeys(y.value), pt();
1739
1746
  };
1740
1747
  _t(
1741
1748
  () => e.renderDom,
1742
- (E) => {
1743
- E && kt();
1749
+ (I) => {
1750
+ I && kt();
1744
1751
  }
1745
1752
  );
1746
- const pt = () => new Promise((E) => {
1747
- Oe({ level: 0, data: {}, [s.value.isLeaf]: !0 }, E, !0).then(() => {
1748
- h().then((J) => {
1749
- $.value.forEach(async (G) => {
1750
- let ie = r.value.getNode(G);
1751
- ie && (Oe(ie), r.value.setExpandedKeys($.value));
1753
+ const pt = () => new Promise((I) => {
1754
+ Oe({ level: 0, data: {}, [s.value.isLeaf]: !0 }, I, !0).then(() => {
1755
+ h().then((W) => {
1756
+ m.value.forEach(async (G) => {
1757
+ let se = r.value.getNode(G);
1758
+ se && (Oe(se), r.value.setExpandedKeys(m.value));
1752
1759
  });
1753
1760
  });
1754
1761
  });
@@ -1762,7 +1769,7 @@ const zt = /* @__PURE__ */ $d(Jm), Zm = (e, t, r, n, a, o, i, s, l, u, h, d, v,
1762
1769
  searchData: V,
1763
1770
  firstLoading: ae,
1764
1771
  lazyLoad: Oe,
1765
- search: Y,
1772
+ search: q,
1766
1773
  handleSearch: Je,
1767
1774
  handleSearchClear: jt,
1768
1775
  handleSearchResultItemClick: Ze,
@@ -1770,19 +1777,19 @@ const zt = /* @__PURE__ */ $d(Jm), Zm = (e, t, r, n, a, o, i, s, l, u, h, d, v,
1770
1777
  };
1771
1778
  }, Qm = (e, t, r, n) => {
1772
1779
  let a = 0, o = "";
1773
- const i = (u = "visible", h) => {
1774
- var I;
1780
+ const i = (c = "visible", h) => {
1781
+ var E;
1775
1782
  if (!r.value) return;
1776
- const d = (I = t.value) == null ? void 0 : I.$el.querySelectorAll(".el-tree-node__children"), v = (d == null ? void 0 : d.length) ?? 0;
1777
- !h && o === u && a === v || (a = v, o = u, d && d.length && d.forEach((_) => {
1778
- _.classList.remove(o === "visible" ? "overflow-hide" : "overflow-visible"), _.classList.add(o === "visible" ? "overflow-visible" : "overflow-hide");
1783
+ const d = (E = t.value) == null ? void 0 : E.$el.querySelectorAll(".el-tree-node__children"), p = (d == null ? void 0 : d.length) ?? 0;
1784
+ !h && o === c && a === p || (a = p, o = c, d && d.length && d.forEach((w) => {
1785
+ w.classList.remove(o === "visible" ? "overflow-hide" : "overflow-visible"), w.classList.add(o === "visible" ? "overflow-visible" : "overflow-hide");
1779
1786
  }));
1780
1787
  }, s = new AbortController(), { signal: l } = s;
1781
1788
  return Xr(() => {
1782
1789
  var h;
1783
1790
  if (!r.value) return;
1784
- const u = (h = e.value) == null ? void 0 : h.querySelector(".das-tree-container");
1785
- u && u.addEventListener("mousemove", () => i("visible"), { signal: l });
1791
+ const c = (h = e.value) == null ? void 0 : h.querySelector(".das-tree-container");
1792
+ c && c.addEventListener("mousemove", () => i("visible"), { signal: l });
1786
1793
  }), xo(() => {
1787
1794
  r.value && s.abort();
1788
1795
  }), { setTreeNodeChildrenOverflow: i };
@@ -1830,15 +1837,15 @@ function e$(e, t, r) {
1830
1837
  writable: !0
1831
1838
  }) : e[t] = r, e;
1832
1839
  }
1833
- function ct() {
1834
- return ct = Object.assign || function(e) {
1840
+ function dt() {
1841
+ return dt = Object.assign || function(e) {
1835
1842
  for (var t = 1; t < arguments.length; t++) {
1836
1843
  var r = arguments[t];
1837
1844
  for (var n in r)
1838
1845
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
1839
1846
  }
1840
1847
  return e;
1841
- }, ct.apply(this, arguments);
1848
+ }, dt.apply(this, arguments);
1842
1849
  }
1843
1850
  function t$(e, t) {
1844
1851
  if (e == null) return {};
@@ -1862,15 +1869,15 @@ function ut(e) {
1862
1869
  if (typeof window < "u" && window.navigator)
1863
1870
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
1864
1871
  }
1865
- var ft = ut(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), _r = ut(/Edge/i), _o = ut(/firefox/i), fr = ut(/safari/i) && !ut(/chrome/i) && !ut(/android/i), ca = ut(/iP(ad|od|hone)/i), Ti = ut(/chrome/i) && ut(/android/i), Ci = {
1872
+ var ht = ut(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), _r = ut(/Edge/i), _o = ut(/firefox/i), fr = ut(/safari/i) && !ut(/chrome/i) && !ut(/android/i), ua = ut(/iP(ad|od|hone)/i), Ti = ut(/chrome/i) && ut(/android/i), Ci = {
1866
1873
  capture: !1,
1867
1874
  passive: !1
1868
1875
  };
1869
1876
  function Z(e, t, r) {
1870
- e.addEventListener(t, r, !ft && Ci);
1877
+ e.addEventListener(t, r, !ht && Ci);
1871
1878
  }
1872
- function X(e, t, r) {
1873
- e.removeEventListener(t, r, !ft && Ci);
1879
+ function J(e, t, r) {
1880
+ e.removeEventListener(t, r, !ht && Ci);
1874
1881
  }
1875
1882
  function Ur(e, t) {
1876
1883
  if (t) {
@@ -1948,24 +1955,24 @@ function nt() {
1948
1955
  }
1949
1956
  function Se(e, t, r, n, a) {
1950
1957
  if (!(!e.getBoundingClientRect && e !== window)) {
1951
- var o, i, s, l, u, h, d;
1952
- if (e !== window && e.parentNode && e !== nt() ? (o = e.getBoundingClientRect(), i = o.top, s = o.left, l = o.bottom, u = o.right, h = o.height, d = o.width) : (i = 0, s = 0, l = window.innerHeight, u = window.innerWidth, h = window.innerHeight, d = window.innerWidth), (t || r) && e !== window && (a = a || e.parentNode, !ft))
1958
+ var o, i, s, l, c, h, d;
1959
+ if (e !== window && e.parentNode && e !== nt() ? (o = e.getBoundingClientRect(), i = o.top, s = o.left, l = o.bottom, c = o.right, h = o.height, d = o.width) : (i = 0, s = 0, l = window.innerHeight, c = window.innerWidth, h = window.innerHeight, d = window.innerWidth), (t || r) && e !== window && (a = a || e.parentNode, !ht))
1953
1960
  do
1954
1961
  if (a && a.getBoundingClientRect && (z(a, "transform") !== "none" || r && z(a, "position") !== "static")) {
1955
- var v = a.getBoundingClientRect();
1956
- i -= v.top + parseInt(z(a, "border-top-width")), s -= v.left + parseInt(z(a, "border-left-width")), l = i + o.height, u = s + o.width;
1962
+ var p = a.getBoundingClientRect();
1963
+ i -= p.top + parseInt(z(a, "border-top-width")), s -= p.left + parseInt(z(a, "border-left-width")), l = i + o.height, c = s + o.width;
1957
1964
  break;
1958
1965
  }
1959
1966
  while (a = a.parentNode);
1960
1967
  if (n && e !== window) {
1961
- var I = Vt(a || e), _ = I && I.a, S = I && I.d;
1962
- I && (i /= S, s /= _, d /= _, h /= S, l = i + h, u = s + d);
1968
+ var E = Vt(a || e), w = E && E.a, S = E && E.d;
1969
+ E && (i /= S, s /= w, d /= w, h /= S, l = i + h, c = s + d);
1963
1970
  }
1964
1971
  return {
1965
1972
  top: i,
1966
1973
  left: s,
1967
1974
  bottom: l,
1968
- right: u,
1975
+ right: c,
1969
1976
  width: d,
1970
1977
  height: h
1971
1978
  };
@@ -2042,7 +2049,7 @@ function o$(e, t) {
2042
2049
  t.hasOwnProperty(r) && (e[r] = t[r]);
2043
2050
  return e;
2044
2051
  }
2045
- function vn(e, t) {
2052
+ function pn(e, t) {
2046
2053
  return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
2047
2054
  }
2048
2055
  var hr;
@@ -2071,8 +2078,8 @@ function xi(e, t, r) {
2071
2078
  return Array.from(e.children).forEach(function(a) {
2072
2079
  var o, i, s, l;
2073
2080
  if (!(!Xe(a, t.draggable, e, !1) || a.animated || a === r)) {
2074
- var u = Se(a);
2075
- n.left = Math.min((o = n.left) !== null && o !== void 0 ? o : 1 / 0, u.left), n.top = Math.min((i = n.top) !== null && i !== void 0 ? i : 1 / 0, u.top), n.right = Math.max((s = n.right) !== null && s !== void 0 ? s : -1 / 0, u.right), n.bottom = Math.max((l = n.bottom) !== null && l !== void 0 ? l : -1 / 0, u.bottom);
2081
+ var c = Se(a);
2082
+ n.left = Math.min((o = n.left) !== null && o !== void 0 ? o : 1 / 0, c.left), n.top = Math.min((i = n.top) !== null && i !== void 0 ? i : 1 / 0, c.top), n.right = Math.max((s = n.right) !== null && s !== void 0 ? s : -1 / 0, c.right), n.bottom = Math.max((l = n.bottom) !== null && l !== void 0 ? l : -1 / 0, c.bottom);
2076
2083
  }
2077
2084
  }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
2078
2085
  }
@@ -2115,11 +2122,11 @@ function s$() {
2115
2122
  }
2116
2123
  var o = !1, i = 0;
2117
2124
  e.forEach(function(s) {
2118
- var l = 0, u = s.target, h = u.fromRect, d = Se(u), v = u.prevFromRect, I = u.prevToRect, _ = s.rect, S = Vt(u, !0);
2119
- S && (d.top -= S.f, d.left -= S.e), u.toRect = d, u.thisAnimationDuration && vn(v, d) && !vn(h, d) && // Make sure animatingRect is on line between toRect & fromRect
2120
- (_.top - d.top) / (_.left - d.left) === (h.top - d.top) / (h.left - d.left) && (l = u$(_, v, I, a.options)), vn(d, h) || (u.prevFromRect = h, u.prevToRect = d, l || (l = a.options.animation), a.animate(u, _, d, l)), l && (o = !0, i = Math.max(i, l), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
2121
- u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
2122
- }, l), u.thisAnimationDuration = l);
2125
+ var l = 0, c = s.target, h = c.fromRect, d = Se(c), p = c.prevFromRect, E = c.prevToRect, w = s.rect, S = Vt(c, !0);
2126
+ S && (d.top -= S.f, d.left -= S.e), c.toRect = d, c.thisAnimationDuration && pn(p, d) && !pn(h, d) && // Make sure animatingRect is on line between toRect & fromRect
2127
+ (w.top - d.top) / (w.left - d.left) === (h.top - d.top) / (h.left - d.left) && (l = c$(w, p, E, a.options)), pn(d, h) || (c.prevFromRect = h, c.prevToRect = d, l || (l = a.options.animation), a.animate(c, w, d, l)), l && (o = !0, i = Math.max(i, l), clearTimeout(c.animationResetTimer), c.animationResetTimer = setTimeout(function() {
2128
+ c.animationTime = 0, c.prevFromRect = null, c.fromRect = null, c.prevToRect = null, c.thisAnimationDuration = null;
2129
+ }, l), c.thisAnimationDuration = l);
2123
2130
  }), clearTimeout(t), o ? t = setTimeout(function() {
2124
2131
  typeof n == "function" && n();
2125
2132
  }, i) : typeof n == "function" && n(), e = [];
@@ -2127,7 +2134,7 @@ function s$() {
2127
2134
  animate: function(n, a, o, i) {
2128
2135
  if (i) {
2129
2136
  z(n, "transition", ""), z(n, "transform", "");
2130
- var s = Vt(this.el), l = s && s.a, u = s && s.d, h = (a.left - o.left) / (l || 1), d = (a.top - o.top) / (u || 1);
2137
+ var s = Vt(this.el), l = s && s.a, c = s && s.d, h = (a.left - o.left) / (l || 1), d = (a.top - o.top) / (c || 1);
2131
2138
  n.animatingX = !!h, n.animatingY = !!d, z(n, "transform", "translate3d(" + h + "px," + d + "px,0)"), this.forRepaintDummy = l$(n), z(n, "transition", "transform " + i + "ms" + (this.options.easing ? " " + this.options.easing : "")), z(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
2132
2139
  z(n, "transition", ""), z(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
2133
2140
  }, i);
@@ -2138,15 +2145,15 @@ function s$() {
2138
2145
  function l$(e) {
2139
2146
  return e.offsetWidth;
2140
2147
  }
2141
- function u$(e, t, r, n) {
2148
+ function c$(e, t, r, n) {
2142
2149
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - r.top, 2) + Math.pow(t.left - r.left, 2)) * n.animation;
2143
2150
  }
2144
- var Ft = [], gn = {
2151
+ var Ft = [], vn = {
2145
2152
  initializeByDefault: !0
2146
2153
  }, wr = {
2147
2154
  mount: function(t) {
2148
- for (var r in gn)
2149
- gn.hasOwnProperty(r) && !(r in t) && (t[r] = gn[r]);
2155
+ for (var r in vn)
2156
+ vn.hasOwnProperty(r) && !(r in t) && (t[r] = vn[r]);
2150
2157
  Ft.forEach(function(n) {
2151
2158
  if (n.pluginName === t.pluginName)
2152
2159
  throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
@@ -2170,8 +2177,8 @@ var Ft = [], gn = {
2170
2177
  Ft.forEach(function(s) {
2171
2178
  var l = s.pluginName;
2172
2179
  if (!(!t.options[l] && !s.initializeByDefault)) {
2173
- var u = new s(t, r, t.options);
2174
- u.sortable = t, u.options = t.options, t[l] = u, ct(n, u.defaults);
2180
+ var c = new s(t, r, t.options);
2181
+ c.sortable = t, c.options = t.options, t[l] = c, dt(n, c.defaults);
2175
2182
  }
2176
2183
  });
2177
2184
  for (var o in t.options)
@@ -2183,7 +2190,7 @@ var Ft = [], gn = {
2183
2190
  getEventProperties: function(t, r) {
2184
2191
  var n = {};
2185
2192
  return Ft.forEach(function(a) {
2186
- typeof a.eventProperties == "function" && ct(n, a.eventProperties.call(r[a.pluginName], t));
2193
+ typeof a.eventProperties == "function" && dt(n, a.eventProperties.call(r[a.pluginName], t));
2187
2194
  }), n;
2188
2195
  },
2189
2196
  modifyOption: function(t, r, n) {
@@ -2193,37 +2200,37 @@ var Ft = [], gn = {
2193
2200
  }), a;
2194
2201
  }
2195
2202
  };
2196
- function c$(e) {
2197
- var t = e.sortable, r = e.rootEl, n = e.name, a = e.targetEl, o = e.cloneEl, i = e.toEl, s = e.fromEl, l = e.oldIndex, u = e.newIndex, h = e.oldDraggableIndex, d = e.newDraggableIndex, v = e.originalEvent, I = e.putSortable, _ = e.extraEventProperties;
2203
+ function u$(e) {
2204
+ var t = e.sortable, r = e.rootEl, n = e.name, a = e.targetEl, o = e.cloneEl, i = e.toEl, s = e.fromEl, l = e.oldIndex, c = e.newIndex, h = e.oldDraggableIndex, d = e.newDraggableIndex, p = e.originalEvent, E = e.putSortable, w = e.extraEventProperties;
2198
2205
  if (t = t || r && r[Le], !!t) {
2199
- var S, b = t.options, k = "on" + n.charAt(0).toUpperCase() + n.substr(1);
2200
- window.CustomEvent && !ft && !_r ? S = new CustomEvent(n, {
2206
+ var S, y = t.options, k = "on" + n.charAt(0).toUpperCase() + n.substr(1);
2207
+ window.CustomEvent && !ht && !_r ? S = new CustomEvent(n, {
2201
2208
  bubbles: !0,
2202
2209
  cancelable: !0
2203
- }) : (S = document.createEvent("Event"), S.initEvent(n, !0, !0)), S.to = i || r, S.from = s || r, S.item = a || r, S.clone = o, S.oldIndex = l, S.newIndex = u, S.oldDraggableIndex = h, S.newDraggableIndex = d, S.originalEvent = v, S.pullMode = I ? I.lastPutMode : void 0;
2204
- var N = at(at({}, _), wr.getEventProperties(n, t));
2205
- for (var P in N)
2206
- S[P] = N[P];
2207
- r && r.dispatchEvent(S), b[k] && b[k].call(t, S);
2210
+ }) : (S = document.createEvent("Event"), S.initEvent(n, !0, !0)), S.to = i || r, S.from = s || r, S.item = a || r, S.clone = o, S.oldIndex = l, S.newIndex = c, S.oldDraggableIndex = h, S.newDraggableIndex = d, S.originalEvent = p, S.pullMode = E ? E.lastPutMode : void 0;
2211
+ var N = at(at({}, w), wr.getEventProperties(n, t));
2212
+ for (var A in N)
2213
+ S[A] = N[A];
2214
+ r && r.dispatchEvent(S), y[k] && y[k].call(t, S);
2208
2215
  }
2209
2216
  }
2210
2217
  var d$ = ["evt"], Ne = function(t, r) {
2211
2218
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.evt, o = r$(n, d$);
2212
2219
  wr.pluginEvent.bind(F)(t, r, at({
2213
- dragEl: y,
2220
+ dragEl: b,
2214
2221
  parentEl: ye,
2215
- ghostEl: K,
2216
- rootEl: pe,
2222
+ ghostEl: B,
2223
+ rootEl: ge,
2217
2224
  nextEl: It,
2218
2225
  lastDownEl: Pr,
2219
- cloneEl: ve,
2226
+ cloneEl: pe,
2220
2227
  cloneHidden: mt,
2221
2228
  dragStarted: sr,
2222
2229
  putSortable: De,
2223
2230
  activeSortable: F.active,
2224
2231
  originalEvent: a,
2225
2232
  oldIndex: Ut,
2226
- oldDraggableIndex: pr,
2233
+ oldDraggableIndex: gr,
2227
2234
  newIndex: Be,
2228
2235
  newDraggableIndex: bt,
2229
2236
  hideGhostForTarget: Ni,
@@ -2244,26 +2251,26 @@ var d$ = ["evt"], Ne = function(t, r) {
2244
2251
  }, o));
2245
2252
  };
2246
2253
  function Pe(e) {
2247
- c$(at({
2254
+ u$(at({
2248
2255
  putSortable: De,
2249
- cloneEl: ve,
2250
- targetEl: y,
2251
- rootEl: pe,
2256
+ cloneEl: pe,
2257
+ targetEl: b,
2258
+ rootEl: ge,
2252
2259
  oldIndex: Ut,
2253
- oldDraggableIndex: pr,
2260
+ oldDraggableIndex: gr,
2254
2261
  newIndex: Be,
2255
2262
  newDraggableIndex: bt
2256
2263
  }, e));
2257
2264
  }
2258
- var y, ye, K, pe, It, Pr, ve, mt, Ut, Be, pr, bt, Or, De, Rt = !1, Vr = !1, Gr = [], St, Ye, yn, bn, Co, Oo, sr, Kt, vr, gr = !1, Ir = !1, Nr, je, mn = [], Ln = !1, Hr = [], on = typeof document < "u", Er = ca, Io = _r || ft ? "cssFloat" : "float", f$ = on && !Ti && !ca && "draggable" in document.createElement("div"), ji = function() {
2265
+ var b, ye, B, ge, It, Pr, pe, mt, Ut, Be, gr, bt, Or, De, Rt = !1, Vr = !1, Gr = [], St, Ye, yn, bn, Co, Oo, sr, Kt, pr, vr = !1, Ir = !1, Nr, je, mn = [], Ln = !1, Hr = [], on = typeof document < "u", Er = ua, Io = _r || ht ? "cssFloat" : "float", f$ = on && !Ti && !ua && "draggable" in document.createElement("div"), ji = function() {
2259
2266
  if (on) {
2260
- if (ft)
2267
+ if (ht)
2261
2268
  return !1;
2262
2269
  var e = document.createElement("x");
2263
2270
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
2264
2271
  }
2265
2272
  }(), ki = function(t, r) {
2266
- var n = z(t), a = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = Wt(t, 0, r), i = Wt(t, 1, r), s = o && z(o), l = i && z(i), u = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Se(o).width, h = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Se(i).width;
2273
+ var n = z(t), a = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), o = Wt(t, 0, r), i = Wt(t, 1, r), s = o && z(o), l = i && z(i), c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Se(o).width, h = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Se(i).width;
2267
2274
  if (n.display === "flex")
2268
2275
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
2269
2276
  if (n.display === "grid")
@@ -2272,11 +2279,11 @@ var y, ye, K, pe, It, Pr, ve, mt, Ut, Be, pr, bt, Or, De, Rt = !1, Vr = !1, Gr =
2272
2279
  var d = s.float === "left" ? "left" : "right";
2273
2280
  return i && (l.clear === "both" || l.clear === d) ? "vertical" : "horizontal";
2274
2281
  }
2275
- return o && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || u >= a && n[Io] === "none" || i && n[Io] === "none" && u + h > a) ? "vertical" : "horizontal";
2282
+ return o && (s.display === "block" || s.display === "flex" || s.display === "table" || s.display === "grid" || c >= a && n[Io] === "none" || i && n[Io] === "none" && c + h > a) ? "vertical" : "horizontal";
2276
2283
  }, h$ = function(t, r, n) {
2277
- var a = n ? t.left : t.top, o = n ? t.right : t.bottom, i = n ? t.width : t.height, s = n ? r.left : r.top, l = n ? r.right : r.bottom, u = n ? r.width : r.height;
2278
- return a === s || o === l || a + i / 2 === s + u / 2;
2279
- }, p$ = function(t, r) {
2284
+ var a = n ? t.left : t.top, o = n ? t.right : t.bottom, i = n ? t.width : t.height, s = n ? r.left : r.top, l = n ? r.right : r.bottom, c = n ? r.width : r.height;
2285
+ return a === s || o === l || a + i / 2 === s + c / 2;
2286
+ }, g$ = function(t, r) {
2280
2287
  var n;
2281
2288
  return Gr.some(function(a) {
2282
2289
  var o = a[Le].options.emptyInsertThreshold;
@@ -2288,7 +2295,7 @@ var y, ye, K, pe, It, Pr, ve, mt, Ut, Be, pr, bt, Or, De, Rt = !1, Vr = !1, Gr =
2288
2295
  }), n;
2289
2296
  }, Pi = function(t) {
2290
2297
  function r(o, i) {
2291
- return function(s, l, u, h) {
2298
+ return function(s, l, c, h) {
2292
2299
  var d = s.options.group.name && l.options.group.name && s.options.group.name === l.options.group.name;
2293
2300
  if (o == null && (i || d))
2294
2301
  return !0;
@@ -2297,9 +2304,9 @@ var y, ye, K, pe, It, Pr, ve, mt, Ut, Be, pr, bt, Or, De, Rt = !1, Vr = !1, Gr =
2297
2304
  if (i && o === "clone")
2298
2305
  return o;
2299
2306
  if (typeof o == "function")
2300
- return r(o(s, l, u, h), i)(s, l, u, h);
2301
- var v = (i ? s : l).options.group.name;
2302
- return o === !0 || typeof o == "string" && o === v || o.join && o.indexOf(v) > -1;
2307
+ return r(o(s, l, c, h), i)(s, l, c, h);
2308
+ var p = (i ? s : l).options.group.name;
2309
+ return o === !0 || typeof o == "string" && o === p || o.join && o.indexOf(p) > -1;
2303
2310
  };
2304
2311
  }
2305
2312
  var n = {}, a = t.group;
@@ -2307,18 +2314,18 @@ var y, ye, K, pe, It, Pr, ve, mt, Ut, Be, pr, bt, Or, De, Rt = !1, Vr = !1, Gr =
2307
2314
  name: a
2308
2315
  }), n.name = a.name, n.checkPull = r(a.pull, !0), n.checkPut = r(a.put), n.revertClone = a.revertClone, t.group = n;
2309
2316
  }, Ni = function() {
2310
- !ji && K && z(K, "display", "none");
2317
+ !ji && B && z(B, "display", "none");
2311
2318
  }, Mi = function() {
2312
- !ji && K && z(K, "display", "");
2319
+ !ji && B && z(B, "display", "");
2313
2320
  };
2314
2321
  on && !Ti && document.addEventListener("click", function(e) {
2315
2322
  if (Vr)
2316
2323
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Vr = !1, !1;
2317
2324
  }, !0);
2318
2325
  var Tt = function(t) {
2319
- if (y) {
2326
+ if (b) {
2320
2327
  t = t.touches ? t.touches[0] : t;
2321
- var r = p$(t.clientX, t.clientY);
2328
+ var r = g$(t.clientX, t.clientY);
2322
2329
  if (r) {
2323
2330
  var n = {};
2324
2331
  for (var a in t)
@@ -2326,13 +2333,13 @@ var Tt = function(t) {
2326
2333
  n.target = n.rootEl = r, n.preventDefault = void 0, n.stopPropagation = void 0, r[Le]._onDragOver(n);
2327
2334
  }
2328
2335
  }
2329
- }, v$ = function(t) {
2330
- y && y.parentNode[Le]._isOutsideThisEl(t.target);
2336
+ }, p$ = function(t) {
2337
+ b && b.parentNode[Le]._isOutsideThisEl(t.target);
2331
2338
  };
2332
2339
  function F(e, t) {
2333
2340
  if (!(e && e.nodeType && e.nodeType === 1))
2334
2341
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
2335
- this.el = e, this.options = t = ct({}, t), e[Le] = this;
2342
+ this.el = e, this.options = t = dt({}, t), e[Le] = this;
2336
2343
  var r = {
2337
2344
  group: null,
2338
2345
  sort: !0,
@@ -2376,7 +2383,7 @@ function F(e, t) {
2376
2383
  y: 0
2377
2384
  },
2378
2385
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
2379
- supportPointer: F.supportPointer !== !1 && "PointerEvent" in window && (!fr || ca),
2386
+ supportPointer: F.supportPointer !== !1 && "PointerEvent" in window && (!fr || ua),
2380
2387
  emptyInsertThreshold: 5
2381
2388
  };
2382
2389
  wr.initializePlugins(this, e, r);
@@ -2385,7 +2392,7 @@ function F(e, t) {
2385
2392
  Pi(t);
2386
2393
  for (var a in this)
2387
2394
  a.charAt(0) === "_" && typeof this[a] == "function" && (this[a] = this[a].bind(this));
2388
- this.nativeDraggable = t.forceFallback ? !1 : f$, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Z(e, "pointerdown", this._onTapStart) : (Z(e, "mousedown", this._onTapStart), Z(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Z(e, "dragover", this), Z(e, "dragenter", this)), Gr.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), ct(this, s$());
2395
+ this.nativeDraggable = t.forceFallback ? !1 : f$, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? Z(e, "pointerdown", this._onTapStart) : (Z(e, "mousedown", this._onTapStart), Z(e, "touchstart", this._onTapStart)), this.nativeDraggable && (Z(e, "dragover", this), Z(e, "dragenter", this)), Gr.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), dt(this, s$());
2389
2396
  }
2390
2397
  F.prototype = /** @lends Sortable.prototype */
2391
2398
  {
@@ -2394,17 +2401,17 @@ F.prototype = /** @lends Sortable.prototype */
2394
2401
  !this.el.contains(t) && t !== this.el && (Kt = null);
2395
2402
  },
2396
2403
  _getDirection: function(t, r) {
2397
- return typeof this.options.direction == "function" ? this.options.direction.call(this, t, r, y) : this.options.direction;
2404
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, t, r, b) : this.options.direction;
2398
2405
  },
2399
2406
  _onTapStart: function(t) {
2400
2407
  if (t.cancelable) {
2401
- var r = this, n = this.el, a = this.options, o = a.preventOnFilter, i = t.type, s = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (s || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, h = a.filter;
2402
- if (S$(n), !y && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || a.disabled) && !u.isContentEditable && !(!this.nativeDraggable && fr && l && l.tagName.toUpperCase() === "SELECT") && (l = Xe(l, a.draggable, n, !1), !(l && l.animated) && Pr !== l)) {
2403
- if (Ut = Ve(l), pr = Ve(l, a.draggable), typeof h == "function") {
2408
+ var r = this, n = this.el, a = this.options, o = a.preventOnFilter, i = t.type, s = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (s || t).target, c = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, h = a.filter;
2409
+ if (S$(n), !b && !(/mousedown|pointerdown/.test(i) && t.button !== 0 || a.disabled) && !c.isContentEditable && !(!this.nativeDraggable && fr && l && l.tagName.toUpperCase() === "SELECT") && (l = Xe(l, a.draggable, n, !1), !(l && l.animated) && Pr !== l)) {
2410
+ if (Ut = Ve(l), gr = Ve(l, a.draggable), typeof h == "function") {
2404
2411
  if (h.call(this, t, l, this)) {
2405
2412
  Pe({
2406
2413
  sortable: r,
2407
- rootEl: u,
2414
+ rootEl: c,
2408
2415
  name: "filter",
2409
2416
  targetEl: l,
2410
2417
  toEl: n,
@@ -2415,7 +2422,7 @@ F.prototype = /** @lends Sortable.prototype */
2415
2422
  return;
2416
2423
  }
2417
2424
  } else if (h && (h = h.split(",").some(function(d) {
2418
- if (d = Xe(u, d.trim(), n, !1), d)
2425
+ if (d = Xe(c, d.trim(), n, !1), d)
2419
2426
  return Pe({
2420
2427
  sortable: r,
2421
2428
  rootEl: d,
@@ -2430,35 +2437,35 @@ F.prototype = /** @lends Sortable.prototype */
2430
2437
  o && t.preventDefault();
2431
2438
  return;
2432
2439
  }
2433
- a.handle && !Xe(u, a.handle, n, !1) || this._prepareDragStart(t, s, l);
2440
+ a.handle && !Xe(c, a.handle, n, !1) || this._prepareDragStart(t, s, l);
2434
2441
  }
2435
2442
  }
2436
2443
  },
2437
2444
  _prepareDragStart: function(t, r, n) {
2438
2445
  var a = this, o = a.el, i = a.options, s = o.ownerDocument, l;
2439
- if (n && !y && n.parentNode === o) {
2440
- var u = Se(n);
2441
- if (pe = o, y = n, ye = y.parentNode, It = y.nextSibling, Pr = n, Or = i.group, F.dragged = y, St = {
2442
- target: y,
2446
+ if (n && !b && n.parentNode === o) {
2447
+ var c = Se(n);
2448
+ if (ge = o, b = n, ye = b.parentNode, It = b.nextSibling, Pr = n, Or = i.group, F.dragged = b, St = {
2449
+ target: b,
2443
2450
  clientX: (r || t).clientX,
2444
2451
  clientY: (r || t).clientY
2445
- }, Co = St.clientX - u.left, Oo = St.clientY - u.top, this._lastX = (r || t).clientX, this._lastY = (r || t).clientY, y.style["will-change"] = "all", l = function() {
2452
+ }, Co = St.clientX - c.left, Oo = St.clientY - c.top, this._lastX = (r || t).clientX, this._lastY = (r || t).clientY, b.style["will-change"] = "all", l = function() {
2446
2453
  if (Ne("delayEnded", a, {
2447
2454
  evt: t
2448
2455
  }), F.eventCanceled) {
2449
2456
  a._onDrop();
2450
2457
  return;
2451
2458
  }
2452
- a._disableDelayedDragEvents(), !_o && a.nativeDraggable && (y.draggable = !0), a._triggerDragStart(t, r), Pe({
2459
+ a._disableDelayedDragEvents(), !_o && a.nativeDraggable && (b.draggable = !0), a._triggerDragStart(t, r), Pe({
2453
2460
  sortable: a,
2454
2461
  name: "choose",
2455
2462
  originalEvent: t
2456
- }), Ke(y, i.chosenClass, !0);
2463
+ }), Ke(b, i.chosenClass, !0);
2457
2464
  }, i.ignore.split(",").forEach(function(h) {
2458
- Ii(y, h.trim(), $n);
2459
- }), Z(s, "dragover", Tt), Z(s, "mousemove", Tt), Z(s, "touchmove", Tt), i.supportPointer ? (Z(s, "pointerup", a._onDrop), !this.nativeDraggable && Z(s, "pointercancel", a._onDrop)) : (Z(s, "mouseup", a._onDrop), Z(s, "touchend", a._onDrop), Z(s, "touchcancel", a._onDrop)), _o && this.nativeDraggable && (this.options.touchStartThreshold = 4, y.draggable = !0), Ne("delayStart", this, {
2465
+ Ii(b, h.trim(), $n);
2466
+ }), Z(s, "dragover", Tt), Z(s, "mousemove", Tt), Z(s, "touchmove", Tt), i.supportPointer ? (Z(s, "pointerup", a._onDrop), !this.nativeDraggable && Z(s, "pointercancel", a._onDrop)) : (Z(s, "mouseup", a._onDrop), Z(s, "touchend", a._onDrop), Z(s, "touchcancel", a._onDrop)), _o && this.nativeDraggable && (this.options.touchStartThreshold = 4, b.draggable = !0), Ne("delayStart", this, {
2460
2467
  evt: t
2461
- }), i.delay && (!i.delayOnTouchOnly || r) && (!this.nativeDraggable || !(_r || ft))) {
2468
+ }), i.delay && (!i.delayOnTouchOnly || r) && (!this.nativeDraggable || !(_r || ht))) {
2462
2469
  if (F.eventCanceled) {
2463
2470
  this._onDrop();
2464
2471
  return;
@@ -2473,14 +2480,14 @@ F.prototype = /** @lends Sortable.prototype */
2473
2480
  Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
2474
2481
  },
2475
2482
  _disableDelayedDrag: function() {
2476
- y && $n(y), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
2483
+ b && $n(b), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
2477
2484
  },
2478
2485
  _disableDelayedDragEvents: function() {
2479
2486
  var t = this.el.ownerDocument;
2480
- X(t, "mouseup", this._disableDelayedDrag), X(t, "touchend", this._disableDelayedDrag), X(t, "touchcancel", this._disableDelayedDrag), X(t, "pointerup", this._disableDelayedDrag), X(t, "pointercancel", this._disableDelayedDrag), X(t, "mousemove", this._delayedDragTouchMoveHandler), X(t, "touchmove", this._delayedDragTouchMoveHandler), X(t, "pointermove", this._delayedDragTouchMoveHandler);
2487
+ J(t, "mouseup", this._disableDelayedDrag), J(t, "touchend", this._disableDelayedDrag), J(t, "touchcancel", this._disableDelayedDrag), J(t, "pointerup", this._disableDelayedDrag), J(t, "pointercancel", this._disableDelayedDrag), J(t, "mousemove", this._delayedDragTouchMoveHandler), J(t, "touchmove", this._delayedDragTouchMoveHandler), J(t, "pointermove", this._delayedDragTouchMoveHandler);
2481
2488
  },
2482
2489
  _triggerDragStart: function(t, r) {
2483
- r = r || t.pointerType == "touch" && t, !this.nativeDraggable || r ? this.options.supportPointer ? Z(document, "pointermove", this._onTouchMove) : r ? Z(document, "touchmove", this._onTouchMove) : Z(document, "mousemove", this._onTouchMove) : (Z(y, "dragend", this), Z(pe, "dragstart", this._onDragStart));
2490
+ r = r || t.pointerType == "touch" && t, !this.nativeDraggable || r ? this.options.supportPointer ? Z(document, "pointermove", this._onTouchMove) : r ? Z(document, "touchmove", this._onTouchMove) : Z(document, "mousemove", this._onTouchMove) : (Z(b, "dragend", this), Z(ge, "dragstart", this._onDragStart));
2484
2491
  try {
2485
2492
  document.selection ? Mr(function() {
2486
2493
  document.selection.empty();
@@ -2489,12 +2496,12 @@ F.prototype = /** @lends Sortable.prototype */
2489
2496
  }
2490
2497
  },
2491
2498
  _dragStarted: function(t, r) {
2492
- if (Rt = !1, pe && y) {
2499
+ if (Rt = !1, ge && b) {
2493
2500
  Ne("dragStarted", this, {
2494
2501
  evt: r
2495
- }), this.nativeDraggable && Z(document, "dragover", v$);
2502
+ }), this.nativeDraggable && Z(document, "dragover", p$);
2496
2503
  var n = this.options;
2497
- !t && Ke(y, n.dragClass, !1), Ke(y, n.ghostClass, !0), F.active = this, t && this._appendGhost(), Pe({
2504
+ !t && Ke(b, n.dragClass, !1), Ke(b, n.ghostClass, !0), F.active = this, t && this._appendGhost(), Pe({
2498
2505
  sortable: this,
2499
2506
  name: "start",
2500
2507
  originalEvent: r
@@ -2507,7 +2514,7 @@ F.prototype = /** @lends Sortable.prototype */
2507
2514
  this._lastX = Ye.clientX, this._lastY = Ye.clientY, Ni();
2508
2515
  for (var t = document.elementFromPoint(Ye.clientX, Ye.clientY), r = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Ye.clientX, Ye.clientY), t !== r); )
2509
2516
  r = t;
2510
- if (y.parentNode[Le]._isOutsideThisEl(t), r)
2517
+ if (b.parentNode[Le]._isOutsideThisEl(t), r)
2511
2518
  do {
2512
2519
  if (r[Le]) {
2513
2520
  var n = void 0;
@@ -2526,13 +2533,13 @@ F.prototype = /** @lends Sortable.prototype */
2526
2533
  },
2527
2534
  _onTouchMove: function(t) {
2528
2535
  if (St) {
2529
- var r = this.options, n = r.fallbackTolerance, a = r.fallbackOffset, o = t.touches ? t.touches[0] : t, i = K && Vt(K, !0), s = K && i && i.a, l = K && i && i.d, u = Er && je && To(je), h = (o.clientX - St.clientX + a.x) / (s || 1) + (u ? u[0] - mn[0] : 0) / (s || 1), d = (o.clientY - St.clientY + a.y) / (l || 1) + (u ? u[1] - mn[1] : 0) / (l || 1);
2536
+ var r = this.options, n = r.fallbackTolerance, a = r.fallbackOffset, o = t.touches ? t.touches[0] : t, i = B && Vt(B, !0), s = B && i && i.a, l = B && i && i.d, c = Er && je && To(je), h = (o.clientX - St.clientX + a.x) / (s || 1) + (c ? c[0] - mn[0] : 0) / (s || 1), d = (o.clientY - St.clientY + a.y) / (l || 1) + (c ? c[1] - mn[1] : 0) / (l || 1);
2530
2537
  if (!F.active && !Rt) {
2531
2538
  if (n && Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) < n)
2532
2539
  return;
2533
2540
  this._onDragStart(t, !0);
2534
2541
  }
2535
- if (K) {
2542
+ if (B) {
2536
2543
  i ? (i.e += h - (yn || 0), i.f += d - (bn || 0)) : i = {
2537
2544
  a: 1,
2538
2545
  b: 0,
@@ -2541,21 +2548,21 @@ F.prototype = /** @lends Sortable.prototype */
2541
2548
  e: h,
2542
2549
  f: d
2543
2550
  };
2544
- var v = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
2545
- z(K, "webkitTransform", v), z(K, "mozTransform", v), z(K, "msTransform", v), z(K, "transform", v), yn = h, bn = d, Ye = o;
2551
+ var p = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
2552
+ z(B, "webkitTransform", p), z(B, "mozTransform", p), z(B, "msTransform", p), z(B, "transform", p), yn = h, bn = d, Ye = o;
2546
2553
  }
2547
2554
  t.cancelable && t.preventDefault();
2548
2555
  }
2549
2556
  },
2550
2557
  _appendGhost: function() {
2551
- if (!K) {
2552
- var t = this.options.fallbackOnBody ? document.body : pe, r = Se(y, !0, Er, !0, t), n = this.options;
2558
+ if (!B) {
2559
+ var t = this.options.fallbackOnBody ? document.body : ge, r = Se(b, !0, Er, !0, t), n = this.options;
2553
2560
  if (Er) {
2554
2561
  for (je = t; z(je, "position") === "static" && z(je, "transform") === "none" && je !== document; )
2555
2562
  je = je.parentNode;
2556
2563
  je !== document.body && je !== document.documentElement ? (je === document && (je = nt()), r.top += je.scrollTop, r.left += je.scrollLeft) : je = nt(), mn = To(je);
2557
2564
  }
2558
- K = y.cloneNode(!0), Ke(K, n.ghostClass, !1), Ke(K, n.fallbackClass, !0), Ke(K, n.dragClass, !0), z(K, "transition", ""), z(K, "transform", ""), z(K, "box-sizing", "border-box"), z(K, "margin", 0), z(K, "top", r.top), z(K, "left", r.left), z(K, "width", r.width), z(K, "height", r.height), z(K, "opacity", "0.8"), z(K, "position", Er ? "absolute" : "fixed"), z(K, "zIndex", "100000"), z(K, "pointerEvents", "none"), F.ghost = K, t.appendChild(K), z(K, "transform-origin", Co / parseInt(K.style.width) * 100 + "% " + Oo / parseInt(K.style.height) * 100 + "%");
2565
+ B = b.cloneNode(!0), Ke(B, n.ghostClass, !1), Ke(B, n.fallbackClass, !0), Ke(B, n.dragClass, !0), z(B, "transition", ""), z(B, "transform", ""), z(B, "box-sizing", "border-box"), z(B, "margin", 0), z(B, "top", r.top), z(B, "left", r.left), z(B, "width", r.width), z(B, "height", r.height), z(B, "opacity", "0.8"), z(B, "position", Er ? "absolute" : "fixed"), z(B, "zIndex", "100000"), z(B, "pointerEvents", "none"), F.ghost = B, t.appendChild(B), z(B, "transform-origin", Co / parseInt(B.style.width) * 100 + "% " + Oo / parseInt(B.style.height) * 100 + "%");
2559
2566
  }
2560
2567
  },
2561
2568
  _onDragStart: function(t, r) {
@@ -2566,48 +2573,48 @@ F.prototype = /** @lends Sortable.prototype */
2566
2573
  this._onDrop();
2567
2574
  return;
2568
2575
  }
2569
- Ne("setupClone", this), F.eventCanceled || (ve = Di(y), ve.removeAttribute("id"), ve.draggable = !1, ve.style["will-change"] = "", this._hideClone(), Ke(ve, this.options.chosenClass, !1), F.clone = ve), n.cloneId = Mr(function() {
2570
- Ne("clone", n), !F.eventCanceled && (n.options.removeCloneOnHide || pe.insertBefore(ve, y), n._hideClone(), Pe({
2576
+ Ne("setupClone", this), F.eventCanceled || (pe = Di(b), pe.removeAttribute("id"), pe.draggable = !1, pe.style["will-change"] = "", this._hideClone(), Ke(pe, this.options.chosenClass, !1), F.clone = pe), n.cloneId = Mr(function() {
2577
+ Ne("clone", n), !F.eventCanceled && (n.options.removeCloneOnHide || ge.insertBefore(pe, b), n._hideClone(), Pe({
2571
2578
  sortable: n,
2572
2579
  name: "clone"
2573
2580
  }));
2574
- }), !r && Ke(y, o.dragClass, !0), r ? (Vr = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (X(document, "mouseup", n._onDrop), X(document, "touchend", n._onDrop), X(document, "touchcancel", n._onDrop), a && (a.effectAllowed = "move", o.setData && o.setData.call(n, a, y)), Z(document, "drop", n), z(y, "transform", "translateZ(0)")), Rt = !0, n._dragStartId = Mr(n._dragStarted.bind(n, r, t)), Z(document, "selectstart", n), sr = !0, window.getSelection().removeAllRanges(), fr && z(document.body, "user-select", "none");
2581
+ }), !r && Ke(b, o.dragClass, !0), r ? (Vr = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (J(document, "mouseup", n._onDrop), J(document, "touchend", n._onDrop), J(document, "touchcancel", n._onDrop), a && (a.effectAllowed = "move", o.setData && o.setData.call(n, a, b)), Z(document, "drop", n), z(b, "transform", "translateZ(0)")), Rt = !0, n._dragStartId = Mr(n._dragStarted.bind(n, r, t)), Z(document, "selectstart", n), sr = !0, window.getSelection().removeAllRanges(), fr && z(document.body, "user-select", "none");
2575
2582
  },
2576
2583
  // Returns true - if no further action is needed (either inserted or another condition)
2577
2584
  _onDragOver: function(t) {
2578
- var r = this.el, n = t.target, a, o, i, s = this.options, l = s.group, u = F.active, h = Or === l, d = s.sort, v = De || u, I, _ = this, S = !1;
2585
+ var r = this.el, n = t.target, a, o, i, s = this.options, l = s.group, c = F.active, h = Or === l, d = s.sort, p = De || c, E, w = this, S = !1;
2579
2586
  if (Ln) return;
2580
- function b(Oe, Je) {
2581
- Ne(Oe, _, at({
2587
+ function y(Oe, Je) {
2588
+ Ne(Oe, w, at({
2582
2589
  evt: t,
2583
2590
  isOwner: h,
2584
- axis: I ? "vertical" : "horizontal",
2591
+ axis: E ? "vertical" : "horizontal",
2585
2592
  revert: i,
2586
2593
  dragRect: a,
2587
2594
  targetRect: o,
2588
2595
  canSort: d,
2589
- fromSortable: v,
2596
+ fromSortable: p,
2590
2597
  target: n,
2591
2598
  completed: N,
2592
2599
  onMove: function(Ze, Qe) {
2593
- return Ar(pe, r, y, a, Ze, Se(Ze), t, Qe);
2600
+ return Ar(ge, r, b, a, Ze, Se(Ze), t, Qe);
2594
2601
  },
2595
- changed: P
2602
+ changed: A
2596
2603
  }, Je));
2597
2604
  }
2598
2605
  function k() {
2599
- b("dragOverAnimationCapture"), _.captureAnimationState(), _ !== v && v.captureAnimationState();
2606
+ y("dragOverAnimationCapture"), w.captureAnimationState(), w !== p && p.captureAnimationState();
2600
2607
  }
2601
2608
  function N(Oe) {
2602
- return b("dragOverCompleted", {
2609
+ return y("dragOverCompleted", {
2603
2610
  insertion: Oe
2604
- }), Oe && (h ? u._hideClone() : u._showClone(_), _ !== v && (Ke(y, De ? De.options.ghostClass : u.options.ghostClass, !1), Ke(y, s.ghostClass, !0)), De !== _ && _ !== F.active ? De = _ : _ === F.active && De && (De = null), v === _ && (_._ignoreWhileAnimating = n), _.animateAll(function() {
2605
- b("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
2606
- }), _ !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (n === y && !y.animated || n === r && !n.animated) && (Kt = null), !s.dragoverBubble && !t.rootEl && n !== document && (y.parentNode[Le]._isOutsideThisEl(t.target), !Oe && Tt(t)), !s.dragoverBubble && t.stopPropagation && t.stopPropagation(), S = !0;
2611
+ }), Oe && (h ? c._hideClone() : c._showClone(w), w !== p && (Ke(b, De ? De.options.ghostClass : c.options.ghostClass, !1), Ke(b, s.ghostClass, !0)), De !== w && w !== F.active ? De = w : w === F.active && De && (De = null), p === w && (w._ignoreWhileAnimating = n), w.animateAll(function() {
2612
+ y("dragOverAnimationComplete"), w._ignoreWhileAnimating = null;
2613
+ }), w !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === b && !b.animated || n === r && !n.animated) && (Kt = null), !s.dragoverBubble && !t.rootEl && n !== document && (b.parentNode[Le]._isOutsideThisEl(t.target), !Oe && Tt(t)), !s.dragoverBubble && t.stopPropagation && t.stopPropagation(), S = !0;
2607
2614
  }
2608
- function P() {
2609
- Be = Ve(y), bt = Ve(y, s.draggable), Pe({
2610
- sortable: _,
2615
+ function A() {
2616
+ Be = Ve(b), bt = Ve(b, s.draggable), Pe({
2617
+ sortable: w,
2611
2618
  name: "change",
2612
2619
  toEl: r,
2613
2620
  newIndex: Be,
@@ -2615,78 +2622,78 @@ F.prototype = /** @lends Sortable.prototype */
2615
2622
  originalEvent: t
2616
2623
  });
2617
2624
  }
2618
- if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = Xe(n, s.draggable, r, !0), b("dragOver"), F.eventCanceled) return S;
2619
- if (y.contains(t.target) || n.animated && n.animatingX && n.animatingY || _._ignoreWhileAnimating === n)
2625
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = Xe(n, s.draggable, r, !0), y("dragOver"), F.eventCanceled) return S;
2626
+ if (b.contains(t.target) || n.animated && n.animatingX && n.animatingY || w._ignoreWhileAnimating === n)
2620
2627
  return N(!1);
2621
- if (Vr = !1, u && !s.disabled && (h ? d || (i = ye !== pe) : De === this || (this.lastPutMode = Or.checkPull(this, u, y, t)) && l.checkPut(this, u, y, t))) {
2622
- if (I = this._getDirection(t, n) === "vertical", a = Se(y), b("dragOverValid"), F.eventCanceled) return S;
2628
+ if (Vr = !1, c && !s.disabled && (h ? d || (i = ye !== ge) : De === this || (this.lastPutMode = Or.checkPull(this, c, b, t)) && l.checkPut(this, c, b, t))) {
2629
+ if (E = this._getDirection(t, n) === "vertical", a = Se(b), y("dragOverValid"), F.eventCanceled) return S;
2623
2630
  if (i)
2624
- return ye = pe, k(), this._hideClone(), b("revert"), F.eventCanceled || (It ? pe.insertBefore(y, It) : pe.appendChild(y)), N(!0);
2631
+ return ye = ge, k(), this._hideClone(), y("revert"), F.eventCanceled || (It ? ge.insertBefore(b, It) : ge.appendChild(b)), N(!0);
2625
2632
  var C = da(r, s.draggable);
2626
- if (!C || m$(t, I, this) && !C.animated) {
2627
- if (C === y)
2633
+ if (!C || m$(t, E, this) && !C.animated) {
2634
+ if (C === b)
2628
2635
  return N(!1);
2629
- if (C && r === t.target && (n = C), n && (o = Se(n)), Ar(pe, r, y, a, n, o, t, !!n) !== !1)
2630
- return k(), C && C.nextSibling ? r.insertBefore(y, C.nextSibling) : r.appendChild(y), ye = r, P(), N(!0);
2631
- } else if (C && b$(t, I, this)) {
2636
+ if (C && r === t.target && (n = C), n && (o = Se(n)), Ar(ge, r, b, a, n, o, t, !!n) !== !1)
2637
+ return k(), C && C.nextSibling ? r.insertBefore(b, C.nextSibling) : r.appendChild(b), ye = r, A(), N(!0);
2638
+ } else if (C && b$(t, E, this)) {
2632
2639
  var x = Wt(r, 0, s, !0);
2633
- if (x === y)
2640
+ if (x === b)
2634
2641
  return N(!1);
2635
- if (n = x, o = Se(n), Ar(pe, r, y, a, n, o, t, !1) !== !1)
2636
- return k(), r.insertBefore(y, x), ye = r, P(), N(!0);
2642
+ if (n = x, o = Se(n), Ar(ge, r, b, a, n, o, t, !1) !== !1)
2643
+ return k(), r.insertBefore(b, x), ye = r, A(), N(!0);
2637
2644
  } else if (n.parentNode === r) {
2638
2645
  o = Se(n);
2639
- var $ = 0, V, Q = y.parentNode !== r, R = !h$(y.animated && y.toRect || a, n.animated && n.toRect || o, I), D = I ? "top" : "left", q = So(n, "top", "top") || So(y, "top", "top"), Y = q ? q.scrollTop : void 0;
2640
- Kt !== n && (V = o[D], gr = !1, Ir = !R && s.invertSwap || Q), $ = $$(t, n, o, I, R ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Ir, Kt === n);
2646
+ var m = 0, V, Q = b.parentNode !== r, R = !h$(b.animated && b.toRect || a, n.animated && n.toRect || o, E), j = E ? "top" : "left", X = So(n, "top", "top") || So(b, "top", "top"), q = X ? X.scrollTop : void 0;
2647
+ Kt !== n && (V = o[j], vr = !1, Ir = !R && s.invertSwap || Q), m = $$(t, n, o, E, R ? 1 : s.swapThreshold, s.invertedSwapThreshold == null ? s.swapThreshold : s.invertedSwapThreshold, Ir, Kt === n);
2641
2648
  var L;
2642
- if ($ !== 0) {
2643
- var oe = Ve(y);
2649
+ if (m !== 0) {
2650
+ var ie = Ve(b);
2644
2651
  do
2645
- oe -= $, L = ye.children[oe];
2646
- while (L && (z(L, "display") === "none" || L === K));
2652
+ ie -= m, L = ye.children[ie];
2653
+ while (L && (z(L, "display") === "none" || L === B));
2647
2654
  }
2648
- if ($ === 0 || L === n)
2655
+ if (m === 0 || L === n)
2649
2656
  return N(!1);
2650
- Kt = n, vr = $;
2651
- var me = n.nextElementSibling, ae = !1;
2652
- ae = $ === 1;
2653
- var xe = Ar(pe, r, y, a, n, o, t, ae);
2657
+ Kt = n, pr = m;
2658
+ var be = n.nextElementSibling, ae = !1;
2659
+ ae = m === 1;
2660
+ var xe = Ar(ge, r, b, a, n, o, t, ae);
2654
2661
  if (xe !== !1)
2655
- return (xe === 1 || xe === -1) && (ae = xe === 1), Ln = !0, setTimeout(y$, 30), k(), ae && !me ? r.appendChild(y) : n.parentNode.insertBefore(y, ae ? me : n), q && Ai(q, 0, Y - q.scrollTop), ye = y.parentNode, V !== void 0 && !Ir && (Nr = Math.abs(V - Se(n)[D])), P(), N(!0);
2662
+ return (xe === 1 || xe === -1) && (ae = xe === 1), Ln = !0, setTimeout(y$, 30), k(), ae && !be ? r.appendChild(b) : n.parentNode.insertBefore(b, ae ? be : n), X && Ai(X, 0, q - X.scrollTop), ye = b.parentNode, V !== void 0 && !Ir && (Nr = Math.abs(V - Se(n)[j])), A(), N(!0);
2656
2663
  }
2657
- if (r.contains(y))
2664
+ if (r.contains(b))
2658
2665
  return N(!1);
2659
2666
  }
2660
2667
  return !1;
2661
2668
  },
2662
2669
  _ignoreWhileAnimating: null,
2663
2670
  _offMoveEvents: function() {
2664
- X(document, "mousemove", this._onTouchMove), X(document, "touchmove", this._onTouchMove), X(document, "pointermove", this._onTouchMove), X(document, "dragover", Tt), X(document, "mousemove", Tt), X(document, "touchmove", Tt);
2671
+ J(document, "mousemove", this._onTouchMove), J(document, "touchmove", this._onTouchMove), J(document, "pointermove", this._onTouchMove), J(document, "dragover", Tt), J(document, "mousemove", Tt), J(document, "touchmove", Tt);
2665
2672
  },
2666
2673
  _offUpEvents: function() {
2667
2674
  var t = this.el.ownerDocument;
2668
- X(t, "mouseup", this._onDrop), X(t, "touchend", this._onDrop), X(t, "pointerup", this._onDrop), X(t, "pointercancel", this._onDrop), X(t, "touchcancel", this._onDrop), X(document, "selectstart", this);
2675
+ J(t, "mouseup", this._onDrop), J(t, "touchend", this._onDrop), J(t, "pointerup", this._onDrop), J(t, "pointercancel", this._onDrop), J(t, "touchcancel", this._onDrop), J(document, "selectstart", this);
2669
2676
  },
2670
2677
  _onDrop: function(t) {
2671
2678
  var r = this.el, n = this.options;
2672
- if (Be = Ve(y), bt = Ve(y, n.draggable), Ne("drop", this, {
2679
+ if (Be = Ve(b), bt = Ve(b, n.draggable), Ne("drop", this, {
2673
2680
  evt: t
2674
- }), ye = y && y.parentNode, Be = Ve(y), bt = Ve(y, n.draggable), F.eventCanceled) {
2681
+ }), ye = b && b.parentNode, Be = Ve(b), bt = Ve(b, n.draggable), F.eventCanceled) {
2675
2682
  this._nulling();
2676
2683
  return;
2677
2684
  }
2678
- Rt = !1, Ir = !1, gr = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), zn(this.cloneId), zn(this._dragStartId), this.nativeDraggable && (X(document, "drop", this), X(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), fr && z(document.body, "user-select", ""), z(y, "transform", ""), t && (sr && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), K && K.parentNode && K.parentNode.removeChild(K), (pe === ye || De && De.lastPutMode !== "clone") && ve && ve.parentNode && ve.parentNode.removeChild(ve), y && (this.nativeDraggable && X(y, "dragend", this), $n(y), y.style["will-change"] = "", sr && !Rt && Ke(y, De ? De.options.ghostClass : this.options.ghostClass, !1), Ke(y, this.options.chosenClass, !1), Pe({
2685
+ Rt = !1, Ir = !1, vr = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), zn(this.cloneId), zn(this._dragStartId), this.nativeDraggable && (J(document, "drop", this), J(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), fr && z(document.body, "user-select", ""), z(b, "transform", ""), t && (sr && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), B && B.parentNode && B.parentNode.removeChild(B), (ge === ye || De && De.lastPutMode !== "clone") && pe && pe.parentNode && pe.parentNode.removeChild(pe), b && (this.nativeDraggable && J(b, "dragend", this), $n(b), b.style["will-change"] = "", sr && !Rt && Ke(b, De ? De.options.ghostClass : this.options.ghostClass, !1), Ke(b, this.options.chosenClass, !1), Pe({
2679
2686
  sortable: this,
2680
2687
  name: "unchoose",
2681
2688
  toEl: ye,
2682
2689
  newIndex: null,
2683
2690
  newDraggableIndex: null,
2684
2691
  originalEvent: t
2685
- }), pe !== ye ? (Be >= 0 && (Pe({
2692
+ }), ge !== ye ? (Be >= 0 && (Pe({
2686
2693
  rootEl: ye,
2687
2694
  name: "add",
2688
2695
  toEl: ye,
2689
- fromEl: pe,
2696
+ fromEl: ge,
2690
2697
  originalEvent: t
2691
2698
  }), Pe({
2692
2699
  sortable: this,
@@ -2697,7 +2704,7 @@ F.prototype = /** @lends Sortable.prototype */
2697
2704
  rootEl: ye,
2698
2705
  name: "sort",
2699
2706
  toEl: ye,
2700
- fromEl: pe,
2707
+ fromEl: ge,
2701
2708
  originalEvent: t
2702
2709
  }), Pe({
2703
2710
  sortable: this,
@@ -2714,7 +2721,7 @@ F.prototype = /** @lends Sortable.prototype */
2714
2721
  name: "sort",
2715
2722
  toEl: ye,
2716
2723
  originalEvent: t
2717
- })), F.active && ((Be == null || Be === -1) && (Be = Ut, bt = pr), Pe({
2724
+ })), F.active && ((Be == null || Be === -1) && (Be = Ut, bt = gr), Pe({
2718
2725
  sortable: this,
2719
2726
  name: "end",
2720
2727
  toEl: ye,
@@ -2722,7 +2729,7 @@ F.prototype = /** @lends Sortable.prototype */
2722
2729
  }), this.save()))), this._nulling();
2723
2730
  },
2724
2731
  _nulling: function() {
2725
- Ne("nulling", this), pe = y = ye = K = It = ve = Pr = mt = St = Ye = sr = Be = bt = Ut = pr = Kt = vr = De = Or = F.dragged = F.ghost = F.clone = F.active = null, Hr.forEach(function(t) {
2732
+ Ne("nulling", this), ge = b = ye = B = It = pe = Pr = mt = St = Ye = sr = Be = bt = Ut = gr = Kt = pr = De = Or = F.dragged = F.ghost = F.clone = F.active = null, Hr.forEach(function(t) {
2726
2733
  t.checked = !0;
2727
2734
  }), Hr.length = yn = bn = 0;
2728
2735
  },
@@ -2734,7 +2741,7 @@ F.prototype = /** @lends Sortable.prototype */
2734
2741
  break;
2735
2742
  case "dragenter":
2736
2743
  case "dragover":
2737
- y && (this._onDragOver(t), g$(t));
2744
+ b && (this._onDragOver(t), v$(t));
2738
2745
  break;
2739
2746
  case "selectstart":
2740
2747
  t.preventDefault();
@@ -2798,14 +2805,14 @@ F.prototype = /** @lends Sortable.prototype */
2798
2805
  destroy: function() {
2799
2806
  Ne("destroy", this);
2800
2807
  var t = this.el;
2801
- t[Le] = null, X(t, "mousedown", this._onTapStart), X(t, "touchstart", this._onTapStart), X(t, "pointerdown", this._onTapStart), this.nativeDraggable && (X(t, "dragover", this), X(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(r) {
2808
+ t[Le] = null, J(t, "mousedown", this._onTapStart), J(t, "touchstart", this._onTapStart), J(t, "pointerdown", this._onTapStart), this.nativeDraggable && (J(t, "dragover", this), J(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(r) {
2802
2809
  r.removeAttribute("draggable");
2803
2810
  }), this._onDrop(), this._disableDelayedDragEvents(), Gr.splice(Gr.indexOf(this.el), 1), this.el = t = null;
2804
2811
  },
2805
2812
  _hideClone: function() {
2806
2813
  if (!mt) {
2807
2814
  if (Ne("hideClone", this), F.eventCanceled) return;
2808
- z(ve, "display", "none"), this.options.removeCloneOnHide && ve.parentNode && ve.parentNode.removeChild(ve), mt = !0;
2815
+ z(pe, "display", "none"), this.options.removeCloneOnHide && pe.parentNode && pe.parentNode.removeChild(pe), mt = !0;
2809
2816
  }
2810
2817
  },
2811
2818
  _showClone: function(t) {
@@ -2815,19 +2822,19 @@ F.prototype = /** @lends Sortable.prototype */
2815
2822
  }
2816
2823
  if (mt) {
2817
2824
  if (Ne("showClone", this), F.eventCanceled) return;
2818
- y.parentNode == pe && !this.options.group.revertClone ? pe.insertBefore(ve, y) : It ? pe.insertBefore(ve, It) : pe.appendChild(ve), this.options.group.revertClone && this.animate(y, ve), z(ve, "display", ""), mt = !1;
2825
+ b.parentNode == ge && !this.options.group.revertClone ? ge.insertBefore(pe, b) : It ? ge.insertBefore(pe, It) : ge.appendChild(pe), this.options.group.revertClone && this.animate(b, pe), z(pe, "display", ""), mt = !1;
2819
2826
  }
2820
2827
  }
2821
2828
  };
2822
- function g$(e) {
2829
+ function v$(e) {
2823
2830
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
2824
2831
  }
2825
2832
  function Ar(e, t, r, n, a, o, i, s) {
2826
- var l, u = e[Le], h = u.options.onMove, d;
2827
- return window.CustomEvent && !ft && !_r ? l = new CustomEvent("move", {
2833
+ var l, c = e[Le], h = c.options.onMove, d;
2834
+ return window.CustomEvent && !ht && !_r ? l = new CustomEvent("move", {
2828
2835
  bubbles: !0,
2829
2836
  cancelable: !0
2830
- }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = e, l.dragged = r, l.draggedRect = n, l.related = a || t, l.relatedRect = o || Se(t), l.willInsertAfter = s, l.originalEvent = i, e.dispatchEvent(l), h && (d = h.call(u, l, i)), d;
2837
+ }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = e, l.dragged = r, l.draggedRect = n, l.related = a || t, l.relatedRect = o || Se(t), l.willInsertAfter = s, l.originalEvent = i, e.dispatchEvent(l), h && (d = h.call(c, l, i)), d;
2831
2838
  }
2832
2839
  function $n(e) {
2833
2840
  e.draggable = !1;
@@ -2836,28 +2843,28 @@ function y$() {
2836
2843
  Ln = !1;
2837
2844
  }
2838
2845
  function b$(e, t, r) {
2839
- var n = Se(Wt(r.el, 0, r.options, !0)), a = xi(r.el, r.options, K), o = 10;
2846
+ var n = Se(Wt(r.el, 0, r.options, !0)), a = xi(r.el, r.options, B), o = 10;
2840
2847
  return t ? e.clientX < a.left - o || e.clientY < n.top && e.clientX < n.right : e.clientY < a.top - o || e.clientY < n.bottom && e.clientX < n.left;
2841
2848
  }
2842
2849
  function m$(e, t, r) {
2843
- var n = Se(da(r.el, r.options.draggable)), a = xi(r.el, r.options, K), o = 10;
2850
+ var n = Se(da(r.el, r.options.draggable)), a = xi(r.el, r.options, B), o = 10;
2844
2851
  return t ? e.clientX > a.right + o || e.clientY > n.bottom && e.clientX > n.left : e.clientY > a.bottom + o || e.clientX > n.right && e.clientY > n.top;
2845
2852
  }
2846
2853
  function $$(e, t, r, n, a, o, i, s) {
2847
- var l = n ? e.clientY : e.clientX, u = n ? r.height : r.width, h = n ? r.top : r.left, d = n ? r.bottom : r.right, v = !1;
2854
+ var l = n ? e.clientY : e.clientX, c = n ? r.height : r.width, h = n ? r.top : r.left, d = n ? r.bottom : r.right, p = !1;
2848
2855
  if (!i) {
2849
- if (s && Nr < u * a) {
2850
- if (!gr && (vr === 1 ? l > h + u * o / 2 : l < d - u * o / 2) && (gr = !0), gr)
2851
- v = !0;
2852
- else if (vr === 1 ? l < h + Nr : l > d - Nr)
2853
- return -vr;
2854
- } else if (l > h + u * (1 - a) / 2 && l < d - u * (1 - a) / 2)
2856
+ if (s && Nr < c * a) {
2857
+ if (!vr && (pr === 1 ? l > h + c * o / 2 : l < d - c * o / 2) && (vr = !0), vr)
2858
+ p = !0;
2859
+ else if (pr === 1 ? l < h + Nr : l > d - Nr)
2860
+ return -pr;
2861
+ } else if (l > h + c * (1 - a) / 2 && l < d - c * (1 - a) / 2)
2855
2862
  return _$(t);
2856
2863
  }
2857
- return v = v || i, v && (l < h + u * o / 2 || l > d - u * o / 2) ? l > h + u / 2 ? 1 : -1 : 0;
2864
+ return p = p || i, p && (l < h + c * o / 2 || l > d - c * o / 2) ? l > h + c / 2 ? 1 : -1 : 0;
2858
2865
  }
2859
2866
  function _$(e) {
2860
- return Ve(y) < Ve(e) ? 1 : -1;
2867
+ return Ve(b) < Ve(e) ? 1 : -1;
2861
2868
  }
2862
2869
  function w$(e) {
2863
2870
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, r = t.length, n = 0; r--; )
@@ -2882,7 +2889,7 @@ on && Z(document, "touchmove", function(e) {
2882
2889
  });
2883
2890
  F.utils = {
2884
2891
  on: Z,
2885
- off: X,
2892
+ off: J,
2886
2893
  css: z,
2887
2894
  find: Ii,
2888
2895
  is: function(t, r) {
@@ -2916,7 +2923,7 @@ F.create = function(e, t) {
2916
2923
  return new F(e, t);
2917
2924
  };
2918
2925
  F.version = n$;
2919
- var we = [], lr, Fn, Kn = !1, _n, wn, Wr, ur;
2926
+ var we = [], lr, Fn, Kn = !1, _n, wn, Wr, cr;
2920
2927
  function T$() {
2921
2928
  function e() {
2922
2929
  this.defaults = {
@@ -2939,22 +2946,22 @@ function T$() {
2939
2946
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
2940
2947
  },
2941
2948
  drop: function() {
2942
- this.sortable.nativeDraggable ? X(document, "dragover", this._handleAutoScroll) : (X(document, "pointermove", this._handleFallbackAutoScroll), X(document, "touchmove", this._handleFallbackAutoScroll), X(document, "mousemove", this._handleFallbackAutoScroll)), Eo(), Lr(), i$();
2949
+ this.sortable.nativeDraggable ? J(document, "dragover", this._handleAutoScroll) : (J(document, "pointermove", this._handleFallbackAutoScroll), J(document, "touchmove", this._handleFallbackAutoScroll), J(document, "mousemove", this._handleFallbackAutoScroll)), Eo(), Lr(), i$();
2943
2950
  },
2944
2951
  nulling: function() {
2945
- Wr = Fn = lr = Kn = ur = _n = wn = null, we.length = 0;
2952
+ Wr = Fn = lr = Kn = cr = _n = wn = null, we.length = 0;
2946
2953
  },
2947
2954
  _handleFallbackAutoScroll: function(r) {
2948
2955
  this._handleAutoScroll(r, !0);
2949
2956
  },
2950
2957
  _handleAutoScroll: function(r, n) {
2951
2958
  var a = this, o = (r.touches ? r.touches[0] : r).clientX, i = (r.touches ? r.touches[0] : r).clientY, s = document.elementFromPoint(o, i);
2952
- if (Wr = r, n || this.options.forceAutoScrollFallback || _r || ft || fr) {
2959
+ if (Wr = r, n || this.options.forceAutoScrollFallback || _r || ht || fr) {
2953
2960
  Sn(r, this.options, s, n);
2954
2961
  var l = $t(s, !0);
2955
- Kn && (!ur || o !== _n || i !== wn) && (ur && Eo(), ur = setInterval(function() {
2956
- var u = $t(document.elementFromPoint(o, i), !0);
2957
- u !== l && (l = u, Lr()), Sn(r, a.options, u, n);
2962
+ Kn && (!cr || o !== _n || i !== wn) && (cr && Eo(), cr = setInterval(function() {
2963
+ var c = $t(document.elementFromPoint(o, i), !0);
2964
+ c !== l && (l = c, Lr()), Sn(r, a.options, c, n);
2958
2965
  }, 10), _n = o, wn = i);
2959
2966
  } else {
2960
2967
  if (!this.options.bubbleScroll || $t(s, !0) === nt()) {
@@ -2964,7 +2971,7 @@ function T$() {
2964
2971
  Sn(r, this.options, $t(s, !1), !1);
2965
2972
  }
2966
2973
  }
2967
- }, ct(e, {
2974
+ }, dt(e, {
2968
2975
  pluginName: "scroll",
2969
2976
  initializeByDefault: !0
2970
2977
  });
@@ -2975,37 +2982,37 @@ function Lr() {
2975
2982
  }), we = [];
2976
2983
  }
2977
2984
  function Eo() {
2978
- clearInterval(ur);
2985
+ clearInterval(cr);
2979
2986
  }
2980
2987
  var Sn = Ei(function(e, t, r, n) {
2981
2988
  if (t.scroll) {
2982
- var a = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, i = t.scrollSensitivity, s = t.scrollSpeed, l = nt(), u = !1, h;
2989
+ var a = (e.touches ? e.touches[0] : e).clientX, o = (e.touches ? e.touches[0] : e).clientY, i = t.scrollSensitivity, s = t.scrollSpeed, l = nt(), c = !1, h;
2983
2990
  Fn !== r && (Fn = r, Lr(), lr = t.scroll, h = t.scrollFn, lr === !0 && (lr = $t(r, !0)));
2984
- var d = 0, v = lr;
2991
+ var d = 0, p = lr;
2985
2992
  do {
2986
- var I = v, _ = Se(I), S = _.top, b = _.bottom, k = _.left, N = _.right, P = _.width, C = _.height, x = void 0, $ = void 0, V = I.scrollWidth, Q = I.scrollHeight, R = z(I), D = I.scrollLeft, q = I.scrollTop;
2987
- I === l ? (x = P < V && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), $ = C < Q && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : (x = P < V && (R.overflowX === "auto" || R.overflowX === "scroll"), $ = C < Q && (R.overflowY === "auto" || R.overflowY === "scroll"));
2988
- var Y = x && (Math.abs(N - a) <= i && D + P < V) - (Math.abs(k - a) <= i && !!D), L = $ && (Math.abs(b - o) <= i && q + C < Q) - (Math.abs(S - o) <= i && !!q);
2993
+ var E = p, w = Se(E), S = w.top, y = w.bottom, k = w.left, N = w.right, A = w.width, C = w.height, x = void 0, m = void 0, V = E.scrollWidth, Q = E.scrollHeight, R = z(E), j = E.scrollLeft, X = E.scrollTop;
2994
+ E === l ? (x = A < V && (R.overflowX === "auto" || R.overflowX === "scroll" || R.overflowX === "visible"), m = C < Q && (R.overflowY === "auto" || R.overflowY === "scroll" || R.overflowY === "visible")) : (x = A < V && (R.overflowX === "auto" || R.overflowX === "scroll"), m = C < Q && (R.overflowY === "auto" || R.overflowY === "scroll"));
2995
+ var q = x && (Math.abs(N - a) <= i && j + A < V) - (Math.abs(k - a) <= i && !!j), L = m && (Math.abs(y - o) <= i && X + C < Q) - (Math.abs(S - o) <= i && !!X);
2989
2996
  if (!we[d])
2990
- for (var oe = 0; oe <= d; oe++)
2991
- we[oe] || (we[oe] = {});
2992
- (we[d].vx != Y || we[d].vy != L || we[d].el !== I) && (we[d].el = I, we[d].vx = Y, we[d].vy = L, clearInterval(we[d].pid), (Y != 0 || L != 0) && (u = !0, we[d].pid = setInterval((function() {
2997
+ for (var ie = 0; ie <= d; ie++)
2998
+ we[ie] || (we[ie] = {});
2999
+ (we[d].vx != q || we[d].vy != L || we[d].el !== E) && (we[d].el = E, we[d].vx = q, we[d].vy = L, clearInterval(we[d].pid), (q != 0 || L != 0) && (c = !0, we[d].pid = setInterval((function() {
2993
3000
  n && this.layer === 0 && F.active._onTouchMove(Wr);
2994
- var me = we[this.layer].vy ? we[this.layer].vy * s : 0, ae = we[this.layer].vx ? we[this.layer].vx * s : 0;
2995
- typeof h == "function" && h.call(F.dragged.parentNode[Le], ae, me, e, Wr, we[this.layer].el) !== "continue" || Ai(we[this.layer].el, ae, me);
3001
+ var be = we[this.layer].vy ? we[this.layer].vy * s : 0, ae = we[this.layer].vx ? we[this.layer].vx * s : 0;
3002
+ typeof h == "function" && h.call(F.dragged.parentNode[Le], ae, be, e, Wr, we[this.layer].el) !== "continue" || Ai(we[this.layer].el, ae, be);
2996
3003
  }).bind({
2997
3004
  layer: d
2998
3005
  }), 24))), d++;
2999
- } while (t.bubbleScroll && v !== l && (v = $t(v, !1)));
3000
- Kn = u;
3006
+ } while (t.bubbleScroll && p !== l && (p = $t(p, !1)));
3007
+ Kn = c;
3001
3008
  }
3002
3009
  }, 30), Li = function(t) {
3003
3010
  var r = t.originalEvent, n = t.putSortable, a = t.dragEl, o = t.activeSortable, i = t.dispatchSortableEvent, s = t.hideGhostForTarget, l = t.unhideGhostForTarget;
3004
3011
  if (r) {
3005
- var u = n || o;
3012
+ var c = n || o;
3006
3013
  s();
3007
3014
  var h = r.changedTouches && r.changedTouches.length ? r.changedTouches[0] : r, d = document.elementFromPoint(h.clientX, h.clientY);
3008
- l(), u && !u.el.contains(d) && (i("spill"), this.onSpill({
3015
+ l(), c && !c.el.contains(d) && (i("spill"), this.onSpill({
3009
3016
  dragEl: a,
3010
3017
  putSortable: n
3011
3018
  }));
@@ -3027,7 +3034,7 @@ fa.prototype = {
3027
3034
  },
3028
3035
  drop: Li
3029
3036
  };
3030
- ct(fa, {
3037
+ dt(fa, {
3031
3038
  pluginName: "revertOnSpill"
3032
3039
  });
3033
3040
  function ha() {
@@ -3039,40 +3046,42 @@ ha.prototype = {
3039
3046
  },
3040
3047
  drop: Li
3041
3048
  };
3042
- ct(ha, {
3049
+ dt(ha, {
3043
3050
  pluginName: "removeOnSpill"
3044
3051
  });
3045
3052
  F.mount(new T$());
3046
3053
  F.mount(ha, fa);
3047
3054
  const C$ = (e, t, r, n, a, o, i) => {
3048
3055
  let s = null;
3049
- const l = (_, S) => {
3050
- if (!_) return null;
3051
- const b = _ == null ? void 0 : _.getAttribute("data-key");
3056
+ const l = (w, S) => {
3057
+ if (!w) return null;
3058
+ const y = w == null ? void 0 : w.getAttribute("data-key");
3052
3059
  return ms(
3053
3060
  S,
3054
- (N) => N[e.nodeKey] === b,
3061
+ (N) => N[e.nodeKey] === y,
3055
3062
  n.value.children
3056
3063
  );
3057
3064
  };
3058
- function u(_, S, b, k) {
3059
- const N = (P) => {
3060
- for (let C = 0; C < P.length; C++)
3061
- if (P[C][e.nodeKey] === S) {
3062
- const x = P.splice(C, 1)[0], $ = P.findIndex((V) => V[e.nodeKey] === b);
3063
- $ !== -1 && (k === "after" ? P.splice($ + 1, 0, x) : P.splice($, 0, x));
3065
+ function c(w, S, y, k) {
3066
+ const N = (A) => {
3067
+ for (let C = 0; C < A.length; C++)
3068
+ if (A[C][e.nodeKey] === S) {
3069
+ const x = A.splice(C, 1)[0], m = A.findIndex((V) => V[e.nodeKey] === y);
3070
+ m !== -1 && (k === "after" ? A.splice(m + 1, 0, x) : A.splice(m, 0, x));
3064
3071
  break;
3065
- } else P[C][n.value.children] && N(P[C][n.value.children]);
3072
+ } else A[C][n.value.children] && N(A[C][n.value.children]);
3066
3073
  };
3067
- return N(_), _;
3074
+ return N(w), w;
3068
3075
  }
3069
3076
  const h = te(!1), d = () => {
3070
3077
  setTimeout(() => {
3071
3078
  var N;
3072
3079
  if (!i.value) return;
3073
- const _ = (N = i.value) == null ? void 0 : N.$el.querySelector(".el-tree-virtual-list"), S = _ == null ? void 0 : _.querySelectorAll(".el-tree-virtual-list>div")[0];
3080
+ const w = (N = i.value) == null ? void 0 : N.$el.querySelector(".el-tree-virtual-list");
3081
+ console.log("treeBox===", w);
3082
+ const S = w == null ? void 0 : w.querySelectorAll(".el-tree-virtual-list>div")[0];
3074
3083
  if (!S) return;
3075
- let b = [], k = [];
3084
+ let y = [], k = [];
3076
3085
  s = F.create(S, {
3077
3086
  draggable: ".el-tree-node",
3078
3087
  //指定样式类的元素才允许拖动
@@ -3080,73 +3089,85 @@ const C$ = (e, t, r, n, a, o, i) => {
3080
3089
  //过渡动画时间
3081
3090
  scroll: !1,
3082
3091
  // 开始拖拽
3083
- onStart: (P) => {
3084
- h.value = !0, _.style["overflow-y"] = "hidden", b = S.querySelectorAll(".el-tree-node"), k = JSON.parse(JSON.stringify(r.value));
3092
+ onStart: (A) => {
3093
+ console.log("onStart==", A), h.value = !0, w.style["overflow-y"] = "hidden", y = S.querySelectorAll(".el-tree-node"), console.log("nodes==", y), k = JSON.parse(JSON.stringify(r.value)), console.log("originData===", k);
3085
3094
  },
3086
3095
  // 拖拽元素改变位置的时候
3087
- onChange: function(P) {
3088
- b.forEach((C, x) => {
3089
- const $ = C == null ? void 0 : C.querySelector(".drop-indicator");
3090
- $ && ($.style.visibility = P.newIndex === x ? "visible" : "hidden");
3096
+ onChange: function(A) {
3097
+ console.log("onChange===", A), y.forEach((C, x) => {
3098
+ const m = C == null ? void 0 : C.querySelector(".drop-indicator");
3099
+ m && (m.style.visibility = A.newIndex === x ? "visible" : "hidden");
3091
3100
  });
3092
3101
  },
3093
3102
  // 结束拖拽
3094
- onEnd: (P) => {
3095
- const C = P.newDraggableIndex + 1, x = () => {
3103
+ onEnd: (A) => {
3104
+ console.log("onEnd==", A);
3105
+ const C = A.newDraggableIndex + 1;
3106
+ console.log(
3107
+ "oldDraggableIndex==",
3108
+ A.oldDraggableIndex,
3109
+ "newDraggableIndex==",
3110
+ A.newDraggableIndex,
3111
+ "nextDraggbleIndex===",
3112
+ C
3113
+ );
3114
+ const x = () => {
3096
3115
  var L;
3097
- h.value = !1, _.style["overflow-y"] = "scroll";
3098
- const Y = (L = b[P.newDraggableIndex]) == null ? void 0 : L.querySelector(".drop-indicator");
3099
- Y.style.visibility = "hidden";
3116
+ h.value = !1, w.style["overflow-y"] = "scroll";
3117
+ const q = (L = y[A.newDraggableIndex]) == null ? void 0 : L.querySelector(".drop-indicator");
3118
+ q.style.visibility = "hidden";
3100
3119
  };
3101
- if (P.oldDraggableIndex === P.newDraggableIndex) {
3120
+ if (A.oldDraggableIndex === A.newDraggableIndex) {
3102
3121
  x();
3103
3122
  return;
3104
3123
  }
3105
- const $ = b[P.oldDraggableIndex], V = b[P.newDraggableIndex], Q = (b == null ? void 0 : b[C]) ?? null, R = l($, k), D = l(V, k), q = l(Q, k);
3106
- if (!R || !D) {
3124
+ const m = y[A.oldDraggableIndex], V = y[A.newDraggableIndex], Q = (y == null ? void 0 : y[C]) ?? null;
3125
+ console.log("oldNode==", m, "newNode==", V, "nextNode===", Q);
3126
+ const R = l(m, k), j = l(V, k), X = l(Q, k);
3127
+ if (console.log("oldRowData==", R, "newRowData==", j, "nextRowData==", X), !R || !j) {
3107
3128
  x();
3108
3129
  return;
3109
3130
  }
3110
- if (R[n.value.parentId] === D[n.value.parentId] || D[e.nodeKey] === R[n.value.parentId] && R[n.value.parentId] === q[n.value.parentId]) {
3111
- const Y = (R == null ? void 0 : R[e.nodeKey]) ?? "";
3112
- let L = (D == null ? void 0 : D[e.nodeKey]) ?? "", oe = "after";
3113
- q && D[e.nodeKey] === q[n.value.parentId] && (L = (q == null ? void 0 : q[e.nodeKey]) ?? "", oe = "before");
3114
- const me = u(k, Y, L, oe);
3115
- a(me), t("node-drop", R, D, q);
3131
+ if (R[n.value.parentId] === j[n.value.parentId] || j[e.nodeKey] === R[n.value.parentId] && R[n.value.parentId] === X[n.value.parentId]) {
3132
+ const q = (R == null ? void 0 : R[e.nodeKey]) ?? "";
3133
+ let L = (j == null ? void 0 : j[e.nodeKey]) ?? "", ie = "after";
3134
+ X && j[e.nodeKey] === X[n.value.parentId] && (L = (X == null ? void 0 : X[e.nodeKey]) ?? "", ie = "before");
3135
+ const be = c(k, q, L, ie);
3136
+ console.log("modifiedArray===", be), a(be), t("node-drop", R, j, X);
3116
3137
  } else
3117
3138
  _s.warning("只允许同级拖拽排序");
3118
3139
  x();
3119
3140
  }
3120
3141
  });
3121
3142
  }, 300);
3122
- }, v = te(null);
3143
+ }, p = te(null);
3123
3144
  Xr(() => {
3124
3145
  var S;
3125
- const _ = (S = i.value) == null ? void 0 : S.$el.querySelectorAll(".el-tree-virtual-list>div")[0];
3126
- v.value = $s(
3146
+ const w = (S = i.value) == null ? void 0 : S.$el.querySelectorAll(".el-tree-virtual-list>div")[0];
3147
+ p.value = $s(
3127
3148
  () => {
3128
- e.draggable && !h.value && ge(() => {
3149
+ e.draggable && !h.value && (console.log("树节点改变"), ve(() => {
3129
3150
  d();
3130
- });
3151
+ }));
3131
3152
  },
3132
- _,
3153
+ w,
3133
3154
  { childList: !0, subtree: !0 }
3134
3155
  );
3135
3156
  }), Qi(() => {
3136
- v.value.disconnect();
3157
+ p.value.disconnect();
3137
3158
  });
3138
- const I = () => {
3159
+ const E = () => {
3139
3160
  s == null || s.option("disabled", !0);
3140
3161
  };
3141
3162
  _t(
3142
3163
  () => e.draggable,
3143
- (_) => {
3144
- _ ? d() : I();
3164
+ (w) => {
3165
+ w ? d() : E();
3145
3166
  }
3146
3167
  ), _t(
3147
3168
  () => r.value,
3148
3169
  () => {
3149
- e.draggable ? d() : I();
3170
+ e.draggable ? d() : E();
3150
3171
  }
3151
3172
  );
3152
3173
  };
@@ -3186,7 +3207,7 @@ var sn = {
3186
3207
  "notify"
3187
3208
  ],
3188
3209
  mounted() {
3189
- Bn(), ge(() => {
3210
+ Bn(), ve(() => {
3190
3211
  this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
3191
3212
  });
3192
3213
  const e = document.createElement("object");
@@ -3279,11 +3300,11 @@ function L$(e) {
3279
3300
  }
3280
3301
  function z$(e, t) {
3281
3302
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, a, o, i = function(l) {
3282
- for (var u = arguments.length, h = new Array(u > 1 ? u - 1 : 0), d = 1; d < u; d++)
3303
+ for (var c = arguments.length, h = new Array(c > 1 ? c - 1 : 0), d = 1; d < c; d++)
3283
3304
  h[d - 1] = arguments[d];
3284
3305
  if (o = h, !(n && l === a)) {
3285
- var v = r.leading;
3286
- typeof v == "function" && (v = v(l, a)), (!n || l !== a) && v && e.apply(void 0, [l].concat(Ao(o))), a = l, clearTimeout(n), n = setTimeout(function() {
3306
+ var p = r.leading;
3307
+ typeof p == "function" && (p = p(l, a)), (!n || l !== a) && p && e.apply(void 0, [l].concat(Ao(o))), a = l, clearTimeout(n), n = setTimeout(function() {
3287
3308
  e.apply(void 0, [l].concat(Ao(o))), n = 0;
3288
3309
  }, t);
3289
3310
  }
@@ -3324,17 +3345,17 @@ var F$ = /* @__PURE__ */ function() {
3324
3345
  this.oldResult = void 0, this.observer = new IntersectionObserver(function(s) {
3325
3346
  var l = s[0];
3326
3347
  if (s.length > 1) {
3327
- var u = s.find(function(d) {
3348
+ var c = s.find(function(d) {
3328
3349
  return d.isIntersecting;
3329
3350
  });
3330
- u && (l = u);
3351
+ c && (l = c);
3331
3352
  }
3332
3353
  if (a.callback) {
3333
3354
  var h = l.isIntersecting && l.intersectionRatio >= a.threshold;
3334
3355
  if (h === a.oldResult) return;
3335
3356
  a.oldResult = h, a.callback(h, l);
3336
3357
  }
3337
- }, this.options.intersection), ge(function() {
3358
+ }, this.options.intersection), ve(function() {
3338
3359
  a.observer && a.observer.observe(a.el);
3339
3360
  });
3340
3361
  }
@@ -3353,10 +3374,13 @@ var F$ = /* @__PURE__ */ function() {
3353
3374
  }();
3354
3375
  function Fi(e, t, r) {
3355
3376
  var n = t.value;
3356
- if (n && !(typeof IntersectionObserver > "u")) {
3357
- var a = new F$(e, n, r);
3358
- e._vue_visibilityState = a;
3359
- }
3377
+ if (n)
3378
+ if (typeof IntersectionObserver > "u")
3379
+ console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");
3380
+ else {
3381
+ var a = new F$(e, n, r);
3382
+ e._vue_visibilityState = a;
3383
+ }
3360
3384
  }
3361
3385
  function K$(e, t, r) {
3362
3386
  var n = t.value, a = t.oldValue;
@@ -3583,7 +3607,7 @@ var Yr = {
3583
3607
  }
3584
3608
  },
3585
3609
  created() {
3586
- this.$_startIndex = 0, this.$_endIndex = 0, this.$_views = /* @__PURE__ */ new Map(), this.$_unusedViews = /* @__PURE__ */ new Map(), this.$_scrollDirty = !1, this.$_lastUpdateScrollPosition = 0, this.prerender && (this.$_prerender = !0, this.updateVisibleItems(!1)), this.gridItems && this.itemSize;
3610
+ this.$_startIndex = 0, this.$_endIndex = 0, this.$_views = /* @__PURE__ */ new Map(), this.$_unusedViews = /* @__PURE__ */ new Map(), this.$_scrollDirty = !1, this.$_lastUpdateScrollPosition = 0, this.prerender && (this.$_prerender = !0, this.updateVisibleItems(!1)), this.gridItems && !this.itemSize && console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems");
3587
3611
  },
3588
3612
  mounted() {
3589
3613
  this.applyPageMode(), this.$nextTick(() => {
@@ -3641,71 +3665,71 @@ var Yr = {
3641
3665
  })) : this.$emit("hidden"));
3642
3666
  },
3643
3667
  updateVisibleItems(e, t = !1) {
3644
- const r = this.itemSize, n = this.gridItems || 1, a = this.itemSecondarySize || r, o = this.$_computedMinItemSize, i = this.typeField, s = this.simpleArray ? null : this.keyField, l = this.items, u = l.length, h = this.sizes, d = this.$_views, v = this.$_unusedViews, I = this.pool, _ = this.itemIndexByKey;
3645
- let S, b, k, N, P;
3646
- if (!u)
3647
- S = b = N = P = k = 0;
3668
+ const r = this.itemSize, n = this.gridItems || 1, a = this.itemSecondarySize || r, o = this.$_computedMinItemSize, i = this.typeField, s = this.simpleArray ? null : this.keyField, l = this.items, c = l.length, h = this.sizes, d = this.$_views, p = this.$_unusedViews, E = this.pool, w = this.itemIndexByKey;
3669
+ let S, y, k, N, A;
3670
+ if (!c)
3671
+ S = y = N = A = k = 0;
3648
3672
  else if (this.$_prerender)
3649
- S = N = 0, b = P = Math.min(this.prerender, l.length), k = null;
3673
+ S = N = 0, y = A = Math.min(this.prerender, l.length), k = null;
3650
3674
  else {
3651
- const D = this.getScroll();
3675
+ const j = this.getScroll();
3652
3676
  if (t) {
3653
- let L = D.start - this.$_lastUpdateScrollPosition;
3677
+ let L = j.start - this.$_lastUpdateScrollPosition;
3654
3678
  if (L < 0 && (L = -L), r === null && L < o || L < r)
3655
3679
  return {
3656
3680
  continuous: !0
3657
3681
  };
3658
3682
  }
3659
- this.$_lastUpdateScrollPosition = D.start;
3660
- const q = this.buffer;
3661
- D.start -= q, D.end += q;
3662
- let Y = 0;
3663
- if (this.$refs.before && (Y = this.$refs.before.scrollHeight, D.start -= Y), this.$refs.after) {
3683
+ this.$_lastUpdateScrollPosition = j.start;
3684
+ const X = this.buffer;
3685
+ j.start -= X, j.end += X;
3686
+ let q = 0;
3687
+ if (this.$refs.before && (q = this.$refs.before.scrollHeight, j.start -= q), this.$refs.after) {
3664
3688
  const L = this.$refs.after.scrollHeight;
3665
- D.end += L;
3689
+ j.end += L;
3666
3690
  }
3667
3691
  if (r === null) {
3668
- let L, oe = 0, me = u - 1, ae = ~~(u / 2), xe;
3692
+ let L, ie = 0, be = c - 1, ae = ~~(c / 2), xe;
3669
3693
  do
3670
- xe = ae, L = h[ae].accumulator, L < D.start ? oe = ae : ae < u - 1 && h[ae + 1].accumulator > D.start && (me = ae), ae = ~~((oe + me) / 2);
3694
+ xe = ae, L = h[ae].accumulator, L < j.start ? ie = ae : ae < c - 1 && h[ae + 1].accumulator > j.start && (be = ae), ae = ~~((ie + be) / 2);
3671
3695
  while (ae !== xe);
3672
- for (ae < 0 && (ae = 0), S = ae, k = h[u - 1].accumulator, b = ae; b < u && h[b].accumulator < D.end; b++) ;
3673
- for (b === -1 ? b = l.length - 1 : (b++, b > u && (b = u)), N = S; N < u && Y + h[N].accumulator < D.start; N++) ;
3674
- for (P = N; P < u && Y + h[P].accumulator < D.end; P++) ;
3696
+ for (ae < 0 && (ae = 0), S = ae, k = h[c - 1].accumulator, y = ae; y < c && h[y].accumulator < j.end; y++) ;
3697
+ for (y === -1 ? y = l.length - 1 : (y++, y > c && (y = c)), N = S; N < c && q + h[N].accumulator < j.start; N++) ;
3698
+ for (A = N; A < c && q + h[A].accumulator < j.end; A++) ;
3675
3699
  } else {
3676
- S = ~~(D.start / r * n);
3700
+ S = ~~(j.start / r * n);
3677
3701
  const L = S % n;
3678
- S -= L, b = Math.ceil(D.end / r * n), N = Math.max(0, Math.floor((D.start - Y) / r * n)), P = Math.floor((D.end - Y) / r * n), S < 0 && (S = 0), b > u && (b = u), N < 0 && (N = 0), P > u && (P = u), k = Math.ceil(u / n) * r;
3702
+ S -= L, y = Math.ceil(j.end / r * n), N = Math.max(0, Math.floor((j.start - q) / r * n)), A = Math.floor((j.end - q) / r * n), S < 0 && (S = 0), y > c && (y = c), N < 0 && (N = 0), A > c && (A = c), k = Math.ceil(c / n) * r;
3679
3703
  }
3680
3704
  }
3681
- b - S > R$.itemsLimit && this.itemsLimitError(), this.totalSize = k;
3705
+ y - S > R$.itemsLimit && this.itemsLimitError(), this.totalSize = k;
3682
3706
  let C;
3683
- const x = S <= this.$_endIndex && b >= this.$_startIndex;
3707
+ const x = S <= this.$_endIndex && y >= this.$_startIndex;
3684
3708
  if (x)
3685
- for (let D = 0, q = I.length; D < q; D++)
3686
- C = I[D], C.nr.used && (e && (C.nr.index = _[C.item[s]]), (C.nr.index == null || C.nr.index < S || C.nr.index >= b) && this.unuseView(C));
3687
- const $ = x ? null : /* @__PURE__ */ new Map();
3709
+ for (let j = 0, X = E.length; j < X; j++)
3710
+ C = E[j], C.nr.used && (e && (C.nr.index = w[C.item[s]]), (C.nr.index == null || C.nr.index < S || C.nr.index >= y) && this.unuseView(C));
3711
+ const m = x ? null : /* @__PURE__ */ new Map();
3688
3712
  let V, Q, R;
3689
- for (let D = S; D < b; D++) {
3690
- V = l[D];
3691
- const q = s ? V[s] : V;
3692
- if (q == null)
3693
- throw new Error(`Key is ${q} on item (keyField is '${s}')`);
3694
- if (C = d.get(q), !r && !h[D].size) {
3713
+ for (let j = S; j < y; j++) {
3714
+ V = l[j];
3715
+ const X = s ? V[s] : V;
3716
+ if (X == null)
3717
+ throw new Error(`Key is ${X} on item (keyField is '${s}')`);
3718
+ if (C = d.get(X), !r && !h[j].size) {
3695
3719
  C && this.unuseView(C);
3696
3720
  continue;
3697
3721
  }
3698
3722
  Q = V[i];
3699
- let Y = v.get(Q), L = !1;
3723
+ let q = p.get(Q), L = !1;
3700
3724
  if (!C)
3701
- x ? Y && Y.length ? C = Y.pop() : C = this.addView(I, D, V, q, Q) : (R = $.get(Q) || 0, (!Y || R >= Y.length) && (C = this.addView(I, D, V, q, Q), this.unuseView(C, !0), Y = v.get(Q)), C = Y[R], $.set(Q, R + 1)), d.delete(C.nr.key), C.nr.used = !0, C.nr.index = D, C.nr.key = q, C.nr.type = Q, d.set(q, C), L = !0;
3702
- else if (!C.nr.used && (C.nr.used = !0, L = !0, Y)) {
3703
- const oe = Y.indexOf(C);
3704
- oe !== -1 && Y.splice(oe, 1);
3725
+ x ? q && q.length ? C = q.pop() : C = this.addView(E, j, V, X, Q) : (R = m.get(Q) || 0, (!q || R >= q.length) && (C = this.addView(E, j, V, X, Q), this.unuseView(C, !0), q = p.get(Q)), C = q[R], m.set(Q, R + 1)), d.delete(C.nr.key), C.nr.used = !0, C.nr.index = j, C.nr.key = X, C.nr.type = Q, d.set(X, C), L = !0;
3726
+ else if (!C.nr.used && (C.nr.used = !0, L = !0, q)) {
3727
+ const ie = q.indexOf(C);
3728
+ ie !== -1 && q.splice(ie, 1);
3705
3729
  }
3706
- C.item = V, L && (D === l.length - 1 && this.$emit("scroll-end"), D === 0 && this.$emit("scroll-start")), r === null ? (C.position = h[D - 1].accumulator, C.offset = 0) : (C.position = Math.floor(D / n) * r, C.offset = D % n * a);
3730
+ C.item = V, L && (j === l.length - 1 && this.$emit("scroll-end"), j === 0 && this.$emit("scroll-start")), r === null ? (C.position = h[j - 1].accumulator, C.offset = 0) : (C.position = Math.floor(j / n) * r, C.offset = j % n * a);
3707
3731
  }
3708
- return this.$_startIndex = S, this.$_endIndex = b, this.emitUpdate && this.$emit("update", S, b, N, P), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
3732
+ return this.$_startIndex = S, this.$_endIndex = y, this.emitUpdate && this.$emit("update", S, y, N, A), clearTimeout(this.$_sortTimer), this.$_sortTimer = setTimeout(this.sortViews, this.updateInterval + 300), {
3709
3733
  continuous: x
3710
3734
  };
3711
3735
  },
@@ -3752,14 +3776,15 @@ var Yr = {
3752
3776
  const t = this.direction === "vertical" ? { scroll: "scrollTop", start: "top" } : { scroll: "scrollLeft", start: "left" };
3753
3777
  let r, n, a;
3754
3778
  if (this.pageMode) {
3755
- const o = Do(this.$el), i = o.tagName === "HTML" ? 0 : o[t.scroll], s = o.getBoundingClientRect(), u = this.$el.getBoundingClientRect()[t.start] - s[t.start];
3756
- r = o, n = t.scroll, a = e + i + u;
3779
+ const o = Do(this.$el), i = o.tagName === "HTML" ? 0 : o[t.scroll], s = o.getBoundingClientRect(), c = this.$el.getBoundingClientRect()[t.start] - s[t.start];
3780
+ r = o, n = t.scroll, a = e + i + c;
3757
3781
  } else
3758
3782
  r = this.$el, n = t.scroll, a = e;
3759
3783
  r[n] = a;
3760
3784
  },
3761
3785
  itemsLimitError() {
3762
3786
  throw setTimeout(() => {
3787
+ console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.", "Scroller:", this.$el), console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.");
3763
3788
  }), new Error("Rendered items limit reached");
3764
3789
  },
3765
3790
  sortViews() {
@@ -3778,7 +3803,7 @@ const q$ = {
3778
3803
  };
3779
3804
  function Z$(e, t, r, n, a, o) {
3780
3805
  const i = os("ResizeObserver"), s = is("observe-visibility");
3781
- return Fe((M(), W(
3806
+ return Fe((M(), Y(
3782
3807
  "div",
3783
3808
  {
3784
3809
  class: yt(["vue-recycle-scroller", {
@@ -3789,7 +3814,7 @@ function Z$(e, t, r, n, a, o) {
3789
3814
  onScrollPassive: t[0] || (t[0] = (...l) => o.handleScroll && o.handleScroll(...l))
3790
3815
  },
3791
3816
  [
3792
- e.$slots.before ? (M(), W(
3817
+ e.$slots.before ? (M(), Y(
3793
3818
  "div",
3794
3819
  q$,
3795
3820
  [
@@ -3804,7 +3829,7 @@ function Z$(e, t, r, n, a, o) {
3804
3829
  class: yt(["vue-recycle-scroller__item-wrapper", r.listClass])
3805
3830
  }, {
3806
3831
  default: Me(() => [
3807
- (M(!0), W(
3832
+ (M(!0), Y(
3808
3833
  rt,
3809
3834
  null,
3810
3835
  Dr(a.pool, (l) => (M(), Ge(_a(r.itemTag), On({
@@ -3846,7 +3871,7 @@ function Z$(e, t, r, n, a, o) {
3846
3871
  _: 3
3847
3872
  /* FORWARDED */
3848
3873
  }, 8, ["style", "class"])),
3849
- e.$slots.after ? (M(), W(
3874
+ e.$slots.after ? (M(), Y(
3850
3875
  "div",
3851
3876
  J$,
3852
3877
  [
@@ -3886,19 +3911,19 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
3886
3911
  }, l_ = {
3887
3912
  key: 0,
3888
3913
  class: "empty-box"
3889
- }, u_ = {
3914
+ }, c_ = {
3890
3915
  key: 0,
3891
3916
  class: "search-result-container das-ce-scrollbar"
3892
- }, c_ = ["onMousedown"], d_ = { class: "name" }, f_ = {
3917
+ }, u_ = ["onMousedown"], d_ = { class: "name" }, f_ = {
3893
3918
  key: 0,
3894
3919
  class: "path-name"
3895
3920
  }, h_ = {
3896
3921
  key: 1,
3897
3922
  class: "search-result-container"
3898
- }, p_ = {
3923
+ }, g_ = {
3899
3924
  key: 0,
3900
3925
  class: "search-result-container das-ce-scrollbar"
3901
- }, v_ = ["onMousedown"], g_ = { class: "name" }, y_ = {
3926
+ }, p_ = ["onMousedown"], v_ = { class: "name" }, y_ = {
3902
3927
  key: 0,
3903
3928
  class: "path-name"
3904
3929
  }, b_ = {
@@ -3961,7 +3986,7 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
3961
3986
  emits: ["update:filterValue", "update:modelValue", "update:path", "change", "handleOperation", "filter-value-change", "filter-node-click", "node-change", "node-click", "node-db-click", "current-change", "check-node-change", "node-drop"],
3962
3987
  setup(e, { expose: t, emit: r }) {
3963
3988
  const n = e, a = r;
3964
- ps({
3989
+ gs({
3965
3990
  gengduocaozuo: import("@das-fed/upf-ui/packages/icons/gengduocaozuo"),
3966
3991
  search: import("@das-fed/upf-ui/packages/icons/search"),
3967
3992
  add: import("@das-fed/upf-ui/packages/icons/add"),
@@ -3971,235 +3996,242 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
3971
3996
  preview: import("@das-fed/upf-ui/packages/icons/preview"),
3972
3997
  view: import("@das-fed/upf-ui/packages/icons/view")
3973
3998
  });
3974
- const o = te([]), i = te(), s = te(null), l = te(0), u = te(!0);
3999
+ const o = te([]), i = te(), s = te(null), l = te(0), c = te(!0);
3975
4000
  Xr(async () => {
3976
- await ge(), i.value = ws((c) => {
3977
- l.value = c.height;
4001
+ await ve(), i.value = ws((u) => {
4002
+ l.value = u.height, console.log("dom===", u);
3978
4003
  }, s.value);
3979
4004
  }), xo(() => {
3980
- var c;
3981
- i.value && ((c = i.value) == null || c.disconnect());
4005
+ var u;
4006
+ i.value && ((u = i.value) == null || u.disconnect());
3982
4007
  });
3983
- const h = Te(() => n != null && n.height ? n.height : l.value), d = async (c, O) => {
3984
- if (k.value && !c[w.value.isLeaf] && !c._hasLoadData) {
3985
- c[w.value.children] = c[w.value.children].filter(
3986
- (T) => T[n.nodeKey]
3987
- );
3988
- let U = await k.value(c);
3989
- if (!U.data) return;
3990
- U.data.forEach((T) => {
3991
- var A, se, Ee;
3992
- !T[w.value.isLeaf] && (!((A = T.children) != null && A.length) || !((Ee = (se = T.children) == null ? void 0 : se[0]) != null && Ee[n.nodeKey])) && (T.children = [{ [n.nodeKey]: "", [w.value.label]: "" }]);
3993
- }), c[w.value.children] = U.data, c._hasLoadData = !0, ke.value = cr([...ke.value, ...U.data], n.nodeKey), v();
4008
+ const h = Te(() => n != null && n.height ? n.height : l.value), d = async (u, O) => {
4009
+ if (console.log("节点展开", u, O, "****//****", k), k.value) {
4010
+ if (!u[_.value.isLeaf] && !u._hasLoadData) {
4011
+ u[_.value.children] = u[_.value.children].filter(
4012
+ (T) => T[n.nodeKey]
4013
+ );
4014
+ let K = await k.value(u);
4015
+ if (!K.data) return;
4016
+ K.data.forEach((T) => {
4017
+ var D, oe, Ee;
4018
+ !T[_.value.isLeaf] && (!((D = T.children) != null && D.length) || !((Ee = (oe = T.children) == null ? void 0 : oe[0]) != null && Ee[n.nodeKey])) && (T.children = [{ [n.nodeKey]: "", [_.value.label]: "" }]);
4019
+ }), u[_.value.children] = K.data, u._hasLoadData = !0, ke.value = ur([...ke.value, ...K.data], n.nodeKey), p();
4020
+ }
4021
+ console.log("-------------", n.data, u);
3994
4022
  }
3995
- a("node-expend", c, O);
3996
- }, v = (c = o.value) => {
3997
- var O;
3998
- x.value && (o.value = c, (O = x.value) == null || O.setData(c));
3999
- }, I = ls(), _ = Te(() => n.emptyText || He("暂无数据")), S = Te(() => n.searchEmptyText || He("noDataTryAnotherKeyword")), b = Te(() => I.lazy ?? !!k.value), k = Te(() => n.load ?? void 0), N = Te(() => n.search ?? void 0), P = Te(() => n.showCheckbox ? $.value : []), C = Te(() => n.showCheckbox ? n.currentNodeKey : $.value), x = te(), $ = Te({
4023
+ a("node-expend", u, O);
4024
+ }, p = (u = o.value) => {
4025
+ var O, K;
4026
+ x.value && (console.log("setData------------------", o, (O = o.value) == null ? void 0 : O.length), o.value = u, (K = x.value) == null || K.setData(u));
4027
+ }, E = ls(), w = Te(() => n.emptyText || He("暂无数据")), S = Te(() => n.searchEmptyText || He("noDataTryAnotherKeyword")), y = Te(() => E.lazy ?? !!k.value), k = Te(() => n.load ?? void 0);
4028
+ console.log(n.load, "//////", n.data, y, E.lazy, n.load);
4029
+ const N = Te(() => n.search ?? void 0), A = Te(() => n.showCheckbox ? m.value : []), C = Te(() => n.showCheckbox ? n.currentNodeKey : m.value), x = te(), m = Te({
4000
4030
  get() {
4001
4031
  return n.showCheckbox && !n.modelValue ? [] : n.modelValue;
4002
4032
  },
4003
- set(c) {
4004
- a("update:modelValue", c);
4033
+ set(u) {
4034
+ a("update:modelValue", u);
4005
4035
  }
4006
4036
  }), V = Te({
4007
4037
  get: () => n.path,
4008
- set: (c) => {
4009
- a("update:path", c);
4038
+ set: (u) => {
4039
+ a("update:path", u);
4010
4040
  }
4011
4041
  }), Q = te([]), R = Te(() => {
4012
- let c = [...Q.value, ...n.defaultExpandedKeys];
4013
- return Array.from(new Set(c));
4042
+ let u = [...Q.value, ...n.defaultExpandedKeys];
4043
+ return Array.from(new Set(u));
4014
4044
  });
4015
- let D = null;
4016
- const q = async () => new Promise(async (c) => {
4045
+ let j = null;
4046
+ const X = async () => (console.log("treeNextTick", x.value), new Promise(async (u) => {
4017
4047
  const O = () => {
4018
- let U = null;
4048
+ let K = null;
4019
4049
  if (s.value.querySelector(".el-tree-virtual-list"))
4020
- return D = new MutationObserver((A, se) => {
4021
- }), D.observe(s.value, { childList: !0 }), U && clearTimeout(U), c(!0);
4022
- U = setTimeout(() => O(), 50);
4050
+ return console.log("treeDom+++++++++++++++++++++++"), j = new MutationObserver((D, oe) => {
4051
+ console.log("treeObserver---------", D, oe);
4052
+ }), j.observe(s.value, { childList: !0 }), K && clearTimeout(K), u(!0);
4053
+ K = setTimeout(() => O(), 50);
4023
4054
  };
4024
4055
  O();
4025
- }), Y = (c, O, U) => {
4026
- if (c)
4027
- for (let T = 0; T < c.length; T++) {
4028
- if (c[T][n.nodeKey] === O) {
4029
- c[T] = { ...c[T], ...U };
4056
+ })), q = (u, O, K) => {
4057
+ if (u)
4058
+ for (let T = 0; T < u.length; T++) {
4059
+ if (u[T][n.nodeKey] === O) {
4060
+ u[T] = { ...u[T], ...K };
4030
4061
  break;
4031
4062
  }
4032
- c[T][w.value.children] && Y(c[T][w.value.children], O, U);
4063
+ u[T][_.value.children] && q(u[T][_.value.children], O, K);
4033
4064
  }
4034
- }, L = (c) => new Promise((O) => {
4035
- let U = 0;
4065
+ }, L = (u) => new Promise((O) => {
4066
+ let K = 0;
4036
4067
  const T = () => {
4037
4068
  if (!(!ke.value || !ke.value.length)) {
4038
- if (Array.isArray(c)) {
4039
- const A = ke.value.filter((se) => c.includes(se[n.nodeKey]));
4040
- if (A.length === c.length) return O(A);
4069
+ if (Array.isArray(u)) {
4070
+ const D = ke.value.filter((oe) => u.includes(oe[n.nodeKey]));
4071
+ if (D.length === u.length) return O(D);
4041
4072
  } else {
4042
- const A = ke.value.find((se) => se[n.nodeKey] === c);
4043
- if (A) return O(A);
4073
+ const D = ke.value.find((oe) => oe[n.nodeKey] === u);
4074
+ if (D) return O(D);
4044
4075
  }
4045
4076
  if (setTimeout(() => {
4046
- T(), U += 50;
4047
- }, 50), U >= 6e3)
4048
- return Array.isArray(c) ? O([]) : O({});
4077
+ T(), K += 50;
4078
+ }, 50), K >= 6e3)
4079
+ return Array.isArray(u) ? O([]) : O({});
4049
4080
  }
4050
4081
  };
4051
4082
  T();
4052
- }), oe = async (c) => {
4083
+ }), ie = async (u) => {
4053
4084
  if (n.getGrandChildren)
4054
- return await n.getGrandChildren(c);
4055
- }, me = (c, O) => {
4056
- var T, A, se;
4057
- let U = (T = c == null ? void 0 : c[w.value.children]) == null ? void 0 : T.length;
4058
- if (U > 0)
4059
- for (let Ee = 0; Ee < U; Ee++) {
4060
- const Ae = O, _e = c == null ? void 0 : c[w.value.children][Ee];
4085
+ return await n.getGrandChildren(u);
4086
+ }, be = (u, O) => {
4087
+ var T, D, oe;
4088
+ console.log(u, O);
4089
+ let K = (T = u == null ? void 0 : u[_.value.children]) == null ? void 0 : T.length;
4090
+ if (K > 0)
4091
+ for (let Ee = 0; Ee < K; Ee++) {
4092
+ const Ae = O, _e = u == null ? void 0 : u[_.value.children][Ee];
4061
4093
  if (Ce(_e.data, _e)) {
4062
- me({ ..._e, checked: Ae }, O);
4094
+ be({ ..._e, checked: Ae }, O);
4063
4095
  continue;
4064
4096
  }
4065
- _e.checked = Ae, (A = x.value) == null || A.setChecked(_e.key, Ae), me(_e, O);
4097
+ console.log("childNode------", _e), _e.checked = Ae, (D = x.value) == null || D.setChecked(_e.key, Ae), be(_e, O);
4066
4098
  }
4067
- x.value && ($.value = (se = x.value) == null ? void 0 : se.getCheckedKeys());
4068
- }, ae = async (c, O) => {
4069
- var se, Ee, Ae;
4070
- if (va(c, null)) {
4099
+ x.value && (m.value = (oe = x.value) == null ? void 0 : oe.getCheckedKeys());
4100
+ }, ae = async (u, O) => {
4101
+ var oe, Ee, Ae;
4102
+ if (pa(u, null)) {
4071
4103
  if (O)
4072
- $.value.includes(c[n.nodeKey]) || $.value.push(c[n.nodeKey]);
4104
+ m.value.includes(u[n.nodeKey]) || m.value.push(u[n.nodeKey]);
4073
4105
  else {
4074
- const _e = $.value.findIndex((ze) => ze === c[n.nodeKey]);
4075
- _e > -1 && $.value.splice(_e, 1);
4106
+ const _e = m.value.findIndex((ze) => ze === u[n.nodeKey]);
4107
+ _e > -1 && m.value.splice(_e, 1);
4076
4108
  }
4077
- return (se = x.value) == null || se.setCheckedKeys($.value), Qe.value = !0, [];
4109
+ return (oe = x.value) == null || oe.setCheckedKeys(m.value), Qe.value = !0, [];
4078
4110
  }
4079
- let U = await oe(c);
4080
- ke.value = cr([...ke.value, ...U], n.nodeKey);
4081
- const T = U.concat(c), A = Array.from(new Set(T.map((_e) => _e[n.nodeKey])));
4111
+ let K = await ie(u);
4112
+ ke.value = ur([...ke.value, ...K], n.nodeKey);
4113
+ const T = K.concat(u), D = Array.from(new Set(T.map((_e) => _e[n.nodeKey])));
4082
4114
  if (O) {
4083
- const _e = $.value ?? [], ze = Ct([..._e, ...A]);
4084
- $.value = Array.from(new Set(ze)), (Ee = x.value) == null || Ee.setCheckedKeys(ze);
4115
+ const _e = m.value ?? [], ze = Ct([..._e, ...D]);
4116
+ m.value = Array.from(new Set(ze)), (Ee = x.value) == null || Ee.setCheckedKeys(ze);
4085
4117
  } else {
4086
- const ze = ($.value ?? []).filter((Mt) => !A.includes(Mt));
4087
- $.value = Array.from(new Set(ze)), (Ae = x.value) == null || Ae.setCheckedKeys(ze);
4118
+ const ze = (m.value ?? []).filter((Mt) => !D.includes(Mt));
4119
+ m.value = Array.from(new Set(ze)), (Ae = x.value) == null || Ae.setCheckedKeys(ze);
4088
4120
  }
4089
- return U;
4090
- }, xe = te([]), Oe = async (c, O) => {
4121
+ return K;
4122
+ }, xe = te([]), Oe = async (u, O) => {
4091
4123
  var T;
4092
- if (b.value) {
4093
- const A = await ae(c, O);
4094
- return a("check-node-change", $.value, c, O), xe.value = A.map((se) => se[n.nodeKey]), A;
4124
+ if (y.value) {
4125
+ const D = await ae(u, O);
4126
+ return a("check-node-change", m.value, u, O), xe.value = D.map((oe) => oe[n.nodeKey]), D;
4095
4127
  }
4096
- await ge();
4097
- const U = (T = x.value) == null ? void 0 : T.getNode(c[n.nodeKey]);
4098
- return me(U, O), !0;
4099
- }, Je = (c, O) => {
4100
- var A;
4101
- const U = c == null ? void 0 : c.parent;
4102
- if (!U) return;
4128
+ await ve();
4129
+ const K = (T = x.value) == null ? void 0 : T.getNode(u[n.nodeKey]);
4130
+ return be(K, O), !0;
4131
+ }, Je = (u, O) => {
4132
+ var D;
4133
+ const K = u == null ? void 0 : u.parent;
4134
+ if (!K) return;
4103
4135
  const T = O;
4104
- if (Ce(U.data, U)) {
4105
- Je({ ...U, checked: T }, O);
4136
+ if (Ce(K.data, K)) {
4137
+ Je({ ...K, checked: T }, O);
4106
4138
  return;
4107
4139
  }
4108
- T && (U.checked = T, (A = x.value) == null || A.setChecked(U.key, T)), Je(U, O);
4109
- }, jt = async (c, O) => {
4110
- var T, A;
4111
- await ge();
4112
- const U = (T = x.value) == null ? void 0 : T.getNode(c[n.nodeKey]);
4113
- return Je(U, O), x.value && ($.value = (A = x.value) == null ? void 0 : A.getCheckedKeys()), !0;
4114
- }, Ze = te(!1), Qe = te(!1), it = async (c, O, U = !1) => {
4140
+ T && (K.checked = T, (D = x.value) == null || D.setChecked(K.key, T)), Je(K, O);
4141
+ }, jt = async (u, O) => {
4142
+ var T, D;
4143
+ await ve();
4144
+ const K = (T = x.value) == null ? void 0 : T.getNode(u[n.nodeKey]);
4145
+ return Je(K, O), x.value && (m.value = (D = x.value) == null ? void 0 : D.getCheckedKeys()), !0;
4146
+ }, Ze = te(!1), Qe = te(!1), it = async (u, O, K = !1) => {
4115
4147
  var _e, ze;
4116
- Qe.value = !0;
4117
- const { checkedKeys: T } = O, A = T.includes(c[n.nodeKey]), se = $.value.includes(c[n.nodeKey]), Ee = n.keepSelected && !Ri(c) && se && !A;
4118
- await ge();
4148
+ console.log("onCheck==", u, O, K), Qe.value = !0;
4149
+ const { checkedKeys: T } = O, D = T.includes(u[n.nodeKey]), oe = m.value.includes(u[n.nodeKey]), Ee = n.keepSelected && !Ri(u) && oe && !D;
4150
+ await ve();
4119
4151
  let Ae = ((_e = x.value) == null ? void 0 : _e.getCheckedKeys()) || [];
4120
- if (Ee && (Ae = Ct([...Ae, c[n.nodeKey]]), n.showCheckbox && ((ze = x.value) == null || ze.setCheckedKeys(Ae))), n.parentLinkChildrenStrictly || ($.value = Ae), A && n.childLinkParentStrictly && !Ze.value) {
4121
- const Mt = $.value ?? [];
4122
- await jt(c, A), $.value = Array.from(/* @__PURE__ */ new Set([...Mt, ...$.value]));
4152
+ if (Ee && (Ae = Ct([...Ae, u[n.nodeKey]]), n.showCheckbox && ((ze = x.value) == null || ze.setCheckedKeys(Ae))), n.parentLinkChildrenStrictly || (m.value = Ae), D && n.childLinkParentStrictly && !Ze.value) {
4153
+ const Mt = m.value ?? [];
4154
+ await jt(u, D), m.value = Array.from(/* @__PURE__ */ new Set([...Mt, ...m.value]));
4123
4155
  }
4124
- n.parentLinkChildrenStrictly && !Ze.value && await Oe(c, A), n.parentLinkChildrenStrictly && b.value || (await ge(), a("check-node-change", $.value, c, A)), U && a("change", $.value);
4125
- }, ht = te(!1), ke = te([]), {
4156
+ n.parentLinkChildrenStrictly && !Ze.value && await Oe(u, D), n.parentLinkChildrenStrictly && y.value || (await ve(), a("check-node-change", m.value, u, D)), K && a("change", m.value);
4157
+ }, gt = te(!1), ke = te([]), {
4126
4158
  realHeight: kt,
4127
4159
  dasTree: pt,
4128
- getMergeOperations: E,
4129
- getOperations: J,
4160
+ getMergeOperations: I,
4161
+ getOperations: W,
4130
4162
  handleOperation: G,
4131
- filterInnerValue: ie,
4163
+ filterInnerValue: se,
4132
4164
  filterList: le,
4133
4165
  selectItem: f,
4134
- nodeClass: m,
4135
- nodeClick: g,
4136
- isActive: j,
4137
- defaultProps: w,
4166
+ nodeClass: $,
4167
+ nodeClick: v,
4168
+ isActive: P,
4169
+ defaultProps: _,
4138
4170
  filterNodeMethodFn: ee,
4139
4171
  filterSeach: re,
4140
4172
  filterClear: he,
4141
- expandParent: $e,
4173
+ expandParent: me,
4142
4174
  disabledFlag: Ce,
4143
4175
  currentOprationKey: et,
4144
4176
  oprationVisibleChange: We,
4145
4177
  setOprationsMoreBtnRefs: Ie,
4146
4178
  oprationsPopoverRef: vt,
4147
- moreBtnEnter: gt,
4148
- currentMoreBtnRef: pa,
4149
- currentOprationItem: be,
4150
- isLeafFlag: va,
4151
- filterCustomClass: ga,
4179
+ moreBtnEnter: st,
4180
+ currentMoreBtnRef: ga,
4181
+ currentOprationItem: $e,
4182
+ isLeafFlag: pa,
4183
+ filterCustomClass: va,
4152
4184
  allowUnSelectFlag: Ri,
4153
4185
  findSelectableParentNode: Ui,
4154
4186
  currentChange: Vi
4155
- } = md(n, a, x, V, $, b, Q, it, ht), { searchData: Pt, handleSearch: ya, handleSearchClear: Gi, resetLazyLoad: Hi, handleSearchResultItemClick: Wi } = Zm(
4187
+ } = md(n, a, x, V, m, y, Q, it, gt), { searchData: Pt, handleSearch: ya, handleSearchClear: Gi, resetLazyLoad: Hi, handleSearchResultItemClick: Wi } = Zm(
4156
4188
  n,
4157
4189
  a,
4158
4190
  x,
4159
4191
  pt,
4160
- b,
4161
- ie,
4162
- $,
4163
- w,
4192
+ y,
4193
+ se,
4194
+ m,
4195
+ _,
4164
4196
  V,
4165
- g,
4166
- q,
4197
+ v,
4198
+ X,
4167
4199
  Ce,
4168
- j,
4169
- va,
4200
+ P,
4201
+ pa,
4170
4202
  ke,
4171
4203
  it,
4172
4204
  Q,
4173
- oe,
4174
- ht,
4175
- v,
4176
- Y,
4205
+ ie,
4206
+ gt,
4207
+ p,
4208
+ q,
4177
4209
  o,
4178
4210
  R
4179
4211
  ), Yi = () => {
4180
- N.value ? ya() : re(), ge(() => {
4181
- Sr.value = !1, ge(() => {
4212
+ N.value ? ya() : re(), ve(() => {
4213
+ Sr.value = !1, ve(() => {
4182
4214
  Sr.value = !0;
4183
4215
  });
4184
4216
  });
4185
4217
  };
4186
4218
  let Sr = te(!1);
4187
4219
  _t(
4188
- () => ie.value,
4189
- (c) => {
4190
- a("filter-value-change", c), $.value = [], Yi();
4220
+ () => se.value,
4221
+ (u) => {
4222
+ a("filter-value-change", u), m.value = [], Yi();
4191
4223
  }
4192
4224
  );
4193
4225
  const Nt = te(null);
4194
4226
  _t(
4195
- () => $.value,
4196
- (c) => {
4197
- var T, A, se;
4198
- const O = n.showCheckbox ? c ?? [] : c ?? void 0, U = n.showCheckbox ? Nt.value ?? [] : Nt.value ?? void 0;
4199
- if (JSON.stringify(O) !== JSON.stringify(U)) {
4227
+ () => m.value,
4228
+ (u) => {
4229
+ var T, D, oe;
4230
+ const O = n.showCheckbox ? u ?? [] : u ?? void 0, K = n.showCheckbox ? Nt.value ?? [] : Nt.value ?? void 0;
4231
+ if (JSON.stringify(O) !== JSON.stringify(K)) {
4200
4232
  if (n.showCheckbox) {
4201
4233
  if (O.length === 0) {
4202
- (A = x.value) == null || A.setCheckedKeys([]), Nt.value = Ct(O);
4234
+ (D = x.value) == null || D.setCheckedKeys([]), Nt.value = Ct(O);
4203
4235
  return;
4204
4236
  }
4205
4237
  } else if (!O) {
@@ -4210,28 +4242,28 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
4210
4242
  Qe.value = !1, Nt.value = Ct(O);
4211
4243
  return;
4212
4244
  }
4213
- b.value || (n.showCheckbox ? (se = x.value) == null || se.setCheckedKeys(O) : $e()), Nt.value = Ct(O);
4245
+ y.value || (n.showCheckbox ? (oe = x.value) == null || oe.setCheckedKeys(O) : me()), Nt.value = Ct(O);
4214
4246
  }
4215
4247
  },
4216
4248
  { immediate: !0, deep: !0 }
4217
4249
  );
4218
4250
  const ln = () => {
4219
4251
  N.value ? Gi() : he();
4220
- }, Xi = Te(() => n.parentLinkChildrenStrictly || n.childLinkParentStrictly ? !0 : !!(n.checkStrictly ?? b.value)), qi = Te(() => n.loading), un = Te(() => {
4221
- var c;
4222
- return !((c = o.value) != null && c.length);
4252
+ }, Xi = Te(() => n.parentLinkChildrenStrictly || n.childLinkParentStrictly ? !0 : !!(n.checkStrictly ?? y.value)), qi = Te(() => n.loading), cn = Te(() => {
4253
+ var u;
4254
+ return !((u = o.value) != null && u.length);
4223
4255
  }), ba = Te(() => {
4224
4256
  if (N.value)
4225
- return Pt.value.length === 1 && Pt.value[0][w.value.label] === He("暂无数据");
4257
+ return Pt.value.length === 1 && Pt.value[0][_.value.label] === He("暂无数据");
4226
4258
  if (n.isFilter)
4227
- return le.value.length === 1 && le.value[0][w.value.label] === He("暂无数据");
4259
+ return le.value.length === 1 && le.value[0][_.value.label] === He("暂无数据");
4228
4260
  }), Ji = () => {
4229
- u.value && Zi("hidden");
4230
- }, { setTreeNodeChildrenOverflow: Zi } = Qm(pt, x, u);
4231
- return C$(n, a, o, w, v, s, x), _t(
4261
+ c.value && Zi("hidden");
4262
+ }, { setTreeNodeChildrenOverflow: Zi } = Qm(pt, x, c);
4263
+ return C$(n, a, o, _, p, s, x), _t(
4232
4264
  () => n.data,
4233
- (c) => {
4234
- o.value = c, v(o.value);
4265
+ (u) => {
4266
+ o.value = u, p(o.value);
4235
4267
  },
4236
4268
  {
4237
4269
  immediate: !0,
@@ -4241,17 +4273,17 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
4241
4273
  /** el-tree实例 */
4242
4274
  treeRef: x,
4243
4275
  /** 数据是否为空 */
4244
- treeIsEmpty: un,
4276
+ treeIsEmpty: cn,
4245
4277
  /** 获取可选的父级节点,递归往上查找 */
4246
4278
  findSelectableParentNode: Ui,
4247
4279
  /** 非懒加载:子级联动父级 */
4248
4280
  childLinkParent: Je,
4249
4281
  /** 非懒加载:父级联动子级 */
4250
- parentLinkChild: me,
4282
+ parentLinkChild: be,
4251
4283
  /** 清空搜索框并重新加载整棵树方法(用于懒加载重新请求整颗树的数据) */
4252
- resetLazyLoad: async () => ((N.value || n.isFilter) && (ie.value = "", ln()), await Hi(), !0),
4284
+ resetLazyLoad: async () => ((N.value || n.isFilter) && (se.value = "", ln()), await Hi(), !0),
4253
4285
  /** 自动展开父节点方法 */
4254
- autoExpand: $e,
4286
+ autoExpand: me,
4255
4287
  /** 清空搜索值,回到tree面板 */
4256
4288
  searchClear: ln,
4257
4289
  /** 懒加载获取到的所有平铺数据 */
@@ -4263,39 +4295,39 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
4263
4295
  /** 懒加载模式触发搜索 */
4264
4296
  handleSearch: ya,
4265
4297
  /** 根据父级获取所有子孙节点(提供给tree-select组件使用) */
4266
- getGrandChildrenFn: oe,
4267
- setData: v
4268
- }), (c, O) => {
4269
- var U;
4270
- return M(), W("div", {
4298
+ getGrandChildrenFn: ie,
4299
+ setData: p
4300
+ }), (u, O) => {
4301
+ var K;
4302
+ return M(), Y("div", {
4271
4303
  ref_key: "dasTree",
4272
4304
  ref: pt,
4273
- style: Cn({ height: p(kt) }),
4305
+ style: Cn({ height: g(kt) }),
4274
4306
  class: yt({
4275
4307
  "das-ui-tree": !0,
4276
- "is-checkbox": c.showCheckbox,
4277
- "is-ellipsis": u.value,
4278
- "is-operations": c.showOperations,
4279
- "is-draggable": c.draggable,
4280
- "root-checkbox_hide": c.hideRootCheckbox
4308
+ "is-checkbox": u.showCheckbox,
4309
+ "is-ellipsis": c.value,
4310
+ "is-operations": u.showOperations,
4311
+ "is-draggable": u.draggable,
4312
+ "root-checkbox_hide": u.hideRootCheckbox
4281
4313
  })
4282
4314
  }, [
4283
- (c.isFilter || N.value) && c.showFilterInput ? (M(), Ge(p(vs), On({
4315
+ (u.isFilter || N.value) && u.showFilterInput ? (M(), Ge(g(ps), On({
4284
4316
  key: 0,
4285
4317
  class: "das-tree-filter-input",
4286
- modelValue: p(ie),
4287
- "onUpdate:modelValue": O[0] || (O[0] = (T) => us(ie) ? ie.value = T : null),
4318
+ modelValue: g(se),
4319
+ "onUpdate:modelValue": O[0] || (O[0] = (T) => cs(se) ? se.value = T : null),
4288
4320
  borderType: "bordered",
4289
4321
  size: "table"
4290
- }, c.inputOptions, {
4291
- placeholder: (U = c.inputOptions) != null && U.placeholder ? c.inputOptions.placeholder : p(He)("请搜索"),
4322
+ }, u.inputOptions, {
4323
+ placeholder: (K = u.inputOptions) != null && K.placeholder ? u.inputOptions.placeholder : g(He)("请搜索"),
4292
4324
  onClear: ln,
4293
4325
  clearable: "",
4294
4326
  filterSpace: !1
4295
4327
  }), Tr({
4296
4328
  prefix: Me(() => [
4297
- ne(c.$slots, "prefix", {}, () => [
4298
- Bt(p(ar), {
4329
+ ne(u.$slots, "prefix", {}, () => [
4330
+ Bt(g(ar), {
4299
4331
  icon: "search",
4300
4332
  customSize: 19,
4301
4333
  iconColor: "#999999",
@@ -4305,96 +4337,96 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
4305
4337
  ]),
4306
4338
  _: 2
4307
4339
  }, [
4308
- c.$slots.suffix ? {
4340
+ u.$slots.suffix ? {
4309
4341
  name: "suffix",
4310
4342
  fn: Me(() => [
4311
- ne(c.$slots, "suffix")
4343
+ ne(u.$slots, "suffix")
4312
4344
  ]),
4313
4345
  key: "0"
4314
4346
  } : void 0,
4315
- c.$slots.prepend ? {
4347
+ u.$slots.prepend ? {
4316
4348
  name: "prepend",
4317
4349
  fn: Me(() => [
4318
- ne(c.$slots, "prepend")
4350
+ ne(u.$slots, "prepend")
4319
4351
  ]),
4320
4352
  key: "1"
4321
4353
  } : void 0,
4322
- c.$slots.append ? {
4354
+ u.$slots.append ? {
4323
4355
  name: "append",
4324
4356
  fn: Me(() => [
4325
- ne(c.$slots, "append")
4357
+ ne(u.$slots, "append")
4326
4358
  ]),
4327
4359
  key: "2"
4328
4360
  } : void 0
4329
4361
  ]), 1040, ["modelValue", "placeholder"])) : H("", !0),
4330
- c.$slots["container-top"] ? ne(c.$slots, "container-top", { key: 1 }) : H("", !0),
4362
+ u.$slots["container-top"] ? ne(u.$slots, "container-top", { key: 1 }) : H("", !0),
4331
4363
  Re("div", Q$, [
4332
4364
  Fe(Re("div", e_, [
4333
- c.$slots.top ? ne(c.$slots, "top", { key: 0 }) : H("", !0),
4365
+ u.$slots.top ? ne(u.$slots, "top", { key: 0 }) : H("", !0),
4334
4366
  Re("div", {
4335
4367
  ref_key: "treeParentRef",
4336
4368
  ref: s,
4337
4369
  class: "tree-parent-container"
4338
4370
  }, [
4339
- (M(), Ge(p(gs), On({
4371
+ (M(), Ge(g(vs), On({
4340
4372
  ref_key: "treeRef",
4341
4373
  ref: x,
4342
4374
  height: h.value,
4343
4375
  "item-size": 32,
4344
- key: c.renderDom,
4345
- class: { "is-root-all-left": ht.value },
4376
+ key: u.renderDom,
4377
+ class: { "is-root-all-left": gt.value },
4346
4378
  icon: Ts,
4347
- data: c.renderDom ? o.value : [],
4348
- "check-strictly": b.value ? !0 : Xi.value,
4379
+ data: u.renderDom ? o.value : [],
4380
+ "check-strictly": y.value ? !0 : Xi.value,
4349
4381
  "current-node-key": C.value,
4350
- "default-checked-keys": P.value,
4382
+ "default-checked-keys": A.value,
4351
4383
  "default-expanded-keys": R.value,
4352
- props: { ...p(w), class: p(m) },
4353
- "show-checkbox": c.showCheckbox,
4354
- "expand-on-click-node": c.expandOnClickNode ?? c.showCheckbox,
4355
- "filter-method": p(ee)
4356
- }, { ...p(I), onCurrentChange: void 0 }, {
4357
- onCurrentChange: p(Vi),
4358
- onNodeClick: p(g),
4359
- onCheck: O[2] || (O[2] = (T, A) => {
4360
- it(T, A, !0);
4384
+ props: { ...g(_), class: g($) },
4385
+ "show-checkbox": u.showCheckbox,
4386
+ "expand-on-click-node": u.expandOnClickNode ?? u.showCheckbox,
4387
+ "filter-method": g(ee)
4388
+ }, { ...g(E), onCurrentChange: void 0 }, {
4389
+ onCurrentChange: g(Vi),
4390
+ onNodeClick: g(v),
4391
+ onCheck: O[2] || (O[2] = (T, D) => {
4392
+ it(T, D, !0);
4361
4393
  }),
4362
4394
  onNodeCollapse: Ji,
4363
4395
  onNodeExpand: d
4364
4396
  }), {
4365
- default: Me(({ node: T, data: A }) => [
4366
- ne(c.$slots, "default", {
4397
+ default: Me(({ node: T, data: D }) => [
4398
+ ne(u.$slots, "default", {
4367
4399
  node: T,
4368
- data: A
4400
+ data: D
4369
4401
  }, () => {
4370
- var se, Ee;
4402
+ var oe, Ee;
4371
4403
  return [
4372
4404
  O[5] || (O[5] = Re("div", null, null, -1)),
4373
- c.showOperations ? (M(), W("div", t_, [
4374
- ne(c.$slots, "oprations-label", {
4405
+ u.showOperations ? (M(), Y("div", t_, [
4406
+ ne(u.$slots, "oprations-label", {
4375
4407
  node: T,
4376
- data: A
4408
+ data: D
4377
4409
  }, () => [
4378
- u.value ? Fe((M(), W("div", r_, [
4379
- tt(Ue(A[p(w).label]), 1)
4410
+ c.value ? Fe((M(), Y("div", r_, [
4411
+ tt(Ue(D[g(_).label]), 1)
4380
4412
  ])), [
4381
- [p(st)]
4413
+ [g(lt)]
4382
4414
  ]) : H("", !0),
4383
- u.value ? H("", !0) : (M(), W("div", n_, Ue(A[p(w).label]), 1))
4415
+ c.value ? H("", !0) : (M(), Y("div", n_, Ue(D[g(_).label]), 1))
4384
4416
  ]),
4385
- !p(Ce)(A, T) && ((Ee = (se = p(E)(T, A)) == null ? void 0 : se.list) != null && Ee.length || p(J)(T, A).length) ? (M(), W("div", {
4417
+ !g(Ce)(D, T) && ((Ee = (oe = g(I)(T, D)) == null ? void 0 : oe.list) != null && Ee.length || g(W)(T, D).length) ? (M(), Y("div", {
4386
4418
  key: 0,
4387
4419
  class: "oprations-box",
4388
- onMouseenter: (Ae) => p(gt)(T, A)
4420
+ onMouseenter: (Ae) => g(st)(T, D)
4389
4421
  }, [
4390
4422
  Re("div", {
4391
4423
  class: "more-icon",
4392
- ref: (Ae) => p(Ie)(Ae, A[c.nodeKey]),
4393
- style: Cn(p(et) === A[c.nodeKey] ? "opacity: 1" : ""),
4424
+ ref: (Ae) => g(Ie)(Ae, D[u.nodeKey]),
4425
+ style: Cn(g(et) === D[u.nodeKey] ? "opacity: 1" : ""),
4394
4426
  onClick: O[1] || (O[1] = Lt(() => {
4395
4427
  }, ["stop"]))
4396
4428
  }, [
4397
- Bt(p(ar), {
4429
+ Bt(g(ar), {
4398
4430
  icon: "gengduocaozuo",
4399
4431
  iconColor: "#666666",
4400
4432
  size: "medium"
@@ -4402,239 +4434,239 @@ const Q$ = { class: "das-tree-box" }, e_ = { class: "das-tree-container das-ce-s
4402
4434
  ], 4)
4403
4435
  ], 40, a_)) : H("", !0)
4404
4436
  ])) : H("", !0),
4405
- c.showOperations ? H("", !0) : (M(), W(rt, { key: 1 }, [
4406
- u.value ? Fe((M(), W("div", o_, [
4407
- tt(Ue(A[p(w).label]), 1)
4437
+ u.showOperations ? H("", !0) : (M(), Y(rt, { key: 1 }, [
4438
+ c.value ? Fe((M(), Y("div", o_, [
4439
+ tt(Ue(D[g(_).label]), 1)
4408
4440
  ])), [
4409
- [p(st)]
4410
- ]) : (M(), W("div", i_, Ue(A[p(w).label]), 1))
4441
+ [g(lt)]
4442
+ ]) : (M(), Y("div", i_, Ue(D[g(_).label]), 1))
4411
4443
  ], 64))
4412
4444
  ];
4413
4445
  }),
4414
- c.draggable ? (M(), W("div", s_)) : H("", !0)
4446
+ u.draggable ? (M(), Y("div", s_)) : H("", !0)
4415
4447
  ]),
4416
4448
  _: 3
4417
4449
  }, 16, ["height", "class", "data", "check-strictly", "current-node-key", "default-checked-keys", "default-expanded-keys", "props", "show-checkbox", "expand-on-click-node", "filter-method", "onCurrentChange", "onNodeClick"]))
4418
4450
  ], 512),
4419
- c.$slots.bottom ? ne(c.$slots, "bottom", { key: 1 }) : H("", !0)
4451
+ u.$slots.bottom ? ne(u.$slots, "bottom", { key: 1 }) : H("", !0)
4420
4452
  ], 512), [
4421
- [cs, !un.value]
4453
+ [us, !cn.value]
4422
4454
  ]),
4423
- un.value && !qi.value ? (M(), W("div", l_, [
4424
- c.$slots.top ? ne(c.$slots, "top", { key: 0 }) : H("", !0),
4425
- Bt(cn, { "empty-text": _.value }, Tr({ _: 2 }, [
4426
- c.$slots["empty-text"] ? {
4455
+ cn.value && !qi.value ? (M(), Y("div", l_, [
4456
+ u.$slots.top ? ne(u.$slots, "top", { key: 0 }) : H("", !0),
4457
+ Bt(un, { "empty-text": w.value }, Tr({ _: 2 }, [
4458
+ u.$slots["empty-text"] ? {
4427
4459
  name: "default",
4428
4460
  fn: Me(() => [
4429
- ne(c.$slots, "empty-text")
4461
+ ne(u.$slots, "empty-text")
4430
4462
  ]),
4431
4463
  key: "0"
4432
4464
  } : void 0
4433
4465
  ]), 1032, ["empty-text"]),
4434
- c.$slots.bottom ? ne(c.$slots, "bottom", { key: 1 }) : H("", !0)
4466
+ u.$slots.bottom ? ne(u.$slots, "bottom", { key: 1 }) : H("", !0)
4435
4467
  ])) : H("", !0),
4436
- p(ie) && N.value && p(Pt).length ? (M(), W(rt, { key: 1 }, [
4437
- ba.value ? (M(), W("div", h_, [
4438
- c.$slots.top ? ne(c.$slots, "top", { key: 0 }) : H("", !0),
4439
- Bt(cn, { "empty-text": S.value }, Tr({ _: 2 }, [
4440
- c.$slots["search-empty-text"] ? {
4468
+ g(se) && N.value && g(Pt).length ? (M(), Y(rt, { key: 1 }, [
4469
+ ba.value ? (M(), Y("div", h_, [
4470
+ u.$slots.top ? ne(u.$slots, "top", { key: 0 }) : H("", !0),
4471
+ Bt(un, { "empty-text": S.value }, Tr({ _: 2 }, [
4472
+ u.$slots["search-empty-text"] ? {
4441
4473
  name: "default",
4442
4474
  fn: Me(() => [
4443
- ne(c.$slots, "search-empty-text")
4475
+ ne(u.$slots, "search-empty-text")
4444
4476
  ]),
4445
4477
  key: "0"
4446
4478
  } : void 0
4447
4479
  ]), 1032, ["empty-text"]),
4448
- c.$slots.bottom ? ne(c.$slots, "bottom", { key: 1 }) : H("", !0)
4449
- ])) : Fe((M(), W("ul", u_, [
4450
- c.$slots.top ? ne(c.$slots, "top", { key: 0 }) : H("", !0),
4451
- p(Pt).length > 0 && p(Sr) ? (M(), Ge(p(Yr), {
4452
- key: p(Pt).length,
4453
- items: p(Pt),
4480
+ u.$slots.bottom ? ne(u.$slots, "bottom", { key: 1 }) : H("", !0)
4481
+ ])) : Fe((M(), Y("ul", c_, [
4482
+ u.$slots.top ? ne(u.$slots, "top", { key: 0 }) : H("", !0),
4483
+ g(Pt).length > 0 && g(Sr) ? (M(), Ge(g(Yr), {
4484
+ key: g(Pt).length,
4485
+ items: g(Pt),
4454
4486
  "item-size": "32",
4455
4487
  "key-field": n.nodeKey,
4456
4488
  class: "virtual-list"
4457
4489
  }, {
4458
- default: Me(({ item: T, index: A }) => [
4490
+ default: Me(({ item: T, index: D }) => [
4459
4491
  Re("div", {
4460
4492
  class: yt([
4461
4493
  "search-result-item",
4462
- p(j)(T, !0) ? "is-active" : "",
4463
- p(Ce)(T, null) ? "is-disabled" : "",
4464
- p(ga)(T, A)
4494
+ g(P)(T, !0) ? "is-active" : "",
4495
+ g(Ce)(T, null) ? "is-disabled" : "",
4496
+ g(va)(T, D)
4465
4497
  ]),
4466
- onMousedown: Lt((se) => p(Wi)(T, !0), ["stop"])
4498
+ onMousedown: Lt((oe) => g(Wi)(T, !0), ["stop"])
4467
4499
  }, [
4468
- ne(c.$slots, "search-result-item", {
4500
+ ne(u.$slots, "search-result-item", {
4469
4501
  item: T,
4470
- index: A
4502
+ index: D
4471
4503
  }, () => [
4472
- Fe((M(), W("div", d_, [
4473
- tt(Ue(T[p(w).label]), 1)
4504
+ Fe((M(), Y("div", d_, [
4505
+ tt(Ue(T[g(_).label]), 1)
4474
4506
  ])), [
4475
- [p(st)]
4507
+ [g(lt)]
4476
4508
  ]),
4477
- T[p(w).pathName] ? Fe((M(), W("div", f_, [
4478
- tt(Ue(T[p(w).pathName]), 1)
4509
+ T[g(_).pathName] ? Fe((M(), Y("div", f_, [
4510
+ tt(Ue(T[g(_).pathName]), 1)
4479
4511
  ])), [
4480
- [p(st)]
4512
+ [g(lt)]
4481
4513
  ]) : H("", !0)
4482
4514
  ])
4483
- ], 42, c_)
4515
+ ], 42, u_)
4484
4516
  ]),
4485
4517
  _: 3
4486
4518
  }, 8, ["items", "key-field"])) : H("", !0),
4487
- c.$slots.bottom ? ne(c.$slots, "bottom", { key: 2 }) : H("", !0)
4519
+ u.$slots.bottom ? ne(u.$slots, "bottom", { key: 2 }) : H("", !0)
4488
4520
  ])), [
4489
- [p(wa)]
4521
+ [g(wa)]
4490
4522
  ])
4491
- ], 64)) : p(ie) && c.isFilter && p(le).length ? (M(), W(rt, { key: 2 }, [
4492
- ba.value ? (M(), W("div", b_, [
4493
- c.$slots.top ? ne(c.$slots, "top", { key: 0 }) : H("", !0),
4494
- Bt(cn, { "empty-text": S.value }, Tr({ _: 2 }, [
4495
- c.$slots["search-empty-text"] ? {
4523
+ ], 64)) : g(se) && u.isFilter && g(le).length ? (M(), Y(rt, { key: 2 }, [
4524
+ ba.value ? (M(), Y("div", b_, [
4525
+ u.$slots.top ? ne(u.$slots, "top", { key: 0 }) : H("", !0),
4526
+ Bt(un, { "empty-text": S.value }, Tr({ _: 2 }, [
4527
+ u.$slots["search-empty-text"] ? {
4496
4528
  name: "default",
4497
4529
  fn: Me(() => [
4498
- ne(c.$slots, "search-empty-text")
4530
+ ne(u.$slots, "search-empty-text")
4499
4531
  ]),
4500
4532
  key: "0"
4501
4533
  } : void 0
4502
4534
  ]), 1032, ["empty-text"]),
4503
- c.$slots.bottom ? ne(c.$slots, "bottom", { key: 1 }) : H("", !0)
4504
- ])) : Fe((M(), W("ul", p_, [
4505
- c.$slots.top ? ne(c.$slots, "top", { key: 0 }) : H("", !0),
4506
- p(le).length > 0 && p(Sr) ? (M(), Ge(p(Yr), {
4507
- key: p(le).length,
4508
- items: p(le),
4535
+ u.$slots.bottom ? ne(u.$slots, "bottom", { key: 1 }) : H("", !0)
4536
+ ])) : Fe((M(), Y("ul", g_, [
4537
+ u.$slots.top ? ne(u.$slots, "top", { key: 0 }) : H("", !0),
4538
+ g(le).length > 0 && g(Sr) ? (M(), Ge(g(Yr), {
4539
+ key: g(le).length,
4540
+ items: g(le),
4509
4541
  "item-size": "32",
4510
4542
  "key-field": n.nodeKey,
4511
4543
  class: "virtual-list"
4512
4544
  }, {
4513
- default: Me(({ item: T, index: A }) => [
4545
+ default: Me(({ item: T, index: D }) => [
4514
4546
  Re("div", {
4515
4547
  class: yt([
4516
4548
  "search-result-item",
4517
- p(j)(T, !0) ? "is-active" : "",
4518
- p(Ce)(T, null) ? "is-disabled" : "",
4519
- p(ga)(T, A)
4549
+ g(P)(T, !0) ? "is-active" : "",
4550
+ g(Ce)(T, null) ? "is-disabled" : "",
4551
+ g(va)(T, D)
4520
4552
  ]),
4521
- onMousedown: Lt((se) => p(f)(T), ["stop"])
4553
+ onMousedown: Lt((oe) => g(f)(T), ["stop"])
4522
4554
  }, [
4523
- ne(c.$slots, "search-result-item", {
4555
+ ne(u.$slots, "search-result-item", {
4524
4556
  item: T,
4525
- index: A
4557
+ index: D
4526
4558
  }, () => [
4527
- Fe((M(), W("div", g_, [
4528
- tt(Ue(T[p(w).label]), 1)
4559
+ Fe((M(), Y("div", v_, [
4560
+ tt(Ue(T[g(_).label]), 1)
4529
4561
  ])), [
4530
- [p(st)]
4562
+ [g(lt)]
4531
4563
  ]),
4532
- T[p(w).pathName] ? Fe((M(), W("div", y_, [
4533
- tt(Ue(T[p(w).pathName]), 1)
4564
+ T[g(_).pathName] ? Fe((M(), Y("div", y_, [
4565
+ tt(Ue(T[g(_).pathName]), 1)
4534
4566
  ])), [
4535
- [p(st)]
4567
+ [g(lt)]
4536
4568
  ]) : H("", !0)
4537
4569
  ])
4538
- ], 42, v_)
4570
+ ], 42, p_)
4539
4571
  ]),
4540
4572
  _: 3
4541
4573
  }, 8, ["items", "key-field"])) : H("", !0),
4542
- c.$slots.bottom ? ne(c.$slots, "bottom", { key: 2 }) : H("", !0)
4574
+ u.$slots.bottom ? ne(u.$slots, "bottom", { key: 2 }) : H("", !0)
4543
4575
  ])), [
4544
- [p(wa)]
4576
+ [g(wa)]
4545
4577
  ])
4546
4578
  ], 64)) : H("", !0)
4547
4579
  ]),
4548
- c.$slots["container-bottom"] ? ne(c.$slots, "container-bottom", { key: 2 }) : H("", !0),
4549
- p(pa) ? (M(), Ge(p(ys), {
4580
+ u.$slots["container-bottom"] ? ne(u.$slots, "container-bottom", { key: 2 }) : H("", !0),
4581
+ g(ga) ? (M(), Ge(g(ys), {
4550
4582
  key: 3,
4551
4583
  "popper-class": "das-tree-operation-dropdown",
4552
4584
  ref_key: "oprationsPopoverRef",
4553
4585
  ref: vt,
4554
- "virtual-ref": p(pa),
4586
+ "virtual-ref": g(ga),
4555
4587
  placement: "bottom-start",
4556
4588
  "show-arrow": !1,
4557
4589
  trigger: "hover",
4558
4590
  "virtual-triggering": "",
4559
- onShow: O[3] || (O[3] = (T) => p(We)(!0)),
4560
- onHide: O[4] || (O[4] = (T) => p(We)(!1))
4591
+ onShow: O[3] || (O[3] = (T) => g(We)(!0)),
4592
+ onHide: O[4] || (O[4] = (T) => g(We)(!1))
4561
4593
  }, {
4562
4594
  reference: Me(() => O[6] || (O[6] = [
4563
4595
  Re("span", { class: "virtual-ref-placeholder" }, " ", -1)
4564
4596
  ])),
4565
4597
  default: Me(() => {
4566
- var T, A, se, Ee, Ae, _e, ze, Mt, ma;
4598
+ var T, D, oe, Ee, Ae, _e, ze, Mt, ma;
4567
4599
  return [
4568
- (T = p(be)) != null && T.node ? (M(), W("ul", m_, [
4569
- (se = (A = p(E)(p(be).node, p(be).data)) == null ? void 0 : A.list) != null && se.length && ((Ee = p(E)(p(be).node, p(be).data)) == null ? void 0 : Ee.position) === "top" ? (M(!0), W(rt, { key: 0 }, Dr((Ae = p(E)(p(be).node, p(be).data)) == null ? void 0 : Ae.list, (B, nr) => (M(), W(rt, {
4570
- key: B.value
4600
+ (T = g($e)) != null && T.node ? (M(), Y("ul", m_, [
4601
+ (oe = (D = g(I)(g($e).node, g($e).data)) == null ? void 0 : D.list) != null && oe.length && ((Ee = g(I)(g($e).node, g($e).data)) == null ? void 0 : Ee.position) === "top" ? (M(!0), Y(rt, { key: 0 }, Dr((Ae = g(I)(g($e).node, g($e).data)) == null ? void 0 : Ae.list, (U, nr) => (M(), Y(rt, {
4602
+ key: U.value
4571
4603
  }, [
4572
- B.hidden ? H("", !0) : (M(), W("li", {
4573
- class: yt(["opration-item", B.disabled ? "is-disabled" : ""]),
4574
- key: B.value || nr,
4575
- disabled: B.disabled,
4576
- onClick: Lt(($a) => p(G)(B, p(be).node, p(be).data), ["stop"])
4604
+ U.hidden ? H("", !0) : (M(), Y("li", {
4605
+ class: yt(["opration-item", U.disabled ? "is-disabled" : ""]),
4606
+ key: U.value || nr,
4607
+ disabled: U.disabled,
4608
+ onClick: Lt(($a) => g(G)(U, g($e).node, g($e).data), ["stop"])
4577
4609
  }, [
4578
4610
  Re("div", __, [
4579
- B.icon ? (M(), Ge(p(ar), {
4611
+ U.icon ? (M(), Ge(g(ar), {
4580
4612
  key: 0,
4581
- icon: B.icon,
4613
+ icon: U.icon,
4582
4614
  size: "small",
4583
- iconColor: B.disabled ? "#b2b2b2" : B.iconColor ? B.iconColor : "#666666"
4615
+ iconColor: U.disabled ? "#b2b2b2" : U.iconColor ? U.iconColor : "#666666"
4584
4616
  }, null, 8, ["icon", "iconColor"])) : H("", !0)
4585
4617
  ]),
4586
- Fe((M(), W("div", w_, [
4587
- tt(Ue(B.label || B.value), 1)
4618
+ Fe((M(), Y("div", w_, [
4619
+ tt(Ue(U.label || U.value), 1)
4588
4620
  ])), [
4589
- [p(st)]
4621
+ [g(lt)]
4590
4622
  ])
4591
4623
  ], 10, $_))
4592
4624
  ], 64))), 128)) : H("", !0),
4593
- (M(!0), W(rt, null, Dr(p(J)(p(be).node, p(be).data), (B, nr) => (M(), W(rt, {
4594
- key: B.value
4625
+ (M(!0), Y(rt, null, Dr(g(W)(g($e).node, g($e).data), (U, nr) => (M(), Y(rt, {
4626
+ key: U.value
4595
4627
  }, [
4596
- B.hidden ? H("", !0) : (M(), W("li", {
4597
- class: yt(["opration-item", B.disabled ? "is-disabled" : ""]),
4598
- key: B.value || nr,
4599
- disabled: B.disabled,
4600
- onClick: Lt(($a) => p(G)(B, p(be).node, p(be).data), ["stop"])
4628
+ U.hidden ? H("", !0) : (M(), Y("li", {
4629
+ class: yt(["opration-item", U.disabled ? "is-disabled" : ""]),
4630
+ key: U.value || nr,
4631
+ disabled: U.disabled,
4632
+ onClick: Lt(($a) => g(G)(U, g($e).node, g($e).data), ["stop"])
4601
4633
  }, [
4602
4634
  Re("div", T_, [
4603
- B.icon ? (M(), Ge(p(ar), {
4635
+ U.icon ? (M(), Ge(g(ar), {
4604
4636
  key: 0,
4605
- icon: B.icon,
4637
+ icon: U.icon,
4606
4638
  size: "small",
4607
- iconColor: B.disabled ? "#b2b2b2" : B.iconColor ? B.iconColor : "#666666"
4639
+ iconColor: U.disabled ? "#b2b2b2" : U.iconColor ? U.iconColor : "#666666"
4608
4640
  }, null, 8, ["icon", "iconColor"])) : H("", !0)
4609
4641
  ]),
4610
- Fe((M(), W("div", C_, [
4611
- tt(Ue(B.label || B.value), 1)
4642
+ Fe((M(), Y("div", C_, [
4643
+ tt(Ue(U.label || U.value), 1)
4612
4644
  ])), [
4613
- [p(st)]
4645
+ [g(lt)]
4614
4646
  ])
4615
4647
  ], 10, S_))
4616
4648
  ], 64))), 128)),
4617
- (ze = (_e = p(E)(p(be).node, p(be).data)) == null ? void 0 : _e.list) != null && ze.length && ((Mt = p(E)(p(be).node, p(be).data)) == null ? void 0 : Mt.position) === "bottom" ? (M(!0), W(rt, { key: 1 }, Dr((ma = p(E)(p(be).node, p(be).data)) == null ? void 0 : ma.list, (B, nr) => (M(), W(rt, {
4618
- key: B.value
4649
+ (ze = (_e = g(I)(g($e).node, g($e).data)) == null ? void 0 : _e.list) != null && ze.length && ((Mt = g(I)(g($e).node, g($e).data)) == null ? void 0 : Mt.position) === "bottom" ? (M(!0), Y(rt, { key: 1 }, Dr((ma = g(I)(g($e).node, g($e).data)) == null ? void 0 : ma.list, (U, nr) => (M(), Y(rt, {
4650
+ key: U.value
4619
4651
  }, [
4620
- B.hidden ? H("", !0) : (M(), W("li", {
4621
- class: yt(["opration-item", B.disabled ? "is-disabled" : ""]),
4622
- key: B.value || nr,
4623
- disabled: B.disabled,
4624
- onClick: Lt(($a) => p(G)(B, p(be).node, p(be).data), ["stop"])
4652
+ U.hidden ? H("", !0) : (M(), Y("li", {
4653
+ class: yt(["opration-item", U.disabled ? "is-disabled" : ""]),
4654
+ key: U.value || nr,
4655
+ disabled: U.disabled,
4656
+ onClick: Lt(($a) => g(G)(U, g($e).node, g($e).data), ["stop"])
4625
4657
  }, [
4626
4658
  Re("div", I_, [
4627
- B.icon ? (M(), Ge(p(ar), {
4659
+ U.icon ? (M(), Ge(g(ar), {
4628
4660
  key: 0,
4629
- icon: B.icon,
4661
+ icon: U.icon,
4630
4662
  size: "small",
4631
- iconColor: B.disabled ? "#b2b2b2" : B.iconColor ? B.iconColor : "#666666"
4663
+ iconColor: U.disabled ? "#b2b2b2" : U.iconColor ? U.iconColor : "#666666"
4632
4664
  }, null, 8, ["icon", "iconColor"])) : H("", !0)
4633
4665
  ]),
4634
- Fe((M(), W("div", E_, [
4635
- tt(Ue(B.label || B.value), 1)
4666
+ Fe((M(), Y("div", E_, [
4667
+ tt(Ue(U.label || U.value), 1)
4636
4668
  ])), [
4637
- [p(st)]
4669
+ [g(lt)]
4638
4670
  ])
4639
4671
  ], 10, O_))
4640
4672
  ], 64))), 128)) : H("", !0)