@das-fed/upf-ui 6.4.0-dev.135 → 6.4.0-dev.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,320 +1,320 @@
1
1
  import '@das-fed/upf-ui/packages/components/tree-select/style.css';
2
- import { ref as L, computed as b, watch as ve, nextTick as q, unref as o, onMounted as De, onBeforeUnmount as xe, defineComponent as Le, useAttrs as Ne, withDirectives as pe, createElementBlock as se, openBlock as ue, normalizeStyle as he, normalizeClass as Pe, createCommentVNode as Oe, createVNode as X, withCtx as R, createElementVNode as Ve, withModifiers as de, mergeProps as me, isRef as ce, createSlots as Re, renderSlot as G, createTextVNode as Me, toDisplayString as Be } from "vue";
3
- import { withInstall as Ee } from "@das-fed/upf-utils/with-install/index";
4
- import { ElPopover as We } from "element-plus";
2
+ import { ref as P, computed as b, watch as pe, nextTick as K, unref as r, onMounted as Ne, onBeforeUnmount as Pe, defineComponent as Ve, useAttrs as xe, withDirectives as he, createElementBlock as ue, openBlock as H, normalizeStyle as me, normalizeClass as Oe, createCommentVNode as Be, createVNode as de, withCtx as j, createElementVNode as Re, withModifiers as ce, createBlock as ye, mergeProps as fe, isRef as U, createSlots as be, renderSlot as O, createTextVNode as Me, toDisplayString as Ee } from "vue";
3
+ import { withInstall as We } from "@das-fed/upf-utils/with-install/index";
4
+ import { ElPopover as Fe } from "element-plus";
5
5
  import "element-plus/es/components/popover/style/css";
