@das-fed/ui 7.1.0-dev.10 → 7.1.0-dev.11

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 (111) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/ai-panel/{index-DMJXZM7n.js → index-8yffh0Id.js} +1056 -1067
  3. package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
  4. package/packages/business-components/ai-panel/{index-MqhMkLo9.js → index-IzGl26KU.js} +9 -9
  5. package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
  6. package/packages/business-components/ai-panel/{index-_q72oKSF.js → index-OwRrV6K8.js} +62 -63
  7. package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
  8. package/packages/business-components/ai-panel/index.js +1 -1
  9. package/packages/business-components/device-panel/index.d.ts +1 -1
  10. package/packages/business-components/device-panel/index.js +11286 -11344
  11. package/packages/business-components/device-panel/index.js.gz +0 -0
  12. package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts +1 -1
  13. package/packages/business-components/device-panel/src/index.vue.d.ts +1 -1
  14. package/packages/business-components/device-panel/src/render-panel.d.ts +2 -1
  15. package/packages/business-components/device-panel/style.css +1 -1
  16. package/packages/business-components/device-panel/style.css.gz +0 -0
  17. package/packages/business-components/echarts/index.js +2049 -2056
  18. package/packages/business-components/echarts/index.js.gz +0 -0
  19. package/packages/business-components/process-configuration/index.js +46 -46
  20. package/packages/business-components/process-configuration/index.js.gz +0 -0
  21. package/packages/business-components/process-form/index.js +99 -99
  22. package/packages/business-components/process-form/index.js.gz +0 -0
  23. package/packages/business-components/process-search-form/index.js +77 -77
  24. package/packages/business-components/process-search-form/index.js.gz +0 -0
  25. package/packages/business-components/process-table/index.js +213 -215
  26. package/packages/business-components/process-table/index.js.gz +0 -0
  27. package/packages/business-components/urgent-panel/index.js +1096 -1104
  28. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  29. package/packages/business-components/user-org-dialog/index.js +240 -243
  30. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  31. package/packages/business-components/video-dialog/index.js +64 -65
  32. package/packages/business-components/video-dialog/index.js.gz +0 -0
  33. package/packages/components/autocomplete/index.js +6 -12
  34. package/packages/components/autocomplete/index.js.gz +0 -0
  35. package/packages/components/calendar/index.js +99 -99
  36. package/packages/components/calendar/index.js.gz +0 -0
  37. package/packages/components/cascader/index.js +2 -2
  38. package/packages/components/cascader/index.js.gz +0 -0
  39. package/packages/components/checkbox/index.js +30 -30
  40. package/packages/components/checkbox/index.js.gz +0 -0
  41. package/packages/components/collapse-panel/index.js +64 -39
  42. package/packages/components/collapse-panel/index.js.gz +0 -0
  43. package/packages/components/collapse-panel/style.css +1 -1
  44. package/packages/components/collapse-panel/style.css.gz +0 -0
  45. package/packages/components/date-picker/index.js +212 -212
  46. package/packages/components/date-picker/index.js.gz +0 -0
  47. package/packages/components/dialog/index.js +1 -3
  48. package/packages/components/dialog/index.js.gz +0 -0
  49. package/packages/components/dimple-layout/index.js +75 -77
  50. package/packages/components/dimple-layout/index.js.gz +0 -0
  51. package/packages/components/dropdown/index.js +24 -25
  52. package/packages/components/dropdown/index.js.gz +0 -0
  53. package/packages/components/edit-table/index.js +397 -398
  54. package/packages/components/edit-table/index.js.gz +0 -0
  55. package/packages/components/error-overlay-model/index.js +45 -47
  56. package/packages/components/error-overlay-model/index.js.gz +0 -0
  57. package/packages/components/form-item/index.js +67 -67
  58. package/packages/components/form-item/index.js.gz +0 -0
  59. package/packages/components/hls-player/index.js +7 -14
  60. package/packages/components/hls-player/index.js.gz +0 -0
  61. package/packages/components/image-upload/index.js +143 -147
  62. package/packages/components/image-upload/index.js.gz +0 -0
  63. package/packages/components/image-viewer/index.js +293 -297
  64. package/packages/components/image-viewer/index.js.gz +0 -0
  65. package/packages/components/input/index.js +52 -52
  66. package/packages/components/input/index.js.gz +0 -0
  67. package/packages/components/input-number/index.js +26 -26
  68. package/packages/components/input-number/index.js.gz +0 -0
  69. package/packages/components/live-player/index.js +248 -251
  70. package/packages/components/live-player/index.js.gz +0 -0
  71. package/packages/components/map/index.js +415 -421
  72. package/packages/components/map/index.js.gz +0 -0
  73. package/packages/components/menu-aside/index.js +1 -1
  74. package/packages/components/menu-aside/index.js.gz +0 -0
  75. package/packages/components/message/index.js +6 -6
  76. package/packages/components/message/index.js.gz +0 -0
  77. package/packages/components/popover/index.js +12 -12
  78. package/packages/components/popover/index.js.gz +0 -0
  79. package/packages/components/radio-tabs/index.js +34 -34
  80. package/packages/components/radio-tabs/index.js.gz +0 -0
  81. package/packages/components/rich-editor/index.js +4583 -4613
  82. package/packages/components/rich-editor/index.js.gz +0 -0
  83. package/packages/components/scrollbar/index.js +135 -135
  84. package/packages/components/scrollbar/index.js.gz +0 -0
  85. package/packages/components/search/index.js +24 -24
  86. package/packages/components/search/index.js.gz +0 -0
  87. package/packages/components/select/index.js +60 -60
  88. package/packages/components/select/index.js.gz +0 -0
  89. package/packages/components/select-list/index.js +5 -9
  90. package/packages/components/select-list/index.js.gz +0 -0
  91. package/packages/components/special-range-picker-month/index.js +14 -16
  92. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  93. package/packages/components/special-range-picker-year/index.js +51 -53
  94. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  95. package/packages/components/spin/index.js +33 -33
  96. package/packages/components/spin/index.js.gz +0 -0
  97. package/packages/components/split-panel/index.js +128 -129
  98. package/packages/components/split-panel/index.js.gz +0 -0
  99. package/packages/components/table/index.js +178 -179
  100. package/packages/components/table/index.js.gz +0 -0
  101. package/packages/components/time-line/index.js +1 -1
  102. package/packages/components/time-line/index.js.gz +0 -0
  103. package/packages/components/tree-select/index.js +1 -1
  104. package/packages/components/tree-select/index.js.gz +0 -0
  105. package/packages/components/tree-table/index.js +2 -2
  106. package/packages/components/tree-table/index.js.gz +0 -0
  107. package/packages/components/tree-v2/index.js +1093 -1117
  108. package/packages/components/tree-v2/index.js.gz +0 -0
  109. package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
  110. package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
  111. package/packages/business-components/ai-panel/index-_q72oKSF.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 t = f, d = m;
