@das-fed/upf-ui 6.4.0-dev.204 → 6.4.0-dev.206

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 (39) hide show
  1. package/front-end/i18n/front-end-page/dasui_en-US.js +2 -2
  2. package/front-end/i18n/front-end-page/dasui_zh-CN.js +2 -2
  3. package/front-end/i18n/front-end-page/dasui_zh-MO.js +2 -2
  4. package/package.json +5 -5
  5. package/packages/components/collaspe/index.d.ts +2 -2
  6. package/packages/components/collaspe/src/type.d.ts +1 -1
  7. package/packages/components/input/index.d.ts +4264 -0
  8. package/packages/components/input/src/index.vue.d.ts +1432 -0
  9. package/packages/components/select/index.js +273 -271
  10. package/packages/components/select/index.js.gz +0 -0
  11. package/packages/components/select/style.css +1 -1
  12. package/packages/components/select/style.css.gz +0 -0
  13. package/packages/components/split-panel/index.js +221 -208
  14. package/packages/components/split-panel/index.js.gz +0 -0
  15. package/packages/components/split-panel/style.css +1 -1
  16. package/packages/components/split-panel/style.css.gz +0 -0
  17. package/packages/components/table/index.d.ts +2 -2
  18. package/packages/components/table/index.js +13 -4
  19. package/packages/components/table/index.js.gz +0 -0
  20. package/packages/components/table/src/type.d.ts +1 -1
  21. package/packages/components/table/style.css +1 -1
  22. package/packages/components/table/style.css.gz +0 -0
  23. package/packages/components/tabs/src/type.d.ts +1 -1
  24. package/packages/components/tooltip/index.js +65 -56
  25. package/packages/components/tooltip/index.js.gz +0 -0
  26. package/packages/components/tooltip/style.css +1 -1
  27. package/packages/components/tooltip/style.css.gz +0 -0
  28. package/packages/components/tree/index.js +473 -466
  29. package/packages/components/tree/index.js.gz +0 -0
  30. package/packages/components/tree/style.css +1 -1
  31. package/packages/components/tree/style.css.gz +0 -0
  32. package/packages/components/tree-v2/index.js +885 -878
  33. package/packages/components/tree-v2/index.js.gz +0 -0
  34. package/packages/components/tree-v2/style.css +1 -1
  35. package/packages/components/tree-v2/style.css.gz +0 -0
  36. package/packages/components/virtual-tree/src/App.vue.d.ts +3974 -0
  37. package/packages/components/virtual-tree/src/type.d.ts +43 -0
  38. package/packages/components/virtual-tree/style.css +1 -1
  39. package/packages/components/virtual-tree/style.css.gz +0 -0
@@ -1,37 +1,37 @@
1
1
  import '@das-fed/upf-ui/packages/components/select/style.css';
2
- import { withInstall as _e } from "@das-fed/upf-utils/with-install/index";
3
- import { defineComponent as $e, useCssVars as ul, computed as c, ref as n, watch as X, useSlots as il, onMounted as de, onUnmounted as ze, watchEffect as ce, nextTick as T, resolveComponent as dl, openBlock as v, createElementBlock as g, normalizeClass as cl, normalizeStyle as q, createVNode as y, unref as r, withDirectives as fe, createBlock as H, mergeProps as me, isRef as fl, withModifiers as G, createSlots as vl, withCtx as p, renderSlot as w, normalizeProps as J, guardReactiveProps as Q, Fragment as Ve, createTextVNode as ve, toDisplayString as E, createElementVNode as h, withKeys as pl, createCommentVNode as Y } from "vue";
4
- import { Select as ml, Tag as pe } from "ant-design-vue";
5
- import { DasCheckbox as Le } from "@das-fed/upf-ui/packages/components/checkbox/index";
6
- import { vScrollbar as hl } from "@das-fed/upf-ui/packages/components/scrollbar/index";
7
- import { DasTooltip as bl } from "@das-fed/upf-ui/packages/components/tooltip/index";
8
- import { vDasTooltip as Me } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
9
- import { DasInput as gl } from "@das-fed/upf-ui/packages/components/input/index";
10
- import { DasIconXiala as yl } from "@das-fed/upf-ui/packages/icons/xiala/index";
11
- import { DasIconEmpty as wl } from "@das-fed/upf-ui/packages/icons/empty/index";
12
- import { DasErrorOverlayModel as Cl } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
13
- import { vHoverInside as xl } from "@das-fed/upf-utils/directive";
14
- import { getVarValue as Tl, getVar as Ne, setThemeRule as kl } from "@das-fed/upf-web/packages/theme/index";
15
- import { t as W, currentLang as Il, setI18nRule as Sl } from "@das-fed/upf-web/packages/i18n/index";
16
- import { useZIndex as zl } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
17
- import { useModelValue as Vl } from "@das-fed/upf-utils/vue";
18
- import { calcTextWidth as Ll } from "@das-fed/upf-utils/common-tools";
2
+ import { withInstall as $e } from "@das-fed/upf-utils/with-install/index";
3
+ import { defineComponent as Be, useCssVars as dl, useAttrs as cl, computed as i, ref as n, watch as G, useSlots as fl, onMounted as ce, onUnmounted as _e, watchEffect as fe, nextTick as T, resolveComponent as vl, openBlock as f, createElementBlock as y, normalizeClass as pl, normalizeStyle as H, withModifiers as J, createBlock as P, unref as r, createCommentVNode as Z, withDirectives as ve, mergeProps as he, isRef as ml, createSlots as hl, withCtx as p, renderSlot as g, normalizeProps as Q, guardReactiveProps as Y, Fragment as Le, createTextVNode as pe, toDisplayString as E, createVNode as x, createElementVNode as h, withKeys as bl } from "vue";
4
+ import { Select as yl, Tag as me } from "ant-design-vue";
5
+ import { DasCheckbox as Me } from "@das-fed/upf-ui/packages/components/checkbox/index";
6
+ import { vScrollbar as gl } from "@das-fed/upf-ui/packages/components/scrollbar/index";
7
+ import { DasTooltip as wl } from "@das-fed/upf-ui/packages/components/tooltip/index";
8
+ import { vDasTooltip as Ne } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
9
+ import { DasInput as Cl } from "@das-fed/upf-ui/packages/components/input/index";
10
+ import { DasIconXiala as xl } from "@das-fed/upf-ui/packages/icons/xiala/index";
11
+ import { DasIconEmpty as Tl } from "@das-fed/upf-ui/packages/icons/empty/index";
12
+ import { DasErrorOverlayModel as kl } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
13
+ import { vHoverInside as Il } from "@das-fed/upf-utils/directive";
14
+ import { getVarValue as Sl, getVar as Ae, setThemeRule as zl } from "@das-fed/upf-web/packages/theme/index";
15
+ import { t as W, currentLang as Vl, setI18nRule as _l } from "@das-fed/upf-web/packages/i18n/index";
16
+ import { useZIndex as Ll } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
17
+ import { useModelValue as Ml } from "@das-fed/upf-utils/vue";
18
+ import { calcTextWidth as Nl } from "@das-fed/upf-utils/common-tools";
19
19
  import "ant-design-vue/es/select/style/css";
