@das-fed/ui 7.0.7-hot.21 → 7.0.7-hot.22

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 (99) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-8yffh0Id.js → index-DMJXZM7n.js} +1067 -1056
  3. package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-MqhMkLo9.js} +9 -9
  5. package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-_q72oKSF.js} +63 -62
  7. package/packages/business-components/ai-panel/index-_q72oKSF.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.js +14908 -14808
  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 +46 -46
  14. package/packages/business-components/process-configuration/index.js.gz +0 -0
  15. package/packages/business-components/process-form/index.js +99 -99
  16. package/packages/business-components/process-form/index.js.gz +0 -0
  17. package/packages/business-components/process-search-form/index.js +77 -77
  18. package/packages/business-components/process-search-form/index.js.gz +0 -0
  19. package/packages/business-components/process-table/index.js +215 -213
  20. package/packages/business-components/process-table/index.js.gz +0 -0
  21. package/packages/business-components/urgent-panel/index.js +1104 -1096
  22. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  23. package/packages/business-components/user-org-dialog/index.js +243 -240
  24. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  25. package/packages/business-components/video-dialog/index.js +65 -64
  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 +99 -99
  30. package/packages/components/calendar/index.js.gz +0 -0
  31. package/packages/components/cascader/index.js +2 -2
  32. package/packages/components/cascader/index.js.gz +0 -0
  33. package/packages/components/checkbox/index.js +30 -30
  34. package/packages/components/checkbox/index.js.gz +0 -0
  35. package/packages/components/date-picker/index.js +212 -212
  36. package/packages/components/date-picker/index.js.gz +0 -0
  37. package/packages/components/dimple-layout/index.js +77 -75
  38. package/packages/components/dimple-layout/index.js.gz +0 -0
  39. package/packages/components/dropdown/index.js +25 -24
  40. package/packages/components/dropdown/index.js.gz +0 -0
  41. package/packages/components/edit-table/index.js +398 -397
  42. package/packages/components/edit-table/index.js.gz +0 -0
  43. package/packages/components/error-overlay-model/index.js +47 -45
  44. package/packages/components/error-overlay-model/index.js.gz +0 -0
  45. package/packages/components/form-item/index.js +67 -67
  46. package/packages/components/form-item/index.js.gz +0 -0
  47. package/packages/components/hls-player/index.js +14 -7
  48. package/packages/components/hls-player/index.js.gz +0 -0
  49. package/packages/components/image-upload/index.js +147 -143
  50. package/packages/components/image-upload/index.js.gz +0 -0
  51. package/packages/components/image-viewer/index.js +297 -293
  52. package/packages/components/image-viewer/index.js.gz +0 -0
  53. package/packages/components/input/index.js +52 -52
  54. package/packages/components/input/index.js.gz +0 -0
  55. package/packages/components/input-number/index.js +26 -26
  56. package/packages/components/input-number/index.js.gz +0 -0
  57. package/packages/components/live-player/index.js +251 -248
  58. package/packages/components/live-player/index.js.gz +0 -0
  59. package/packages/components/map/index.js +421 -415
  60. package/packages/components/map/index.js.gz +0 -0
  61. package/packages/components/menu-aside/index.js +1 -1
  62. package/packages/components/menu-aside/index.js.gz +0 -0
  63. package/packages/components/message/index.js +6 -6
  64. package/packages/components/message/index.js.gz +0 -0
  65. package/packages/components/popover/index.js +12 -12
  66. package/packages/components/popover/index.js.gz +0 -0
  67. package/packages/components/radio-tabs/index.js +34 -34
  68. package/packages/components/radio-tabs/index.js.gz +0 -0
  69. package/packages/components/rich-editor/index.js +4613 -4583
  70. package/packages/components/rich-editor/index.js.gz +0 -0
  71. package/packages/components/scrollbar/index.js +135 -135
  72. package/packages/components/scrollbar/index.js.gz +0 -0
  73. package/packages/components/search/index.js +24 -24
  74. package/packages/components/search/index.js.gz +0 -0
  75. package/packages/components/select/index.js +60 -60
  76. package/packages/components/select/index.js.gz +0 -0
  77. package/packages/components/select-list/index.js +9 -5
  78. package/packages/components/select-list/index.js.gz +0 -0
  79. package/packages/components/special-range-picker-month/index.js +16 -14
  80. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  81. package/packages/components/special-range-picker-year/index.js +53 -51
  82. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  83. package/packages/components/spin/index.js +33 -33
  84. package/packages/components/spin/index.js.gz +0 -0
  85. package/packages/components/split-panel/index.js +129 -128
  86. package/packages/components/split-panel/index.js.gz +0 -0
  87. package/packages/components/table/index.js +179 -178
  88. package/packages/components/table/index.js.gz +0 -0
  89. package/packages/components/time-line/index.js +1 -1
  90. package/packages/components/time-line/index.js.gz +0 -0
  91. package/packages/components/tree-select/index.js +1 -1
  92. package/packages/components/tree-select/index.js.gz +0 -0
  93. package/packages/components/tree-table/index.js +2 -2
  94. package/packages/components/tree-table/index.js.gz +0 -0
  95. package/packages/components/tree-v2/index.js +1117 -1093
  96. package/packages/components/tree-v2/index.js.gz +0 -0
  97. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  98. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  99. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
