@das-fed/upf-ui 6.4.0-dev.246 → 6.4.0-dev.247

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 (68) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +1 -1
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +1 -1
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +1 -1
  4. package/package.json +3 -3
  5. package/packages/components/cascader/index.d.ts +2 -9
  6. package/packages/components/cascader/index.js +21 -21
  7. package/packages/components/cascader/index.js.gz +0 -0
  8. package/packages/components/cascader/src/Index.vue.d.ts +0 -1
  9. package/packages/components/cascader/style.css +1 -1
  10. package/packages/components/cascader/style.css.gz +0 -0
  11. package/packages/components/checkbox/index.js +1 -1
  12. package/packages/components/checkbox/index.js.gz +0 -0
  13. package/packages/components/checkbox/style.css +1 -1
  14. package/packages/components/checkbox/style.css.gz +0 -0
  15. package/packages/components/date-picker/index.js +12 -12
  16. package/packages/components/date-picker/index.js.gz +0 -0
  17. package/packages/components/date-picker/style.css +1 -1
  18. package/packages/components/date-picker/style.css.gz +0 -0
  19. package/packages/components/dialog/style.css +1 -1
  20. package/packages/components/dialog/style.css.gz +0 -0
  21. package/packages/components/dropdown/index.js +56 -50
  22. package/packages/components/dropdown/index.js.gz +0 -0
  23. package/packages/components/dropdown/src/dropdownItem.vue.d.ts +2 -2
  24. package/packages/components/dropdown/style.css +1 -1
  25. package/packages/components/dropdown/style.css.gz +0 -0
  26. package/packages/components/input/style.css +1 -1
  27. package/packages/components/input/style.css.gz +0 -0
  28. package/packages/components/input-dialog-select/index.js +1 -1
  29. package/packages/components/input-dialog-select/index.js.gz +0 -0
  30. package/packages/components/input-dialog-select/style.css +1 -1
  31. package/packages/components/input-dialog-select/style.css.gz +0 -0
  32. package/packages/components/input-number/index.js +3 -3
  33. package/packages/components/input-number/index.js.gz +0 -0
  34. package/packages/components/input-number/style.css +1 -1
  35. package/packages/components/input-number/style.css.gz +0 -0
  36. package/packages/components/pagination/index.js +2 -2
  37. package/packages/components/pagination/index.js.gz +0 -0
  38. package/packages/components/pagination/style.css +1 -1
  39. package/packages/components/pagination/style.css.gz +0 -0
  40. package/packages/components/search/index.js +1 -1
  41. package/packages/components/search/index.js.gz +0 -0
  42. package/packages/components/search/style.css +1 -1
  43. package/packages/components/search/style.css.gz +0 -0
  44. package/packages/components/select/index.js +3 -3
  45. package/packages/components/select/index.js.gz +0 -0
  46. package/packages/components/select/style.css +1 -1
  47. package/packages/components/select/style.css.gz +0 -0
  48. package/packages/components/select-input/index.js +1 -1
  49. package/packages/components/select-input/index.js.gz +0 -0
  50. package/packages/components/select-input/style.css +1 -1
  51. package/packages/components/select-input/style.css.gz +0 -0
  52. package/packages/components/split-panel/index.js +1 -1
  53. package/packages/components/split-panel/index.js.gz +0 -0
  54. package/packages/components/split-panel/style.css +1 -1
  55. package/packages/components/split-panel/style.css.gz +0 -0
  56. package/packages/components/table/style.css +1 -1
  57. package/packages/components/table/style.css.gz +0 -0
  58. package/packages/components/tree-select/index.js +92 -92
  59. package/packages/components/tree-select/index.js.gz +0 -0
  60. package/packages/components/tree-select/style.css +1 -1
  61. package/packages/components/tree-select/style.css.gz +0 -0
  62. package/packages/components/tree-v2/style.css +1 -1
  63. package/packages/components/tree-v2/style.css.gz +0 -0
  64. package/presets/theme-cjb.css +6 -0
  65. package/presets/theme-default.css +6 -0
  66. package/presets/theme-dkh.css +7 -1
  67. package/presets/theme-ssl.css +6 -0
  68. package/theme-default.css +6 -0
