@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
@@ -71,9 +71,9 @@ const J = {
71
71
  },
72
72
  (e) => {
73
73
  e && (e.addEventListener("mouseenter", function() {
74
- u.value = !0, i.value && clearTimeout(i.value);
74
+ console.log("进入tooltip"), u.value = !0, i.value && clearTimeout(i.value);
75
75
  }), e.addEventListener("mouseleave", function() {
76
- i.value = setTimeout(() => {
76
+ console.log("离开toolTip"), i.value = setTimeout(() => {
77
77
  u.value = !1;
78
78
  }, 200);
79
79
  }));
@@ -1,7 +1,7 @@
1
1
  import '@das-fed/upf-ui/packages/components/select/style.css';
2
2
  import { withInstall as De } from "@das-fed/upf-utils/with-install/index";
3
- import { defineComponent as Ee, useCssVars as hl, useAttrs as bl, computed as i, ref as s, watch as X, useSlots as yl, onMounted as pe, onUnmounted as Ne, watchEffect as me, nextTick as k, resolveComponent as gl, openBlock as v, createElementBlock as y, normalizeClass as wl, normalizeStyle as Z, withModifiers as J, createBlock as R, unref as r, createCommentVNode as K, withDirectives as he, mergeProps as ge, isRef as Cl, createSlots as xl, withCtx as p, renderSlot as g, normalizeProps as Q, guardReactiveProps as Y, Fragment as Be, createTextVNode as be, toDisplayString as W, createVNode as x, createElementVNode as h, withKeys as Tl } from "vue";
4
- import { Select as kl, Tag as ye } from "ant-design-vue";
3
+ import { defineComponent as Ee, useCssVars as hl, useAttrs as bl, computed as i, ref as n, watch as X, useSlots as gl, onMounted as pe, onUnmounted as Ne, watchEffect as me, nextTick as k, resolveComponent as yl, openBlock as v, createElementBlock as g, normalizeClass as wl, normalizeStyle as Z, withModifiers as J, createBlock as R, unref as r, createCommentVNode as K, withDirectives as he, mergeProps as ye, isRef as Cl, createSlots as xl, withCtx as p, renderSlot as y, normalizeProps as Q, guardReactiveProps as Y, Fragment as Be, createTextVNode as be, toDisplayString as W, createVNode as x, createElementVNode as h, withKeys as Tl } from "vue";
4
+ import { Select as kl, Tag as ge } from "ant-design-vue";
5
5
  import { DasCheckbox as Fe } from "@das-fed/upf-ui/packages/components/checkbox/index";
6
6
  import { vScrollbar as Sl } from "@das-fed/upf-ui/packages/components/scrollbar/index";
7
7
  import { DasTooltip as Il } from "@das-fed/upf-ui/packages/components/tooltip/index";
@@ -80,10 +80,10 @@ const Wl = { key: 0 }, Pl = {
80
80
  for (const t in we)
81
81
  t === "onClick" || t.startsWith("onClick") || (e[t] = we[t]);
82
82
  return e;
83
- }), n = Ol(l, "modelValue"), ee = i(() => {
83
+ }), s = Ol(l, "modelValue"), ee = i(() => {
84
84
  var e;
85
- return `<span class='key'>${((e = n.value) == null ? void 0 : e.length) ?? 0}</span>`;
86
- }), B = s(null), Ce = s(null), b = s(!1), U = i(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), le = i(() => B.value ? B.value.querySelector(".ant-select-selector") : null), F = s(0), $ = s(0), Re = i(() => le.value ? l.isTooltip && I.value ? !1 : !l.isTooltip || M.value || !_e.value || !ue.value : !0), qe = i(() => (Array.isArray(n.value) ? n.value.length : n.value) ? _e.value : U.value), xe = () => {
85
+ return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
86
+ }), B = n(null), Ce = n(null), b = n(!1), U = i(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), le = i(() => B.value ? B.value.querySelector(".ant-select-selector") : null), F = n(0), $ = n(0), Re = i(() => le.value ? l.isTooltip && I.value ? !1 : !l.isTooltip || M.value || !_e.value || !ue.value : !0), qe = i(() => (Array.isArray(s.value) ? s.value.length : s.value) ? _e.value : U.value), xe = () => {
87
87
  const e = l.size === "table" ? 12 : 14;
88
88
  return Dl(U.value, e);
89
89
  }, Te = () => {
@@ -94,10 +94,10 @@ const Wl = { key: 0 }, Pl = {
94
94
  if (a === 0) return a;
95
95
  const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight), c = parseFloat(o.paddingLeft);
96
96
  return a - m - c;
97
- }, I = s(!1);
98
- X(() => [U.value, n.value], () => {
97
+ }, I = n(!1);
98
+ X(() => [U.value, s.value], () => {
99
99
  k(() => {
100
- $.value = Te(), F.value = xe(), ((Array.isArray(n.value) ? n.value.length : n.value) || $.value === F.value || F.value - $.value < 1) && (I.value = !1);
100
+ $.value = Te(), F.value = xe(), ((Array.isArray(s.value) ? s.value.length : s.value) || $.value === F.value || F.value - $.value < 1) && (I.value = !1);
101
101
  });
102
102
  }), X(
103
103
  () => {
@@ -106,15 +106,15 @@ const Wl = { key: 0 }, Pl = {
106
106
  },
107
107
  (e) => {
108
108
  e && (e.addEventListener("mouseenter", function() {
109
- I.value = !0, E.value && clearTimeout(E.value);
109
+ console.log("进入tooltip"), I.value = !0, E.value && clearTimeout(E.value);
110
110
  }), e.addEventListener("mouseleave", function() {
111
- E.value = setTimeout(() => {
111
+ console.log("离开toolTip"), E.value = setTimeout(() => {
112
112
  I.value = !1;
113
113
  }, 200);
114
114
  }));
115
115
  }
116
116
  );
117
- const ke = s(null), Se = i(() => l.dropdownMode ?? l.mode ?? ""), O = s(null), He = s(null), D = s(""), Ze = () => {
117
+ const ke = n(null), Se = i(() => l.dropdownMode ?? l.mode ?? ""), O = n(null), He = n(null), D = n(""), Ze = () => {
118
118
  O.value = !0;
119
119
  }, Ke = () => {
120
120
  O.value = null;
@@ -122,7 +122,7 @@ const Wl = { key: 0 }, Pl = {
122
122
  D.value && (w("addCustomItem", D.value), k(() => {
123
123
  C.value.focus(), D.value = "";
124
124
  }));
125
- }, Ae = yl(), te = () => {
125
+ }, Ae = gl(), te = () => {
126
126
  l.dropdownMode === "custom" && !Ae.dropdownRender && (O.value = !1, k(() => {
127
127
  O.value = null;
128
128
  }));
@@ -132,13 +132,13 @@ const Wl = { key: 0 }, Pl = {
132
132
  }), Ne(() => {
133
133
  document.removeEventListener("click", te);
134
134
  });
135
- const C = s(), Le = s(), A = i(() => {
135
+ const C = n(), Le = n(), A = i(() => {
136
136
  var e;
137
137
  return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
138
138
  }), T = i(() => {
139
139
  var e;
140
140
  return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
141
- }), oe = s(/* @__PURE__ */ new Map()), Me = (e, t) => {
141
+ }), oe = n(/* @__PURE__ */ new Map()), Me = (e, t) => {
142
142
  Array.isArray(e) && e.forEach((a) => {
143
143
  t(a), Array.isArray(a == null ? void 0 : a.children) && Me(a.children, t);
144
144
  });
@@ -155,7 +155,7 @@ const Wl = { key: 0 }, Pl = {
155
155
  Me(e, (t) => {
156
156
  t && t[T.value] != null && t[A.value] != null && oe.value.set(t[T.value], t[A.value]);
157
157
  });
158
- }, ne = (e) => {
158
+ }, se = (e) => {
159
159
  if (e == null || e === "") return;
160
160
  const t = ae(l.options, e);
161
161
  if (t && t[A.value] != null) return t[A.value];
@@ -163,7 +163,7 @@ const Wl = { key: 0 }, Pl = {
163
163
  return oe.value.get(e);
164
164
  }, je = (e) => {
165
165
  const t = Array.isArray(e) ? e.slice() : [];
166
- return l.preserveLabelWhenMissing ? ((l.mode !== "combobox" && Array.isArray(n.value) ? n.value : n.value != null && n.value !== "" ? [n.value] : []).forEach((o) => {
166
+ return l.preserveLabelWhenMissing ? ((l.mode !== "combobox" && Array.isArray(s.value) ? s.value : s.value != null && s.value !== "" ? [s.value] : []).forEach((o) => {
167
167
  if (ae(t, o)) return;
168
168
  const c = oe.value.get(o);
169
169
  c != null && t.unshift({
@@ -174,12 +174,12 @@ const Wl = { key: 0 }, Pl = {
174
174
  __dasGhostOption: !0
175
175
  });
176
176
  }), t.map((o) => (o.title = o.title ? o.title : "", o))) : t.map((o) => (o.title = o.title ? o.title : "", o));
177
- }, se = s(!1), re = i(() => {
177
+ }, ne = n(!1), re = i(() => {
178
178
  if (O.value !== null) return O.value;
179
179
  if (l.open !== void 0) return l.open;
180
- }), L = 1e6, u = s(100), d = s(100), M = s(!1), ue = s(!0), ie = s(!1);
180
+ }), L = 1e6, u = n(100), d = n(100), M = n(!1), ue = n(!0), ie = n(!1);
181
181
  me(() => {
182
- n.value && l.mode == "combobox" && (ue.value = !0, setTimeout(() => {
182
+ s.value && l.mode == "combobox" && (ue.value = !0, setTimeout(() => {
183
183
  var t;
184
184
  let e = (t = C.value) == null ? void 0 : t.$el.querySelectorAll(".ant-select-selection-item");
185
185
  if (e && e.length > 0)
@@ -189,7 +189,7 @@ const Wl = { key: 0 }, Pl = {
189
189
  }
190
190
  }, 300));
191
191
  }), me(() => {
192
- l.options && (Ue(l.options), Le.value = je(l.options));
192
+ l.options && (console.log("props.options: 461", l.options), Ue(l.options), console.log("props.preserveLabelWhenMissing: ", l.preserveLabelWhenMissing), Le.value = je(l.options));
193
193
  });
194
194
  const Ge = () => {
195
195
  setTimeout(async () => {
@@ -197,54 +197,54 @@ const Wl = { key: 0 }, Pl = {
197
197
  }, 100);
198
198
  };
199
199
  me(() => {
200
- ie.value === !0 && l.mode != "combobox" && n.value && n.value.length > 0 && l.options.length > 0 && (ie.value = !1, Ge());
200
+ ie.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (console.log("watchEffect", s.value), ie.value = !1, Ge());
201
201
  }), pe(() => {
202
202
  ie.value = !0, l.focusOpen || (d.value = 1, u.value = d.value, b.value = !0);
203
203
  });
204
- const Xe = i(() => l.width ? l.width : "230px"), Je = i(() => l.height ? l.height : "auto"), Ve = s(3e3), Qe = i(() => ({
204
+ const Xe = i(() => l.width ? l.width : "230px"), Je = i(() => l.height ? l.height : "auto"), Ve = n(3e3), Qe = i(() => ({
205
205
  "z-index": Ve.value
206
206
  })), _e = i(() => {
207
207
  let e = [];
208
- if (l.mode != "combobox" && Array.isArray(n.value))
209
- n.value.map((t) => {
210
- const a = ne(t);
208
+ if (l.mode != "combobox" && Array.isArray(s.value))
209
+ s.value.map((t) => {
210
+ const a = se(t);
211
211
  a != null ? e.push(a) : t != null && t !== "" && e.push(String(t));
212
212
  });
213
- else if (l.mode == "combobox" && n.value) {
214
- const t = ne(n.value);
215
- t != null ? e.push(t) : n.value !== null && n.value !== void 0 && n.value !== "" && e.push(String(n.value));
213
+ else if (l.mode == "combobox" && s.value) {
214
+ const t = se(s.value);
215
+ t != null ? e.push(t) : s.value !== null && s.value !== void 0 && s.value !== "" && e.push(String(s.value));
216
216
  }
217
217
  return Bl.value === "zh-CN" ? e.join("、") : e.join(", ");
218
218
  }), Ye = i(() => {
219
219
  var t;
220
220
  if (l.mode === "combobox") return !1;
221
221
  let e = l.options.filter((a) => !a.disabled);
222
- return !!(Array.isArray(n.value) && ((t = n.value) == null ? void 0 : t.length) == e.length);
222
+ return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) == e.length);
223
223
  }), el = i(() => {
224
224
  var t, a;
225
225
  if (l.mode === "combobox") return !1;
226
226
  let e = l.options.filter((o) => !o.disabled);
227
- return !!(Array.isArray(n.value) && ((t = n.value) == null ? void 0 : t.length) > 0 && ((a = n.value) == null ? void 0 : a.length) < e.length);
227
+ return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) > 0 && ((a = s.value) == null ? void 0 : a.length) < e.length);
228
228
  }), ll = i(() => {
229
229
  var e, t;
230
230
  return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (t = l.fieldNames) == null ? void 0 : t.label : "label";
231
231
  }), tl = i(() => ({
232
232
  width: typeof l.width == "number" ? l.width + "px" : l.width
233
- })), de = s(!1), ol = s({
233
+ })), de = n(!1), ol = n({
234
234
  display: "block",
235
235
  color: zl("--das-ui-select-overlay-error-color").value,
236
236
  "white-space": "break-spaces"
237
- }), E = s(), al = () => {
237
+ }), E = n(), al = () => {
238
238
  var a;
239
239
  $.value = Te(), F.value = xe();
240
240
  let e = (a = C.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
241
- !!(Array.isArray(n.value) ? n.value.length : e != null && e.length) || $.value === F.value || F.value - $.value < 1 ? I.value = !1 : (I.value = !0, E.value && clearTimeout(E.value)), de.value = !0;
242
- }, nl = () => {
241
+ !!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || $.value === F.value || F.value - $.value < 1 ? I.value = !1 : (I.value = !0, E.value && clearTimeout(E.value)), de.value = !0;
242
+ }, sl = () => {
243
243
  E.value = setTimeout(() => {
244
244
  I.value = !1;
245
245
  }, 200), de.value = !1;
246
- }, sl = (e, t) => {
247
- e ? al() : nl();
246
+ }, nl = (e, t) => {
247
+ e ? al() : sl();
248
248
  }, rl = (e) => {
249
249
  e && (Ve.value = $l().nextZIndex(), D.value = ""), j.value = e, l.mode == "combobox" && (e || setTimeout(() => {
250
250
  var t, a;
@@ -255,17 +255,17 @@ const Wl = { key: 0 }, Pl = {
255
255
  return t.length > l.maxTagTextLength && (t = t.substr(0, l.maxTagTextLength) + "..."), t;
256
256
  }, il = (e) => l.isRenderNode ? B.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), dl = (e) => {
257
257
  if (e) {
258
- Array.isArray(n.value) || (n.value = []);
259
- let t = n.value, a = [];
258
+ Array.isArray(s.value) || (s.value = []);
259
+ let t = s.value, a = [];
260
260
  l.options.forEach((o) => {
261
- !n.value.includes(o[T.value]) && !o.disabled && (t.push(o[T.value]), a.push(o));
262
- }), n.value = t, fe(n.value, a);
261
+ !s.value.includes(o[T.value]) && !o.disabled && (t.push(o[T.value]), a.push(o));
262
+ }), s.value = t, fe(s.value, a);
263
263
  } else {
264
- let t = n.value;
265
- n.value = t.filter((a) => {
264
+ let t = s.value;
265
+ s.value = t.filter((a) => {
266
266
  const o = l.options.find((m) => m[T.value] === a);
267
267
  return o ? !!o.disabled : !1;
268
- }), fe(n.value, []);
268
+ }), fe(s.value, []);
269
269
  }
270
270
  }, cl = (e) => {
271
271
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
@@ -275,8 +275,8 @@ const Wl = { key: 0 }, Pl = {
275
275
  w("focus", e);
276
276
  return;
277
277
  }
278
- se.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = L, b.value = !1), w("focus", e);
279
- }, j = s(!1), vl = () => {
278
+ ne.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = L, b.value = !1), w("focus", e);
279
+ }, j = n(!1), vl = () => {
280
280
  j.value || setTimeout(() => {
281
281
  var e, t;
282
282
  (t = (e = C.value) == null ? void 0 : e.blur) == null || t.call(e);
@@ -288,7 +288,7 @@ const Wl = { key: 0 }, Pl = {
288
288
  w("blur", e);
289
289
  return;
290
290
  }
291
- se.value = !1, l.focusOpen && !l.isExterControlCount && (V(), u.value = d.value, b.value = !0), w("blur", e);
291
+ ne.value = !1, l.focusOpen && !l.isExterControlCount && (V(), u.value = d.value, b.value = !0), w("blur", e);
292
292
  }, pl = (e) => {
293
293
  e.onClose(), u.value = 100, k(() => {
294
294
  l.mode !== "combobox" && re.value || l.focusOpen && (V(), u.value = d.value, b.value = !0);
@@ -298,13 +298,13 @@ const Wl = { key: 0 }, Pl = {
298
298
  () => l.disabled || l.isView,
299
299
  (e) => {
300
300
  if (e && l.mode !== "combobox") {
301
- se.value = !1;
301
+ ne.value = !1;
302
302
  let t = new Event("blur");
303
303
  ze(t);
304
304
  }
305
305
  }
306
306
  );
307
- let q = s(!1);
307
+ let q = n(!1);
308
308
  const ml = (e) => {
309
309
  q.value = e, M.value = !0, k(() => {
310
310
  M.value = !1, l.focusOpen && (V(), u.value = e ? L : d.value, b.value = !e);
@@ -335,37 +335,37 @@ const Wl = { key: 0 }, Pl = {
335
335
  let _ = 0;
336
336
  for (let f = 0; f < c.length - 1 && (c[f].classList.remove("ellipsis"), !c[f].classList.contains("ant-select-selection-overflow-item-rest")); f++)
337
337
  if (_ += Math.ceil(c[f].offsetWidth), _ <= a - m)
338
- f >= n.value.length - 1 && _ < a ? d.value = n.value.length : d.value = f + 1;
338
+ f >= s.value.length - 1 && _ < a ? d.value = s.value.length : d.value = f + 1;
339
339
  else {
340
- f >= n.value.length - 1 && _ < a ? d.value = n.value.length : d.value = f;
340
+ f >= s.value.length - 1 && _ < a ? d.value = s.value.length : d.value = f;
341
341
  break;
342
342
  }
343
343
  if (d.value === 0) {
344
344
  let f = c[0], ve = f.querySelector(".anticon-close") ? 86 : 69;
345
345
  f && !f.classList.contains("ant-select-selection-overflow-item-rest") && ve <= a - m && !Ae.tagRender && (d.value = 1, f.classList.add("ellipsis"));
346
346
  }
347
- }, ce = s(!1);
347
+ }, ce = n(!1);
348
348
  X(
349
- () => n.value,
349
+ () => s.value,
350
350
  async () => {
351
351
  if (ce.value) {
352
352
  ce.value = !1;
353
353
  return;
354
354
  }
355
- l.mode !== "combobox" && re.value || (M.value = !0, u.value = L, await k(), await V(), M.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = q.value ? L : d.value, b.value = !q.value) : (u.value = d.value, b.value = !0));
355
+ l.mode !== "combobox" && re.value || (console.log("-----watch-----", s.value), M.value = !0, u.value = L, await k(), await V(), M.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = q.value ? L : d.value, b.value = !q.value) : (u.value = d.value, b.value = !0));
356
356
  }
357
357
  );
358
358
  const fe = async (e, t) => {
359
359
  ce.value = !0, j.value = !1, l.mode === "combobox" && te();
360
360
  const a = e;
361
- l.noDropdown && l.maxTagsLength < a.length && a.pop(), M.value = !0, w("update:model-value", a), w("change", a, t), u.value = L, await k(), await V(), M.value = !1, l.isExterControlCount && l.focusOpen && (u.value = q.value ? L : d.value, b.value = !q.value), l.focusOpen || (u.value = d.value);
361
+ l.noDropdown && l.maxTagsLength < a.length && a.pop(), M.value = !0, console.log("-----seleceChange-----", a), w("update:model-value", a), w("change", a, t), u.value = L, await k(), await V(), M.value = !1, l.isExterControlCount && l.focusOpen && (u.value = q.value ? L : d.value, b.value = !q.value), l.focusOpen || (u.value = d.value, console.log("selectChange--------", u.value));
362
362
  };
363
363
  return z({
364
364
  $select: C,
365
365
  toChangeMaxCount: ml
366
366
  }), (e, t) => {
367
- const a = gl("v-nodes");
368
- return v(), y("div", {
367
+ const a = yl("v-nodes");
368
+ return v(), g("div", {
369
369
  class: wl(["das-ui-select", [
370
370
  l.borderType,
371
371
  l.isView ? "readonly" : "",
@@ -387,9 +387,9 @@ const Wl = { key: 0 }, Pl = {
387
387
  disabled: Re.value,
388
388
  content: qe.value
389
389
  }, null, 8, ["virtual-ref", "disabled", "content"])) : K("", !0),
390
- he((v(), R(r(kl), ge({ mode: e.mode }, Pe.value, {
391
- value: r(n),
392
- "onUpdate:value": t[4] || (t[4] = (o) => Cl(n) ? n.value = o : null),
390
+ he((v(), R(r(kl), ye({ mode: e.mode }, Pe.value, {
391
+ value: r(s),
392
+ "onUpdate:value": t[4] || (t[4] = (o) => Cl(s) ? s.value = o : null),
393
393
  ref_key: "$select",
394
394
  ref: C,
395
395
  options: Le.value,
@@ -412,25 +412,25 @@ const Wl = { key: 0 }, Pl = {
412
412
  onBlur: ze
413
413
  }), xl({
414
414
  option: p((o) => [
415
- g(e.$slots, "option", Q(Y(o)), () => {
415
+ y(e.$slots, "option", Q(Y(o)), () => {
416
416
  var m;
417
417
  return [
418
418
  o.children && typeof o.children == "function" ? (v(), R(a, {
419
419
  key: 0,
420
420
  vnodes: o.children()
421
- }, null, 8, ["vnodes"])) : (v(), y(Be, { key: 1 }, [
422
- e.mode === "combobox" ? he((v(), y("div", Wl, [
421
+ }, null, 8, ["vnodes"])) : (v(), g(Be, { key: 1 }, [
422
+ e.mode === "combobox" ? he((v(), g("div", Wl, [
423
423
  be(W(o[A.value]), 1)
424
424
  ])), [
425
425
  [r($e)]
426
- ]) : (v(), y("div", Pl, [
426
+ ]) : (v(), g("div", Pl, [
427
427
  (v(), R(r(Fe), {
428
428
  class: "das-select-checkbox",
429
- modelValue: (m = r(n)) == null ? void 0 : m.includes(o[T.value]),
429
+ modelValue: (m = r(s)) == null ? void 0 : m.includes(o[T.value]),
430
430
  key: o[T.value],
431
431
  disabled: o.disabled
432
432
  }, null, 8, ["modelValue", "disabled"])),
433
- he((v(), y("div", Rl, [
433
+ he((v(), g("div", Rl, [
434
434
  be(W(o[A.value]), 1)
435
435
  ])), [
436
436
  [r($e)]
@@ -441,8 +441,8 @@ const Wl = { key: 0 }, Pl = {
441
441
  }, !0)
442
442
  ]),
443
443
  tagRender: p((o) => [
444
- g(e.$slots, "tagRender", Q(Y(o)), () => [
445
- x(r(ye), {
444
+ y(e.$slots, "tagRender", Q(Y(o)), () => [
445
+ x(r(ge), {
446
446
  closable: o.closable,
447
447
  style: { "margin-right": "3px", "background-color": "transparent" },
448
448
  onClose: (m) => pl(o)
@@ -451,19 +451,19 @@ const Wl = { key: 0 }, Pl = {
451
451
  h("span", {
452
452
  class: "tag-span",
453
453
  style: Z(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
454
- }, W(ul(ne(o.value) ?? o.label ?? String(o.value))), 5)
454
+ }, W(ul(se(o.value) ?? o.label ?? String(o.value))), 5)
455
455
  ]),
456
456
  _: 2
457
457
  }, 1032, ["closable", "onClose"])
458
458
  ], !0)
459
459
  ]),
460
460
  dropdownRender: p(({ menuNode: o }) => [
461
- g(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
461
+ y(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
462
462
  var m;
463
463
  return [
464
- Se.value === "combobox" ? (v(), y("div", ql, [
464
+ Se.value === "combobox" ? (v(), g("div", ql, [
465
465
  x(a, { vnodes: o }, null, 8, ["vnodes"])
466
- ])) : Se.value === "custom" ? (v(), y("div", {
466
+ ])) : Se.value === "custom" ? (v(), g("div", {
467
467
  key: 1,
468
468
  onClick: t[2] || (t[2] = J(() => {
469
469
  }, ["stop"]))
@@ -473,7 +473,7 @@ const Wl = { key: 0 }, Pl = {
473
473
  class: "customDropdown",
474
474
  onMousedown: t[1] || (t[1] = (c) => c.preventDefault())
475
475
  }, [
476
- x(r(Al), ge({
476
+ x(r(Al), ye({
477
477
  ref_key: "testInput",
478
478
  ref: He,
479
479
  modelValue: D.value,
@@ -489,9 +489,9 @@ const Wl = { key: 0 }, Pl = {
489
489
  onClick: Ie
490
490
  }, W(r(P)("添加")), 1)
491
491
  ], 32)
492
- ])) : (v(), y("div", Hl, [
492
+ ])) : (v(), g("div", Hl, [
493
493
  x(a, { vnodes: o }, null, 8, ["vnodes"]),
494
- (m = l.options) != null && m.length && l.showSelectAll ? (v(), y("div", {
494
+ (m = l.options) != null && m.length && l.showSelectAll ? (v(), g("div", {
495
495
  key: 0,
496
496
  class: "das-ui-select-dropdown-checkall",
497
497
  onMousedown: t[3] || (t[3] = (c) => c.preventDefault())
@@ -519,13 +519,13 @@ const Wl = { key: 0 }, Pl = {
519
519
  }, !0)
520
520
  ]),
521
521
  clearIcon: p(() => [
522
- g(e.$slots, "clearIcon", {}, () => [
522
+ y(e.$slots, "clearIcon", {}, () => [
523
523
  x(r(Ml), { size: "medium" })
524
524
  ], !0)
525
525
  ]),
526
526
  maxTagPlaceholder: p((o) => [
527
- g(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
528
- x(r(ye), {
527
+ y(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
528
+ x(r(ge), {
529
529
  style: Z(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
530
530
  }, {
531
531
  default: p(() => [
@@ -538,12 +538,12 @@ const Wl = { key: 0 }, Pl = {
538
538
  ], !0)
539
539
  ]),
540
540
  notFoundContent: p(() => [
541
- g(e.$slots, "notFoundContent", {}, () => [
541
+ y(e.$slots, "notFoundContent", {}, () => [
542
542
  t[5] || (t[5] = h("div", { class: "hasNoData" }, "暂无数据", -1))
543
543
  ], !0)
544
544
  ]),
545
545
  suffixIcon: p(() => [
546
- g(e.$slots, "suffixIcon", {}, () => [
546
+ y(e.$slots, "suffixIcon", {}, () => [
547
547
  x(r(Ll), {
548
548
  class: "das-suffix-icon",
549
549
  size: "medium"
@@ -551,37 +551,37 @@ const Wl = { key: 0 }, Pl = {
551
551
  ], !0)
552
552
  ]),
553
553
  default: p(() => [
554
- g(e.$slots, "default", {}, void 0, !0)
554
+ y(e.$slots, "default", {}, void 0, !0)
555
555
  ]),
556
556
  _: 2
557
557
  }, [
558
558
  e.$slots.menuItemSelectedIcon ? {
559
559
  name: "menuItemSelectedIcon",
560
560
  fn: p(() => [
561
- g(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
561
+ y(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
562
562
  ]),
563
563
  key: "0"
564
564
  } : void 0,
565
565
  e.$slots.placeholder ? {
566
566
  name: "placeholder",
567
567
  fn: p(() => [
568
- g(e.$slots, "placeholder", {}, void 0, !0)
568
+ y(e.$slots, "placeholder", {}, void 0, !0)
569
569
  ]),
570
570
  key: "1"
571
571
  } : void 0,
572
572
  e.$slots.removeIcon ? {
573
573
  name: "removeIcon",
574
574
  fn: p(() => [
575
- g(e.$slots, "removeIcon", {}, void 0, !0)
575
+ y(e.$slots, "removeIcon", {}, void 0, !0)
576
576
  ]),
577
577
  key: "2"
578
578
  } : void 0
579
579
  ]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
580
580
  [r(Sl), { target: cl, x: !1 }],
581
- [r(_l), sl]
581
+ [r(_l), nl]
582
582
  ]),
583
- e.error && e.errorLabel ? (v(), y(Be, { key: 1 }, [
584
- e.errorMode === "default" ? (v(), y("div", jl, [
583
+ e.error && e.errorLabel ? (v(), g(Be, { key: 1 }, [
584
+ e.errorMode === "default" ? (v(), g("div", jl, [
585
585
  h("span", {
586
586
  style: Z(ol.value)
587
587
  }, W(e.errorLabel), 5)
@@ -602,7 +602,7 @@ const Wl = { key: 0 }, Pl = {
602
602
  h("div", Gl, [
603
603
  h("div", Xl, [
604
604
  h("span", Jl, [
605
- x(r(ye), {
605
+ x(r(ge), {
606
606
  style: Z(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
607
607
  }, {
608
608
  default: p(() => [
@@ -627,9 +627,9 @@ const Wl = { key: 0 }, Pl = {
627
627
  }, lt = /* @__PURE__ */ We(et, [["__scopeId", "data-v-2f230833"]]), tt = {};
628
628
  function ot(S, z) {
629
629
  const N = El;
630
- return v(), R(N, ge({ class: "das-ui-select-option" }, S.$attrs), null, 16);
630
+ return v(), R(N, ye({ class: "das-ui-select-option" }, S.$attrs), null, 16);
631
631
  }
632
- const at = /* @__PURE__ */ We(tt, [["render", ot]]), nt = {
632
+ const at = /* @__PURE__ */ We(tt, [["render", ot]]), st = {
633
633
  "--das-ui-select-color-bg": "#FFFFFF",
634
634
  // 默认背景色
635
635
  "--das-ui-select-color-primary": Oe("--das-ui-color-primary"),
@@ -676,7 +676,7 @@ const at = /* @__PURE__ */ We(tt, [["render", ot]]), nt = {
676
676
  // 多选框字体大小-lg
677
677
  "--das-ui-select-overlay-error-color": "#FB2323",
678
678
  "--das-ui-select-overlay-error-bg-color": "#FFDBE0"
679
- }, st = {
679
+ }, nt = {
680
680
  添加: { "zh-CN": "添加", en: "Add", "zh-MO": "添加", _appCode: "framework" },
681
681
  全选: { "zh-CN": "全选", en: "Select All", "zh-MO": "全選", _appCode: "framework" },
682
682
  已选: { "zh-CN": "已选", en: "Selected", "zh-MO": "已選", _appCode: "framework" },
@@ -687,8 +687,8 @@ const at = /* @__PURE__ */ We(tt, [["render", ot]]), nt = {
687
687
  _appCode: "framework"
688
688
  }
689
689
  };
690
- Fl(st);
691
- Nl(nt);
690
+ Fl(nt);
691
+ Nl(st);
692
692
  const Lt = De(lt), Mt = De(at), Vt = { name: "select 选择器" };
693
693
  export {
694
694
  Lt as DasSelect,
@@ -218,10 +218,13 @@ var en = /* @__PURE__ */ function() {
218
218
  }();
219
219
  function ti(t, e, i) {
220
220
  var n = e.value;
221
- if (n && !(typeof IntersectionObserver > "u")) {
222
- var r = new en(t, n, i);
223
- t._vue_visibilityState = r;
224
- }
221
+ if (n)
222
+ if (typeof IntersectionObserver > "u")
223
+ 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");
224
+ else {
225
+ var r = new en(t, n, i);
226
+ t._vue_visibilityState = r;
227
+ }
225
228
  }
226
229
  function tn(t, e, i) {
227
230
  var n = e.value, r = e.oldValue;
@@ -448,7 +451,7 @@ var Pt = {
448
451
  }
449
452
  },
450
453
  created() {
451
- 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;
454
+ 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");
452
455
  },
453
456
  mounted() {
454
457
  this.applyPageMode(), this.$nextTick(() => {
@@ -625,6 +628,7 @@ var Pt = {
625
628
  },
626
629
  itemsLimitError() {
627
630
  throw setTimeout(() => {
631
+ 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.");
628
632
  }), new Error("Rendered items limit reached");
629
633
  },
630
634
  sortViews() {
@@ -2078,7 +2082,7 @@ const Ln = (t, e, i, n) => {
2078
2082
  });
2079
2083
  const a = () => {
2080
2084
  const u = i.value;
2081
- u.style.cursor = "move", o = y.create(u, {
2085
+ u.style.cursor = "move", console.log(t, e, i, n), o = y.create(u, {
2082
2086
  draggable: ".selected-item.enable",
2083
2087
  //指定样式类的元素才允许拖动
2084
2088
  filter: ".selected-item.disableDrag",