@@ -28,39 +28,39 @@ const J = {
28
28
  },
29
29
  emits: ["update:modelValue", "change"],
30
30
  setup(f, { emit: m }) {
31
- const l = f, d = m;
31
+ const t = f, d = m;
32
32
  j({
33
33
  search: import("@das-fed/ui/packages/icons/search"),
34
34
  empty: import("@das-fed/ui/packages/icons/empty")
35
35
  });
36
36
  const p = o(null), c = o(null), a = T({
37
- get: () => l.modelValue,
37
+ get: () => t.modelValue,
38
38
  set: (e) => d("update:modelValue", e)
39
- }), u = o(!1), F = T(() => a.value ? a.value : l.placeholder), L = (e) => {
40
- let t = e + "";
41
- a.value = t, d("change", t);
42
- }, E = () => G(l.placeholder, 12);
39
+ }), u = o(!1), F = T(() => a.value ? a.value : t.placeholder), L = (e) => {
40
+ let l = e + "";
41
+ a.value = l, d("change", l);
42
+ }, E = () => G(t.placeholder, 12);
43
43
  y(
44
44
  () => c.value,
45
45
  (e) => {
46
46
  setTimeout(() => {
47
47
  var n, V;
48
- const t = e;
49
- t && (s.value = ((n = t == null ? void 0 : t.ref) == null ? void 0 : n.offsetWidth) ?? 0, r.value = a.value ? (V = t == null ? void 0 : t.ref) == null ? void 0 : V.scrollWidth : E());
48
+ const l = e;
49
+ l && (s.value = ((n = l == null ? void 0 : l.ref) == null ? void 0 : n.offsetWidth) ?? 0, i.value = a.value ? (V = l == null ? void 0 : l.ref) == null ? void 0 : V.scrollWidth : E());
50
50
  }, 200);
51
51
  }
52
52
  );