@@ -1,6 +1,6 @@
1
1
  import '@das-fed/upf-ui/packages/components/tree-select/style.css';
2
- import { ref as j, computed as k, watch as ye, nextTick as _, unref as a, onMounted as Ie, onBeforeUnmount as Be, defineComponent as Oe, useAttrs as Re, withDirectives as be, openBlock as q, createElementBlock as fe, normalizeClass as Ee, normalizeStyle as ge, createCommentVNode as Me, createVNode as ve, withCtx as x, withModifiers as he, mergeProps as pe, isRef as X, createTextVNode as Ae, toDisplayString as We, createElementVNode as Fe, createBlock as ke, createSlots as Se, renderSlot as N } from "vue";
3
- import { withInstall as Ge } from "@das-fed/upf-utils/with-install/index";
2
+ import { ref as j, computed as k, watch as ye, nextTick as _, unref as r, onMounted as Ie, onBeforeUnmount as Be, defineComponent as Oe, useAttrs as Re, withDirectives as be, openBlock as q, createElementBlock as fe, normalizeClass as Ee, normalizeStyle as ge, createCommentVNode as Me, createVNode as ve, withCtx as x, withModifiers as he, mergeProps as pe, isRef as X, createTextVNode as Ae, toDisplayString as We, createElementVNode as Ge, createBlock as ke, createSlots as Se, renderSlot as N } from "vue";
3
+ import { withInstall as Fe } from "@das-fed/upf-utils/with-install/index";
4
4
  import { ElPopover as ze } from "element-plus";
5
5
  import "element-plus/es/components/popover/style/css";
6
6
  import { currentLang as He, t as Ue } from "@das-fed/upf-web/packages/i18n/index";
@@ -20,7 +20,7 @@ function lt(e) {
20
20
  var d = typeof e;
21
21
  return e != null && (d == "object" || d == "function");
22
22
  }
