@das-fed/upf-ui 6.4.0-dev.147 → 6.4.0-dev.148
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/components/select/index.d.ts +3 -0
- package/packages/components/select/index.js +68 -67
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/Select.vue.d.ts +1 -0
- package/packages/components/select/src/type.d.ts +2 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/table/index.js +3266 -3226
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/table-column/index.vue.d.ts +19 -18
- package/packages/components/table/src/table-column/type.d.ts +3 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tree/index.js +3 -2
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +8 -2
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.148",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/upf-ui": "6.4.0-dev.
|
|
29
|
+
"@das-fed/upf-ui": "6.4.0-dev.148",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/upf-cli": "6.4.0-dev.
|
|
60
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/upf-web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/upf-cli": "6.4.0-dev.148",
|
|
60
|
+
"@das-fed/upf-utils": "6.4.0-dev.148",
|
|
61
|
+
"@das-fed/upf-web": "6.4.0-dev.148",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -44,6 +44,7 @@ declare const DasSelect: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
44
44
|
noDropdown: boolean;
|
|
45
45
|
maxTagsLength: number;
|
|
46
46
|
isExterControlCount: boolean;
|
|
47
|
+
showSelectAll: boolean;
|
|
47
48
|
}, false, {}, {}, {
|
|
48
49
|
VNodes: (_: any, { attrs }: Omit<{
|
|
49
50
|
attrs: {
|
|
@@ -100,6 +101,7 @@ declare const DasSelect: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
100
101
|
noDropdown: boolean;
|
|
101
102
|
maxTagsLength: number;
|
|
102
103
|
isExterControlCount: boolean;
|
|
104
|
+
showSelectAll: boolean;
|
|
103
105
|
}>;
|
|
104
106
|
__isFragment?: never;
|
|
105
107
|
__isTeleport?: never;
|
|
@@ -149,6 +151,7 @@ declare const DasSelect: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
149
151
|
noDropdown: boolean;
|
|
150
152
|
maxTagsLength: number;
|
|
151
153
|
isExterControlCount: boolean;
|
|
154
|
+
showSelectAll: boolean;
|
|
152
155
|
}, {}, string, {}, {
|
|
153
156
|
VNodes: (_: any, { attrs }: Omit<{
|
|
154
157
|
attrs: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/select/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { defineComponent as
|
|
2
|
+
import { withInstall as Ae } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
+
import { defineComponent as Me, useCssVars as ul, computed as c, ref as n, watch as G, useSlots as il, onMounted as de, onUnmounted as Le, watchEffect as ce, nextTick as T, resolveComponent as dl, createElementBlock as g, openBlock as f, normalizeStyle as H, normalizeClass as cl, createVNode as y, withDirectives as ve, createCommentVNode as k, createElementVNode as h, unref as r, createBlock as Z, mergeProps as he, withModifiers as J, isRef as vl, createSlots as fl, withCtx as p, renderSlot as w, normalizeProps as Q, guardReactiveProps as Y, withKeys as pl, toDisplayString as W, createTextVNode as fe, Fragment as pe } from "vue";
|
|
4
4
|
import { Select as ml, Tag as me } from "ant-design-vue";
|
|
5
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";
|
|
@@ -8,8 +8,8 @@ import { DasTooltip as bl } from "@das-fed/upf-ui/packages/components/tooltip/in
|
|
|
8
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
|
-
import { DasIconEmpty as
|
|
12
|
-
import { DasErrorOverlayModel as
|
|
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
13
|
import { vHoverInside as xl } from "@das-fed/upf-utils/directive";
|
|
14
14
|
import { getVarValue as Tl, getVar as _e, 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";
|
|
@@ -19,15 +19,15 @@ 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
21
|
import { SelectOption as zl } from "ant-design-vue/es";
|
|
22
|
-
const _l = { key: 0 },
|
|
22
|
+
const _l = { key: 0 }, Al = { class: "das-multiple-option-item" }, Ml = { style: { display: "inline-block" } }, $l = { key: 0 }, Bl = { key: 2 }, Fl = { 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: A }) => A.vnodes
|
|
29
29
|
}
|
|
30
|
-
}), Zl = /* @__PURE__ */
|
|
30
|
+
}), Zl = /* @__PURE__ */ Me({
|
|
31
31
|
...Hl,
|
|
32
32
|
__name: "Select",
|
|
33
33
|
props: {
|
|
@@ -62,23 +62,24 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
62
62
|
errorModelZIndex: { default: 2e3 },
|
|
63
63
|
isExterControlCount: { type: Boolean, default: !1 },
|
|
64
64
|
dropdownMode: {},
|
|
65
|
-
inputAttrs: {}
|
|
65
|
+
inputAttrs: {},
|
|
66
|
+
showSelectAll: { type: Boolean, default: !0 }
|
|
66
67
|
},
|
|
67
68
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
68
|
-
setup(I, { expose:
|
|
69
|
+
setup(I, { expose: A, emit: M }) {
|
|
69
70
|
ul((e) => ({
|
|
70
|
-
"
|
|
71
|
-
|
|
71
|
+
"60aa6d07": Re.value,
|
|
72
|
+
ca578bf4: qe.value
|
|
72
73
|
}));
|
|
73
|
-
const l = I,
|
|
74
|
+
const l = I, C = M, s = Ll(l, "modelValue"), ee = c(() => {
|
|
74
75
|
var e;
|
|
75
76
|
return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
|
|
76
|
-
}),
|
|
77
|
+
}), $ = n(null), be = n(null), b = n(!1), K = c(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), Be = c(() => $.value ? $.value.querySelector(".ant-select-selector") : null), B = n(0), F = n(0), Fe = c(() => l.isTooltip && S.value ? !1 : !l.isTooltip || L.value || !Se.value || !ae.value), De = c(() => (Array.isArray(s.value) ? s.value.length : s.value) ? Se.value : K.value), ge = () => {
|
|
77
78
|
const e = l.size === "table" ? 12 : 14;
|
|
78
79
|
return Nl(K.value, e);
|
|
79
80
|
}, ye = () => {
|
|
80
81
|
var _, q, d;
|
|
81
|
-
const e = (_ =
|
|
82
|
+
const e = (_ = $.value) == null ? void 0 : _.querySelector(".ant-select-selection-placeholder"), t = (d = (q = x.value) == null ? void 0 : q.$el) == null ? void 0 : d.querySelectorAll(".ant-select-selection-item");
|
|
82
83
|
t && t.length && t.forEach((ie) => ie.removeAttribute("title"));
|
|
83
84
|
let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
|
|
84
85
|
if (a === 0) return a;
|
|
@@ -87,7 +88,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
87
88
|
}, S = n(!1);
|
|
88
89
|
G(() => [K.value, s.value], () => {
|
|
89
90
|
T(() => {
|
|
90
|
-
|
|
91
|
+
F.value = ye(), B.value = ge(), ((Array.isArray(s.value) ? s.value.length : s.value) || F.value === B.value || B.value - F.value < 1) && (S.value = !1);
|
|
91
92
|
});
|
|
92
93
|
}), G(
|
|
93
94
|
() => {
|
|
@@ -104,12 +105,12 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
104
105
|
}));
|
|
105
106
|
}
|
|
106
107
|
);
|
|
107
|
-
const
|
|
108
|
+
const we = n(null), Ce = c(() => l.dropdownMode ?? l.mode ?? ""), D = n(null), Ee = n(null), E = n(""), Oe = () => {
|
|
108
109
|
D.value = !0;
|
|
109
110
|
}, We = () => {
|
|
110
111
|
D.value = null;
|
|
111
112
|
}, xe = () => {
|
|
112
|
-
E.value && (
|
|
113
|
+
E.value && (C("addCustomItem", E.value), T(() => {
|
|
113
114
|
x.value.focus(), E.value = "";
|
|
114
115
|
}));
|
|
115
116
|
}, Te = il(), le = () => {
|
|
@@ -192,9 +193,9 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
192
193
|
"white-space": "break-spaces"
|
|
193
194
|
}), O = n(), Ge = () => {
|
|
194
195
|
var a;
|
|
195
|
-
|
|
196
|
+
F.value = ye(), B.value = ge();
|
|
196
197
|
let e = (a = x.value) == null ? void 0 : a.$el.querySelectorAll(".ant-select-selection-item");
|
|
197
|
-
!!(Array.isArray(s.value) ? s.value.length : e != null && e.length) ||
|
|
198
|
+
!!(Array.isArray(s.value) ? s.value.length : e != null && e.length) || F.value === B.value || B.value - F.value < 1 ? S.value = !1 : (S.value = !0, O.value && clearTimeout(O.value)), ne.value = !0;
|
|
198
199
|
}, Je = () => {
|
|
199
200
|
O.value = setTimeout(() => {
|
|
200
201
|
S.value = !1;
|
|
@@ -205,11 +206,11 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
205
206
|
e && (Ie.value = Vl().nextZIndex(), E.value = ""), j.value = e, l.mode == "combobox" && (e || setTimeout(() => {
|
|
206
207
|
var t, a;
|
|
207
208
|
(a = (t = x.value) == null ? void 0 : t.blur) == null || a.call(t);
|
|
208
|
-
})),
|
|
209
|
+
})), C("dropdownVisibleChange", e);
|
|
209
210
|
}, el = (e) => {
|
|
210
211
|
let t = e.toString();
|
|
211
212
|
return t.length > l.maxTagTextLength && (t = t.substr(0, l.maxTagTextLength) + "..."), t;
|
|
212
|
-
}, ll = (e) => l.isRenderNode ?
|
|
213
|
+
}, ll = (e) => l.isRenderNode ? $.value : l.getPopupContainer === void 0 ? document.body : l.getPopupContainer(e), tl = (e) => {
|
|
213
214
|
if (e) {
|
|
214
215
|
Array.isArray(s.value) || (s.value = []);
|
|
215
216
|
let t = s.value, a = [];
|
|
@@ -225,10 +226,10 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
225
226
|
return e.children[0];
|
|
226
227
|
}, al = (e) => {
|
|
227
228
|
if (l.mode == "combobox") {
|
|
228
|
-
|
|
229
|
+
C("focus", e);
|
|
229
230
|
return;
|
|
230
231
|
}
|
|
231
|
-
te.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = V, b.value = !1),
|
|
232
|
+
te.value = !0, l.focusOpen && !l.isExterControlCount && (u.value = V, b.value = !1), C("focus", e);
|
|
232
233
|
}, j = n(!1), sl = () => {
|
|
233
234
|
j.value || setTimeout(() => {
|
|
234
235
|
var e, t;
|
|
@@ -238,10 +239,10 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
238
239
|
if (T(() => {
|
|
239
240
|
j.value = !1;
|
|
240
241
|
}), l.mode == "combobox") {
|
|
241
|
-
|
|
242
|
+
C("blur", e);
|
|
242
243
|
return;
|
|
243
244
|
}
|
|
244
|
-
te.value = !1, l.focusOpen && !l.isExterControlCount && (z(), u.value = i.value, b.value = !0),
|
|
245
|
+
te.value = !1, l.focusOpen && !l.isExterControlCount && (z(), u.value = i.value, b.value = !0), C("blur", e);
|
|
245
246
|
}, nl = (e) => {
|
|
246
247
|
e.onClose(), u.value = 100, T(() => {
|
|
247
248
|
l.mode !== "combobox" && oe.value || l.focusOpen && (z(), u.value = i.value, b.value = !0);
|
|
@@ -269,7 +270,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
269
270
|
e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100, T(() => {
|
|
270
271
|
z(), u.value = i.value, b.value = !0;
|
|
271
272
|
}));
|
|
272
|
-
}), X.observe(
|
|
273
|
+
}), X.observe($.value);
|
|
273
274
|
}), Le(() => {
|
|
274
275
|
X && X.disconnect();
|
|
275
276
|
});
|
|
@@ -281,7 +282,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
281
282
|
if (!t) return;
|
|
282
283
|
let a = t.offsetWidth - 5;
|
|
283
284
|
l.borderType === "underline" && (a -= 10);
|
|
284
|
-
const m = Math.ceil(
|
|
285
|
+
const m = Math.ceil(we.value.querySelector(".ant-tag").offsetWidth) + 4;
|
|
285
286
|
let v = e.querySelectorAll(".ant-select-selection-overflow-item");
|
|
286
287
|
if (v.length < 1) return;
|
|
287
288
|
u.value = V;
|
|
@@ -311,9 +312,9 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
311
312
|
const ue = async (e, t) => {
|
|
312
313
|
re.value = !0, j.value = !1, l.mode === "combobox" && le();
|
|
313
314
|
const a = e;
|
|
314
|
-
l.noDropdown && l.maxTagsLength < a.length && a.pop(), L.value = !0,
|
|
315
|
+
l.noDropdown && l.maxTagsLength < a.length && a.pop(), L.value = !0, C("update:model-value", a), C("change", a, t), u.value = V, await T(), await z(), L.value = !1, l.isExterControlCount && l.focusOpen && (u.value = R.value ? V : i.value, b.value = !R.value), l.focusOpen || (u.value = i.value);
|
|
315
316
|
};
|
|
316
|
-
return
|
|
317
|
+
return A({
|
|
317
318
|
$select: x,
|
|
318
319
|
toChangeMaxCount: rl
|
|
319
320
|
}), (e, t) => {
|
|
@@ -328,7 +329,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
328
329
|
b.value ? "show-ellipsis" : ""
|
|
329
330
|
]]),
|
|
330
331
|
ref_key: "$selectBox",
|
|
331
|
-
ref:
|
|
332
|
+
ref: $,
|
|
332
333
|
style: H(je.value)
|
|
333
334
|
},
|
|
334
335
|
[
|
|
@@ -337,8 +338,8 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
337
338
|
ref: be,
|
|
338
339
|
placement: "top",
|
|
339
340
|
"virtual-triggering": "",
|
|
340
|
-
"virtual-ref":
|
|
341
|
-
disabled:
|
|
341
|
+
"virtual-ref": Be.value,
|
|
342
|
+
disabled: Fe.value,
|
|
342
343
|
content: De.value
|
|
343
344
|
}, null, 8, ["virtual-ref", "disabled", "content"]),
|
|
344
345
|
ve((f(), Z(r(ml), he({ mode: e.mode }, e.$attrs, {
|
|
@@ -371,7 +372,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
371
372
|
onBlur: Ve
|
|
372
373
|
}), fl({
|
|
373
374
|
option: p((o) => [
|
|
374
|
-
|
|
375
|
+
w(e.$slots, "option", Q(Y(o)), () => {
|
|
375
376
|
var m;
|
|
376
377
|
return [
|
|
377
378
|
o.children && typeof o.children == "function" ? (f(), Z(a, {
|
|
@@ -395,14 +396,14 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
395
396
|
{ key: 1 },
|
|
396
397
|
[
|
|
397
398
|
k(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
398
|
-
h("div",
|
|
399
|
+
h("div", Al, [
|
|
399
400
|
(f(), Z(r(Ne), {
|
|
400
401
|
class: "das-select-checkbox",
|
|
401
402
|
modelValue: (m = r(s)) == null ? void 0 : m.includes(o[N.value]),
|
|
402
403
|
key: o[N.value],
|
|
403
404
|
disabled: o.disabled
|
|
404
405
|
}, null, 8, ["modelValue", "disabled"])),
|
|
405
|
-
ve((f(), g("div",
|
|
406
|
+
ve((f(), g("div", Ml, [
|
|
406
407
|
fe(
|
|
407
408
|
W(o[U.value]),
|
|
408
409
|
1
|
|
@@ -424,7 +425,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
424
425
|
}, !0)
|
|
425
426
|
]),
|
|
426
427
|
tagRender: p((o) => [
|
|
427
|
-
|
|
428
|
+
w(e.$slots, "tagRender", Q(Y(o)), () => [
|
|
428
429
|
y(r(me), {
|
|
429
430
|
closable: o.closable,
|
|
430
431
|
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
@@ -448,12 +449,12 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
448
449
|
], !0)
|
|
449
450
|
]),
|
|
450
451
|
dropdownRender: p(({ menuNode: o }) => [
|
|
451
|
-
|
|
452
|
+
w(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
|
|
452
453
|
var m;
|
|
453
454
|
return [
|
|
454
|
-
|
|
455
|
+
Ce.value === "combobox" ? (f(), g("div", $l, [
|
|
455
456
|
y(a, { vnodes: o }, null, 8, ["vnodes"])
|
|
456
|
-
])) :
|
|
457
|
+
])) : Ce.value === "custom" ? (f(), g("div", {
|
|
457
458
|
key: 1,
|
|
458
459
|
onClick: t[2] || (t[2] = J(() => {
|
|
459
460
|
}, ["stop"]))
|
|
@@ -491,9 +492,9 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
491
492
|
32
|
|
492
493
|
/* NEED_HYDRATION */
|
|
493
494
|
)
|
|
494
|
-
])) : (f(), g("div",
|
|
495
|
+
])) : (f(), g("div", Bl, [
|
|
495
496
|
y(a, { vnodes: o }, null, 8, ["vnodes"]),
|
|
496
|
-
(m = l.options) != null && m.length ? (f(), g(
|
|
497
|
+
(m = l.options) != null && m.length && l.showSelectAll ? (f(), g(
|
|
497
498
|
"div",
|
|
498
499
|
{
|
|
499
500
|
key: 0,
|
|
@@ -501,7 +502,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
501
502
|
onMousedown: t[3] || (t[3] = (v) => v.preventDefault())
|
|
502
503
|
},
|
|
503
504
|
[
|
|
504
|
-
h("div",
|
|
505
|
+
h("div", Fl, [
|
|
505
506
|
y(r(Ne), {
|
|
506
507
|
modelValue: Ze.value,
|
|
507
508
|
indeterminate: Ke.value,
|
|
@@ -532,12 +533,12 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
532
533
|
}, !0)
|
|
533
534
|
]),
|
|
534
535
|
clearIcon: p(() => [
|
|
535
|
-
|
|
536
|
-
y(r(
|
|
536
|
+
w(e.$slots, "clearIcon", {}, () => [
|
|
537
|
+
y(r(wl), { size: "medium" })
|
|
537
538
|
], !0)
|
|
538
539
|
]),
|
|
539
540
|
maxTagPlaceholder: p((o) => [
|
|
540
|
-
|
|
541
|
+
w(e.$slots, "maxTagPlaceholder", Q(Y(o)), () => [
|
|
541
542
|
k(" 隐藏tag时显示的内容 "),
|
|
542
543
|
y(r(me), {
|
|
543
544
|
style: H(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
@@ -554,7 +555,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
554
555
|
], !0)
|
|
555
556
|
]),
|
|
556
557
|
notFoundContent: p(() => [
|
|
557
|
-
|
|
558
|
+
w(e.$slots, "notFoundContent", {}, () => [
|
|
558
559
|
t[6] || (t[6] = h(
|
|
559
560
|
"div",
|
|
560
561
|
{ class: "hasNoData" },
|
|
@@ -565,7 +566,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
565
566
|
], !0)
|
|
566
567
|
]),
|
|
567
568
|
suffixIcon: p(() => [
|
|
568
|
-
|
|
569
|
+
w(e.$slots, "suffixIcon", {}, () => [
|
|
569
570
|
y(r(yl), {
|
|
570
571
|
class: "das-suffix-icon",
|
|
571
572
|
size: "medium"
|
|
@@ -573,7 +574,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
573
574
|
], !0)
|
|
574
575
|
]),
|
|
575
576
|
default: p(() => [
|
|
576
|
-
|
|
577
|
+
w(e.$slots, "default", {}, void 0, !0)
|
|
577
578
|
]),
|
|
578
579
|
_: 2
|
|
579
580
|
/* DYNAMIC */
|
|
@@ -581,21 +582,21 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
581
582
|
e.$slots.menuItemSelectedIcon ? {
|
|
582
583
|
name: "menuItemSelectedIcon",
|
|
583
584
|
fn: p(() => [
|
|
584
|
-
|
|
585
|
+
w(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
|
|
585
586
|
]),
|
|
586
587
|
key: "0"
|
|
587
588
|
} : void 0,
|
|
588
589
|
e.$slots.placeholder ? {
|
|
589
590
|
name: "placeholder",
|
|
590
591
|
fn: p(() => [
|
|
591
|
-
|
|
592
|
+
w(e.$slots, "placeholder", {}, void 0, !0)
|
|
592
593
|
]),
|
|
593
594
|
key: "1"
|
|
594
595
|
} : void 0,
|
|
595
596
|
e.$slots.removeIcon ? {
|
|
596
597
|
name: "removeIcon",
|
|
597
598
|
fn: p(() => [
|
|
598
|
-
|
|
599
|
+
w(e.$slots, "removeIcon", {}, void 0, !0)
|
|
599
600
|
]),
|
|
600
601
|
key: "2"
|
|
601
602
|
} : void 0
|
|
@@ -618,7 +619,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
618
619
|
/* TEXT, STYLE */
|
|
619
620
|
)
|
|
620
621
|
])) : k("v-if", !0),
|
|
621
|
-
e.errorMode === "overlay" && ne.value ? (f(), Z(r(
|
|
622
|
+
e.errorMode === "overlay" && ne.value ? (f(), Z(r(Cl), {
|
|
622
623
|
key: 1,
|
|
623
624
|
errorLabel: e.errorLabel,
|
|
624
625
|
getEl: () => x.value.$el,
|
|
@@ -633,7 +634,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
633
634
|
{
|
|
634
635
|
class: "ant-select-selection-overflow",
|
|
635
636
|
ref_key: "virtualTotalCount",
|
|
636
|
-
ref:
|
|
637
|
+
ref: we,
|
|
637
638
|
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
638
639
|
},
|
|
639
640
|
[
|
|
@@ -664,23 +665,23 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
664
665
|
);
|
|
665
666
|
};
|
|
666
667
|
}
|
|
667
|
-
}),
|
|
668
|
-
const
|
|
669
|
-
for (const [l,
|
|
670
|
-
|
|
671
|
-
return
|
|
672
|
-
}, Kl = /* @__PURE__ */
|
|
673
|
-
function jl(I,
|
|
674
|
-
const
|
|
668
|
+
}), $e = (I, A) => {
|
|
669
|
+
const M = I.__vccOpts || I;
|
|
670
|
+
for (const [l, C] of A)
|
|
671
|
+
M[l] = C;
|
|
672
|
+
return M;
|
|
673
|
+
}, Kl = /* @__PURE__ */ $e(Zl, [["__scopeId", "data-v-5233ac9c"]]), Ul = {};
|
|
674
|
+
function jl(I, A) {
|
|
675
|
+
const M = zl;
|
|
675
676
|
return f(), Z(
|
|
676
|
-
|
|
677
|
+
M,
|
|
677
678
|
he({ class: "das-ui-select-option" }, I.$attrs),
|
|
678
679
|
null,
|
|
679
680
|
16
|
|
680
681
|
/* FULL_PROPS */
|
|
681
682
|
);
|
|
682
683
|
}
|
|
683
|
-
const Xl = /* @__PURE__ */
|
|
684
|
+
const Xl = /* @__PURE__ */ $e(Ul, [["render", jl]]), Gl = {
|
|
684
685
|
"--das-ui-select-color-bg": "#FFFFFF",
|
|
685
686
|
// 默认背景色
|
|
686
687
|
"--das-ui-select-color-primary": _e("--das-ui-color-primary"),
|
|
@@ -739,9 +740,9 @@ const Xl = /* @__PURE__ */ Fe(Ul, [["render", jl]]), Gl = {
|
|
|
739
740
|
};
|
|
740
741
|
Sl(Jl);
|
|
741
742
|
kl(Gl);
|
|
742
|
-
const yt =
|
|
743
|
+
const yt = Ae(Kl), wt = Ae(Xl), Ct = { name: "select 选择器" };
|
|
743
744
|
export {
|
|
744
745
|
yt as DasSelect,
|
|
745
|
-
|
|
746
|
-
|
|
746
|
+
wt as DasSelectOption,
|
|
747
|
+
Ct as default
|
|
747
748
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-806fc66f]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-806fc66f]{position:absolute;top:100%;left:0;width:var(--5b00abb6)}.das-ui-select.show-ellipsis[data-v-806fc66f] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-806fc66f] .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-806fc66f] .ant-select{width:100%;height:var(--63a6a0a8)}.das-ui-select[data-v-806fc66f] .ant-select .das-select-error-label-content{width:var(--5b00abb6);font-size:12px}.das-ui-select[data-v-806fc66f] .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-806fc66f] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-806fc66f] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-806fc66f] .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-806fc66f] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-806fc66f] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-806fc66f] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-806fc66f] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-806fc66f] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-806fc66f] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-806fc66f] .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-806fc66f] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-806fc66f] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-806fc66f] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .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-806fc66f] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-806fc66f] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-806fc66f] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-806fc66f] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-806fc66f] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-806fc66f] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-806fc66f] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-806fc66f] .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-806fc66f] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-806fc66f] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-806fc66f] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-806fc66f] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-806fc66f] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-806fc66f] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-806fc66f] .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-806fc66f] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-806fc66f] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-806fc66f] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-806fc66f] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-806fc66f] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-806fc66f] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-806fc66f] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-806fc66f] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-806fc66f] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-806fc66f] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-806fc66f] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-806fc66f] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-806fc66f] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-806fc66f] .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-806fc66f] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-806fc66f] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-806fc66f] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-806fc66f] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-806fc66f] .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-806fc66f] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-806fc66f] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-806fc66f] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-806fc66f]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-806fc66f]{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}
|
|
1
|
+
.das-ui-select[data-v-5233ac9c]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-5233ac9c]{position:absolute;top:100%;left:0;width:var(--60aa6d07)}.das-ui-select.show-ellipsis[data-v-5233ac9c] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-5233ac9c] .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-5233ac9c] .ant-select{width:100%;height:var(--ca578bf4)}.das-ui-select[data-v-5233ac9c] .ant-select .das-select-error-label-content{width:var(--60aa6d07);font-size:12px}.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-5233ac9c] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-5233ac9c] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-5233ac9c] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-5233ac9c] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-5233ac9c] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-5233ac9c] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-5233ac9c] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-5233ac9c] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .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-5233ac9c] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-5233ac9c] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-5233ac9c] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-5233ac9c] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-5233ac9c] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-5233ac9c] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-5233ac9c] .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-5233ac9c] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-5233ac9c] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-5233ac9c] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-5233ac9c] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-5233ac9c] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-5233ac9c] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-5233ac9c] .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-5233ac9c] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-5233ac9c] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-5233ac9c] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-5233ac9c] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-5233ac9c] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-5233ac9c] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-5233ac9c] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-5233ac9c] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-5233ac9c] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-5233ac9c] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-5233ac9c] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-5233ac9c] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-5233ac9c] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-5233ac9c] .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-5233ac9c] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-5233ac9c] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-5233ac9c] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-5233ac9c] .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-5233ac9c] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-5233ac9c] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-5233ac9c] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-5233ac9c]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-5233ac9c]{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
|