@das-fed/upf-ui 6.4.0-dev.131 → 6.4.0-dev.133
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.
- package/package.json +5 -5
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +8 -2
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +8 -2
- package/packages/components/button/index.d.ts +3 -0
- package/packages/components/button/index.js +276 -283
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/button/src/Index.vue.d.ts +1 -0
- package/packages/components/button/style.css +1 -1
- package/packages/components/button/style.css.gz +0 -0
- package/packages/components/cascader/index.d.ts +9 -9
- package/packages/components/cascader/index.js +113 -103
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +1 -1
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +355 -334
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/Index.vue.d.ts +5 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/color-picker/index.js +42 -41
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/date-picker/index.js +503 -486
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/edit-table/index.js +1 -1
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/error-overlay-model/index.js +15 -15
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/hooks/use-form-size.d.ts +3 -0
- package/packages/components/form/index.d.ts +12 -2
- package/packages/components/form/index.js +62 -69
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/src/Index.vue.d.ts +9 -0
- package/packages/components/form/src/type.d.ts +3 -0
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +1110 -1082
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/hooks/use-form.d.ts +13 -3
- package/packages/components/form-item/src/type.d.ts +6 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/input/index.js +399 -215
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/constants.d.ts +17 -0
- package/packages/components/input/src/hooks/use-overflow-tip.d.ts +13 -0
- package/packages/components/input/src/type.d.ts +9 -9
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +74 -66
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-number/index.js +76 -70
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/radio/index.js +116 -103
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio/src/Index.vue.d.ts +5 -0
- package/packages/components/radio/style.css +1 -1
- package/packages/components/radio/style.css.gz +0 -0
- package/packages/components/select/index.js +92 -88
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +39 -37
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/split-panel/index.js +209 -193
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/split-panel/style.css +1 -1
- package/packages/components/split-panel/style.css.gz +0 -0
- package/packages/components/switch/index.js +45 -29
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.js +1944 -1932
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +12 -9
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tree-select/index.js +13 -12
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-table/index.js +143 -142
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-table/style.css +1 -1
- package/packages/components/tree-table/style.css.gz +0 -0
- package/packages/components/tree-v2/index.d.ts +16 -2
- package/packages/components/tree-v2/index.js +1944 -1920
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +4 -0
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/index.js +3 -2
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/upload/style.css +1 -1
- package/packages/components/upload/style.css.gz +0 -0
- package/packages/components/upload/theme/index.d.ts +3 -0
- package/packages/components/form-item/src/hooks/useFormLabelWidth.d.ts +0 -6
- package/packages/components/input/index.d.ts +0 -124
- package/packages/components/input/src/index.vue.d.ts +0 -49
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/select/style.css';
|
|
2
2
|
import { withInstall as _e } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { defineComponent as
|
|
3
|
+
import { defineComponent as Me, useCssVars as ul, computed as d, ref as n, watch as G, useSlots as il, onMounted as ie, onUnmounted as Ve, watchEffect as de, nextTick as T, resolveComponent as dl, createElementBlock as g, openBlock as c, normalizeStyle as q, normalizeClass as cl, createVNode as y, withDirectives as ce, createCommentVNode as k, createElementVNode as m, unref as r, createBlock as H, mergeProps as me, withModifiers as J, isRef as vl, createSlots as fl, withCtx as f, renderSlot as C, normalizeProps as Q, guardReactiveProps as Y, withKeys as pl, toDisplayString as W, createTextVNode as ve, Fragment as fe } from "vue";
|
|
4
4
|
import { Select as ml, Tag as pe } from "ant-design-vue";
|
|
5
|
-
import { DasCheckbox as
|
|
5
|
+
import { DasCheckbox as Ne } from "@das-fed/upf-ui/packages/components/checkbox/index";
|
|
6
6
|
import { vScrollbar as hl } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
7
7
|
import { DasTooltip as bl } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
8
|
-
import { vDasTooltip as
|
|
8
|
+
import { vDasTooltip as ze } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
9
9
|
import { DasInput as gl } from "@das-fed/upf-ui/packages/components/input/index";
|
|
10
10
|
import { DasIconXiala as yl } from "@das-fed/upf-ui/packages/icons/xiala/index";
|
|
11
11
|
import { DasIconEmpty as Cl } from "@das-fed/upf-ui/packages/icons/empty/index";
|
|
12
12
|
import { DasErrorOverlayModel as wl } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
|
|
13
13
|
import { vHoverInside as xl } from "@das-fed/upf-utils/directive";
|
|
14
|
-
import { getVarValue as Tl, getVar as
|
|
14
|
+
import { getVarValue as Tl, getVar as Le, setThemeRule as kl } from "@das-fed/upf-web/packages/theme/index";
|
|
15
15
|
import { t as P, currentLang as Il, setI18nRule as Sl } from "@das-fed/upf-web/packages/i18n/index";
|
|
16
16
|
import { useZIndex as Vl } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
|
|
17
|
-
import { useModelValue as
|
|
18
|
-
import { calcTextWidth as
|
|
17
|
+
import { useModelValue as Nl } from "@das-fed/upf-utils/vue";
|
|
18
|
+
import { calcTextWidth as zl } 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
|
|
22
|
-
const _l = { key: 0 },
|
|
21
|
+
import { SelectOption as Ll } from "ant-design-vue/es";
|
|
22
|
+
const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style: { display: "inline-block" } }, Fl = { key: 0 }, Al = { key: 2 }, Bl = { style: { display: "inline-block" } }, Dl = ["innerHTML"], El = ["innerHTML"], Ol = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "das-select-error-label-content das-select-label-content"
|
|
25
|
-
}, 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 =
|
|
25
|
+
}, 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 = Me({
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
components: {
|
|
28
|
-
VNodes: (I, { attrs:
|
|
28
|
+
VNodes: (I, { attrs: M }) => M.vnodes
|
|
29
29
|
}
|
|
30
|
-
}), Zl = /* @__PURE__ */
|
|
30
|
+
}), Zl = /* @__PURE__ */ Me({
|
|
31
31
|
...Hl,
|
|
32
32
|
__name: "Select",
|
|
33
33
|
props: {
|
|
@@ -35,7 +35,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
35
35
|
options: {},
|
|
36
36
|
mode: { default: "combobox" },
|
|
37
37
|
fieldNames: { default: {} },
|
|
38
|
-
borderType: { default: "
|
|
38
|
+
borderType: { default: "bordered" },
|
|
39
39
|
placeholder: { default: "" },
|
|
40
40
|
disabled: { type: Boolean, default: !1 },
|
|
41
41
|
isView: { type: Boolean, default: !1 },
|
|
@@ -65,20 +65,20 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
65
65
|
inputAttrs: {}
|
|
66
66
|
},
|
|
67
67
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
68
|
-
setup(I, { expose:
|
|
68
|
+
setup(I, { expose: M, emit: $ }) {
|
|
69
69
|
ul((e) => ({
|
|
70
|
-
"
|
|
71
|
-
|
|
70
|
+
"36ceabce": Pe.value,
|
|
71
|
+
d6a4c198: Re.value
|
|
72
72
|
}));
|
|
73
|
-
const l = I, w =
|
|
73
|
+
const l = I, w = $, s = Nl(l, "modelValue"), ee = d(() => {
|
|
74
74
|
var e;
|
|
75
75
|
return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
|
|
76
|
-
}),
|
|
76
|
+
}), F = n(null), he = n(null), b = n(!1), Z = d(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), Fe = d(() => F.value ? F.value.querySelector(".ant-select-selector") : null), A = n(0), B = n(0), Ae = d(() => l.isTooltip && S.value ? !1 : !l.isTooltip || N.value || !Ie.value || !ae.value), Be = d(() => (Array.isArray(s.value) ? s.value.length : s.value) ? Ie.value : Z.value), be = () => {
|
|
77
77
|
const e = l.size === "table" ? 12 : 14;
|
|
78
|
-
return
|
|
78
|
+
return zl(Z.value, e);
|
|
79
79
|
}, ge = () => {
|
|
80
80
|
var _;
|
|
81
|
-
const e =
|
|
81
|
+
const e = F.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
83
|
let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
|
|
84
84
|
if (a === 0) return a;
|
|
@@ -125,7 +125,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
125
125
|
const x = n(), Te = n(), te = n(!1), oe = d(() => {
|
|
126
126
|
if (D.value !== null) return D.value;
|
|
127
127
|
if (l.open !== void 0) return l.open;
|
|
128
|
-
}), V = 1e6, u = n(100), i = n(100),
|
|
128
|
+
}), V = 1e6, u = n(100), i = n(100), N = n(!1), ae = n(!0), se = n(!1);
|
|
129
129
|
de(() => {
|
|
130
130
|
s.value && l.mode == "combobox" && (ae.value = !0, setTimeout(() => {
|
|
131
131
|
var t;
|
|
@@ -141,7 +141,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
141
141
|
});
|
|
142
142
|
const We = () => {
|
|
143
143
|
setTimeout(async () => {
|
|
144
|
-
u.value = 100, await
|
|
144
|
+
u.value = 100, await L(), u.value = i.value, b.value = !0;
|
|
145
145
|
}, 100);
|
|
146
146
|
};
|
|
147
147
|
de(() => {
|
|
@@ -157,11 +157,11 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
157
157
|
if (l.mode != "combobox" && Array.isArray(s.value))
|
|
158
158
|
s.value.map((a) => {
|
|
159
159
|
var p;
|
|
160
|
-
let o = (p = l.options) == null ? void 0 : p.find((v) => v[
|
|
160
|
+
let o = (p = l.options) == null ? void 0 : p.find((v) => v[z.value] == a);
|
|
161
161
|
o && e.push(o[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[
|
|
164
|
+
let a = (t = l.options) == null ? void 0 : t.find((o) => o[z.value] == s.value);
|
|
165
165
|
a && e.push(a[K.value]);
|
|
166
166
|
}
|
|
167
167
|
return Il.value === "zh-CN" ? e.join("、") : e.join(", ");
|
|
@@ -181,7 +181,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
181
181
|
}), K = d(() => {
|
|
182
182
|
var e;
|
|
183
183
|
return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
|
|
184
|
-
}),
|
|
184
|
+
}), z = d(() => {
|
|
185
185
|
var e;
|
|
186
186
|
return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
|
|
187
187
|
}), Ue = d(() => ({
|
|
@@ -209,16 +209,16 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
209
209
|
}, Ye = (e) => {
|
|
210
210
|
let t = e.toString();
|
|
211
211
|
return t.length > l.maxTagTextLength && (t = t.substr(0, l.maxTagTextLength) + "..."), t;
|
|
212
|
-
}, el = (e) => l.isRenderNode ?
|
|
212
|
+
}, el = (e) => l.isRenderNode ? F.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
215
|
let t = s.value, a = [];
|
|
216
216
|
l.options.forEach((o) => {
|
|
217
|
-
!s.value.includes(o[
|
|
217
|
+
!s.value.includes(o[z.value]) && !o.disabled && (t.push(o[z.value]), a.push(o));
|
|
218
218
|
}), s.value = t, ue(s.value, a);
|
|
219
219
|
} else {
|
|
220
220
|
let t = s.value;
|
|
221
|
-
s.value = t.filter((a) => !!l.options.find((o) => o[
|
|
221
|
+
s.value = t.filter((a) => !!l.options.find((o) => o[z.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])
|
|
@@ -241,10 +241,10 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
241
241
|
w("blur", e);
|
|
242
242
|
return;
|
|
243
243
|
}
|
|
244
|
-
te.value = !1, l.focusOpen && !l.isExterControlCount && (
|
|
244
|
+
te.value = !1, l.focusOpen && !l.isExterControlCount && (L(), u.value = i.value, b.value = !0), w("blur", e);
|
|
245
245
|
}, sl = (e) => {
|
|
246
246
|
e.onClose(), u.value = 100, T(() => {
|
|
247
|
-
l.mode !== "combobox" && oe.value || l.focusOpen && (
|
|
247
|
+
l.mode !== "combobox" && oe.value || l.focusOpen && (L(), u.value = i.value, b.value = !0);
|
|
248
248
|
});
|
|
249
249
|
};
|
|
250
250
|
G(
|
|
@@ -259,21 +259,21 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
259
259
|
);
|
|
260
260
|
let R = n(!1);
|
|
261
261
|
const nl = (e) => {
|
|
262
|
-
R.value = e,
|
|
263
|
-
|
|
262
|
+
R.value = e, N.value = !0, T(() => {
|
|
263
|
+
N.value = !1, l.focusOpen && (L(), u.value = e ? V : i.value, b.value = !e);
|
|
264
264
|
});
|
|
265
265
|
};
|
|
266
266
|
let j = null;
|
|
267
267
|
ie(() => {
|
|
268
268
|
j = new IntersectionObserver((e) => {
|
|
269
269
|
e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100, T(() => {
|
|
270
|
-
|
|
270
|
+
L(), u.value = i.value, b.value = !0;
|
|
271
271
|
}));
|
|
272
|
-
}), j.observe(
|
|
272
|
+
}), j.observe(F.value);
|
|
273
273
|
}), Ve(() => {
|
|
274
274
|
j && j.disconnect();
|
|
275
275
|
});
|
|
276
|
-
const
|
|
276
|
+
const L = () => {
|
|
277
277
|
var X;
|
|
278
278
|
let e = (X = x.value) == null ? void 0 : X.$el;
|
|
279
279
|
if (!e) return;
|
|
@@ -286,16 +286,16 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
286
286
|
if (v.length < 1) return;
|
|
287
287
|
u.value = V;
|
|
288
288
|
let _ = 0;
|
|
289
|
-
for (let
|
|
290
|
-
if (_ += Math.ceil(v[
|
|
291
|
-
|
|
289
|
+
for (let h = 0; h < v.length - 1 && !v[h].classList.contains("ant-select-selection-overflow-item-rest"); h++)
|
|
290
|
+
if (_ += Math.ceil(v[h].offsetWidth), _ <= a - p)
|
|
291
|
+
h >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = h + 1;
|
|
292
292
|
else {
|
|
293
|
-
|
|
293
|
+
h >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = h;
|
|
294
294
|
break;
|
|
295
295
|
}
|
|
296
296
|
if (i.value === 0) {
|
|
297
|
-
let
|
|
298
|
-
|
|
297
|
+
let h = v[0], rl = h.querySelector(".anticon-close") ? 86 : 69;
|
|
298
|
+
h && !h.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a - p && !xe.tagRender && (i.value = 1, h.classList.add("ellipsis"));
|
|
299
299
|
}
|
|
300
300
|
}, re = n(!1);
|
|
301
301
|
G(
|
|
@@ -305,15 +305,15 @@ 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 || (
|
|
308
|
+
l.mode !== "combobox" && oe.value || (N.value = !0, u.value = V, await T(), await L(), N.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
313
|
const a = e;
|
|
314
|
-
l.noDropdown && l.maxTagsLength < a.length && a.pop(),
|
|
314
|
+
l.noDropdown && l.maxTagsLength < a.length && a.pop(), N.value = !0, w("update:model-value", a), w("change", a, t), u.value = V, await T(), await L(), N.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
|
-
return
|
|
316
|
+
return M({
|
|
317
317
|
$select: x,
|
|
318
318
|
toChangeMaxCount: nl
|
|
319
319
|
}), (e, t) => {
|
|
@@ -328,7 +328,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
328
328
|
b.value ? "show-ellipsis" : ""
|
|
329
329
|
]]),
|
|
330
330
|
ref_key: "$selectBox",
|
|
331
|
-
ref:
|
|
331
|
+
ref: F,
|
|
332
332
|
style: q(Ue.value)
|
|
333
333
|
},
|
|
334
334
|
[
|
|
@@ -337,7 +337,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
337
337
|
ref: he,
|
|
338
338
|
placement: "top",
|
|
339
339
|
"virtual-triggering": "",
|
|
340
|
-
"virtual-ref":
|
|
340
|
+
"virtual-ref": Fe.value,
|
|
341
341
|
disabled: Ae.value,
|
|
342
342
|
content: Be.value
|
|
343
343
|
}, null, 8, ["virtual-ref", "disabled", "content"]),
|
|
@@ -389,27 +389,27 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
389
389
|
/* TEXT */
|
|
390
390
|
)
|
|
391
391
|
])), [
|
|
392
|
-
[r(
|
|
392
|
+
[r(ze)]
|
|
393
393
|
]) : (c(), g(
|
|
394
394
|
fe,
|
|
395
395
|
{ key: 1 },
|
|
396
396
|
[
|
|
397
397
|
k(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
398
|
-
|
|
399
|
-
(c(), H(r(
|
|
398
|
+
m("div", Ml, [
|
|
399
|
+
(c(), H(r(Ne), {
|
|
400
400
|
class: "das-select-checkbox",
|
|
401
|
-
modelValue: (p = r(s)) == null ? void 0 : p.includes(o[
|
|
402
|
-
key: o[
|
|
401
|
+
modelValue: (p = r(s)) == null ? void 0 : p.includes(o[z.value]),
|
|
402
|
+
key: o[z.value],
|
|
403
403
|
disabled: o.disabled
|
|
404
404
|
}, null, 8, ["modelValue", "disabled"])),
|
|
405
|
-
ce((c(), g("div",
|
|
405
|
+
ce((c(), g("div", $l, [
|
|
406
406
|
ve(
|
|
407
407
|
W(o[K.value]),
|
|
408
408
|
1
|
|
409
409
|
/* TEXT */
|
|
410
410
|
)
|
|
411
411
|
])), [
|
|
412
|
-
[r(
|
|
412
|
+
[r(ze)]
|
|
413
413
|
])
|
|
414
414
|
])
|
|
415
415
|
],
|
|
@@ -431,7 +431,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
431
431
|
onClose: (p) => sl(o)
|
|
432
432
|
}, {
|
|
433
433
|
default: f(() => [
|
|
434
|
-
|
|
434
|
+
m(
|
|
435
435
|
"span",
|
|
436
436
|
{
|
|
437
437
|
class: "tag-span",
|
|
@@ -451,7 +451,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
451
451
|
C(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
|
|
452
452
|
var p;
|
|
453
453
|
return [
|
|
454
|
-
Ce.value === "combobox" ? (c(), g("div",
|
|
454
|
+
Ce.value === "combobox" ? (c(), g("div", Fl, [
|
|
455
455
|
y(a, { vnodes: o }, null, 8, ["vnodes"])
|
|
456
456
|
])) : Ce.value === "custom" ? (c(), g("div", {
|
|
457
457
|
key: 1,
|
|
@@ -459,7 +459,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
459
459
|
}, ["stop"]))
|
|
460
460
|
}, [
|
|
461
461
|
y(a, { vnodes: o }, null, 8, ["vnodes"]),
|
|
462
|
-
|
|
462
|
+
m(
|
|
463
463
|
"div",
|
|
464
464
|
{
|
|
465
465
|
class: "customDropdown",
|
|
@@ -477,7 +477,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
477
477
|
width: "100%",
|
|
478
478
|
borderType: "bordered"
|
|
479
479
|
}, l.inputAttrs), null, 16, ["modelValue"]),
|
|
480
|
-
|
|
480
|
+
m(
|
|
481
481
|
"div",
|
|
482
482
|
{
|
|
483
483
|
class: "addBtn",
|
|
@@ -501,8 +501,8 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
501
501
|
onMousedown: t[3] || (t[3] = (v) => v.preventDefault())
|
|
502
502
|
},
|
|
503
503
|
[
|
|
504
|
-
|
|
505
|
-
y(r(
|
|
504
|
+
m("div", Bl, [
|
|
505
|
+
y(r(Ne), {
|
|
506
506
|
modelValue: He.value,
|
|
507
507
|
indeterminate: Ze.value,
|
|
508
508
|
onChange: ll,
|
|
@@ -519,7 +519,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
519
519
|
/* STABLE */
|
|
520
520
|
}, 8, ["modelValue", "indeterminate"])
|
|
521
521
|
]),
|
|
522
|
-
|
|
522
|
+
m("span", {
|
|
523
523
|
class: "das-ui-dropdown-has-checked",
|
|
524
524
|
innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
525
525
|
}, null, 8, Dl)
|
|
@@ -543,7 +543,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
543
543
|
style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
544
544
|
}, {
|
|
545
545
|
default: f(() => [
|
|
546
|
-
|
|
546
|
+
m("span", {
|
|
547
547
|
innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
548
548
|
}, null, 8, El)
|
|
549
549
|
]),
|
|
@@ -553,6 +553,17 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
553
553
|
k(" <a-tag>+{{ currValue?.length - maxTagCountCell }}</a-tag> ")
|
|
554
554
|
], !0)
|
|
555
555
|
]),
|
|
556
|
+
notFoundContent: f(() => [
|
|
557
|
+
C(e.$slots, "notFoundContent", {}, () => [
|
|
558
|
+
t[6] || (t[6] = m(
|
|
559
|
+
"div",
|
|
560
|
+
{ class: "hasNoData" },
|
|
561
|
+
"暂无数据",
|
|
562
|
+
-1
|
|
563
|
+
/* HOISTED */
|
|
564
|
+
))
|
|
565
|
+
], !0)
|
|
566
|
+
]),
|
|
556
567
|
suffixIcon: f(() => [
|
|
557
568
|
C(e.$slots, "suffixIcon", {}, () => [
|
|
558
569
|
y(r(yl), {
|
|
@@ -574,26 +585,19 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
574
585
|
]),
|
|
575
586
|
key: "0"
|
|
576
587
|
} : void 0,
|
|
577
|
-
e.$slots.notFoundContent ? {
|
|
578
|
-
name: "notFoundContent",
|
|
579
|
-
fn: f(() => [
|
|
580
|
-
C(e.$slots, "notFoundContent", {}, void 0, !0)
|
|
581
|
-
]),
|
|
582
|
-
key: "1"
|
|
583
|
-
} : void 0,
|
|
584
588
|
e.$slots.placeholder ? {
|
|
585
589
|
name: "placeholder",
|
|
586
590
|
fn: f(() => [
|
|
587
591
|
C(e.$slots, "placeholder", {}, void 0, !0)
|
|
588
592
|
]),
|
|
589
|
-
key: "
|
|
593
|
+
key: "1"
|
|
590
594
|
} : void 0,
|
|
591
595
|
e.$slots.removeIcon ? {
|
|
592
596
|
name: "removeIcon",
|
|
593
597
|
fn: f(() => [
|
|
594
598
|
C(e.$slots, "removeIcon", {}, void 0, !0)
|
|
595
599
|
]),
|
|
596
|
-
key: "
|
|
600
|
+
key: "2"
|
|
597
601
|
} : void 0
|
|
598
602
|
]), 1040, ["mode", "value", "options", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
|
|
599
603
|
[r(hl), { target: tl, x: !1 }],
|
|
@@ -604,7 +608,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
604
608
|
{ key: 0 },
|
|
605
609
|
[
|
|
606
610
|
e.errorMode === "default" ? (c(), g("div", Ol, [
|
|
607
|
-
|
|
611
|
+
m(
|
|
608
612
|
"span",
|
|
609
613
|
{
|
|
610
614
|
style: q(je.value)
|
|
@@ -624,7 +628,7 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
624
628
|
64
|
|
625
629
|
/* STABLE_FRAGMENT */
|
|
626
630
|
)) : k("v-if", !0),
|
|
627
|
-
|
|
631
|
+
m(
|
|
628
632
|
"div",
|
|
629
633
|
{
|
|
630
634
|
class: "ant-select-selection-overflow",
|
|
@@ -633,14 +637,14 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
633
637
|
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
634
638
|
},
|
|
635
639
|
[
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
640
|
+
m("div", Wl, [
|
|
641
|
+
m("div", Pl, [
|
|
642
|
+
m("span", Rl, [
|
|
639
643
|
y(r(pe), {
|
|
640
644
|
style: q(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
641
645
|
}, {
|
|
642
646
|
default: f(() => [
|
|
643
|
-
|
|
647
|
+
m("span", {
|
|
644
648
|
innerHTML: r(P)("das-ui-select-selectedItemsCountWithPlaceholder", ee.value)
|
|
645
649
|
}, null, 8, ql)
|
|
646
650
|
]),
|
|
@@ -660,32 +664,32 @@ const _l = { key: 0 }, $l = { class: "das-multiple-option-item" }, Fl = { style:
|
|
|
660
664
|
);
|
|
661
665
|
};
|
|
662
666
|
}
|
|
663
|
-
}),
|
|
664
|
-
const
|
|
665
|
-
for (const [l, w] of
|
|
666
|
-
|
|
667
|
-
return
|
|
668
|
-
}, Kl = /* @__PURE__ */
|
|
669
|
-
function jl(I,
|
|
670
|
-
const
|
|
667
|
+
}), $e = (I, M) => {
|
|
668
|
+
const $ = I.__vccOpts || I;
|
|
669
|
+
for (const [l, w] of M)
|
|
670
|
+
$[l] = w;
|
|
671
|
+
return $;
|
|
672
|
+
}, Kl = /* @__PURE__ */ $e(Zl, [["__scopeId", "data-v-e54eb7cd"]]), Ul = {};
|
|
673
|
+
function jl(I, M) {
|
|
674
|
+
const $ = Ll;
|
|
671
675
|
return c(), H(
|
|
672
|
-
|
|
676
|
+
$,
|
|
673
677
|
me({ class: "das-ui-select-option" }, I.$attrs),
|
|
674
678
|
null,
|
|
675
679
|
16
|
|
676
680
|
/* FULL_PROPS */
|
|
677
681
|
);
|
|
678
682
|
}
|
|
679
|
-
const Xl = /* @__PURE__ */
|
|
683
|
+
const Xl = /* @__PURE__ */ $e(Ul, [["render", jl]]), Gl = {
|
|
680
684
|
"--das-ui-select-color-bg": "#FFFFFF",
|
|
681
685
|
// 默认背景色
|
|
682
|
-
"--das-ui-select-color-primary":
|
|
686
|
+
"--das-ui-select-color-primary": Le("--das-ui-color-primary"),
|
|
683
687
|
// 主题色
|
|
684
688
|
"--das-ui-select-color-text": "#212121",
|
|
685
689
|
// 主文本色
|
|
686
690
|
"--das-ui-select-color-border": "#d9d9d9",
|
|
687
691
|
// 边框基础色
|
|
688
|
-
"--das-ui-select-color-underline":
|
|
692
|
+
"--das-ui-select-color-underline": Le("--das-ui-color-help"),
|
|
689
693
|
// 下划线基础色
|
|
690
694
|
"--das-ui-select-color-error": "#FB2323",
|
|
691
695
|
// 错误边框色
|
|
@@ -703,7 +707,7 @@ const Xl = /* @__PURE__ */ Fe(Ul, [["render", jl]]), Gl = {
|
|
|
703
707
|
// 提示文字颜色
|
|
704
708
|
"--das-ui-select-height-sm": "24px",
|
|
705
709
|
// 选择框-sm-尺寸高度
|
|
706
|
-
"--das-ui-select-height-md": "
|
|
710
|
+
"--das-ui-select-height-md": "32px",
|
|
707
711
|
// 选择框-md-尺寸高度
|
|
708
712
|
"--das-ui-select-height-lg": "36px",
|
|
709
713
|
// 选择框-lg-尺寸高度
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-484e2f4b]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-484e2f4b]{position:absolute;top:100%;left:0;width:var(--3f2593ce)}.das-ui-select.show-ellipsis[data-v-484e2f4b] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-484e2f4b] .ant-select-selection-overflow-item.ellipsis .ant-tag span:nth-of-type(1){width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.das-ui-select[data-v-484e2f4b] .ant-select{width:100%;height:var(--136a9334)}.das-ui-select[data-v-484e2f4b] .ant-select .das-select-error-label-content{width:var(--3f2593ce);font-size:12px}.das-ui-select[data-v-484e2f4b] .ant-select .das-select-error-label-content .label{display:block;color:var(--das-ui-select-overlay-error-color);white-space:break-spaces}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-484e2f4b] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:auto}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-484e2f4b] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-md)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selection-search{margin-inline-start:0px;-webkit-margin-start:0px;height:calc(var(--das-ui-select-height-md) - 2px);line-height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-tag{color:var(--das-ui-select-color-text);height:calc(var(--das-ui-select-height-md) - 4px);line-height:calc(var(--das-ui-select-height-md) - 5px);font-size:var(--das-ui-select-tag-font-size-md);margin-bottom:0;margin-right:0}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selection-item{height:calc(var(--das-ui-select-height-md) - 3px);line-height:calc(var(--das-ui-select-height-md) - 3px);font-size:var(--das-ui-select-tag-font-size-md);margin-top:0;margin-bottom:0;border:none;background-color:transparent;-webkit-margin-end:0px;margin-inline-end:0px;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-sm .ant-tag{height:calc(var(--das-ui-select-height-sm) - 4px);line-height:calc(var(--das-ui-select-height-sm) - 5px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-sm)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:calc(var(--das-ui-select-height-lg) - 2px);line-height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-lg .ant-tag{height:calc(var(--das-ui-select-height-lg) - 8px);line-height:calc(var(--das-ui-select-height-lg) - 8px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:calc(var(--das-ui-select-height-lg) - 7px);line-height:calc(var(--das-ui-select-height-lg) - 7px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-lg)}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-484e2f4b] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-484e2f4b] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-484e2f4b] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-484e2f4b] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-484e2f4b] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-484e2f4b] .ant-select .ant-select-selector{border-radius:0;border-color:transparent!important;border-bottom-color:var(--das-ui-select-color-underline)!important;background-color:transparent!important;padding:0!important}.das-ui-select.underline[data-v-484e2f4b] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-484e2f4b] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-484e2f4b] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-484e2f4b] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-484e2f4b] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-484e2f4b] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-disabled-underline)!important}.das-ui-select.bordered[data-v-484e2f4b] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-484e2f4b] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-484e2f4b] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-484e2f4b] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-484e2f4b] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-484e2f4b] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-484e2f4b] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-484e2f4b] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-484e2f4b] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-484e2f4b] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-disabled-border)!important}.das-ui-select.none[data-v-484e2f4b] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-484e2f4b] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:var(--das-ui-color-normal);border-color:transparent}.das-ui-select.readonly[data-v-484e2f4b] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-484e2f4b] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-484e2f4b] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-484e2f4b]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-484e2f4b]{display:block;color:var(--das-ui-select-color-error)}.das-ui-select-dorpdown .das-select-checkbox.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox+span{padding:0!important}.das-ui-select-dorpdown .das-multiple-option-item{display:flex}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--das-ui-select-color-option-active-bg);font-weight:400;color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .das-multiple-option-item{color:var(--das-ui-select-color-text)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall{height:40px;line-height:40px;padding:0 12px;border-top:1px solid var(--das-ui-select-color-border)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked{font-size:12px;color:var(--das-ui-select-color-help)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked .key{color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-state{display:none}.das-ui-select-dorpdown .das-ui-checkbox{display:inline-block;margin-right:5px}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-show{right:4px!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb{width:8px!important;left:1px!important;background:#b2b2b2!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb:hover{width:10px!important;left:0!important;background:#999!important}.das-ui-select-dorpdown .customDropdown{display:flex;align-items:center;padding:6px 12px 2px;cursor:pointer;border-top:1px solid #d9d9d9}.das-ui-select-dorpdown .customDropdown .el-input{height:28px}.das-ui-select-dorpdown .customDropdown .addBtn{margin-left:12px;cursor:pointer;flex-shrink:0;font-family:Microsoft YaHei;font-size:12px;font-weight:400;height:28px;line-height:28px;text-align:center;letter-spacing:0px;color:#212121}
|
|
1
|
+
.das-ui-select[data-v-e54eb7cd]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-e54eb7cd]{position:absolute;top:100%;left:0;width:var(--36ceabce)}.das-ui-select.show-ellipsis[data-v-e54eb7cd] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-e54eb7cd] .ant-select-selection-overflow-item.ellipsis .ant-tag span:nth-of-type(1){width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.das-ui-select[data-v-e54eb7cd] .ant-select{width:100%;height:var(--d6a4c198)}.das-ui-select[data-v-e54eb7cd] .ant-select .das-select-error-label-content{width:var(--36ceabce);font-size:12px}.das-ui-select[data-v-e54eb7cd] .ant-select .das-select-error-label-content .label{display:block;color:var(--das-ui-select-overlay-error-color);white-space:break-spaces}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-e54eb7cd] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:auto}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-e54eb7cd] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-md)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selection-search{margin-inline-start:0px;-webkit-margin-start:0px;height:calc(var(--das-ui-select-height-md) - 2px);line-height:calc(var(--das-ui-select-height-md) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-tag{color:var(--das-ui-select-color-text);height:calc(var(--das-ui-select-height-md) - 4px);line-height:calc(var(--das-ui-select-height-md) - 5px);font-size:var(--das-ui-select-tag-font-size-md);margin-bottom:0;margin-right:0}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selection-item{height:calc(var(--das-ui-select-height-md) - 4px);font-size:var(--das-ui-select-tag-font-size-md);margin-top:0;margin-bottom:0;border:none;background-color:transparent;-webkit-margin-end:0px;margin-inline-end:0px;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-sm .ant-tag{height:calc(var(--das-ui-select-height-sm) - 4px);line-height:calc(var(--das-ui-select-height-sm) - 5px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:calc(var(--das-ui-select-height-sm) - 2px);line-height:calc(var(--das-ui-select-height-sm) - 2px);font-size:var(--das-ui-select-tag-font-size-sm)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-sm)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:calc(var(--das-ui-select-height-lg) - 2px);line-height:calc(var(--das-ui-select-height-lg) - 2px)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-lg .ant-tag{height:calc(var(--das-ui-select-height-lg) - 8px);line-height:calc(var(--das-ui-select-height-lg) - 8px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:calc(var(--das-ui-select-height-lg) - 7px);line-height:calc(var(--das-ui-select-height-lg) - 7px);font-size:var(--das-ui-select-tag-font-size-lg)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-lg)}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-e54eb7cd] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-e54eb7cd] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-e54eb7cd] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-e54eb7cd] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-e54eb7cd] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-e54eb7cd] .ant-select .ant-select-selector{border-radius:0;border-color:transparent!important;border-bottom-color:var(--das-ui-select-color-underline)!important;background-color:transparent!important;padding:0!important}.das-ui-select.underline[data-v-e54eb7cd] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-e54eb7cd] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-e54eb7cd] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-e54eb7cd] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-e54eb7cd] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-e54eb7cd] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-disabled-underline)!important}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-e54eb7cd] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-e54eb7cd] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-e54eb7cd] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-e54eb7cd] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-e54eb7cd] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-disabled-border)!important}.das-ui-select.none[data-v-e54eb7cd] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-e54eb7cd] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:var(--das-ui-color-normal);border-color:transparent}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-e54eb7cd] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-e54eb7cd] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-e54eb7cd]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-e54eb7cd]{display:block;color:var(--das-ui-select-color-error)}.das-ui-select-dorpdown .hasNoData{padding:2px 0 6px;color:#212121;font-size:12px}.das-ui-select-dorpdown .das-select-checkbox.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox+span{padding:0!important}.das-ui-select-dorpdown .das-multiple-option-item{display:flex}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--das-ui-select-color-option-active-bg);font-weight:400;color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .das-multiple-option-item{color:var(--das-ui-select-color-text)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall{height:40px;line-height:40px;padding:0 12px;border-top:1px solid var(--das-ui-select-color-border)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked{font-size:12px;color:var(--das-ui-select-color-help)}.das-ui-select-dorpdown .das-ui-select-dropdown-checkall .das-ui-dropdown-has-checked .key{color:var(--das-ui-select-color-primary)}.das-ui-select-dorpdown .ant-select-item-option-state{display:none}.das-ui-select-dorpdown .das-ui-checkbox{display:inline-block;margin-right:5px}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-show{right:4px!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb{width:8px!important;left:1px!important;background:#b2b2b2!important}.das-ui-select-dorpdown .rc-virtual-list-scrollbar-thumb:hover{width:10px!important;left:0!important;background:#999!important}.das-ui-select-dorpdown .customDropdown{display:flex;align-items:center;padding:6px 12px 2px;cursor:pointer;border-top:1px solid #d9d9d9}.das-ui-select-dorpdown .customDropdown .el-input{height:28px}.das-ui-select-dorpdown .customDropdown .addBtn{margin-left:12px;cursor:pointer;flex-shrink:0;font-family:Microsoft YaHei;font-size:12px;font-weight:400;height:28px;line-height:28px;text-align:center;letter-spacing:0px;color:#212121}
|
|
Binary file
|