23
- var Ve = lt, at = typeof ee == "object" && ee && ee.Object === Object && ee, rt = at, nt = rt, ot = typeof self == "object" && self && self.Object === Object && self, it = nt || ot || Function("return this")(), De = it, st = De, ut = function() {
23
+ var Ve = lt, rt = typeof ee == "object" && ee && ee.Object === Object && ee, at = rt, nt = at, ot = typeof self == "object" && self && self.Object === Object && self, it = nt || ot || Function("return this")(), De = it, st = De, ut = function() {
24
24
  return st.Date.now();
25
25
  }, dt = ut, ct = /\s/;
26
26
  function ft(e) {
@@ -59,11 +59,11 @@ var Ot = Bt, Rt = It, Et = Ot, Mt = "[object Symbol]";
59
59
  function At(e) {
60
60
  return typeof e == "symbol" || Et(e) && Rt(e) == Mt;
61
61
  }
62
- var Wt = At, Ft = yt, $e = Ve, Gt = Wt, xe = NaN, zt = /^[-+]0x[0-9a-f]+$/i, Ht = /^0b[01]+$/i, Ut = /^0o[0-7]+$/i, qt = parseInt;
62
+ var Wt = At, Gt = yt, $e = Ve, Ft = Wt, xe = NaN, zt = /^[-+]0x[0-9a-f]+$/i, Ht = /^0b[01]+$/i, Ut = /^0o[0-7]+$/i, qt = parseInt;
63
63
  function Xt(e) {
64
64
  if (typeof e == "number")
65
65
  return e;
66
- if (Gt(e))
66
+ if (Ft(e))
67
67
  return xe;
68
68
  if ($e(e)) {
69
69
  var d = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -71,7 +71,7 @@ function Xt(e) {
71
71
  }
72
72
  if (typeof e != "string")
73
73
  return e === 0 ? e : +e;
74
- e = Ft(e);
74
+ e = Gt(e);
75
75
  var f = Ht.test(e);
76
76
  return f || Ut.test(e) ? qt(e.slice(2), f ? 2 : 8) : zt.test(e) ? xe : +e;
77
77
  }
@@ -124,7 +124,7 @@ function _t(e, d, f) {
124
124
  return S.cancel = I, S.flush = A, S;
125
125
  }
126
126
  var el = _t;
127
- const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), te = (e) => typeof e == "string" && ll(e) ? e : e + "px", al = (e, d, f, c, m, w) => {
127
+ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), te = (e) => typeof e == "string" && ll(e) ? e : e + "px", rl = (e, d, f, c, m, w) => {
128
128
  const y = j(null), h = j(null), v = Je(), L = j(), C = j(!1), b = j(""), P = j(""), p = k(() => e.mode === "multiple" || e.mode === "tags"), g = {
129
129
  label: "name",
130
130
  children: "children",
@@ -147,10 +147,10 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
147
147
  }
148
148
  }), S = (t, o, s = []) => {
149
149
  for (let l = 0; l < t.length; l++) {
150
- const r = t[l], n = r[g.label];
150
+ const a = t[l], n = a[g.label];
151
151
  if (s.push(n), n === o) return s.join("/");
152
- if (r.children && r.children.length > 0) {
153
- const T = S(r[g.children], o, s);
152
+ if (a.children && a.children.length > 0) {
153
+ const T = S(a[g.children], o, s);
154
154
  if (T) return T;
155
155
  }
156
156
  s.pop();
@@ -177,8 +177,8 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
177
177
  if (i.value.length === 0) return B(e.modelValue);
178
178
  if (p.value) {
179
179
  if (!u.value || !((t = u.value) != null && t.length)) return !0;
180
- const o = i.value.map((n) => n[f.value]), s = Array.isArray(u.value) ? u.value : [], l = s.some((n) => B(n)), r = s.some((n) => D(n) && o.includes(n));
181
- return l || r;
180
+ const o = i.value.map((n) => n[f.value]), s = Array.isArray(u.value) ? u.value : [], l = s.some((n) => B(n)), a = s.some((n) => D(n) && o.includes(n));
181
+ return l || a;
182
182
  } else
183
183
  return !u.value || i.value.find((s) => s[f.value] === u.value) ? !0 : B(e.modelValue);
184
184
  };
@@ -190,11 +190,11 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
190
190
  if (!Array.isArray(o) || !o.length)
191
191
  $.value = "";
192
192
  else {
193
- const l = (o ?? []).map((r) => {
193
+ const l = (o ?? []).map((a) => {
194
194
  var T;
195
- const n = (T = t == null ? void 0 : t.find) == null ? void 0 : T.call(t, (G) => (G == null ? void 0 : G[f.value]) === r);
196
- return n ? e.showFullPath ? n == null ? void 0 : n[g.pathName] : n == null ? void 0 : n[g.label] : D(r) || r == null ? "" : String(r);
197
- }).filter((r) => !!r);
195
+ const n = (T = t == null ? void 0 : t.find) == null ? void 0 : T.call(t, (F) => (F == null ? void 0 : F[f.value]) === a);
196
+ return n ? e.showFullPath ? n == null ? void 0 : n[g.pathName] : n == null ? void 0 : n[g.label] : D(a) || a == null ? "" : String(a);
197
+ }).filter((a) => !!a);
198
198
  $.value = l.join(R);
199
199
  }
200
200
  else if (!o)
@@ -221,22 +221,22 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
221
221
  await _();
222
222
  let t = [];
223
223
  if (p.value || (u.value || u.value === 0) && (m.value && D(u.value) && await ((o = v.value) == null ? void 0 : o.lazyDataNextTick(u.value)), t = i.value.filter((l) => l[f.value] === u.value)), p.value && (u.value || u.value.length)) {
224
- const r = (Array.isArray(u.value) ? u.value : []).filter((n) => D(n));
225
- m.value && r.length && await ((s = v.value) == null ? void 0 : s.lazyDataNextTick(r)), t = i.value.filter((n) => r.includes(n[f.value]));
224
+ const a = (Array.isArray(u.value) ? u.value : []).filter((n) => D(n));
225
+ m.value && a.length && await ((s = v.value) == null ? void 0 : s.lazyDataNextTick(a)), t = i.value.filter((n) => a.includes(n[f.value]));
226
226
  }
227
227
  d("change", u.value, t);
228
- }, F = j(!1), ae = async () => {
229
- C.value = !1, u.value = p.value ? [] : "", W(), F.value = !0;
230
- }, re = async (t) => {
231
- var s, l, r, n, T, G;
232
- if (F.value || !p.value) return;
228
+ }, G = j(!1), re = async () => {
229
+ C.value = !1, u.value = p.value ? [] : "", W(), G.value = !0;
230
+ }, ae = async (t) => {
231
+ var s, l, a, n, T, F;
232
+ if (G.value || !p.value) return;
233
233
  if (!i.value.find((V) => (V == null ? void 0 : V[f.value]) === t)) {
234
234
  W();
235
235
  return;
236
236
  }
237
237
  if (!m.value && !w.value) {
238
238
  let V = (l = (s = v.value) == null ? void 0 : s.treeRef) == null ? void 0 : l.getNode(t);
239
- V.checked = !1, (r = v.value) == null || r.childLinkParent(V, V.checked), (n = v.value) == null || n.parentLinkChild(V, V.checked);
239
+ V.checked = !1, (a = v.value) == null || a.childLinkParent(V, V.checked), (n = v.value) == null || n.parentLinkChild(V, V.checked);
240
240
  }
241
241
  if (m.value && e.parentLinkChildrenStrictly) {
242
242
  let V = i.value.find((U) => U[f.value] === t);
@@ -244,7 +244,7 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
244
244
  const U = await v.value.getGrandChildrenFn(V);
245
245
  if (U && U.length) {
246
246
  const Pe = U.map((ce) => ce[f.value]);
247
- u.value && ((G = u.value) != null && G.length) && (u.value = u.value.filter((ce) => !Pe.includes(ce)));
247
+ u.value && ((F = u.value) != null && F.length) && (u.value = u.value.filter((ce) => !Pe.includes(ce)));
248
248
  }
249
249
  }
250
250
  }
@@ -262,7 +262,7 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
262
262
  });