31
+ const l = 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: () => t.modelValue,
37
+ get: () => l.modelValue,
38
38
  set: (e) => d("update:modelValue", e)
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);
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);
43
43
  y(
44
44
  () => c.value,
45
45
  (e) => {
46
46
  setTimeout(() => {
47
47
  var n, V;
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());
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());
50
50
  }, 200);
51
51
  }
52
52
  );
53
- const s = o(0), i = o(0), x = () => {
53
+ const s = o(0), r = o(0), x = () => {
54
54
  P(() => {
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));
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));
57
57
  });
58
58
  };
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));
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));
62
62
  }, z = () => {
63
- r.value = setTimeout(() => {
63
+ i.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
- console.log("进入tooltip"), u.value = !0, r.value && clearTimeout(r.value);
74
+ u.value = !0, i.value && clearTimeout(i.value);
75
75
  }), e.addEventListener("mouseleave", function() {
76
- console.log("离开toolTip"), r.value = setTimeout(() => {
76
+ i.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(() => (t == null ? void 0 : t.isExpandAtFocus) === !0 || (t == null ? void 0 : t.isExpandAtFocus) === "true"), D = () => {
82
+ const h = o(""), b = o(!1), I = T(() => (l == null ? void 0 : l.isExpandAtFocus) === !0 || (l == null ? void 0 : l.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, l) => (g(), _(
87
+ return (e, t) => (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": l[0] || (l[0] = (n) => a.value = n),
114
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => a.value = n),
115
115
  disabled: e.disabled,
116
116
  onChange: L,
117
- clearable: t.clearable,
117
+ clearable: l.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 t = f.__vccOpts || f;
149
+ const l = f.__vccOpts || f;
150
150
  for (const [d, p] of m)
151
- t[d] = p;
152
- return t;
151
+ l[d] = p;
152
+ return l;
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 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;
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;
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
- console.log("进入tooltip"), S.value = !0, O.value && clearTimeout(O.value);
99
+ S.value = !0, O.value && clearTimeout(O.value);
100
100
  }), e.addEventListener("mouseleave", function() {
101
- console.log("离开toolTip"), O.value = setTimeout(() => {
101
+ 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 o = 0; o < e.length; o++) {
135
- let a = e[o];
136
- a.scrollWidth <= a.offsetWidth && (ae.value = !1), a.title = "";
134
+ for (let a = 0; a < e.length; a++) {
135
+ let o = e[a];
136
+ o.scrollWidth <= o.offsetWidth && (ae.value = !1), o.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 && (console.log("watchEffect", s.value), se.value = !1, We());
148
+ se.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (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((o) => {
158
+ s.value.map((a) => {
159
159
  var p;
160
- let a = (p = l.options) == null ? void 0 : p.find((v) => v[L.value] == o);
161
- a && e.push(a[K.value]);
160
+ let o = (p = l.options) == null ? void 0 : p.find((v) => v[L.value] == a);
161
+ o && e.push(o[K.value]);
162
162
  });
163
163
  else if (l.mode == "combobox" && s.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]);
164
+ let a = (t = l.options) == null ? void 0 : t.find((o) => o[L.value] == s.value);
165
+ a && e.push(a[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((o) => !o.disabled);
171
+ let e = l.options.filter((a) => !a.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, o;
174
+ var t, a;
175
175
  if (l.mode === "combobox") return !1;
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);
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);
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 o;
194
+ var a;
195
195
  B.value = ge(), A.value = be();
196
- let e = (o = x.value) == null ? void 0 : o.$el.querySelectorAll(".ant-select-selection-item");
196
+ let e = (a = x.value) == null ? void 0 : a.$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, o;
207
- (o = (t = x.value) == null ? void 0 : t.blur) == null || o.call(t);
206
+ var t, a;
207
+ (a = (t = x.value) == null ? void 0 : t.blur) == null || a.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, 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);
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);
219
219
  } else {
220
220
  let t = s.value;
221
- s.value = t.filter((o) => !!l.options.find((a) => a[L.value] === o).disabled), ue(s.value, []);
221
+ s.value = t.filter((a) => !!l.options.find((o) => o[L.value] === a).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 o = t.offsetWidth - 5;
283
- l.borderType === "underline" && (o -= 10);
282
+ let a = t.offsetWidth - 5;
283
+ l.borderType === "underline" && (a -= 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), _ <= o - p)
291
- m >= s.value.length - 1 && _ < o ? i.value = s.value.length : i.value = m + 1;
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;
292
292
  else {
293
- m >= s.value.length - 1 && _ < o ? i.value = s.value.length : i.value = m;
293
+ m >= s.value.length - 1 && _ < a ? 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 <= o - p && !xe.tagRender && (i.value = 1, m.classList.add("ellipsis"));
298
+ m && !m.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a - 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 || (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));
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));
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 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));
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);
315
315
  };
316
316
  return $({
317
317
  $select: x,
318
318
  toChangeMaxCount: nl
319
319
  }), (e, t) => {
320
- const o = dl("v-nodes");
320
+ const a = 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] = (a) => vl(s) ? s.value = a : null),
346
+ "onUpdate:value": t[4] || (t[4] = (o) => vl(s) ? s.value = o : 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((a) => [
374
- C(e.$slots, "option", Q(Y(a)), () => {
373
+ option: f((o) => [
374
+ C(e.$slots, "option", Q(Y(o)), () => {
375
375
  var p;
376
376
  return [
377
- a.children && typeof a.children == "function" ? (c(), H(o, {
377
+ o.children && typeof o.children == "function" ? (c(), H(a, {
378
378
  key: 0,
379
- vnodes: a.children()
379
+ vnodes: o.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(a[K.value]),
387
+ W(o[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(a[L.value]),
402
- key: a[L.value],
403
- disabled: a.disabled
401
+ modelValue: (p = r(s)) == null ? void 0 : p.includes(o[L.value]),
402
+ key: o[L.value],
403
+ disabled: o.disabled
404
404
  }, null, 8, ["modelValue", "disabled"])),
405
405
  ce((c(), g("div", Fl, [
406
406
  ve(
407
- W(a[K.value]),
407
+ W(o[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((a) => [
427
- C(e.$slots, "tagRender", Q(Y(a)), () => [
426
+ tagRender: f((o) => [
427
+ C(e.$slots, "tagRender", Q(Y(o)), () => [
428
428
  y(r(pe), {
429
- closable: a.closable,
429
+ closable: o.closable,
430
430
  style: { "margin-right": "3px", "background-color": "transparent" },
431
- onClose: (p) => sl(a)
431
+ onClose: (p) => sl(o)
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(a.label)),
440
+ W(Ye(o.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: a }) => [
451
- C(e.$slots, "dropdownRender", Q(Y({ menuNode: a })), () => {
450
+ dropdownRender: f(({ menuNode: o }) => [
451
+ C(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
452
452
  var p;
453
453
  return [
454
454
  Ce.value === "combobox" ? (c(), g("div", Ml, [
455
- y(o, { vnodes: a }, null, 8, ["vnodes"])
455
+ y(a, { vnodes: o }, 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(o, { vnodes: a }, null, 8, ["vnodes"]),
461
+ y(a, { vnodes: o }, 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(o, { vnodes: a }, null, 8, ["vnodes"]),
495
+ y(a, { vnodes: o }, 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((a) => [
540
- C(e.$slots, "maxTagPlaceholder", Q(Y(a)), () => [
539
+ maxTagPlaceholder: f((o) => [
540
+ C(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
541
541
  k(" 隐藏tag时显示的内容 "),
542
542
  y(r(pe), {
543
543
  style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
@@ -218,13 +218,10 @@ var en = /* @__PURE__ */ function() {
218
218
  }();
219
219
  function ti(t, e, i) {
220
220
  var n = e.value;
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
- }
221
+ if (n && !(typeof IntersectionObserver > "u")) {
222
+ var r = new en(t, n, i);
223
+ t._vue_visibilityState = r;
224
+ }
228
225
  }
229
226
  function tn(t, e, i) {
230
227
  var n = e.value, r = e.oldValue;
@@ -451,7 +448,7 @@ var Pt = {
451
448
  }
452
449
  },
453
450
  created() {
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");
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;
455
452
  },
456
453
  mounted() {
457
454
  this.applyPageMode(), this.$nextTick(() => {
@@ -628,7 +625,6 @@ var Pt = {
628
625
  },
629
626
  itemsLimitError() {
630
627
  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.");
632
628
  }), new Error("Rendered items limit reached");
633
629
  },
634
630
  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), 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);
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);
37
37
  },
38
38
  outBeginDate: (p) => {
39
39
  if (!a.value.begin) return !1;
@@ -86,10 +86,8 @@ 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: 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;
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;
93
91
  };
94
92
  return {
95
93
  $dasSpecialRangeMonthPicker: s,
@@ -125,9 +123,9 @@ const G = () => ({ getDateTime: (o) => {
125
123
  emits: ["update:modelValue", "change", "update:error", "show-popover"],
126
124
  setup(u, { emit: s }) {
127
125
  const r = u, o = s, n = m(!1), a = q(r, "modelValue"), d = m(["", ""]), l = q(r, "error"), g = m([]), h = m(void 0);
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"));
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"));
131
129
  }, L = () => {
132
130
  h.value = void 0;
133
131
  const v = D.value;
@@ -138,11 +136,11 @@ const G = () => ({ getDateTime: (o) => {
138
136
  isInHoverRange: t,
139
137
  isInNewRange: f,
140
138
  outBeginDate: k,
141
- outEndDate: S,
139
+ outEndDate: C,
142
140
  clickData: J,
143
141
  mouseEnter: K,
144
142
  mouseLeave: F
145
- } = me(d, h, C, a, L), {
143
+ } = me(d, h, S, a, L), {
146
144
  $dasSpecialRangeMonthPicker: Q,
147
145
  isHoverInInput: _,
148
146
  errorModalBaseSyle: U,
@@ -152,8 +150,8 @@ const G = () => ({ getDateTime: (o) => {
152
150
  errorModallInputMouseLeave: O
153
151
  } = he(r), ee = () => {
154
152
  setTimeout(() => {
155
- if (!R) {
156
- R = !0;
153
+ if (!E) {
154
+ E = !0;
157
155
  return;
158
156
  }
159
157
  d.value = ["", ""], D.value = { begin: a.value[0], end: a.value[1] }, h.value = void 0, n.value = !1;
@@ -238,12 +236,12 @@ const G = () => ({ getDateTime: (o) => {
238
236
  },
239
237
  [
240
238
  $(e(fe), {
241
- class: x(["icon-date", { "has-data": E.value }]),
239
+ class: x(["icon-date", { "has-data": R.value }]),
242
240
  size: "medium",
243
241
  "icon-color": e(Y)("--das-ui-color-normal")
244
242
  }, null, 8, ["class", "icon-color"]),
245
243
  $(e(be), {
246
- class: x(["icon-delete", { "has-data": E.value }]),
244
+ class: x(["icon-delete", { "has-data": R.value }]),
247
245
  size: "medium",
248
246
  "icon-color": e(Y)("--das-ui-special-range-picker-close-btn"),
249
247
  onClick: ae
@@ -274,7 +272,7 @@ const G = () => ({ getDateTime: (o) => {
274
272
  "new-range": e(f)(i),
275
273
  "range-start": e(M)(e(D).begin) === e(M)(i),
276
274
  "range-end": e(M)(e(D).end) === e(M)(i),
277
- "out-range": e(k)(i) || e(S)(i)
275
+ "out-range": e(k)(i) || e(C)(i)
278
276
  }]),
279
277
  onMouseenter: (re) => e(K)(i),
280
278
  onClick: (re) => e(J)(i)