20
20
  import "ant-design-vue/es/tag/style/css";
21
- import { SelectOption as Ml } from "ant-design-vue/es";
22
- const Nl = { key: 0 }, _l = {
21
+ import { SelectOption as Al } from "ant-design-vue/es";
22
+ const $l = { key: 0 }, Bl = {
23
23
  key: 1,
24
24
  class: "das-multiple-option-item"
25
- }, $l = { style: { display: "inline-block" } }, Al = { key: 0 }, Bl = { key: 2 }, Fl = { style: { display: "inline-block" } }, Dl = ["innerHTML"], Ol = ["innerHTML"], El = {
25
+ }, Fl = { style: { display: "inline-block" } }, Dl = { key: 0 }, Ol = { key: 2 }, El = { style: { display: "inline-block" } }, Wl = ["innerHTML"], Pl = ["innerHTML"], Rl = {
26
26
  key: 0,
27
27
  class: "das-select-error-label-content das-select-label-content"
28
- }, Wl = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Pl = { class: "ant-select-selection-item" }, Rl = { class: "ant-select-selection-item-content" }, ql = ["innerHTML"], Hl = $e({
28
+ }, ql = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Hl = { class: "ant-select-selection-item" }, Zl = { class: "ant-select-selection-item-content" }, Kl = ["innerHTML"], Ul = Be({
29
29
  inheritAttrs: !1,
30
30
  components: {
31
- VNodes: (k, { attrs: N }) => N.vnodes
31
+ VNodes: (k, { attrs: M }) => M.vnodes
32
32
  }
33
- }), Zl = /* @__PURE__ */ $e({
34
- ...Hl,
33
+ }), jl = /* @__PURE__ */ Be({
34
+ ...Ul,
35
35
  __name: "Select",
36
36
  props: {
37
37
  modelValue: { default: void 0 },
@@ -69,34 +69,39 @@ const Nl = { key: 0 }, _l = {
69
69
  showSelectAll: { type: Boolean, default: !0 }
70
70
  },
71
71
  emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
72
- setup(k, { expose: N, emit: _ }) {
73
- ul((e) => ({
74
- "5afb9048": Re.value,
75
- "63f5c9d1": qe.value
72
+ setup(k, { expose: M, emit: N }) {
73
+ dl((e) => ({
74
+ "099c0378": He.value,
75
+ "101571b5": Ze.value
76
76
  }));
77
- const l = k, C = _, s = Vl(l, "modelValue"), ee = c(() => {
77
+ const l = k, w = N, be = cl(), De = i(() => {
78
+ const e = {};
79
+ for (const t in be)
80
+ t === "onClick" || t.startsWith("onClick") || (e[t] = be[t]);
81
+ return e;
82
+ }), s = Ml(l, "modelValue"), ee = i(() => {
78
83
  var e;
79
84
  return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
80
- }), $ = n(null), he = n(null), b = n(!1), Z = c(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || W("请选择")), Be = c(() => $.value ? $.value.querySelector(".ant-select-selector") : null), A = n(0), B = n(0), Fe = c(() => l.isTooltip && I.value ? !1 : !l.isTooltip || z.value || !Ie.value || !ae.value), De = c(() => (Array.isArray(s.value) ? s.value.length : s.value) ? Ie.value : Z.value), be = () => {
85
+ }), A = n(null), ye = n(null), b = n(!1), K = i(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || W("请选择")), le = i(() => A.value ? A.value.querySelector(".ant-select-selector") : null), $ = n(0), B = n(0), Oe = i(() => le.value ? l.isTooltip && I.value ? !1 : !l.isTooltip || z.value || !ze.value || !se.value : !0), Ee = i(() => (Array.isArray(s.value) ? s.value.length : s.value) ? ze.value : K.value), ge = () => {
81
86
  const e = l.size === "table" ? 12 : 14;
82
- return Ll(Z.value, e);
83
- }, ge = () => {
84
- var M, R, d;
85
- const e = (M = $.value) == null ? void 0 : M.querySelector(".ant-select-selection-placeholder"), t = (d = (R = x.value) == null ? void 0 : R.$el) == null ? void 0 : d.querySelectorAll(".ant-select-selection-item");
86
- t && t.length && t.forEach((ie) => ie.removeAttribute("title"));
87
+ return Nl(K.value, e);
88
+ }, we = () => {
89
+ var L, q, c;
90
+ const e = (L = A.value) == null ? void 0 : L.querySelector(".ant-select-selection-placeholder"), t = (c = (q = C.value) == null ? void 0 : q.$el) == null ? void 0 : c.querySelectorAll(".ant-select-selection-item");
91
+ t && t.length && t.forEach((de) => de.removeAttribute("title"));
87
92
  let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
88
93
  if (a === 0) return a;
89
- const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight), f = parseFloat(o.paddingLeft);
90
- return a - m - f;
94
+ const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight), v = parseFloat(o.paddingLeft);
95
+ return a - m - v;
91
96
  }, I = n(!1);
92
- X(() => [Z.value, s.value], () => {
97
+ G(() => [K.value, s.value], () => {
93
98
  T(() => {
94
- B.value = ge(), A.value = be(), ((Array.isArray(s.value) ? s.value.length : s.value) || B.value === A.value || A.value - B.value < 1) && (I.value = !1);
99
+ B.value = we(), $.value = ge(), ((Array.isArray(s.value) ? s.value.length : s.value) || B.value === $.value || $.value - B.value < 1) && (I.value = !1);
95
100
  });
96
- }), X(
101
+ }), G(
97
102
  () => {
98
103
  var e;
99
- return (e = he.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
104
+ return (e = ye.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
100
105
  },
101
106
  (e) => {
102
107
  e && (e.addEventListener("mouseenter", function() {
@@ -108,292 +113,289 @@ const Nl = { key: 0 }, _l = {
108
113
  }));
109
114
  }
110
115
  );
111
- const ye = n(null), we = c(() => l.dropdownMode ?? l.mode ?? ""), F = n(null), Oe = n(null), D = n(""), Ee = () => {
116
+ const Ce = n(null), xe = i(() => l.dropdownMode ?? l.mode ?? ""), F = n(null), We = n(null), D = n(""), Pe = () => {
112
117
  F.value = !0;
113
- }, We = () => {
118
+ }, Re = () => {
114
119
  F.value = null;
115
- }, Ce = () => {
116
- D.value && (C("addCustomItem", D.value), T(() => {
117
- x.value.focus(), D.value = "";
120
+ }, Te = () => {
121
+ D.value && (w("addCustomItem", D.value), T(() => {
122
+ C.value.focus(), D.value = "";
118
123
  }));
119
- }, xe = il(), le = () => {
120
- l.dropdownMode === "custom" && !xe.dropdownRender && (F.value = !1, T(() => {
124
+ }, ke = fl(), te = () => {
125
+ l.dropdownMode === "custom" && !ke.dropdownRender && (F.value = !1, T(() => {
121
126
  F.value = null;
122
127
  }));
123
128
  };
124
- de(() => {
125
- document.addEventListener("click", le);
126
- }), ze(() => {
127
- document.removeEventListener("click", le);
129
+ ce(() => {
130
+ document.addEventListener("click", te);
131
+ }), _e(() => {
132
+ document.removeEventListener("click", te);
128
133
  });
129
- const x = n(), Te = n(), te = n(!1), oe = c(() => {
134
+ const C = n(), Ie = n(), oe = n(!1), ae = i(() => {
130
135
  if (F.value !== null) return F.value;
131
136
  if (l.open !== void 0) return l.open;
132
- }), S = 1e6, u = n(100), i = n(100), z = n(!1), ae = n(!0), se = n(!1);
133
- ce(() => {
134
- s.value && l.mode == "combobox" && (ae.value = !0, setTimeout(() => {
137
+ }), S = 1e6, u = n(100), d = n(100), z = n(!1), se = n(!0), ne = n(!1);
138
+ fe(() => {
139
+ s.value && l.mode == "combobox" && (se.value = !0, setTimeout(() => {
135
140
  var t;
136
- let e = (t = x.value) == null ? void 0 : t.$el.querySelectorAll(".ant-select-selection-item");
141
+ let e = (t = C.value) == null ? void 0 : t.$el.querySelectorAll(".ant-select-selection-item");
137
142
  if (e && e.length > 0)
138
143
  for (let a = 0; a < e.length; a++) {
139
144
  let o = e[a];
140
- o.scrollWidth <= o.offsetWidth && (ae.value = !1), o.title = "";
145
+ o.scrollWidth <= o.offsetWidth && (se.value = !1), o.title = "";
141
146
  }
142
147
  }, 300));
143
- }), ce(() => {
144
- l.options && (Te.value = l.options.map((e) => (e.title = e.title ? e.title : "", e)));
148
+ }), fe(() => {
149
+ l.options && (Ie.value = l.options.map((e) => (e.title = e.title ? e.title : "", e)));
145
150
  });
146
- const Pe = () => {
151
+ const qe = () => {
147
152
  setTimeout(async () => {
148
- u.value = 100, await L(), u.value = i.value, b.value = !0;
153
+ u.value = 100, await _(), u.value = d.value, b.value = !0;
149
154
  }, 100);
150
155
  };
151
- ce(() => {
152
- se.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (se.value = !1, Pe());
153
- }), de(() => {
154
- se.value = !0, l.focusOpen || (i.value = 1, u.value = i.value, b.value = !0);
156
+ fe(() => {
157
+ ne.value === !0 && l.mode != "combobox" && s.value && s.value.length > 0 && l.options.length > 0 && (ne.value = !1, qe());
158
+ }), ce(() => {
159
+ ne.value = !0, l.focusOpen || (d.value = 1, u.value = d.value, b.value = !0);
155
160
  });
156
- const Re = c(() => l.width ? l.width : "230px"), qe = c(() => l.height ? l.height : "auto"), ke = n(3e3), He = c(() => ({
157
- "z-index": ke.value
158
- })), Ie = c(() => {
161
+ const He = i(() => l.width ? l.width : "230px"), Ze = i(() => l.height ? l.height : "auto"), Se = n(3e3), Ke = i(() => ({
162
+ "z-index": Se.value
163
+ })), ze = i(() => {
159
164
  var t;
160
165
  let e = [];
161
166
  if (l.mode != "combobox" && Array.isArray(s.value))
162
167
  s.value.map((a) => {
163
168
  var m;
164
- let o = (m = l.options) == null ? void 0 : m.find((f) => f[V.value] == a);
165
- o && e.push(o[K.value]);
169
+ let o = (m = l.options) == null ? void 0 : m.find((v) => v[V.value] == a);
170
+ o && e.push(o[U.value]);
166
171
  });
167
172
  else if (l.mode == "combobox" && s.value) {
168
173
  let a = (t = l.options) == null ? void 0 : t.find((o) => o[V.value] == s.value);
169
- a && e.push(a[K.value]);
174
+ a && e.push(a[U.value]);
170
175
  }
171
- return Il.value === "zh-CN" ? e.join("、") : e.join(", ");
172
- }), Ze = c(() => {
176
+ return Vl.value === "zh-CN" ? e.join("、") : e.join(", ");
177
+ }), Ue = i(() => {
173
178
  var t;
174
179
  if (l.mode === "combobox") return !1;
175
180
  let e = l.options.filter((a) => !a.disabled);
176
181
  return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) == e.length);
177
- }), Ke = c(() => {
182
+ }), je = i(() => {
178
183
  var t, a;
179
184
  if (l.mode === "combobox") return !1;
180
185
  let e = l.options.filter((o) => !o.disabled);
181
186
  return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) > 0 && ((a = s.value) == null ? void 0 : a.length) < e.length);
182
- }), Ue = c(() => {
187
+ }), Xe = i(() => {
183
188
  var e, t;
184
189
  return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (t = l.fieldNames) == null ? void 0 : t.label : "label";
185
- }), K = c(() => {
190
+ }), U = i(() => {
186
191
  var e;
187
192
  return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
188
- }), V = c(() => {
193
+ }), V = i(() => {
189
194
  var e;
190
195
  return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
191
- }), je = c(() => ({
196
+ }), Ge = i(() => ({
192
197
  width: typeof l.width == "number" ? l.width + "px" : l.width
193
- })), ne = n(!1), Xe = n({
198
+ })), re = n(!1), Je = n({
194
199
  display: "block",
195
- color: Tl("--das-ui-select-overlay-error-color").value,
200
+ color: Sl("--das-ui-select-overlay-error-color").value,
196
201
  "white-space": "break-spaces"
197
- }), O = n(), Ge = () => {
202
+ }), O = n(), Qe = () => {
198
203
  var a;
199
- B.value = ge(), A.value = be();
200
- let e = (a = x.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
201
- !!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || B.value === A.value || A.value - B.value < 1 ? I.value = !1 : (I.value = !0, O.value && clearTimeout(O.value)), ne.value = !0;
202
- }, Je = () => {
204
+ B.value = we(), $.value = ge();
205
+ let e = (a = C.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
206
+ !!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || B.value === $.value || $.value - B.value < 1 ? I.value = !1 : (I.value = !0, O.value && clearTimeout(O.value)), re.value = !0;
207
+ }, Ye = () => {
203
208
  O.value = setTimeout(() => {
204
209
  I.value = !1;
205
- }, 200), ne.value = !1;
206
- }, Qe = (e, t) => {
207
- e ? Ge() : Je();
208
- }, Ye = (e) => {
209
- e && (ke.value = zl().nextZIndex(), D.value = ""), U.value = e, l.mode == "combobox" && (e || setTimeout(() => {
210
+ }, 200), re.value = !1;
211
+ }, el = (e, t) => {
212
+ e ? Qe() : Ye();
213
+ }, ll = (e) => {
214
+ e && (Se.value = Ll().nextZIndex(), D.value = ""), j.value = e, l.mode == "combobox" && (e || setTimeout(() => {
210
215
  var t, a;
211
- (a = (t = x.value) == null ? void 0 : t.blur) == null || a.call(t);
212
- })), C("dropdownVisibleChange", e);
213
- }, el = (e) => {
216
+ (a = (t = C.value) == null ? void 0 : t.blur) == null || a.call(t);
217
+ })), w("dropdownVisibleChange", e);
218
+ }, tl = (e) => {
214
219
  let t = e.toString();
215
220
  return t.length > l.maxTagTextLength && (t = t.substr(0, l.maxTagTextLength) + "..."), t;
216
- }, ll = (e) => l.isRenderNode ? $.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), tl = (e) => {
221
+ }, ol = (e) => l.isRenderNode ? A.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), al = (e) => {
217
222
  if (e) {
218
223
  Array.isArray(s.value) || (s.value = []);
219
224
  let t = s.value, a = [];
220
225
  l.options.forEach((o) => {
221
226
  !s.value.includes(o[V.value]) && !o.disabled && (t.push(o[V.value]), a.push(o));
222
- }), s.value = t, ue(s.value, a);
227
+ }), s.value = t, ie(s.value, a);
223
228
  } else {
224
229
  let t = s.value;
225
- s.value = t.filter((a) => !!l.options.find((o) => o[V.value] === a).disabled), ue(s.value, []);
230
+ s.value = t.filter((a) => !!l.options.find((o) => o[V.value] === a).disabled), ie(s.value, []);
226
231
  }
227
- }, ol = (e) => {
232
+ }, sl = (e) => {
228
233
  if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
229
234
  return e.children[0];
230
- }, al = (e) => {
235
+ }, nl = (e) => {
231
236
  if (l.mode == "combobox") {
232
- C("focus", e);
237
+ w("focus", e);
233
238
  return;
234
239
  }
235
- te.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = S, b.value = !1), C("focus", e);
236
- }, U = n(!1), sl = () => {
237
- U.value || setTimeout(() => {
240
+ oe.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = S, b.value = !1), w("focus", e);
241
+ }, j = n(!1), rl = () => {
242
+ j.value || setTimeout(() => {
238
243
  var e, t;
239
- (t = (e = x.value) == null ? void 0 : e.blur) == null || t.call(e);
244
+ (t = (e = C.value) == null ? void 0 : e.blur) == null || t.call(e);
240
245
  }), l.mode != "combobox";
241
- }, Se = (e) => {
246
+ }, Ve = (e) => {
242
247
  if (T(() => {
243
- U.value = !1;
248
+ j.value = !1;
244
249
  }), l.mode == "combobox") {
245
- C("blur", e);
250
+ w("blur", e);
246
251
  return;
247
252
  }
248
- te.value = !1, l.focusOpen && !l.isExterControlCount && (L(), u.value = i.value, b.value = !0), C("blur", e);
249
- }, nl = (e) => {
253
+ oe.value = !1, l.focusOpen && !l.isExterControlCount && (_(), u.value = d.value, b.value = !0), w("blur", e);
254
+ }, ul = (e) => {
250
255
  e.onClose(), u.value = 100, T(() => {
251
- l.mode !== "combobox" && oe.value || l.focusOpen && (L(), u.value = i.value, b.value = !0);
256
+ l.mode !== "combobox" && ae.value || l.focusOpen && (_(), u.value = d.value, b.value = !0);
252
257
  });
253
258
  };
254
- X(
259
+ G(
255
260
  () => l.disabled || l.isView,
256
261
  (e) => {
257
262
  if (e && l.mode !== "combobox") {
258
- te.value = !1;
263
+ oe.value = !1;
259
264
  let t = new Event("blur");
260
- Se(t);
265
+ Ve(t);
261
266
  }
262
267
  }
263
268
  );
264
- let P = n(!1);
265
- const rl = (e) => {
266
- P.value = e, z.value = !0, T(() => {
267
- z.value = !1, l.focusOpen && (L(), u.value = e ? S : i.value, b.value = !e);
269
+ let R = n(!1);
270
+ const il = (e) => {
271
+ R.value = e, z.value = !0, T(() => {
272
+ z.value = !1, l.focusOpen && (_(), u.value = e ? S : d.value, b.value = !e);
268
273
  });
269
274
  };
270
- let j = null;
271
- de(() => {
272
- j = new IntersectionObserver((e) => {
275
+ let X = null;
276
+ ce(() => {
277
+ X = new IntersectionObserver((e) => {
273
278
  e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100, T(() => {
274
- L(), u.value = i.value, b.value = !0;
279
+ _(), u.value = d.value, b.value = !0;
275
280
  }));
276
- }), j.observe($.value);
277
- }), ze(() => {
278
- j && j.disconnect();
281
+ }), X.observe(A.value);
282
+ }), _e(() => {
283
+ X && X.disconnect();
279
284
  });
280
- const L = () => {
281
- var R;
282
- let e = (R = x.value) == null ? void 0 : R.$el;
285
+ const _ = () => {
286
+ var q;
287
+ let e = (q = C.value) == null ? void 0 : q.$el;
283
288
  if (!e) return;
284
289
  let t = e == null ? void 0 : e.querySelector(".ant-select-selection-overflow");
285
290
  if (!t) return;
286
291
  let a = t.offsetWidth - 5;
287
292
  l.borderType === "underline" && (a -= 10);
288
- const m = Math.ceil(ye.value.querySelector(".ant-tag").offsetWidth) + 4;
289
- let f = e.querySelectorAll(".ant-select-selection-overflow-item");
290
- if (f.length < 1) return;
293
+ const m = Math.ceil(Ce.value.querySelector(".ant-tag").offsetWidth) + 4;
294
+ let v = e.querySelectorAll(".ant-select-selection-overflow-item");
295
+ if (v.length < 1) return;
291
296
  u.value = S;
292
- let M = 0;
293
- for (let d = 0; d < f.length - 1 && (f[d].classList.remove("ellipsis"), !f[d].classList.contains("ant-select-selection-overflow-item-rest")); d++)
294
- if (M += Math.ceil(f[d].offsetWidth), M <= a - m)
295
- d >= s.value.length - 1 && M < a ? i.value = s.value.length : i.value = d + 1;
297
+ let L = 0;
298
+ for (let c = 0; c < v.length - 1 && (v[c].classList.remove("ellipsis"), !v[c].classList.contains("ant-select-selection-overflow-item-rest")); c++)
299
+ if (L += Math.ceil(v[c].offsetWidth), L <= a - m)
300
+ c >= s.value.length - 1 && L < a ? d.value = s.value.length : d.value = c + 1;
296
301
  else {
297
- d >= s.value.length - 1 && M < a ? i.value = s.value.length : i.value = d;
302
+ c >= s.value.length - 1 && L < a ? d.value = s.value.length : d.value = c;
298
303
  break;
299
304
  }
300
- if (i.value === 0) {
301
- let d = f[0], ie = d.querySelector(".anticon-close") ? 86 : 69;
302
- d && !d.classList.contains("ant-select-selection-overflow-item-rest") && ie <= a - m && !xe.tagRender && (i.value = 1, d.classList.add("ellipsis"));
305
+ if (d.value === 0) {
306
+ let c = v[0], de = c.querySelector(".anticon-close") ? 86 : 69;
307
+ c && !c.classList.contains("ant-select-selection-overflow-item-rest") && de <= a - m && !ke.tagRender && (d.value = 1, c.classList.add("ellipsis"));
303
308
  }
304
- }, re = n(!1);
305
- X(
309
+ }, ue = n(!1);
310
+ G(
306
311
  () => s.value,
307
312
  async () => {
308
- if (re.value) {
309
- re.value = !1;
313
+ if (ue.value) {
314
+ ue.value = !1;
310
315
  return;
311
316
  }
312
- l.mode !== "combobox" && oe.value || (z.value = !0, u.value = S, await T(), await L(), z.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = P.value ? S : i.value, b.value = !P.value) : (u.value = i.value, b.value = !0));
317
+ l.mode !== "combobox" && ae.value || (z.value = !0, u.value = S, await T(), await _(), z.value = !1, l.isExterControlCount && l.focusOpen ? (u.value = R.value ? S : d.value, b.value = !R.value) : (u.value = d.value, b.value = !0));
313
318
  }
314
319
  );
315
- const ue = async (e, t) => {
316
- re.value = !0, U.value = !1, l.mode === "combobox" && le();
320
+ const ie = async (e, t) => {
321
+ ue.value = !0, j.value = !1, l.mode === "combobox" && te();
317
322
  const a = e;
318
- l.noDropdown && l.maxTagsLength < a.length && a.pop(), z.value = !0, C("update:model-value", a), C("change", a, t), u.value = S, await T(), await L(), z.value = !1, l.isExterControlCount && l.focusOpen && (u.value = P.value ? S : i.value, b.value = !P.value), l.focusOpen || (u.value = i.value);
323
+ l.noDropdown && l.maxTagsLength < a.length && a.pop(), z.value = !0, w("update:model-value", a), w("change", a, t), u.value = S, await T(), await _(), z.value = !1, l.isExterControlCount && l.focusOpen && (u.value = R.value ? S : d.value, b.value = !R.value), l.focusOpen || (u.value = d.value);
319
324
  };
320
- return N({
321
- $select: x,
322
- toChangeMaxCount: rl
325
+ return M({
326
+ $select: C,
327
+ toChangeMaxCount: il
323
328
  }), (e, t) => {
324
- const a = dl("v-nodes");
325
- return v(), g("div", {
326
- class: cl(["das-ui-select", [
329
+ const a = vl("v-nodes");
330
+ return f(), y("div", {
331
+ class: pl(["das-ui-select", [
327
332
  l.borderType,
328
333
  l.isView ? "readonly" : "",
329
334
  l.error ? "is-error" : "",
330
335
  b.value ? "show-ellipsis" : ""
331
336
  ]]),
332
337
  ref_key: "$selectBox",
333
- ref: $,
334
- style: q(je.value)
338
+ ref: A,
339
+ style: H(Ge.value),
340
+ onClick: J(rl, ["stop"])
335
341
  }, [
336
- y(r(bl), {
342
+ le.value ? (f(), P(r(wl), {
343
+ key: 0,
337
344
  ref_key: "inputTooltipRef",
338
- ref: he,
345
+ ref: ye,
339
346
  placement: "top",
340
347
  "virtual-triggering": "",
341
- "virtual-ref": Be.value,
342
- disabled: Fe.value,
343
- content: De.value
344
- }, null, 8, ["virtual-ref", "disabled", "content"]),
345
- fe((v(), H(r(ml), me({ mode: e.mode }, e.$attrs, {
348
+ "virtual-ref": le.value,
349
+ disabled: Oe.value,
350
+ content: Ee.value
351
+ }, null, 8, ["virtual-ref", "disabled", "content"])) : Z("", !0),
352
+ ve((f(), P(r(yl), he({ mode: e.mode }, De.value, {
346
353
  value: r(s),
347
- "onUpdate:value": t[4] || (t[4] = (o) => fl(s) ? s.value = o : null),
354
+ "onUpdate:value": t[4] || (t[4] = (o) => ml(s) ? s.value = o : null),
348
355
  ref_key: "$select",
349
- ref: x,
350
- options: Te.value,
356
+ ref: C,
357
+ options: Ie.value,
351
358
  fieldNames: e.fieldNames,
352
359
  bordered: l.borderType === "bordered",
353
360
  disabled: l.disabled || l.isView,
354
361
  showArrow: !0,
355
- open: l.noDropdown ? !1 : oe.value,
356
- placeholder: Z.value,
357
- optionFilterProp: Ue.value,
362
+ open: l.noDropdown ? !1 : ae.value,
363
+ placeholder: K.value,
364
+ optionFilterProp: Xe.value,
358
365
  size: l.size == "middle" ? "defalut" : l.size == "mini" ? "small" : l.size,
359
366
  style: l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {},
360
367
  dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
361
368
  maxTagCount: u.value,
362
- getPopupContainer: ll,
363
- dropdownStyle: He.value,
364
- onDropdownVisibleChange: Ye,
365
- onChange: ue,
366
- onFocus: al,
367
- onClick: [
368
- sl,
369
- t[5] || (t[5] = G(() => {
370
- }, ["stop"]))
371
- ],
372
- onBlur: Se
373
- }), vl({
369
+ getPopupContainer: ol,
370
+ dropdownStyle: Ke.value,
371
+ onDropdownVisibleChange: ll,
372
+ onChange: ie,
373
+ onFocus: nl,
374
+ onBlur: Ve
375
+ }), hl({
374
376
  option: p((o) => [
375
- w(e.$slots, "option", J(Q(o)), () => {
377
+ g(e.$slots, "option", Q(Y(o)), () => {
376
378
  var m;
377
379
  return [
378
- o.children && typeof o.children == "function" ? (v(), H(a, {
380
+ o.children && typeof o.children == "function" ? (f(), P(a, {
379
381
  key: 0,
380
382
  vnodes: o.children()
381
- }, null, 8, ["vnodes"])) : (v(), g(Ve, { key: 1 }, [
382
- e.mode === "combobox" ? fe((v(), g("div", Nl, [
383
- ve(E(o[K.value]), 1)
383
+ }, null, 8, ["vnodes"])) : (f(), y(Le, { key: 1 }, [
384
+ e.mode === "combobox" ? ve((f(), y("div", $l, [
385
+ pe(E(o[U.value]), 1)
384
386
  ])), [
385
- [r(Me)]
386
- ]) : (v(), g("div", _l, [
387
- (v(), H(r(Le), {
387
+ [r(Ne)]
388
+ ]) : (f(), y("div", Bl, [
389
+ (f(), P(r(Me), {
388
390
  class: "das-select-checkbox",
389
391
  modelValue: (m = r(s)) == null ? void 0 : m.includes(o[V.value]),
390
392
  key: o[V.value],
391
393
  disabled: o.disabled
392
394
  }, null, 8, ["modelValue", "disabled"])),
393
- fe((v(), g("div", $l, [
394
- ve(E(o[K.value]), 1)
395
+ ve((f(), y("div", Fl, [
396
+ pe(E(o[U.value]), 1)
395
397
  ])), [
396
- [r(Me)]
398
+ [r(Ne)]
397
399
  ])
398
400
  ]))
399
401
  ], 64))
@@ -401,70 +403,70 @@ const Nl = { key: 0 }, _l = {
401
403
  }, !0)
402
404
  ]),
403
405
  tagRender: p((o) => [
404
- w(e.$slots, "tagRender", J(Q(o)), () => [
405
- y(r(pe), {
406
+ g(e.$slots, "tagRender", Q(Y(o)), () => [
407
+ x(r(me), {
406
408
  closable: o.closable,
407
409
  style: { "margin-right": "3px", "background-color": "transparent" },
408
- onClose: (m) => nl(o)
410
+ onClose: (m) => ul(o)
409
411
  }, {
410
412
  default: p(() => [
411
413
  h("span", {
412
414
  class: "tag-span",
413
- style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
414
- }, E(el(o.label)), 5)
415
+ style: H(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
416
+ }, E(tl(o.label)), 5)
415
417
  ]),
416
418
  _: 2
417
419
  }, 1032, ["closable", "onClose"])
418
420
  ], !0)
419
421
  ]),
420
422
  dropdownRender: p(({ menuNode: o }) => [
421
- w(e.$slots, "dropdownRender", J(Q({ menuNode: o })), () => {
423
+ g(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
422
424
  var m;
423
425
  return [
424
- we.value === "combobox" ? (v(), g("div", Al, [
425
- y(a, { vnodes: o }, null, 8, ["vnodes"])
426
- ])) : we.value === "custom" ? (v(), g("div", {
426
+ xe.value === "combobox" ? (f(), y("div", Dl, [
427
+ x(a, { vnodes: o }, null, 8, ["vnodes"])
428
+ ])) : xe.value === "custom" ? (f(), y("div", {
427
429
  key: 1,
428
- onClick: t[2] || (t[2] = G(() => {
430
+ onClick: t[2] || (t[2] = J(() => {
429
431
  }, ["stop"]))
430
432
  }, [
431
- y(a, { vnodes: o }, null, 8, ["vnodes"]),
433
+ x(a, { vnodes: o }, null, 8, ["vnodes"]),
432
434
  h("div", {
433
435
  class: "customDropdown",
434
- onMousedown: t[1] || (t[1] = (f) => f.preventDefault())
436
+ onMousedown: t[1] || (t[1] = (v) => v.preventDefault())
435
437
  }, [
436
- y(r(gl), me({
438
+ x(r(Cl), he({
437
439
  ref_key: "testInput",
438
- ref: Oe,
440
+ ref: We,
439
441
  modelValue: D.value,
440
- "onUpdate:modelValue": t[0] || (t[0] = (f) => D.value = f),
441
- onKeyup: pl(Ce, ["enter"]),
442
- onFocus: G(Ee, ["stop"]),
443
- onBlur: G(We, ["stop"]),
442
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => D.value = v),
443
+ onKeyup: bl(Te, ["enter"]),
444
+ onFocus: J(Pe, ["stop"]),
445
+ onBlur: J(Re, ["stop"]),
444
446
  width: "100%",
445
447
  borderType: "bordered"
446
448
  }, l.inputAttrs), null, 16, ["modelValue"]),
447
449
  h("div", {
448
450
  class: "addBtn",
449
- onClick: Ce
451
+ onClick: Te
450
452
  }, E(r(W)("添加")), 1)
451
453
  ], 32)
452
- ])) : (v(), g("div", Bl, [
453
- y(a, { vnodes: o }, null, 8, ["vnodes"]),
454
- (m = l.options) != null && m.length && l.showSelectAll ? (v(), g("div", {
454
+ ])) : (f(), y("div", Ol, [
455
+ x(a, { vnodes: o }, null, 8, ["vnodes"]),
456
+ (m = l.options) != null && m.length && l.showSelectAll ? (f(), y("div", {
455
457
  key: 0,
456
458
  class: "das-ui-select-dropdown-checkall",
457
- onMousedown: t[3] || (t[3] = (f) => f.preventDefault())
459
+ onMousedown: t[3] || (t[3] = (v) => v.preventDefault())
458
460
  }, [
459
- h("div", Fl, [
460
- y(r(Le), {
461
- modelValue: Ze.value,
462
- indeterminate: Ke.value,
463
- onChange: tl,
461
+ h("div", El, [
462
+ x(r(Me), {
463
+ modelValue: Ue.value,
464
+ indeterminate: je.value,
465
+ onChange: al,
464
466
  style: { display: "flex" }
465
467
  }, {
466
468
  default: p(() => [
467
- ve(E(r(W)("全选")), 1)
469
+ pe(E(r(W)("全选")), 1)
468
470
  ]),
469
471
  _: 1
470
472
  }, 8, ["modelValue", "indeterminate"])
@@ -472,103 +474,103 @@ const Nl = { key: 0 }, _l = {
472
474
  h("span", {
473
475
  class: "das-ui-dropdown-has-checked",
474
476
  innerHTML: r(W)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
475
- }, null, 8, Dl)
476
- ], 32)) : Y("", !0)
477
+ }, null, 8, Wl)
478
+ ], 32)) : Z("", !0)
477
479
  ]))
478
480
  ];
479
481
  }, !0)
480
482
  ]),
481
483
  clearIcon: p(() => [
482
- w(e.$slots, "clearIcon", {}, () => [
483
- y(r(wl), { size: "medium" })
484
+ g(e.$slots, "clearIcon", {}, () => [
485
+ x(r(Tl), { size: "medium" })
484
486
  ], !0)
485
487
  ]),
486
488
  maxTagPlaceholder: p((o) => [
487
- w(e.$slots, "maxTagPlaceholder", J(Q(o)), () => [
488
- y(r(pe), {
489
- style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
489
+ g(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
490
+ x(r(me), {
491
+ style: H(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
490
492
  }, {
491
493
  default: p(() => [
492
494
  h("span", {
493
495
  innerHTML: r(W)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
494
- }, null, 8, Ol)
496
+ }, null, 8, Pl)
495
497
  ]),
496
498
  _: 1
497
499
  }, 8, ["style"])
498
500
  ], !0)
499
501
  ]),
500
502
  notFoundContent: p(() => [
501
- w(e.$slots, "notFoundContent", {}, () => [
502
- t[6] || (t[6] = h("div", { class: "hasNoData" }, "暂无数据", -1))
503
+ g(e.$slots, "notFoundContent", {}, () => [
504
+ t[5] || (t[5] = h("div", { class: "hasNoData" }, "暂无数据", -1))
503
505
  ], !0)
504
506
  ]),
505
507
  suffixIcon: p(() => [
506
- w(e.$slots, "suffixIcon", {}, () => [
507
- y(r(yl), {
508
+ g(e.$slots, "suffixIcon", {}, () => [
509
+ x(r(xl), {
508
510
  class: "das-suffix-icon",
509
511
  size: "medium"
510
512
  })
511
513
  ], !0)
512
514
  ]),
513
515
  default: p(() => [
514
- w(e.$slots, "default", {}, void 0, !0)
516
+ g(e.$slots, "default", {}, void 0, !0)
515
517
  ]),
516
518
  _: 2
517
519
  }, [
518
520
  e.$slots.menuItemSelectedIcon ? {
519
521
  name: "menuItemSelectedIcon",
520
522
  fn: p(() => [
521
- w(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
523
+ g(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
522
524
  ]),
523
525
  key: "0"
524
526
  } : void 0,
525
527
  e.$slots.placeholder ? {
526
528
  name: "placeholder",
527
529
  fn: p(() => [
528
- w(e.$slots, "placeholder", {}, void 0, !0)
530
+ g(e.$slots, "placeholder", {}, void 0, !0)
529
531
  ]),
530
532
  key: "1"
531
533
  } : void 0,
532
534
  e.$slots.removeIcon ? {
533
535
  name: "removeIcon",
534
536
  fn: p(() => [
535
- w(e.$slots, "removeIcon", {}, void 0, !0)
537
+ g(e.$slots, "removeIcon", {}, void 0, !0)
536
538
  ]),
537
539
  key: "2"
538
540
  } : void 0
539
541
  ]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
540
- [r(hl), { target: ol, x: !1 }],
541
- [r(xl), Qe]
542
+ [r(gl), { target: sl, x: !1 }],
543
+ [r(Il), el]
542
544
  ]),
543
- e.error && e.errorLabel ? (v(), g(Ve, { key: 0 }, [
544
- e.errorMode === "default" ? (v(), g("div", El, [
545
+ e.error && e.errorLabel ? (f(), y(Le, { key: 1 }, [
546
+ e.errorMode === "default" ? (f(), y("div", Rl, [
545
547
  h("span", {
546
- style: q(Xe.value)
548
+ style: H(Je.value)
547
549
  }, E(e.errorLabel), 5)
548
- ])) : Y("", !0),
549
- e.errorMode === "overlay" && ne.value ? (v(), H(r(Cl), {
550
+ ])) : Z("", !0),
551
+ e.errorMode === "overlay" && re.value ? (f(), P(r(kl), {
550
552
  key: 1,
551
553
  errorLabel: e.errorLabel,
552
- getEl: () => x.value.$el,
554
+ getEl: () => C.value.$el,
553
555
  errorModelZIndex: e.errorModelZIndex
554
- }, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : Y("", !0)
555
- ], 64)) : Y("", !0),
556
+ }, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : Z("", !0)
557
+ ], 64)) : Z("", !0),
556
558
  h("div", {
557
559
  class: "ant-select-selection-overflow",
558
560
  ref_key: "virtualTotalCount",
559
- ref: ye,
561
+ ref: Ce,
560
562
  style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
561
563
  }, [
562
- h("div", Wl, [
563
- h("div", Pl, [
564
- h("span", Rl, [
565
- y(r(pe), {
566
- style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
564
+ h("div", ql, [
565
+ h("div", Hl, [
566
+ h("span", Zl, [
567
+ x(r(me), {
568
+ style: H(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
567
569
  }, {
568
570
  default: p(() => [
569
571
  h("span", {
570
572
  innerHTML: r(W)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
571
- }, null, 8, ql)
573
+ }, null, 8, Kl)
572
574
  ]),
573
575
  _: 1
574
576
  }, 8, ["style"])
@@ -579,26 +581,26 @@ const Nl = { key: 0 }, _l = {
579
581
  ], 6);
580
582
  };
581
583
  }
582
- }), Ae = (k, N) => {
583
- const _ = k.__vccOpts || k;
584
- for (const [l, C] of N)
585
- _[l] = C;
586
- return _;
587
- }, Kl = /* @__PURE__ */ Ae(Zl, [["__scopeId", "data-v-8dfe978c"]]), Ul = {};
588
- function jl(k, N) {
589
- const _ = Ml;
590
- return v(), H(_, me({ class: "das-ui-select-option" }, k.$attrs), null, 16);
584
+ }), Fe = (k, M) => {
585
+ const N = k.__vccOpts || k;
586
+ for (const [l, w] of M)
587
+ N[l] = w;
588
+ return N;
589
+ }, Xl = /* @__PURE__ */ Fe(jl, [["__scopeId", "data-v-c9aa4e5f"]]), Gl = {};
590
+ function Jl(k, M) {
591
+ const N = Al;
592
+ return f(), P(N, he({ class: "das-ui-select-option" }, k.$attrs), null, 16);
591
593
  }
592
- const Xl = /* @__PURE__ */ Ae(Ul, [["render", jl]]), Gl = {
594
+ const Ql = /* @__PURE__ */ Fe(Gl, [["render", Jl]]), Yl = {
593
595
  "--das-ui-select-color-bg": "#FFFFFF",
594
596
  // 默认背景色
595
- "--das-ui-select-color-primary": Ne("--das-ui-color-primary"),
597
+ "--das-ui-select-color-primary": Ae("--das-ui-color-primary"),
596
598
  // 主题色
597
599
  "--das-ui-select-color-text": "#212121",
598
600
  // 主文本色
599
601
  "--das-ui-select-color-border": "#d9d9d9",
600
602
  // 边框基础色
601
- "--das-ui-select-color-underline": Ne("--das-ui-color-help"),
603
+ "--das-ui-select-color-underline": Ae("--das-ui-color-help"),
602
604
  // 下划线基础色
603
605
  "--das-ui-select-color-error": "#FB2323",
604
606
  // 错误边框色
@@ -636,7 +638,7 @@ const Xl = /* @__PURE__ */ Ae(Ul, [["render", jl]]), Gl = {
636
638
  // 多选框字体大小-lg
637
639
  "--das-ui-select-overlay-error-color": "#FB2323",
638
640
  "--das-ui-select-overlay-error-bg-color": "#FFDBE0"
639
- }, Jl = {
641
+ }, et = {
640
642
  添加: { "zh-CN": "添加", en: "Add", "zh-MO": "添加", _appCode: "framework" },
641
643
  全选: { "zh-CN": "全选", en: "Select All", "zh-MO": "全選", _appCode: "framework" },
642
644
  已选: { "zh-CN": "已选", en: "Selected", "zh-MO": "已選", _appCode: "framework" },
@@ -647,11 +649,11 @@ const Xl = /* @__PURE__ */ Ae(Ul, [["render", jl]]), Gl = {
647
649
  _appCode: "framework"
648
650
  }
649
651
  };
650
- Sl(Jl);
651
- kl(Gl);
652
- const yt = _e(Kl), wt = _e(Xl), Ct = { name: "select 选择器" };
652
+ _l(et);
653
+ zl(Yl);
654
+ const xt = $e(Xl), Tt = $e(Ql), kt = { name: "select 选择器" };
653
655
  export {
654
- yt as DasSelect,
655
- wt as DasSelectOption,
656
- Ct as default
656
+ xt as DasSelect,
657
+ Tt as DasSelectOption,
658
+ kt as default
657
659
  };