263
263
  }, ie = (t) => {
264
264
  var o;
265
- F.value && (F.value = !1), (o = h.value) == null || o.toChangeMaxCount(!0), d("focus", t);
265
+ G.value && (G.value = !1), (o = h.value) == null || o.toChangeMaxCount(!0), d("focus", t);
266
266
  }, se = (t) => {
267
267
  d("blur", t);
268
268
  };
@@ -272,8 +272,8 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
272
272
  var s, l;
273
273
  const o = (s = y.value) == null ? void 0 : s.querySelector(".ant-select-arrow>.das-icon");
274
274
  t ? o.style.transform = "rotate(180deg)" : o.style.transform = "", (l = h.value) == null || l.toChangeMaxCount(t), _(() => {
275
- var r, n, T;
276
- (T = (n = (r = a(L)) == null ? void 0 : r.popperRef) == null ? void 0 : n.popperInstanceRef) == null || T.update();
275
+ var a, n, T;
276
+ (T = (n = (a = r(L)) == null ? void 0 : a.popperRef) == null ? void 0 : n.popperInstanceRef) == null || T.update();
277
277
  });
278
278
  }
279
279
  );
@@ -293,8 +293,8 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
293
293
  const t = await ue();
294
294
  t && (K.value = Ke((o) => {
295
295
  _(() => {
296
- var s, l, r;
297
- (r = (l = (s = a(L)) == null ? void 0 : s.popperRef) == null ? void 0 : l.popperInstanceRef) == null || r.update(), E();
296
+ var s, l, a;
297
+ (a = (l = (s = r(L)) == null ? void 0 : s.popperRef) == null ? void 0 : l.popperInstanceRef) == null || a.update(), E();
298
298
  });
299
299
  }, t));