53
- const s = o(0), r = o(0), x = () => {
53
+ const s = o(0), i = o(0), x = () => {
54
54
  P(() => {
55
- var e, t, n;
56
- (e = c.value) != null && e.ref && (s.value = (t = c.value) == null ? void 0 : t.ref.offsetWidth, r.value = a.value ? (n = c.value) == null ? void 0 : n.ref.scrollWidth : E(), (s.value === r.value || r.value - s.value < 1) && (u.value = !1));
55
+ var e, l, n;
56
+ (e = c.value) != null && e.ref && (s.value = (l = c.value) == null ? void 0 : l.ref.offsetWidth, i.value = a.value ? (n = c.value) == null ? void 0 : n.ref.scrollWidth : E(), (s.value === i.value || i.value - s.value < 1) && (u.value = !1));
57
57
  });
58
58
  };
59
- y(() => [a.value, l.placeholder], x);
60
- const i = o(), A = () => {
61
- x(), s.value === r.value || r.value - s.value < 1 ? u.value = !1 : (u.value = !0, i.value && clearTimeout(i.value));
59
+ y(() => [a.value, t.placeholder], x);
60
+ const r = o(), A = () => {
61
+ x(), s.value === i.value || i.value - s.value < 1 ? u.value = !1 : (u.value = !0, r.value && clearTimeout(r.value));
62
62
  }, z = () => {
63
- i.value = setTimeout(() => {
63
+ r.value = setTimeout(() => {
64
64
  u.value = !1;
65
65
  }, 200);
66
66
  };
@@ -71,20 +71,20 @@ 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, r.value && clearTimeout(r.value);
75
75
  }), e.addEventListener("mouseleave", function() {
76
- i.value = setTimeout(() => {
76
+ console.log("离开toolTip"), r.value = setTimeout(() => {
77
77
  u.value = !1;
78
78
  }, 200);
79
79
  }));
80
80
  }
81
81
  );
82
- const h = o(""), b = o(!1), I = T(() => (l == null ? void 0 : l.isExpandAtFocus) === !0 || (l == null ? void 0 : l.isExpandAtFocus) === "true"), D = () => {
82
+ const h = o(""), b = o(!1), I = T(() => (t == null ? void 0 : t.isExpandAtFocus) === !0 || (t == null ? void 0 : t.isExpandAtFocus) === "true"), D = () => {
83
83
  !I.value || s.value > 400 || (h.value = "400px", b.value = !0);
84
84
  }, M = (e) => {
85
85
  I.value && (h.value = "", b.value = !1);
86
86
  };
87
- return (e, t) => (g(), _(
87
+ return (e, l) => (g(), _(
88
88
  "div",
89
89
  {
90
90
  class: N(`das-ui-search ${e.size}`),
@@ -111,10 +111,10 @@ const J = {
111
111
  type: "text",
112
112
  class: `main-input ${e.size} ${e.border ? "border" : ""} ${e.isIconLeft ? "left" : ""}`,
113
113
  modelValue: a.value,
114
- "onUpdate:modelValue": t[0] || (t[0] = (n) => a.value = n),
114
+ "onUpdate:modelValue": l[0] || (l[0] = (n) => a.value = n),
115
115
  disabled: e.disabled,
116
116
  onChange: L,
117
- clearable: l.clearable,
117
+ clearable: t.clearable,
118
118
  onFocus: D,
119
119
  onBlur: M,
120
120
  onMouseenter: A,
@@ -146,10 +146,10 @@ const J = {
146
146
  ));
147
147
  }
148
148
  }), Q = (f, m) => {
149
- const l = f.__vccOpts || f;
149
+ const t = f.__vccOpts || f;
150
150
  for (const [d, p] of m)
151
- l[d] = p;
152
- return l;
151
+ t[d] = p;
152
+ return t;
153
153
  }, X = /* @__PURE__ */ Q(K, [["__scopeId", "data-v-0b97f6a7"]]), Y = {
154
154
  "--demo-alert-bg": {
155
155
  light: "#fff",
@@ -80,10 +80,10 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
80
80
  var _;
81
81
  const e = M.value.querySelector(".ant-select-selection-placeholder"), t = (_ = x.value) == null ? void 0 : _.$el.querySelectorAll(".ant-select-selection-item");
82
82
  t && t.length && t.forEach((X) => X.removeAttribute("title"));
83
- let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
84
- if (a === 0) return a;
85
- const o = window.getComputedStyle(e, null), p = parseFloat(o.paddingRight), v = parseFloat(o.paddingLeft);
86
- return a - p - v;
83
+ let o = (e == null ? void 0 : e.offsetWidth) ?? 0;
84
+ if (o === 0) return o;
85
+ const a = window.getComputedStyle(e, null), p = parseFloat(a.paddingRight), v = parseFloat(a.paddingLeft);
86
+ return o - p - v;
87
87
  }, S = n(!1);
88
88
  G(() => [Z.value, s.value], () => {
89
89
  T(() => {
@@ -96,9 +96,9 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
96
96
  },
97
97
  (e) => {
98
98
  e && (e.addEventListener("mouseenter", function() {
99
- S.value = !0, O.value && clearTimeout(O.value);
99
+ console.log("进入tooltip"), S.value = !0, O.value && clearTimeout(O.value);
100
100
  }), e.addEventListener("mouseleave", function() {
101
- O.value = setTimeout(() => {
101
+ console.log("离开toolTip"), O.value = setTimeout(() => {
102
102
  S.value = !1;
103
103
  }, 200);
104
104
  }));
@@ -131,9 +131,9 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
131
131
  var t;
132
132
  let e = (t = x.value) == null ? void 0 : t.$el.querySelectorAll(".ant-select-selection-item");
133
133
  if (e && e.length > 0)
134
- for (let a = 0; a < e.length; a++) {
135
- let o = e[a];
136
- o.scrollWidth <= o.offsetWidth && (ae.value = !1), o.title = "";
134
+ for (let o = 0; o < e.length; o++) {
135
+ let a = e[o];
136
+ a.scrollWidth <= a.offsetWidth && (ae.value = !1), a.title = "";
137
137
  }
138
138
  }, 300));
139
139
  }), de(() => {
@@ -145,7 +145,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
145
145
  }, 100);
146
146
  };
147
147
  de(() => {
148
- se.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (se.value = !1, We());
148
+ se.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (console.log("watchEffect", s.value), se.value = !1, We());
149
149
  }), ie(() => {
150
150
  se.value = !0, l.focusOpen || (i.value = 1, u.value = i.value, b.value = !0);
151
151
  });
@@ -155,26 +155,26 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
155
155
  var t;
156
156
  let e = [];
157
157
  if (l.mode != "combobox" && Array.isArray(s.value))
158
- s.value.map((a) => {
158
+ s.value.map((o) => {
159
159
  var p;
160
- let o = (p = l.options) == null ? void 0 : p.find((v) => v[L.value] == a);
161
- o && e.push(o[K.value]);
160
+ let a = (p = l.options) == null ? void 0 : p.find((v) => v[L.value] == o);
161
+ a && e.push(a[K.value]);
162
162
  });
163
163
  else if (l.mode == "combobox" && s.value) {
164
- let a = (t = l.options) == null ? void 0 : t.find((o) => o[L.value] == s.value);
165
- a && e.push(a[K.value]);
164
+ let o = (t = l.options) == null ? void 0 : t.find((a) => a[L.value] == s.value);
165
+ o && e.push(o[K.value]);
166
166
  }
167
167
  return Il.value === "zh-CN" ? e.join("、") : e.join(", ");
168
168
  }), He = d(() => {
169
169
  var t;
170
170
  if (l.mode === "combobox") return !1;
171
- let e = l.options.filter((a) => !a.disabled);
171
+ let e = l.options.filter((o) => !o.disabled);
172
172
  return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) == e.length);
173
173
  }), Ze = d(() => {
174
- var t, a;
174
+ var t, o;
175
175
  if (l.mode === "combobox") return !1;
176
- let e = l.options.filter((o) => !o.disabled);
177
- return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) > 0 && ((a = s.value) == null ? void 0 : a.length) < e.length);
176
+ let e = l.options.filter((a) => !a.disabled);
177
+ return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) > 0 && ((o = s.value) == null ? void 0 : o.length) < e.length);
178
178
  }), Ke = d(() => {
179
179
  var e, t;
180
180
  return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (t = l.fieldNames) == null ? void 0 : t.label : "label";
@@ -191,9 +191,9 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
191
191
  color: Tl("--das-ui-select-overlay-error-color").value,
192
192
  "white-space": "break-spaces"
193
193
  }), O = n(), Xe = () => {
194
- var a;
194
+ var o;
195
195
  B.value = ge(), A.value = be();
196
- let e = (a = x.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
196
+ let e = (o = x.value) == null ? void 0 : o.$el.querySelectorAll(".ant-select-selection-item");
197
197
  !!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || B.value === A.value || A.value - B.value < 1 ? S.value = !1 : (S.value = !0, O.value && clearTimeout(O.value)), ne.value = !0;
198
198
  }, Ge = () => {
199
199
  O.value = setTimeout(() => {
@@ -203,8 +203,8 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
203
203
  e ? Xe() : Ge();
204
204
  }, Qe = (e) => {
205
205
  e && (ke.value = Vl().nextZIndex(), E.value = ""), U.value = e, l.mode == "combobox" && (e || setTimeout(() => {
206
- var t, a;
207
- (a = (t = x.value) == null ? void 0 : t.blur) == null || a.call(t);
206
+ var t, o;
207
+ (o = (t = x.value) == null ? void 0 : t.blur) == null || o.call(t);
208
208
  })), w("dropdownVisibleChange", e);
209
209
  }, Ye = (e) => {
210
210
  let t = e.toString();
@@ -212,13 +212,13 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
212
212
  }, el = (e) => l.isRenderNode ? M.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), ll = (e) => {
213
213
  if (e) {
214
214
  Array.isArray(s.value) || (s.value = []);
215
- let t = s.value, a = [];
216
- l.options.forEach((o) => {
217
- !s.value.includes(o[L.value]) && !o.disabled && (t.push(o[L.value]), a.push(o));
218
- }), s.value = t, ue(s.value, a);
215
+ let t = s.value, o = [];
216
+ l.options.forEach((a) => {
217
+ !s.value.includes(a[L.value]) && !a.disabled && (t.push(a[L.value]), o.push(a));
218
+ }), s.value = t, ue(s.value, o);
219
219
  } else {
220
220
  let t = s.value;
221
- s.value = t.filter((a) => !!l.options.find((o) => o[L.value] === a).disabled), ue(s.value, []);
221
+ s.value = t.filter((o) => !!l.options.find((a) => a[L.value] === o).disabled), ue(s.value, []);
222
222
  }
223
223
  }, tl = (e) => {
224
224
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
@@ -279,23 +279,23 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
279
279
  if (!e) return;
280
280
  let t = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
281
281
  if (!t) return;
282
- let a = t.offsetWidth - 5;
283
- l.borderType === "underline" && (a -= 10);
282
+ let o = t.offsetWidth - 5;
283
+ l.borderType === "underline" && (o -= 10);
284
284
  const p = Math.ceil(ye.value.querySelector(".ant-tag").offsetWidth) + 4;
285
285
  let v = e.querySelectorAll(".ant-select-selection-overflow-item");
286
286
  if (v.length < 1) return;
287
287
  u.value = V;
288
288
  let _ = 0;
289
289
  for (let m = 0; m < v.length - 1 && !v[m].classList.contains("ant-select-selection-overflow-item-rest"); m++)
290
- if (_ += Math.ceil(v[m].offsetWidth), _ <= a - p)
291
- m >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = m + 1;
290
+ if (_ += Math.ceil(v[m].offsetWidth), _ <= o - p)
291
+ m >= s.value.length - 1 && _ < o ? i.value = s.value.length : i.value = m + 1;
292
292
  else {
293
- m >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = m;
293
+ m >= s.value.length - 1 && _ < o ? i.value = s.value.length : i.value = m;
294
294
  break;
295
295
  }
296
296
  if (i.value === 0) {
297
297
  let m = v[0], rl = m.querySelector(".anticon-close") ? 86 : 69;
298
- m && !m.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a - p && !xe.tagRender && (i.value = 1, m.classList.add("ellipsis"));
298
+ m && !m.classList.contains("ant-select-selection-overflow-item-rest") && rl <= o - p && !xe.tagRender && (i.value = 1, m.classList.add("ellipsis"));
299
299
  }
300
300
  }, re = n(!1);
301
301
  G(
@@ -305,19 +305,19 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
305
305
  re.value = !1;
306
306
  return;
307
307
  }
308
- l.mode !== "combobox" && oe.value || (z.value = !0, u.value = V, await T(), await N(), z.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = R.value ? V : i.value, b.value = !R.value) : (u.value = i.value, b.value = !0));
308
+ l.mode !== "combobox" && oe.value || (console.log("-----watch-----", s.value), z.value = !0, u.value = V, await T(), await N(), z.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = R.value ? V : i.value, b.value = !R.value) : (u.value = i.value, b.value = !0));
309
309
  }