6
- import { currentLang as Fe, t as Ie } from "@das-fed/upf-web/packages/i18n/index";
7
- import { DasSelect as Ae } from "@das-fed/upf-ui/packages/components/select/index";
8
- import { DasTreeV2 as Ge } from "@das-fed/upf-ui/packages/components/tree-v2/index";
9
- import { DasIconXiala as He } from "@das-fed/upf-ui/packages/icons/xiala/index";
10
- import { vDasTooltip as ze } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
11
- import { DasTreeRef as Ue } from "@das-fed/upf-ui/packages/components/tree/index";
12
- import { SizeWatcher as _e } from "@das-fed/upf-utils/size-watcher";
13
- import { flatTree as qe } from "@das-fed/upf-utils/common-tools";
14
- import { vClickOutside as Xe } from "@das-fed/upf-utils/directive";
15
- import { setThemeRule as Je } from "@das-fed/upf-web/packages/theme/index";
16
- var J = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
17
- function Qe(e) {
6
+ import { currentLang as Ie, t as Ge } from "@das-fed/upf-web/packages/i18n/index";
7
+ import { DasSelect as ze } from "@das-fed/upf-ui/packages/components/select/index";
8
+ import { DasTreeV2 as Ae } from "@das-fed/upf-ui/packages/components/tree-v2/index";
9
+ import { DasTreeRef as He, DasTree as Ue } from "@das-fed/upf-ui/packages/components/tree/index";
10
+ import { DasIconXiala as qe } from "@das-fed/upf-ui/packages/icons/xiala/index";
11
+ import { vDasTooltip as Xe } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
12
+ import { SizeWatcher as Je } from "@das-fed/upf-utils/size-watcher";
13
+ import { flatTree as Qe } from "@das-fed/upf-utils/common-tools";
14
+ import { vClickOutside as Ye } from "@das-fed/upf-utils/directive";
15
+ import { setThemeRule as Ze } from "@das-fed/upf-web/packages/theme/index";
16
+ var _ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
17
+ function Ke(e) {
18
18
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
19
19
  }
20
- function Ye(e) {
20
+ function _e(e) {
21
21
  var i = typeof e;
22
22
  return e != null && (i == "object" || i == "function");
23
23
  }
24
- var we = Ye, Ze = typeof J == "object" && J && J.Object === Object && J, Ke = Ze, et = Ke, tt = typeof self == "object" && self && self.Object === Object && self, rt = et || tt || Function("return this")(), Ce = rt, lt = Ce, at = function() {
25
- return lt.Date.now();
26
- }, ot = at, nt = /\s/;
27
- function it(e) {
28
- for (var i = e.length; i-- && nt.test(e.charAt(i)); )
24
+ var $e = _e, et = typeof _ == "object" && _ && _.Object === Object && _, tt = et, lt = tt, rt = typeof self == "object" && self && self.Object === Object && self, at = lt || rt || Function("return this")(), Le = at, ot = Le, nt = function() {
25
+ return ot.Date.now();
26
+ }, it = nt, st = /\s/;
27
+ function ut(e) {
28
+ for (var i = e.length; i-- && st.test(e.charAt(i)); )
29
29
  ;
30
30
  return i;
31
31
  }
32
- var st = it, ut = st, dt = /^\s+/;
33
- function ct(e) {
34
- return e && e.slice(0, ut(e) + 1).replace(dt, "");
32
+ var dt = ut, ct = dt, ft = /^\s+/;
33
+ function vt(e) {
34
+ return e && e.slice(0, ct(e) + 1).replace(ft, "");
35
35
  }
36
- var ft = ct, vt = Ce, pt = vt.Symbol, $e = pt, be = $e, je = Object.prototype, ht = je.hasOwnProperty, mt = je.toString, H = be ? be.toStringTag : void 0;
37
- function bt(e) {
38
- var i = ht.call(e, H), c = e[H];
36
+ var pt = vt, ht = Le, mt = ht.Symbol, De = mt, ge = De, je = Object.prototype, yt = je.hasOwnProperty, bt = je.toString, q = ge ? ge.toStringTag : void 0;
37
+ function gt(e) {
38
+ var i = yt.call(e, q), f = e[q];
39
39
  try {
40
- e[H] = void 0;
41
- var d = !0;
40
+ e[q] = void 0;
41
+ var c = !0;
42
42
  } catch {
43
43
  }
44
- var g = mt.call(e);
45
- return d && (i ? e[H] = c : delete e[H]), g;
44
+ var g = bt.call(e);
45
+ return c && (i ? e[q] = f : delete e[q]), g;
46
46
  }
47
- var gt = bt, yt = Object.prototype, kt = yt.toString;
47
+ var kt = gt, St = Object.prototype, Ct = St.toString;
48
48
  function Tt(e) {
49
- return kt.call(e);
49
+ return Ct.call(e);
50
50
  }
51
- var St = Tt, ge = $e, wt = gt, Ct = St, $t = "[object Null]", jt = "[object Undefined]", ye = ge ? ge.toStringTag : void 0;
52
- function Dt(e) {
53
- return e == null ? e === void 0 ? jt : $t : ye && ye in Object(e) ? wt(e) : Ct(e);
51
+ var wt = Tt, ke = De, $t = kt, Lt = wt, Dt = "[object Null]", jt = "[object Undefined]", Se = ke ? ke.toStringTag : void 0;
52
+ function Nt(e) {
53
+ return e == null ? e === void 0 ? jt : Dt : Se && Se in Object(e) ? $t(e) : Lt(e);
54
54
  }
55
- var xt = Dt;
56
- function Lt(e) {
55
+ var Pt = Nt;
56
+ function Vt(e) {
57
57
  return e != null && typeof e == "object";
58
58
  }
59
- var Nt = Lt, Pt = xt, Ot = Nt, Vt = "[object Symbol]";
60
- function Rt(e) {
61
- return typeof e == "symbol" || Ot(e) && Pt(e) == Vt;
59
+ var xt = Vt, Ot = Pt, Bt = xt, Rt = "[object Symbol]";
60
+ function Mt(e) {
61
+ return typeof e == "symbol" || Bt(e) && Ot(e) == Rt;
62
62
  }
63
- var Mt = Rt, Bt = ft, ke = we, Et = Mt, Te = NaN, Wt = /^[-+]0x[0-9a-f]+$/i, Ft = /^0b[01]+$/i, It = /^0o[0-7]+$/i, At = parseInt;
64
- function Gt(e) {
63
+ var Et = Mt, Wt = pt, Ce = $e, Ft = Et, Te = NaN, It = /^[-+]0x[0-9a-f]+$/i, Gt = /^0b[01]+$/i, zt = /^0o[0-7]+$/i, At = parseInt;
64
+ function Ht(e) {
65
65
  if (typeof e == "number")
66
66
  return e;
67
- if (Et(e))
67
+ if (Ft(e))
68
68
  return Te;
69
- if (ke(e)) {
69
+ if (Ce(e)) {
70
70
  var i = typeof e.valueOf == "function" ? e.valueOf() : e;
71
- e = ke(i) ? i + "" : i;
71
+ e = Ce(i) ? i + "" : i;
72
72
  }
73
73
  if (typeof e != "string")
74
74
  return e === 0 ? e : +e;
75
- e = Bt(e);
76
- var c = Ft.test(e);
77
- return c || It.test(e) ? At(e.slice(2), c ? 2 : 8) : Wt.test(e) ? Te : +e;
75
+ e = Wt(e);
76
+ var f = Gt.test(e);
77
+ return f || zt.test(e) ? At(e.slice(2), f ? 2 : 8) : It.test(e) ? Te : +e;
78
78
  }
79
- var Ht = Gt, zt = we, fe = ot, Se = Ht, Ut = "Expected a function", _t = Math.max, qt = Math.min;
80
- function Xt(e, i, c) {
81
- var d, g, j, y, p, f, x = 0, C = !1, T = !1, V = !0;
79
+ var Ut = Ht, qt = $e, ve = it, we = Ut, Xt = "Expected a function", Jt = Math.max, Qt = Math.min;
80
+ function Yt(e, i, f) {
81
+ var c, g, $, k, m, v, N = 0, w = !1, S = !1, B = !0;
82
82
  if (typeof e != "function")
83
- throw new TypeError(Ut);
84
- i = Se(i) || 0, zt(c) && (C = !!c.leading, T = "maxWait" in c, j = T ? _t(Se(c.maxWait) || 0, i) : j, V = "trailing" in c ? !!c.trailing : V);
85
- function h(s) {
86
- var $ = d, O = g;
87
- return d = g = void 0, x = s, y = e.apply(O, $), y;
83
+ throw new TypeError(Xt);
84
+ i = we(i) || 0, qt(f) && (w = !!f.leading, S = "maxWait" in f, $ = S ? Jt(we(f.maxWait) || 0, i) : $, B = "trailing" in f ? !!f.trailing : B);
85
+ function y(s) {
86
+ var L = c, R = g;
87
+ return c = g = void 0, N = s, k = e.apply(R, L), k;
88
88
  }
89
- function k(s) {
90
- return x = s, p = setTimeout(N, i), C ? h(s) : y;
89
+ function C(s) {
90
+ return N = s, m = setTimeout(V, i), w ? y(s) : k;
91
91
  }
92
- function W(s) {
93
- var $ = s - f, O = s - x, I = i - $;
94
- return T ? qt(I, j - O) : I;
92
+ function E(s) {
93
+ var L = s - v, R = s - N, G = i - L;
94
+ return S ? Qt(G, $ - R) : G;
95
95
  }
96
96
  function u(s) {
97
- var $ = s - f, O = s - x;
98
- return f === void 0 || $ >= i || $ < 0 || T && O >= j;
97
+ var L = s - v, R = s - N;
98
+ return v === void 0 || L >= i || L < 0 || S && R >= $;
99
99
  }
100
- function N() {
101
- var s = fe();
100
+ function V() {
101
+ var s = ve();
102
102
  if (u(s))
103
- return F(s);
104
- p = setTimeout(N, W(s));
103
+ return I(s);
104
+ m = setTimeout(V, E(s));
105
105
  }
106
- function F(s) {
107
- return p = void 0, V && d ? h(s) : (d = g = void 0, y);
106
+ function I(s) {
107
+ return m = void 0, B && c ? y(s) : (c = g = void 0, k);
108
108
  }
109
109
  function M() {
110
- p !== void 0 && clearTimeout(p), x = 0, d = f = g = p = void 0;
110
+ m !== void 0 && clearTimeout(m), N = 0, c = v = g = m = void 0;
111
111
  }
112
112
  function D() {
113
- return p === void 0 ? y : F(fe());
113
+ return m === void 0 ? k : I(ve());
114
114
  }
115
- function m() {
116
- var s = fe(), $ = u(s);
117
- if (d = arguments, g = this, f = s, $) {
118
- if (p === void 0)
119
- return k(f);
120
- if (T)
121
- return clearTimeout(p), p = setTimeout(N, i), h(f);
115
+ function p() {
116
+ var s = ve(), L = u(s);
117
+ if (c = arguments, g = this, v = s, L) {
118
+ if (m === void 0)
119
+ return C(v);
120
+ if (S)
121
+ return clearTimeout(m), m = setTimeout(V, i), y(v);
122
122
  }
123
- return p === void 0 && (p = setTimeout(N, i)), y;
123
+ return m === void 0 && (m = setTimeout(V, i)), k;
124
124
  }
125
- return m.cancel = M, m.flush = D, m;
125
+ return p.cancel = M, p.flush = D, p;
126
126
  }
127
- var Jt = Xt;
128
- const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), Q = (e) => typeof e == "string" && Yt(e) ? e : e + "px", Zt = (e, i, c, d, g, j) => {
129
- const y = L(null), p = L(null), f = Ue(), x = L(), C = L(!1), T = L(""), V = L(""), h = b(() => e.mode === "multiple" || e.mode === "tags"), k = b(() => ({ label: "name", children: "children", pathName: "pathName", disabled: "disabled", ...d.props ?? {} })), W = Fe.value === "zh-CN" ? "," : ", ", u = b({
127
+ var Zt = Yt;
128
+ const Kt = /* @__PURE__ */ Ke(Zt), _t = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), ee = (e) => typeof e == "string" && _t(e) ? e : e + "px", el = (e, i, f, c, g, $) => {
129
+ const k = P(null), m = P(null), v = He(), N = P(), w = P(!1), S = P(""), B = P(""), y = b(() => e.mode === "multiple" || e.mode === "tags"), C = b(() => ({ label: "name", children: "children", pathName: "pathName", disabled: "disabled", ...c.props ?? {} })), E = Ie.value === "zh-CN" ? "," : ", ", u = b({
130
130
  get: () => e.modelValue ? e.modelValue : void 0,
131
131
  set: (t) => {
132
132
  i("update:modelValue", t);
133
133
  }
134
- }), N = b({
134
+ }), V = b({
135
135
  get: () => e.keyword || "",
136
136
  set: (t) => {
137
137
  i("update:keyword", t);
138
138
  }
139
- }), F = b({
139
+ }), I = b({
140
140
  get: () => e.path,
141
141
  set: (t) => {
142
142
  i("update:path", t);
143
143
  }
144
- }), M = (t, l, n = []) => {
145
- for (let r = 0; r < t.length; r++) {
146
- const S = t[r], P = S[k.value.label];
147
- if (n.push(P), P === l) return n.join("/");
148
- if (S.children && S.children.length > 0) {
149
- const a = M(S[k.value.children], l, n);
150
- if (a) return a;
144
+ }), M = (t, o, n = []) => {
145
+ for (let a = 0; a < t.length; a++) {
146
+ const T = t[a], x = T[C.value.label];
147
+ if (n.push(x), x === o) return n.join("/");
148
+ if (T.children && T.children.length > 0) {
149
+ const l = M(T[C.value.children], o, n);
150
+ if (l) return l;
151
151
  }
152
152
  n.pop();
153
153
  }
154
154
  return null;
155
155
  }, D = b(() => {
156
156
  var n;
157
- let t = [], l = [];
158
- return g.value ? l = ((n = f.value) == null ? void 0 : n.lazyData) || [] : e.data && (l = qe(e.data, k.value.children) || []), l.length && (t = l.map((r) => ({
159
- ...r,
160
- [k.value.pathName]: r[k.value.pathName] ? r[k.value.pathName] : g.value ? r[k.value.label] : M(e.data, r[k.value.label])
157
+ let t = [], o = [];
158
+ return g.value ? o = ((n = v.value) == null ? void 0 : n.lazyData) || [] : e.data && (o = Qe(e.data, C.value.children) || []), o.length && (t = o.map((a) => ({
159
+ ...a,
160
+ [C.value.pathName]: a[C.value.pathName] ? a[C.value.pathName] : g.value ? a[C.value.label] : M(e.data, a[C.value.label])
161
161
  }))), t;
162
- }), m = L(""), s = L(!0), $ = () => {
163
- var t, l;
162
+ }), p = P(""), s = P(!0), L = () => {
163
+ var t, o;
164
164
  if (!e.showTextStrict || !g.value || e.parentLinkChildrenStrictly) return !0;
165
165
  if (D.value.length === 0) return !1;
166
- if (h.value) {
166
+ if (y.value) {
167
167
  if (!u.value || !((t = u.value) != null && t.length)) return !0;
168
- const n = D.value.map((r) => r[c.value]);
169
- return (l = u.value) == null ? void 0 : l.some((r) => n.includes(r));
168
+ const n = D.value.map((a) => a[f.value]);
169
+ return (o = u.value) == null ? void 0 : o.some((a) => n.includes(a));
170
170
  } else
171
- return u.value ? !!D.value.find((r) => r[c.value] === u.value) : !0;
171
+ return u.value ? !!D.value.find((a) => a[f.value] === u.value) : !0;
172
172
  };
173
- ve(
173
+ pe(
174
174
  () => [D.value, u.value],
175
- ([t, l]) => {
176
- if (s.value = !$(), !s.value)
177
- if (h.value)
178
- if (!l || !(l != null && l.length))
179
- m.value = "";
175
+ ([t, o]) => {
176
+ if (s.value = !L(), !s.value)
177
+ if (y.value)
178
+ if (!o || !(o != null && o.length))
179
+ p.value = "";
180
180
  else {
181
- const n = t == null ? void 0 : t.filter((r) => l.includes(r[c.value]));
182
- n != null && n.length ? m.value = n.map((r) => e.showFullPath ? r[k.value.pathName] : r[k.value.label]).join(W) : m.value = "";
181
+ const n = t == null ? void 0 : t.filter((a) => o.includes(a[f.value]));
182
+ n != null && n.length ? p.value = n.map((a) => e.showFullPath ? a[C.value.pathName] : a[C.value.label]).join(E) : p.value = "";
183
183
  }
184
- else if (!l)
185
- m.value = "";
184
+ else if (!o)
185
+ p.value = "";
186
186
  else {
187
- const n = t == null ? void 0 : t.find((r) => r[c.value] === l);
188
- n ? m.value = e.showFullPath ? n[k.value.pathName] : n[k.value.label] : m.value = "";
187
+ const n = t == null ? void 0 : t.find((a) => a[f.value] === o);
188
+ n ? p.value = e.showFullPath ? n[C.value.pathName] : n[C.value.label] : p.value = "";
189
189
  }
190
190
  },
191
191
  { immediate: !0 }
192
192
  );
193
- const O = b(() => ({
194
- height: e.poppverHeight ? Q(e.poppverHeight) : void 0,
195
- maxHeight: e.poppverMaxHeight ? Q(e.poppverMaxHeight) : void 0
196
- })), I = () => {
193
+ const R = b(() => ({
194
+ height: e.poppverHeight ? ee(e.poppverHeight) : void 0,
195
+ maxHeight: e.poppverMaxHeight ? ee(e.poppverMaxHeight) : void 0
196
+ })), G = () => {
197
197
  i("visible-change", !0);
198
- }, Y = () => {
198
+ }, X = () => {
199
199
  var t;
200
- N.value = "", (t = f.value) == null || t.searchClear(), i("visible-change", !1);
201
- }, Z = Qt(() => {
202
- e.disabled || e.isView || (C.value ? C.value = !1 : (document.body.click(), C.value = !0));
203
- }, 200), A = async () => {
204
- var l, n;
205
- await q();
200
+ V.value = "", (t = v.value) == null || t.searchClear(), i("visible-change", !1);
201
+ }, J = Kt(() => {
202
+ e.disabled || e.isView || (w.value ? w.value = !1 : (document.body.click(), w.value = !0));
203
+ }, 200), z = async () => {
204
+ var o, n;
205
+ await K();
206
206
  let t = [];
207
- h.value || (u.value || u.value === 0) && (g.value && await ((l = f.value) == null ? void 0 : l.lazyDataNextTick(u.value)), t = D.value.filter((r) => r[c.value] === u.value)), h.value && (u.value || u.value.length) && (g.value && await ((n = f.value) == null ? void 0 : n.lazyDataNextTick(u.value)), t = D.value.filter((r) => u.value.includes(r[c.value]))), i("change", u.value, t);
208
- }, B = L(!1), K = async () => {
209
- C.value = !1, u.value = h.value ? [] : "", A(), B.value = !0;
210
- }, ee = async (t) => {
211
- var l, n, r, S, P, a;
212
- if (!B.value && h.value) {
213
- if (!g.value && !j.value) {
214
- let v = (n = (l = f.value) == null ? void 0 : l.treeRef) == null ? void 0 : n.getNode(t);
215
- v.checked = !1, (r = f.value) == null || r.childLinkParent(v, v.checked), (S = f.value) == null || S.parentLinkChild(v, v.checked);
207
+ y.value || (u.value || u.value === 0) && (g.value && await ((o = v.value) == null ? void 0 : o.lazyDataNextTick(u.value)), t = D.value.filter((a) => a[f.value] === u.value)), y.value && (u.value || u.value.length) && (g.value && await ((n = v.value) == null ? void 0 : n.lazyDataNextTick(u.value)), t = D.value.filter((a) => u.value.includes(a[f.value]))), i("change", u.value, t);
208
+ }, W = P(!1), te = async () => {
209
+ w.value = !1, u.value = y.value ? [] : "", z(), W.value = !0;
210
+ }, le = async (t) => {
211
+ var o, n, a, T, x, l;
212
+ if (!W.value && y.value) {
213
+ if (!g.value && !$.value) {
214
+ let d = (n = (o = v.value) == null ? void 0 : o.treeRef) == null ? void 0 : n.getNode(t);
215
+ d.checked = !1, (a = v.value) == null || a.childLinkParent(d, d.checked), (T = v.value) == null || T.parentLinkChild(d, d.checked);
216
216
  }
217
217
  if (g.value && e.parentLinkChildrenStrictly) {
218
- let v = D.value.find((w) => w[c.value] === t);
219
- if (v && ((P = f.value) != null && P.getGrandChildrenFn)) {
220
- const w = await f.value.getGrandChildrenFn(v);
221
- if (w && w.length) {
222
- const ne = w.map((ie) => ie[c.value]);
223
- u.value && ((a = u.value) != null && a.length) && (u.value = u.value.filter((ie) => !ne.includes(ie)));
218
+ let d = D.value.find((h) => h[f.value] === t);
219
+ if (d && ((x = v.value) != null && x.getGrandChildrenFn)) {
220
+ const h = await v.value.getGrandChildrenFn(d);
221
+ if (h && h.length) {
222
+ const A = h.map((se) => se[f.value]);
223
+ u.value && ((l = u.value) != null && l.length) && (u.value = u.value.filter((se) => !A.includes(se)));
224
224
  }
225
225
  }
226
226
  }
227
- A();
227
+ z();
228
228
  }
229
- }, te = (t) => {
229
+ }, re = (t) => {
230
230
  if (!e.filter) return;
231
- const l = t && (t == null ? void 0 : t.trim());
232
- N.value = l, C.value || (C.value = !0);
233
- }, re = () => {
234
- var t, l;
235
- h.value || (C.value = !1, e.filter && ((l = (t = p.value) == null ? void 0 : t.$select) == null || l.focus()));
236
- }, z = () => y != null && y.value && y.value.offsetWidth ? y.value.offsetWidth + "px" : "100%", U = () => {
237
- q(() => {
238
- T.value = e.width ? Q(e.width) : z(), V.value = e.poppverWidth ? Q(e.poppverWidth) : z();
231
+ const o = t && (t == null ? void 0 : t.trim());
232
+ V.value = o, w.value || (w.value = !0);
233
+ }, ae = () => {
234
+ var t, o;
235
+ y.value || (w.value = !1, e.filter && ((o = (t = m.value) == null ? void 0 : t.$select) == null || o.focus()));
236
+ }, Q = () => k != null && k.value && k.value.offsetWidth ? k.value.offsetWidth + "px" : "100%", Y = () => {
237
+ K(() => {
238
+ S.value = e.width ? ee(e.width) : Q(), B.value = e.poppverWidth ? ee(e.poppverWidth) : Q();
239
239
  });
240
- }, le = (t) => {
241
- var l;
242
- B.value && (B.value = !1), (l = p.value) == null || l.toChangeMaxCount(!0), i("focus", t);
243
- }, _ = (t) => {
240
+ }, oe = (t) => {
241
+ var o;
242
+ W.value && (W.value = !1), (o = m.value) == null || o.toChangeMaxCount(!0), i("focus", t);
243
+ }, Z = (t) => {
244
244
  i("blur", t);
245
245
  };
246
- ve(
247
- () => C.value,
246
+ pe(
247
+ () => w.value,
248
248
  (t) => {
249
- var n, r;
250
- const l = (n = y.value) == null ? void 0 : n.querySelector(".ant-select-arrow>.das-icon");
251
- t ? l.style.transform = "rotate(180deg)" : l.style.transform = "", (r = p.value) == null || r.toChangeMaxCount(t), q(() => {
252
- var S, P, a;
253
- (a = (P = (S = o(x)) == null ? void 0 : S.popperRef) == null ? void 0 : P.popperInstanceRef) == null || a.update();
249
+ var n, a;
250
+ const o = (n = k.value) == null ? void 0 : n.querySelector(".ant-select-arrow>.das-icon");
251
+ t ? o.style.transform = "rotate(180deg)" : o.style.transform = "", (a = m.value) == null || a.toChangeMaxCount(t), K(() => {
252
+ var T, x, l;
253
+ (l = (x = (T = r(N)) == null ? void 0 : T.popperRef) == null ? void 0 : x.popperInstanceRef) == null || l.update();
254
254
  });
255
255
  }
256
256
  );
257
- const E = L(null), ae = () => new Promise((t) => {
258
- const l = () => {
259
- var r;
260
- const n = (r = y.value) == null ? void 0 : r.querySelector(".ant-select-selector");
257
+ const F = P(null), ne = () => new Promise((t) => {
258
+ const o = () => {
259
+ var a;
260
+ const n = (a = k.value) == null ? void 0 : a.querySelector(".ant-select-selector");
261
261
  if (n) return t(n);
262
- setTimeout(() => l(), 50);
262
+ setTimeout(() => o(), 50);
263
263
  };
264
- l();
265
- }), oe = (t) => {
264
+ o();
265
+ }), ie = (t) => {
266
266
  u.value = t;
267
267
  };
268
- return De(async () => {
269
- U();
270
- const t = await ae();
271
- t && (E.value = _e((l) => {
272
- q(() => {
273
- var n, r, S;
274
- (S = (r = (n = o(x)) == null ? void 0 : n.popperRef) == null ? void 0 : r.popperInstanceRef) == null || S.update(), U();
268
+ return Ne(async () => {
269
+ Y();
270
+ const t = await ne();
271
+ t && (F.value = Je((o) => {
272
+ K(() => {
273
+ var n, a, T;
274
+ (T = (a = (n = r(N)) == null ? void 0 : n.popperRef) == null ? void 0 : a.popperInstanceRef) == null || T.update(), Y();
275
275
  });
276
276
  }, t));
277
- }), xe(() => {
277
+ }), Pe(() => {
278
278
  var t;
279
- (t = E.value) == null || t.disconnect();
279
+ (t = F.value) == null || t.disconnect();
280
280
  }), {
281
281
  innerValue: u,
282
- popoverRef: x,
283
- dasTreeSelectRef: y,
284
- $tree: f,
285
- $select: p,
286
- innerKeyword: N,
287
- realWidth: T,
288
- realPoppverWidth: V,
289
- poppverContentStyle: O,
290
- treePath: F,
291
- treeProps: k,
282
+ popoverRef: N,
283
+ dasTreeSelectRef: k,
284
+ $tree: v,
285
+ $select: m,
286
+ innerKeyword: V,
287
+ realWidth: S,
288
+ realPoppverWidth: B,
289
+ poppverContentStyle: R,
290
+ treePath: I,
291
+ treeProps: C,
292
292
  selectOptions: D,
293
- currentLabel: m,
294
- poppverShow: I,
295
- poppverHide: Y,
296
- treeChange: A,
297
- nodeChange: re,
298
- deselect: ee,
299
- selectSearch: te,
300
- selectClear: K,
301
- popoverVisible: C,
302
- selectMouseDown: Z,
303
- resetDefaultVal: oe,
304
- focus: le,
305
- blur: _,
306
- checkselectOptionsData: $,
293
+ currentLabel: p,
294
+ poppverShow: G,
295
+ poppverHide: X,
296
+ treeChange: z,
297
+ nodeChange: ae,
298
+ deselect: le,
299
+ selectSearch: re,
300
+ selectClear: te,
301
+ popoverVisible: w,
302
+ selectMouseDown: J,
303
+ resetDefaultVal: ie,
304
+ focus: oe,
305
+ blur: Z,
306
+ checkselectOptionsData: L,
307
307
  textHide: s,
308
- showCheckbox: h
308
+ showCheckbox: y
309
309
  };
310
- }, Kt = {
310
+ }, tl = {
311
311
  key: 1,
312
312
  class: "das-tree-select__selct-text-content"
313
- }, er = {
313
+ }, ll = {
314
314
  name: "DasTreeSelect",
315
315
  inheritAttrs: !1
316
- }, tr = /* @__PURE__ */ Le({
317
- ...er,
316
+ }, rl = /* @__PURE__ */ Ve({
317
+ ...ll,
318
318
  props: {
319
319
  data: { default: () => [] },
320
320
  mode: { default: void 0 },
@@ -344,130 +344,131 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
344
344
  parentLinkChildrenStrictly: { type: Boolean },
345
345
  getGrandChildren: {},
346
346
  childLinkParentStrictly: { type: Boolean },
347
- showTextStrict: { type: Boolean, default: !0 }
347
+ showTextStrict: { type: Boolean, default: !0 },
348
+ virtual: { type: Boolean, default: !1 }
348
349
  },
349
350
  emits: ["update:modelValue", "update:path", "update:keyword", "change", "focus", "blur", "visible-change"],
350
- setup(e, { expose: i, emit: c }) {
351
- const d = e, g = c, j = Ne(), y = b(() => d.placeholder || Ie("请选择")), p = b(() => j.nodeKey ?? j["node-key"] ?? "id"), f = b(() => d.load ?? void 0), x = b(() => d.search ?? void 0), C = b(() => d.getGrandChildren ?? void 0), T = b(() => j.lazy ?? !!f.value), V = b(() => T.value ? !1 : d.defaultExpandAll), h = b(() => d.selectAttrs ? d.selectAttrs : {}), k = b(() => !!(d.disabled || d.isView)), W = b(() => d.parentLinkChildrenStrictly || d.childLinkParentStrictly ? !0 : !!(d.checkStrictly ?? T.value)), u = {
351
+ setup(e, { expose: i, emit: f }) {
352
+ const c = e, g = f, $ = xe(), k = b(() => c.placeholder || Ge("请选择")), m = b(() => $.nodeKey ?? $["node-key"] ?? "id"), v = b(() => c.load ?? void 0), N = b(() => c.search ?? void 0), w = b(() => c.getGrandChildren ?? void 0), S = b(() => $.lazy ?? !!v.value), B = b(() => S.value ? !1 : c.defaultExpandAll), y = b(() => c.selectAttrs ? c.selectAttrs : {}), C = b(() => !!(c.disabled || c.isView)), E = b(() => c.parentLinkChildrenStrictly || c.childLinkParentStrictly ? !0 : !!(c.checkStrictly ?? S.value)), u = {
352
353
  fn: () => {
353
- E.value = !1;
354
+ F.value = !1;
354
355
  }
355
- }, N = (a) => {
356
- a.key === "Enter" && a.stopPropagation();
356
+ }, V = (l) => {
357
+ l.key === "Enter" && l.stopPropagation();
357
358
  }, {
358
- dasTreeSelectRef: F,
359
+ dasTreeSelectRef: I,
359
360
  $tree: M,
360
361
  $select: D,
361
- innerValue: m,
362
+ innerValue: p,
362
363
  innerKeyword: s,
363
- realWidth: $,
364
- poppverContentStyle: O,
365
- realPoppverWidth: I,
366
- treeChange: Y,
367
- nodeChange: Z,
368
- treePath: A,
369
- treeProps: B,
370
- selectOptions: K,
371
- currentLabel: ee,
372
- popoverRef: te,
373
- deselect: re,
374
- poppverShow: z,
375
- poppverHide: U,
376
- selectSearch: le,
377
- selectMouseDown: _,
378
- popoverVisible: E,
379
- resetDefaultVal: ae,
380
- selectClear: oe,
364
+ realWidth: L,
365
+ poppverContentStyle: R,
366
+ realPoppverWidth: G,
367
+ treeChange: X,
368
+ nodeChange: J,
369
+ treePath: z,
370
+ treeProps: W,
371
+ selectOptions: te,
372
+ currentLabel: le,
373
+ popoverRef: re,
374
+ deselect: ae,
375
+ poppverShow: Q,
376
+ poppverHide: Y,
377
+ selectSearch: oe,
378
+ selectMouseDown: Z,
379
+ popoverVisible: F,
380
+ resetDefaultVal: ne,
381
+ selectClear: ie,
381
382
  focus: t,
382
- blur: l,
383
+ blur: o,
383
384
  textHide: n,
384
- checkselectOptionsData: r,
385
- showCheckbox: S
386
- } = Zt(d, g, p, j, T, W), P = b(() => h.value.isTooltip ? h.value.isTooltip && r() : h.value["is-tooltip"] ? h.value["is-tooltip"] && r() : r());
385
+ checkselectOptionsData: a,
386
+ showCheckbox: T
387
+ } = el(c, g, m, $, S, E), x = b(() => y.value.isTooltip ? y.value.isTooltip && a() : y.value["is-tooltip"] ? y.value["is-tooltip"] && a() : a());
387
388
  return i({
388
389
  /** das-select */
389
390
  $select: D,
390
391
  /** das-tree */
391
392
  $tree: M,
392
393
  /** 设置默认值,当默认值为动态设置时使用(兼容老版本) */
393
- resetDefaultVal: ae
394
- }), (a, v) => pe((ue(), se(
394
+ resetDefaultVal: ne
395
+ }), (l, d) => he((H(), ue(
395
396
  "div",
396
397
  {
397
398
  ref_key: "dasTreeSelectRef",
398
- ref: F,
399
- class: Pe({ "das-ui-tree-select": !0, "is-lazy": T.value, "text-hide": o(n), "show-select": a.showSelectDom }),
400
- style: he({ width: o($) })
399
+ ref: I,
400
+ class: Oe({ "das-ui-tree-select": !0, "is-lazy": S.value, "text-hide": r(n), "show-select": l.showSelectDom }),
401
+ style: me({ width: r(L) })
401
402
  },
402
403
  [
403
- Oe(` 在使用 2.x 版本的element-UI时,里面的Popover气泡卡片组件,有自带的自动适应位置的功能;在 element plus 中,直接使用,已经无法自适应气泡弹窗的位置了;需要自行配置:fallback-placements="['bottom', 'top', 'right', 'left']" `),
404
- X(o(We), {
404
+ Be(` 在使用 2.x 版本的element-UI时,里面的Popover气泡卡片组件,有自带的自动适应位置的功能;在 element plus 中,直接使用,已经无法自适应气泡弹窗的位置了;需要自行配置:fallback-placements="['bottom', 'top', 'right', 'left']" `),
405
+ de(r(Fe), {
405
406
  ref_key: "popoverRef",
406
- ref: te,
407
- visible: o(E),
407
+ ref: re,
408
+ visible: r(F),
408
409
  "popper-class": "das-tree-select-popper",
409
410
  placement: "bottom-start",
410
411
  "show-arrow": !1,
411
- width: o(I),
412
- disabled: k.value,
412
+ width: r(G),
413
+ disabled: C.value,
413
414
  "fallback-placements": ["bottom", "top", "right", "left"],
414
- onShow: o(z),
415
- onHide: o(U)
415
+ onShow: r(Q),
416
+ onHide: r(Y)
416
417
  }, {
417
- reference: R(() => [
418
- a.showSelectDom ? (ue(), se(
418
+ reference: j(() => [
419
+ l.showSelectDom ? (H(), ue(
419
420
  "div",
420
421
  {
421
422
  key: 0,
422
423
  class: "das-tree-select__select-content",
423
- onMousedown: v[1] || (v[1] = de(
424
+ onMousedown: d[1] || (d[1] = ce(
424
425
  //@ts-ignore
425
- (...w) => o(_) && o(_)(...w),
426
+ (...h) => r(Z) && r(Z)(...h),
426
427
  ["stop"]
427
428
  ))
428
429
  },
429
430
  [
430
- X(o(Ae), me({
431
+ de(r(ze), fe({
431
432
  ref_key: "$select",
432
433
  ref: D,
433
- class: { "is-active": o(E) },
434
+ class: { "is-active": r(F) },
434
435
  dropdownClassName: "das-tree-select-dropdown",
435
- modelValue: o(m),
436
- "onUpdate:modelValue": v[0] || (v[0] = (w) => ce(m) ? m.value = w : null)
437
- }, h.value, {
438
- searchValue: o(s),
439
- options: o(K),
440
- disabled: a.disabled,
441
- isView: a.isView,
442
- size: a.size,
443
- mode: a.mode,
444
- borderType: a.borderType,
445
- placeholder: y.value,
446
- "show-search": a.filter,
447
- filterOption: a.filter,
448
- width: o($),
436
+ modelValue: r(p),
437
+ "onUpdate:modelValue": d[0] || (d[0] = (h) => U(p) ? p.value = h : null)
438
+ }, y.value, {
439
+ searchValue: r(s),
440
+ options: r(te),
441
+ disabled: l.disabled,
442
+ isView: l.isView,
443
+ size: l.size,
444
+ mode: l.mode,
445
+ borderType: l.borderType,
446
+ placeholder: k.value,
447
+ "show-search": l.filter,
448
+ filterOption: l.filter,
449
+ width: r(L),
449
450
  fieldNames: {
450
- value: p.value,
451
- label: a.showFullPath ? o(B).pathName : o(B).label
451
+ value: m.value,
452
+ label: l.showFullPath ? r(W).pathName : r(W).label
452
453
  },
453
- isTooltip: P.value,
454
- errorMode: a.errorMode,
455
- error: a.error,
456
- errorLabel: a.errorLabel,
454
+ isTooltip: x.value,
455
+ errorMode: l.errorMode,
456
+ error: l.error,
457
+ errorLabel: l.errorLabel,
457
458
  autoClearSearchValue: !1,
458
459
  isExterControlCount: "",
459
- onDeselect: o(re),
460
- onSearch: o(le),
461
- onInputKeyDown: N,
462
- onFocus: o(t),
463
- onBlur: o(l),
464
- onClear: o(oe)
460
+ onDeselect: r(ae),
461
+ onSearch: r(oe),
462
+ onInputKeyDown: V,
463
+ onFocus: r(t),
464
+ onBlur: r(o),
465
+ onClear: r(ie)
465
466
  }), {
466
- suffixIcon: R(() => [
467
- X(o(He), {
467
+ suffixIcon: j(() => [
468
+ de(r(qe), {
468
469
  size: "medium",
469
470
  style: { transition: "transform 0.5s" },
470
- iconColor: o(E) ? "#5582F3" : "currentColor"
471
+ iconColor: r(F) ? "#5582F3" : "currentColor"
471
472
  }, null, 8, ["iconColor"])
472
473
  ]),
473
474
  _: 1
@@ -476,91 +477,155 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
476
477
  ],
477
478
  32
478
479
  /* NEED_HYDRATION */
479
- )) : pe((ue(), se("div", Kt, [
480
+ )) : he((H(), ue("div", tl, [
480
481
  Me(
481
- Be(o(ee)),
482
+ Ee(r(le)),
482
483
  1
483
484
  /* TEXT */
484
485
  )
485
486
  ])), [
486
- [o(ze)]
487
+ [r(Xe)]
487
488
  ])
488
489
  ]),
489
- default: R(() => [
490
- Ve(
490
+ default: j(() => [
491
+ Re(
491
492
  "div",
492
493
  {
493
494
  class: "das-tree-select__tree-content",
494
- style: he(o(O)),
495
- onClick: v[4] || (v[4] = de(() => {
495
+ style: me(r(R)),
496
+ onClick: d[6] || (d[6] = ce(() => {
496
497
  }, ["stop"])),
497
- onMousedown: v[5] || (v[5] = de(() => {
498
+ onMousedown: d[7] || (d[7] = ce(() => {
498
499
  }, ["stop"]))
499
500
  },
500
501
  [
501
- X(o(Ge), me({
502
+ l.virtual ? (H(), ye(r(Ae), fe({
503
+ key: 1,
502
504
  ref_key: "$tree",
503
505
  ref: M
504
- }, o(j), {
505
- data: a.data,
506
- modelValue: o(m),
507
- "onUpdate:modelValue": v[2] || (v[2] = (w) => ce(m) ? m.value = w : null),
508
- "filter-value": o(s),
509
- "onUpdate:filterValue": v[3] || (v[3] = (w) => ce(s) ? s.value = w : null),
510
- "show-checkbox": o(S),
511
- "is-filter": a.filter,
506
+ }, r($), {
507
+ data: l.data,
508
+ modelValue: r(p),
509
+ "onUpdate:modelValue": d[4] || (d[4] = (h) => U(p) ? p.value = h : null),
510
+ "filter-value": r(s),
511
+ "onUpdate:filterValue": d[5] || (d[5] = (h) => U(s) ? s.value = h : null),
512
+ "show-checkbox": r(T),
513
+ "is-filter": l.filter,
512
514
  "show-filter-input": !1,
513
515
  "filter-mode": "input",
514
- lazy: T.value,
515
- load: f.value,
516
- search: x.value,
517
- path: o(A),
518
- "default-expand-all": V.value,
519
- "check-strictly": T.value ? !0 : W.value,
520
- parentLinkChildrenStrictly: a.parentLinkChildrenStrictly,
521
- getGrandChildren: C.value,
522
- childLinkParentStrictly: a.childLinkParentStrictly,
523
- onChange: o(Y),
524
- onNodeChange: o(Z)
525
- }), Re({
526
- default: R(({ node: w, data: ne }) => [
527
- G(a.$slots, "default", {
528
- node: w,
529
- data: ne
516
+ lazy: S.value,
517
+ load: v.value,
518
+ search: N.value,
519
+ path: r(z),
520
+ "default-expand-all": B.value,
521
+ "check-strictly": S.value ? !0 : E.value,
522
+ parentLinkChildrenStrictly: l.parentLinkChildrenStrictly,
523
+ getGrandChildren: w.value,
524
+ childLinkParentStrictly: l.childLinkParentStrictly,
525
+ onChange: r(X),
526
+ onNodeChange: r(J)
527
+ }), be({
528
+ default: j(({ node: h, data: A }) => [
529
+ O(l.$slots, "default", {
530
+ node: h,
531
+ data: A
530
532
  })
531
533
  ]),
532
534
  _: 2
533
535
  /* DYNAMIC */
534
536
  }, [
535
- a.$slots.prefix ? {
537
+ l.$slots.prefix ? {
536
538
  name: "prefix",
537
- fn: R(() => [
538
- G(a.$slots, "prefix")
539
+ fn: j(() => [
540
+ O(l.$slots, "prefix")
539
541
  ]),
540
542
  key: "0"
541
543
  } : void 0,
542
- a.$slots.suffix ? {
544
+ l.$slots.suffix ? {
543
545
  name: "suffix",
544
- fn: R(() => [
545
- G(a.$slots, "suffix")
546
+ fn: j(() => [
547
+ O(l.$slots, "suffix")
546
548
  ]),
547
549
  key: "1"
548
550
  } : void 0,
549
- a.$slots.prepend ? {
551
+ l.$slots.prepend ? {
550
552
  name: "prepend",
551
- fn: R(() => [
552
- G(a.$slots, "prepend")
553
+ fn: j(() => [
554
+ O(l.$slots, "prepend")
553
555
  ]),
554
556
  key: "2"
555
557
  } : void 0,
556
- a.$slots.append ? {
558
+ l.$slots.append ? {
557
559
  name: "append",
558
- fn: R(() => [
559
- G(a.$slots, "append")
560
+ fn: j(() => [
561
+ O(l.$slots, "append")
560
562
  ]),
561
563
  key: "3"
562
564
  } : void 0
563
- ]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"])
565
+ ]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"])) : (H(), ye(r(Ue), fe({
566
+ key: 0,
567
+ ref_key: "$tree",
568
+ ref: M
569
+ }, r($), {
570
+ data: l.data,
571
+ modelValue: r(p),
572
+ "onUpdate:modelValue": d[2] || (d[2] = (h) => U(p) ? p.value = h : null),
573
+ "filter-value": r(s),
574
+ "onUpdate:filterValue": d[3] || (d[3] = (h) => U(s) ? s.value = h : null),
575
+ "show-checkbox": r(T),
576
+ "is-filter": l.filter,
577
+ "show-filter-input": !1,
578
+ "filter-mode": "input",
579
+ lazy: S.value,
580
+ load: v.value,
581
+ search: N.value,
582
+ path: r(z),
583
+ "default-expand-all": B.value,
584
+ "check-strictly": S.value ? !0 : E.value,
585
+ parentLinkChildrenStrictly: l.parentLinkChildrenStrictly,
586
+ getGrandChildren: w.value,
587
+ childLinkParentStrictly: l.childLinkParentStrictly,
588
+ onChange: r(X),
589
+ onNodeChange: r(J)
590
+ }), be({
591
+ default: j(({ node: h, data: A }) => [
592
+ O(l.$slots, "default", {
593
+ node: h,
594
+ data: A
595
+ })
596
+ ]),
597
+ _: 2
598
+ /* DYNAMIC */
599
+ }, [
600
+ l.$slots.prefix ? {
601
+ name: "prefix",
602
+ fn: j(() => [
603
+ O(l.$slots, "prefix")
604
+ ]),
605
+ key: "0"
606
+ } : void 0,
607
+ l.$slots.suffix ? {
608
+ name: "suffix",
609
+ fn: j(() => [
610
+ O(l.$slots, "suffix")
611
+ ]),
612
+ key: "1"
613
+ } : void 0,
614
+ l.$slots.prepend ? {
615
+ name: "prepend",
616
+ fn: j(() => [
617
+ O(l.$slots, "prepend")
618
+ ]),
619
+ key: "2"
620
+ } : void 0,
621
+ l.$slots.append ? {
622
+ name: "append",
623
+ fn: j(() => [
624
+ O(l.$slots, "append")
625
+ ]),
626
+ key: "3"
627
+ } : void 0
628
+ ]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"]))
564
629
  ],
565
630
  36
566
631
  /* STYLE, NEED_HYDRATION */
@@ -573,17 +638,17 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
573
638
  6
574
639
  /* CLASS, STYLE */
575
640
  )), [
576
- [o(Xe), u]
641
+ [r(Ye), u]
577
642
  ]);
578
643
  }
579
- }), rr = {
644
+ }), al = {
580
645
  "--das-ui-tree-select-keyword-input-active": "#5582F3",
581
646
  "--das-ui-tree-select-search-no-data": "#999999"
582
647
  };
583
- Je(rr);
584
- const br = Ee(tr), gr = () => L(null), yr = { title: "tree-select 树选择" };
648
+ Ze(al);
649
+ const gl = We(rl), kl = () => P(null), Sl = { title: "tree-select 树选择" };
585
650
  export {
586
- br as DasTreeSelect,
587
- gr as DasTreeSelectRef,
588
- yr as default
651
+ gl as DasTreeSelect,
652
+ kl as DasTreeSelectRef,
653
+ Sl as default
589
654
  };