300
300
  }), Be(() => {
@@ -318,9 +318,9 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
318
318
  poppverHide: Z,
319
319
  treeChange: W,
320
320
  nodeChange: oe,
321
- deselect: re,
321
+ deselect: ae,
322
322
  selectSearch: ne,
323
- selectClear: ae,
323
+ selectClear: re,
324
324
  popoverVisible: C,
325
325
  selectMouseDown: le,
326
326
  resetDefaultVal: de,
@@ -330,7 +330,7 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
330
330
  textHide: O,
331
331
  showCheckbox: p
332
332
  };
333
- }, rl = {
333
+ }, al = {
334
334
  key: 1,
335
335
  class: "das-tree-select__selct-text-content"
336
336
  }, nl = {
@@ -394,9 +394,9 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
394
394
  treeProps: Z,
395
395
  selectOptions: le,
396
396
  currentLabel: W,
397
- popoverRef: F,
398
- deselect: ae,
399
- poppverShow: re,
397
+ popoverRef: G,
398
+ deselect: re,
399
+ poppverShow: ae,
400
400
  poppverHide: ne,
401
401
  selectSearch: oe,
402
402
  selectMouseDown: H,
@@ -408,7 +408,7 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
408
408
  textHide: de,
409
409
  checkselectOptionsData: t,
410
410
  showCheckbox: o
411
- } = al(c, m, h, w, b, R), s = k(() => p.value.isTooltip ? p.value.isTooltip && t() : p.value["is-tooltip"] ? p.value["is-tooltip"] && t() : t());
411
+ } = rl(c, m, h, w, b, R), s = k(() => p.value.isTooltip ? p.value.isTooltip && t() : p.value["is-tooltip"] ? p.value["is-tooltip"] && t() : t());
412
412
  return d({
413
413
  /** das-select */
414
414
  $select: A,
@@ -416,28 +416,28 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
416
416
  $tree: I,
417
417
  /** 设置默认值,当默认值为动态设置时使用(兼容老版本) */
418
418
  resetDefaultVal: ie
419
- }), (l, r) => be((q(), fe(
419
+ }), (l, a) => be((q(), fe(
420
420
  "div",
421
421
  {
422
422
  ref_key: "dasTreeSelectRef",
423
423
  ref: B,
424
- class: Ee({ "das-ui-tree-select": !0, "is-lazy": b.value, "text-hide": a(de), "show-select": e.showSelectDom }),
425
- style: ge({ width: a(u) })
424
+ class: Ee({ "das-ui-tree-select": !0, "is-lazy": b.value, "text-hide": r(de), "show-select": e.showSelectDom }),
425
+ style: ge({ width: r(u) })
426
426
  },
427
427
  [
428
428
  Me(` 在使用 2.x 版本的element-UI时,里面的Popover气泡卡片组件,有自带的自动适应位置的功能;在 element plus 中,直接使用,已经无法自适应气泡弹窗的位置了;需要自行配置:fallback-placements="['bottom', 'top', 'right', 'left']" `),
429
- ve(a(ze), {
429
+ ve(r(ze), {
430
430
  ref_key: "popoverRef",
431
- ref: F,
432
- visible: a(E),
431
+ ref: G,
432
+ visible: r(E),
433
433
  "popper-class": "das-tree-select-popper",
434
434
  placement: "bottom-start",
435
435
  "show-arrow": !1,
436
- width: a(O),
436
+ width: r(O),
437
437
  disabled: g.value,
438
438
  "fallback-placements": ["bottom", "top", "right", "left"],
439
- onShow: a(re),
440
- onHide: a(ne)
439
+ onShow: r(ae),
440
+ onHide: r(ne)
441
441
  }, {
442
442
  reference: x(() => [
443
443
  e.showSelectDom ? (q(), fe(
@@ -445,23 +445,23 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
445
445
  {
446
446
  key: 0,
447
447
  class: "das-tree-select__select-content",
448
- onMousedown: r[1] || (r[1] = he(
448
+ onMousedown: a[1] || (a[1] = he(
449
449
  //@ts-ignore
450
- (...n) => a(H) && a(H)(...n),
450
+ (...n) => r(H) && r(H)(...n),
451
451
  ["stop"]
452
452
  ))
453
453
  },
454
454
  [
455
- ve(a(qe), pe({
455
+ ve(r(qe), pe({
456
456
  ref_key: "$select",
457
457
  ref: A,
458
- class: { "is-active": a(E) },
458
+ class: { "is-active": r(E) },
459
459
  dropdownClassName: "das-tree-select-dropdown",
460
- modelValue: a(S),
461
- "onUpdate:modelValue": r[0] || (r[0] = (n) => X(S) ? S.value = n : null)
460
+ modelValue: r(S),
461
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => X(S) ? S.value = n : null)
462
462
  }, p.value, {
463
- searchValue: a(i),
464
- options: a(le),
463
+ searchValue: r(i),
464
+ options: r(le),
465
465
  disabled: e.disabled,
466
466
  isView: e.isView,
467
467
  size: e.size,
@@ -470,10 +470,10 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
470
470
  placeholder: y.value,
471
471
  "show-search": e.filter,
472
472
  filterOption: e.filter,
473
- width: a(u),
473
+ width: r(u),
474
474
  fieldNames: {
475
475
  value: h.value,
476
- label: e.showFullPath ? a(Z).pathName : a(Z).label
476
+ label: e.showFullPath ? r(Z).pathName : r(Z).label
477
477
  },
478
478
  isTooltip: s.value,
479
479
  errorMode: e.errorMode,
@@ -481,18 +481,18 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
481
481
  errorLabel: e.errorLabel,
482
482
  autoClearSearchValue: !1,
483
483
  isExterControlCount: "",
484
- onDeselect: a(ae),
485
- onSearch: a(oe),
484
+ onDeselect: r(re),
485
+ onSearch: r(oe),
486
486
  onInputKeyDown: D,
487
- onFocus: a(K),
488
- onBlur: a(ue),
489
- onClear: a(se)
487
+ onFocus: r(K),
488
+ onBlur: r(ue),
489
+ onClear: r(se)
490
490
  }), {
491
491
  suffixIcon: x(() => [
492
- ve(a(Ye), {
492
+ ve(r(Ye), {
493
493
  size: "medium",
494
494
  style: { transition: "transform 0.5s" },
495
- iconColor: a(E) ? "#5582F3" : "currentColor"
495
+ iconColor: r(E) ? "var(--upf-color-primary)" : "currentColor"
496
496
  }, null, 8, ["iconColor"])
497
497
  ]),
498
498
  _: 1
@@ -501,39 +501,39 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
501
501
  ],
502
502
  32
503
503
  /* NEED_HYDRATION */
504
- )) : be((q(), fe("div", rl, [
504
+ )) : be((q(), fe("div", al, [
505
505
  Ae(
506
- We(a(W)),
506
+ We(r(W)),
507
507
  1
508
508
  /* TEXT */
509
509
  )
510
510
  ])), [
511
- [a(Ze)]
511
+ [r(Ze)]
512
512
  ])
513
513
  ]),
514
514
  default: x(() => [
515
- Fe(
515
+ Ge(
516
516
  "div",
517
517
  {
518
518
  class: "das-tree-select__tree-content",
519
- style: ge(a($)),
520
- onClick: r[6] || (r[6] = he(() => {
519
+ style: ge(r($)),
520
+ onClick: a[6] || (a[6] = he(() => {
521
521
  }, ["stop"])),
522
- onMousedown: r[7] || (r[7] = he(() => {
522
+ onMousedown: a[7] || (a[7] = he(() => {
523
523
  }, ["stop"]))
524
524
  },
525
525
  [
526
- e.virtual ? (q(), ke(a(Xe), pe({
526
+ e.virtual ? (q(), ke(r(Xe), pe({
527
527
  key: 1,
528
528
  ref_key: "$tree",
529
529
  ref: I
530
- }, a(w), {
530
+ }, r(w), {
531
531
  data: e.data,
532
- modelValue: a(S),
533
- "onUpdate:modelValue": r[4] || (r[4] = (n) => X(S) ? S.value = n : null),
534
- "filter-value": a(i),
535
- "onUpdate:filterValue": r[5] || (r[5] = (n) => X(i) ? i.value = n : null),
536
- "show-checkbox": a(o),
532
+ modelValue: r(S),
533
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => X(S) ? S.value = n : null),
534
+ "filter-value": r(i),
535
+ "onUpdate:filterValue": a[5] || (a[5] = (n) => X(i) ? i.value = n : null),
536
+ "show-checkbox": r(o),
537
537
  "is-filter": e.filter,
538
538
  "show-filter-input": !1,
539
539
  "filter-mode": "input",
@@ -541,14 +541,14 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
541
541
  load: v.value,
542
542
  "batch-load": c.batchLoad,
543
543
  search: L.value,
544
- path: a(Y),
544
+ path: r(Y),
545
545
  "default-expand-all": P.value,
546
546
  "check-strictly": b.value ? !0 : R.value,
547
547
  parentLinkChildrenStrictly: e.parentLinkChildrenStrictly,
548
548
  getGrandChildren: C.value,
549
549
  childLinkParentStrictly: e.childLinkParentStrictly,
550
- onChange: a(z),
551
- onNodeChange: a(Q)
550
+ onChange: r(z),
551
+ onNodeChange: r(Q)
552
552
  }), Se({
553
553
  default: x(({ node: n, data: T }) => [
554
554
  N(l.$slots, "default", {
@@ -587,17 +587,17 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
587
587
  ]),
588
588
  key: "3"
589
589
  } : void 0
590
- ]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "batch-load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"])) : (q(), ke(a(Qe), pe({
590
+ ]), 1040, ["data", "modelValue", "filter-value", "show-checkbox", "is-filter", "lazy", "load", "batch-load", "search", "path", "default-expand-all", "check-strictly", "parentLinkChildrenStrictly", "getGrandChildren", "childLinkParentStrictly", "onChange", "onNodeChange"])) : (q(), ke(r(Qe), pe({
591
591
  key: 0,
592
592
  ref_key: "$tree",
593
593
  ref: I
594
- }, a(w), {
594
+ }, r(w), {
595
595
  data: e.data,
596
- modelValue: a(S),
597
- "onUpdate:modelValue": r[2] || (r[2] = (n) => X(S) ? S.value = n : null),
598
- "filter-value": a(i),
599
- "onUpdate:filterValue": r[3] || (r[3] = (n) => X(i) ? i.value = n : null),
600
- "show-checkbox": a(o),
596
+ modelValue: r(S),
597
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => X(S) ? S.value = n : null),
598
+ "filter-value": r(i),
599
+ "onUpdate:filterValue": a[3] || (a[3] = (n) => X(i) ? i.value = n : null),
600
+ "show-checkbox": r(o),
601
601
  "is-filter": e.filter,
602
602
  "show-filter-input": !1,
603
603
  "filter-mode": "input",
@@ -605,14 +605,14 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
605
605
  load: v.value,
606
606
  "batch-load": c.batchLoad,
607
607
  search: L.value,
608
- path: a(Y),
608
+ path: r(Y),
609
609
  "default-expand-all": P.value,
610
610
  "check-strictly": b.value ? !0 : R.value,
611
611
  parentLinkChildrenStrictly: e.parentLinkChildrenStrictly,
612
612
  getGrandChildren: C.value,
613
613
  childLinkParentStrictly: e.childLinkParentStrictly,
614
- onChange: a(z),
615
- onNodeChange: a(Q)
614
+ onChange: r(z),
615
+ onNodeChange: r(Q)
616
616
  }), Se({
617
617
  default: x(({ node: n, data: T }) => [
618
618
  N(l.$slots, "default", {
@@ -664,10 +664,10 @@ const tl = /* @__PURE__ */ tt(el), ll = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
664
664
  6
665
665
  /* CLASS, STYLE */
666
666
  )), [
667
- [a(et), M]
667
+ [r(et), M]
668
668
  ]);
669
669
  }
670
- }), kl = Ge(ol), Sl = () => j(null), Cl = { title: "tree-select 树选择" };
670
+ }), kl = Fe(ol), Sl = () => j(null), Cl = { title: "tree-select 树选择" };
671
671
  export {
672
672
  kl as DasTreeSelect,
673
673
  Sl as DasTreeSelectRef,
@@ -1 +1 @@
1
- .das-ui-tree-select.show-select,.das-ui-tree-select .das-tree-select__select-content{font-size:0}.das-ui-tree-select .das-tree-select__select-content .das-ui-select.underline .ant-select:not(.ant-select-focused).is-active .ant-select-selector{border-bottom-color:var(--upf-color-primary)!important}.das-ui-tree-select .das-tree-select__select-content .das-ui-select.bordered .ant-select:not(.ant-select-focused).is-active .ant-select-selector{border-color:var(--upf-color-primary)!important}.das-ui-tree-select .das-tree-select__select-content .ant-select-focused .ant-select-arrow>.das-icon{fill:var(--upf-color-primary)!important}.das-ui-tree-select.text-hide .das-ui-select .ant-select-selector .ant-select-selection-item{display:none!important}.das-ui-tree-select.text-hide .das-ui-select .ant-select-selector .ant-select-selection-overflow-item{opacity:0!important}.das-tree-select-dropdown.ant-select-dropdown{display:none!important}.das-tree-select-popper{box-sizing:border-box;box-shadow:0 4px 10px #0003;padding:0!important;overflow:hidden;position:relative}.das-tree-select-popper .das-tree-select__tree-content{width:100%;box-sizing:border-box;padding-top:8px;position:relative}.das-tree-select-popper .das-tree-select__tree-content .das-ui-tree,.das-tree-select-popper .das-tree-select__tree-content .das-ui-tree .el-tree{height:100%}.das-tree-select-popper .das-tree-select__tree-content .das-ui-tree .el-tree .el-tree__empty-text{width:100%;font-size:12px;color:var(--upf-text-disabled)}
1
+ .das-ui-tree-select.show-select,.das-ui-tree-select .das-tree-select__select-content{font-size:0}.das-ui-tree-select .das-tree-select__select-content .das-ui-select.underline .ant-select:not(.ant-select-focused).is-active .ant-select-selector{border-bottom-color:var(--upf-form-active-border-color, var(--upf-color-primary))!important}.das-ui-tree-select .das-tree-select__select-content .das-ui-select.bordered .ant-select:not(.ant-select-focused).is-active .ant-select-selector{border-color:var(--upf-form-active-border-color, var(--upf-color-primary))!important}.das-ui-tree-select .das-tree-select__select-content .ant-select-focused .ant-select-arrow>.das-icon{fill:var(--upf-color-primary)!important}.das-ui-tree-select.text-hide .das-ui-select .ant-select-selector .ant-select-selection-item{display:none!important}.das-ui-tree-select.text-hide .das-ui-select .ant-select-selector .ant-select-selection-overflow-item{opacity:0!important}.das-tree-select-dropdown.ant-select-dropdown{display:none!important}.das-tree-select-popper{box-sizing:border-box;box-shadow:0 4px 10px #0003;padding:0!important;overflow:hidden;position:relative}.das-tree-select-popper .das-tree-select__tree-content{width:100%;box-sizing:border-box;padding-top:8px;position:relative}.das-tree-select-popper .das-tree-select__tree-content .das-ui-tree,.das-tree-select-popper .das-tree-select__tree-content .das-ui-tree .el-tree{height:100%}.das-tree-select-popper .das-tree-select__tree-content .das-ui-tree .el-tree .el-tree__empty-text{width:100%;font-size:12px;color:var(--upf-text-disabled)}