310
310
  );
311
311
  const ue = async (e, t) => {
312
312
  re.value = !0, U.value = !1, l.mode === "combobox" && le();
313
- const a = e;
314
- l.noDropdown && l.maxTagsLength < a.length && a.pop(), z.value = !0, w("update:model-value", a), w("change", a, t), u.value = V, await T(), await N(), z.value = !1, l.isExterControlCount && l.focusOpen && (u.value = R.value ? V : i.value, b.value = !R.value), l.focusOpen || (u.value = i.value);
313
+ const o = e;
314
+ l.noDropdown && l.maxTagsLength < o.length && o.pop(), z.value = !0, console.log("-----seleceChange-----", o), w("update:model-value", o), w("change", o, t), u.value = V, await T(), await N(), z.value = !1, l.isExterControlCount && l.focusOpen && (u.value = R.value ? V : i.value, b.value = !R.value), l.focusOpen || (u.value = i.value, console.log("selectChange--------", u.value));
315
315
  };
316
316
  return $({
317
317
  $select: x,
318
318
  toChangeMaxCount: nl
319
319
  }), (e, t) => {
320
- const a = dl("v-nodes");
320
+ const o = dl("v-nodes");
321
321
  return c(), g(
322
322
  "div",
323
323
  {
@@ -343,7 +343,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
343
343
  }, null, 8, ["virtual-ref", "disabled", "content"]),
344
344
  ce((c(), H(r(ml), me({ mode: e.mode }, e.$attrs, {
345
345
  value: r(s),
346
- "onUpdate:value": t[4] || (t[4] = (o) => vl(s) ? s.value = o : null),
346
+ "onUpdate:value": t[4] || (t[4] = (a) => vl(s) ? s.value = a : null),
347
347
  ref_key: "$select",
348
348
  ref: x,
349
349
  options: Te.value,
@@ -370,13 +370,13 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
370
370
  ],
371
371
  onBlur: Se
372
372
  }), fl({
373
- option: f((o) => [
374
- C(e.$slots, "option", Q(Y(o)), () => {
373
+ option: f((a) => [
374
+ C(e.$slots, "option", Q(Y(a)), () => {
375
375
  var p;
376
376
  return [
377
- o.children && typeof o.children == "function" ? (c(), H(a, {
377
+ a.children && typeof a.children == "function" ? (c(), H(o, {
378
378
  key: 0,
379
- vnodes: o.children()
379
+ vnodes: a.children()
380
380
  }, null, 8, ["vnodes"])) : (c(), g(
381
381
  fe,
382
382
  { key: 1 },
@@ -384,7 +384,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
384
384
  k(' :option="{value, label, [disabled, key, title]}" '),
385
385
  e.mode === "combobox" ? ce((c(), g("div", _l, [
386
386
  ve(
387
- W(o[K.value]),
387
+ W(a[K.value]),
388
388
  1
389
389
  /* TEXT */
390
390
  )
@@ -398,13 +398,13 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
398
398
  h("div", $l, [
399
399
  (c(), H(r(ze), {
400
400
  class: "das-select-checkbox",
401
- modelValue: (p = r(s)) == null ? void 0 : p.includes(o[L.value]),
402
- key: o[L.value],
403
- disabled: o.disabled
401
+ modelValue: (p = r(s)) == null ? void 0 : p.includes(a[L.value]),
402
+ key: a[L.value],
403
+ disabled: a.disabled
404
404
  }, null, 8, ["modelValue", "disabled"])),
405
405
  ce((c(), g("div", Fl, [
406
406
  ve(
407
- W(o[K.value]),
407
+ W(a[K.value]),
408
408
  1
409
409
  /* TEXT */
410
410
  )
@@ -423,12 +423,12 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
423
423
  ];
424
424
  }, !0)
425
425
  ]),
426
- tagRender: f((o) => [
427
- C(e.$slots, "tagRender", Q(Y(o)), () => [
426
+ tagRender: f((a) => [
427
+ C(e.$slots, "tagRender", Q(Y(a)), () => [
428
428
  y(r(pe), {
429
- closable: o.closable,
429
+ closable: a.closable,
430
430
  style: { "margin-right": "3px", "background-color": "transparent" },
431
- onClose: (p) => sl(o)
431
+ onClose: (p) => sl(a)
432
432
  }, {
433
433
  default: f(() => [
434
434
  h(
@@ -437,7 +437,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
437
437
  class: "tag-span",
438
438
  style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
439
439
  },
440
- W(Ye(o.label)),
440
+ W(Ye(a.label)),
441
441
  5
442
442
  /* TEXT, STYLE */
443
443
  )
@@ -447,18 +447,18 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
447
447
  }, 1032, ["closable", "onClose"])
448
448
  ], !0)
449
449
  ]),
450
- dropdownRender: f(({ menuNode: o }) => [
451
- C(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
450
+ dropdownRender: f(({ menuNode: a }) => [
451
+ C(e.$slots, "dropdownRender", Q(Y({ menuNode: a })), () => {
452
452
  var p;
453
453
  return [
454
454
  Ce.value === "combobox" ? (c(), g("div", Ml, [
455
- y(a, { vnodes: o }, null, 8, ["vnodes"])
455
+ y(o, { vnodes: a }, null, 8, ["vnodes"])
456
456
  ])) : Ce.value === "custom" ? (c(), g("div", {
457
457
  key: 1,
458
458
  onClick: t[2] || (t[2] = J(() => {
459
459
  }, ["stop"]))
460
460
  }, [
461
- y(a, { vnodes: o }, null, 8, ["vnodes"]),
461
+ y(o, { vnodes: a }, null, 8, ["vnodes"]),
462
462
  h(
463
463
  "div",
464
464
  {
@@ -492,7 +492,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
492
492
  /* NEED_HYDRATION */
493
493
  )
494
494
  ])) : (c(), g("div", Al, [
495
- y(a, { vnodes: o }, null, 8, ["vnodes"]),
495
+ y(o, { vnodes: a }, null, 8, ["vnodes"]),
496
496
  (p = l.options) != null && p.length ? (c(), g(
497
497
  "div",
498
498
  {
@@ -536,8 +536,8 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
536
536
  y(r(Cl), { size: "medium" })
537
537
  ], !0)
538
538
  ]),
539
- maxTagPlaceholder: f((o) => [
540
- C(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
539
+ maxTagPlaceholder: f((a) => [
540
+ C(e.$slots, "maxTagPlaceholder", Q(Y(a)), () => [
541
541
  k(" 隐藏tag时显示的内容 "),
542
542
  y(r(pe), {
543
543
  style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
@@ -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() {
@@ -32,8 +32,8 @@ const G = () => ({ getDateTime: (o) => {
32
32
  isInNewRange: (p) => {
33
33
  if (!a.value.begin || !a.value.end || !d.value) return !1;
34
34
  const t = l(g(p)), f = l(d.value);
35
- let k = l(a.value.begin), C = l(a.value.end);
36
- return s.value === "begin" ? (f > k && (k = f), t <= C && t >= k) : (f < C && (C = f), t <= C && t >= k);
35
+ let k = l(a.value.begin), S = l(a.value.end);
36
+ return s.value === "begin" ? (f > k && (k = f), t <= S && t >= k) : (f < S && (S = f), t <= S && t >= k);
37
37
  },
38
38
  outBeginDate: (p) => {
39
39
  if (!a.value.begin) return !1;
@@ -86,8 +86,10 @@ const G = () => ({ getDateTime: (o) => {
86
86
  }), g = () => {
87
87
  var L, M, D;
88
88
  o.value = (L = s.value) == null ? void 0 : L.clientWidth;
89
- const { top: S = 0, left: R = 0 } = ((M = s.value) == null ? void 0 : M.getBoundingClientRect()) ?? {}, B = (D = s.value) == null ? void 0 : D.clientHeight;
90
- n.value.x = R, n.value.y = S + B;
89
+ const { top: C = 0, left: E = 0 } = ((M = s.value) == null ? void 0 : M.getBoundingClientRect()) ?? {};
90
+ console.log(C, E, "=============");
91
+ const B = (D = s.value) == null ? void 0 : D.clientHeight;
92
+ n.value.x = E, n.value.y = C + B;
91
93
  };
92
94
  return {
93
95
  $dasSpecialRangeMonthPicker: s,
@@ -123,9 +125,9 @@ const G = () => ({ getDateTime: (o) => {
123
125
  emits: ["update:modelValue", "change", "update:error", "show-popover"],
124
126
  setup(u, { emit: s }) {
125
127
  const r = u, o = s, n = m(!1), a = q(r, "modelValue"), d = m(["", ""]), l = q(r, "error"), g = m([]), h = m(void 0);
126
- let E = !0;
127
- const S = m(0), R = V(() => !r.disabled && !r.isView && a.value[0] && a.value[1]), B = (v, c) => {
128
- r.disabled || r.isView || (E = !1, n.value = !0, h.value = c, S.value = 0, d.value = [a.value[0], a.value[1]], o("show-popover"));
128
+ let R = !0;
129
+ const C = m(0), E = V(() => !r.disabled && !r.isView && a.value[0] && a.value[1]), B = (v, c) => {
130
+ r.disabled || r.isView || (R = !1, n.value = !0, h.value = c, C.value = 0, d.value = [a.value[0], a.value[1]], o("show-popover"));
129
131
  }, L = () => {
130
132
  h.value = void 0;
131
133
  const v = D.value;
@@ -136,11 +138,11 @@ const G = () => ({ getDateTime: (o) => {
136
138
  isInHoverRange: t,
137
139
  isInNewRange: f,
138
140
  outBeginDate: k,
139
- outEndDate: C,
141
+ outEndDate: S,
140
142
  clickData: J,
141
143
  mouseEnter: K,
142
144
  mouseLeave: F
143
- } = me(d, h, S, a, L), {
145
+ } = me(d, h, C, a, L), {
144
146
  $dasSpecialRangeMonthPicker: Q,
145
147
  isHoverInInput: _,
146
148
  errorModalBaseSyle: U,
@@ -150,8 +152,8 @@ const G = () => ({ getDateTime: (o) => {
150
152
  errorModallInputMouseLeave: O
151
153
  } = he(r), ee = () => {
152
154
  setTimeout(() => {
153
- if (!E) {
154
- E = !0;
155
+ if (!R) {
156
+ R = !0;
155
157
  return;
156
158
  }
157
159
  d.value = ["", ""], D.value = { begin: a.value[0], end: a.value[1] }, h.value = void 0, n.value = !1;
@@ -236,12 +238,12 @@ const G = () => ({ getDateTime: (o) => {
236
238
  },
237
239
  [
238
240
  $(e(fe), {
239
- class: x(["icon-date", { "has-data": R.value }]),
241
+ class: x(["icon-date", { "has-data": E.value }]),
240
242
  size: "medium",
241
243
  "icon-color": e(Y)("--das-ui-color-normal")
242
244
  }, null, 8, ["class", "icon-color"]),
243
245
  $(e(be), {
244
- class: x(["icon-delete", { "has-data": R.value }]),
246
+ class: x(["icon-delete", { "has-data": E.value }]),
245
247
  size: "medium",
246
248
  "icon-color": e(Y)("--das-ui-special-range-picker-close-btn"),
247
249
  onClick: ae
@@ -272,7 +274,7 @@ const G = () => ({ getDateTime: (o) => {
272
274
  "new-range": e(f)(i),
273
275
  "range-start": e(M)(e(D).begin) === e(M)(i),
274
276
  "range-end": e(M)(e(D).end) === e(M)(i),
275
- "out-range": e(k)(i) || e(C)(i)
277
+ "out-range": e(k)(i) || e(S)(i)
276
278
  }]),
277
279
  onMouseenter: (re) => e(K)(i),
278
280
  onClick: (re) => e(J)(i)