@das-fed/ui 6.4.0-dev.55.25 → 6.4.0-dev.55.27
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/cascader/index.js +41 -40
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/date-picker/index.js +238 -237
- 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/form-item/index.js +3 -3
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/input/index.js +76 -76
- package/packages/components/input/index.js.gz +0 -0
- 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 +18 -18
- 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 +63 -63
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +1 -3
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/menu-aside/index.js +680 -606
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/select/index.js +70 -70
- 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/special-range-picker-month/index.js +3 -3
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +42 -42
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +0 -20
- package/packages/components/table/index.js +0 -4
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/text-tooltip/index.js +150 -150
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +221 -221
- package/packages/components/tree/index.js.gz +0 -0
|
Binary file
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/select/style.css';
|
|
2
2
|
import { withInstall as Me } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as _e, useCssVars as nl, computed as d, ref as r, useSlots as il, onMounted as ie, onUnmounted as xe, watchEffect as ue, watch as
|
|
3
|
+
import { defineComponent as _e, useCssVars as nl, computed as d, ref as r, useSlots as il, onMounted as ie, onUnmounted as xe, watchEffect as ue, watch as Ce, nextTick as k, resolveComponent as ul, openBlock as u, createElementBlock as b, normalizeClass as dl, normalizeStyle as T, createVNode as x, unref as n, withCtx as p, withDirectives as U, createTextVNode as X, toDisplayString as I, createBlock as W, mergeProps as ze, isRef as cl, withModifiers as j, createSlots as vl, renderSlot as C, normalizeProps as G, guardReactiveProps as J, Fragment as Q, createCommentVNode as S, createElementVNode as m, withKeys as fl, Teleport as pl } from "vue";
|
|
4
4
|
import { Select as ml, Tag as de } from "ant-design-vue";
|
|
5
5
|
import "ant-design-vue/es/select/style/css";
|
|
6
6
|
import "ant-design-vue/es/tag/style/css";
|
|
7
|
-
import { DasCheckbox as
|
|
7
|
+
import { DasCheckbox as we } from "@das-fed/ui/packages/components/checkbox/index";
|
|
8
8
|
import { vScrollbar as ke } from "@das-fed/ui/packages/components/scrollbar/index";
|
|
9
|
-
import { DasTooltip as
|
|
9
|
+
import { DasTooltip as hl } from "@das-fed/ui/packages/components/tooltip/index";
|
|
10
10
|
import { vDasTooltip as Te } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
11
|
-
import { DasInput as
|
|
11
|
+
import { DasInput as bl } from "@das-fed/ui/packages/components/input/index";
|
|
12
12
|
import { DasIconXiala as yl } from "@das-fed/ui/packages/icons/xiala/index";
|
|
13
13
|
import { DasIconEmpty as gl } from "@das-fed/ui/packages/icons/empty/index";
|
|
14
14
|
import { vHoverInside as xl } from "@das-fed/utils/directive";
|
|
15
|
-
import { getVarValue as Ie, getVar as Se, setThemeRule as
|
|
16
|
-
import { useZIndex as
|
|
15
|
+
import { getVarValue as Ie, getVar as Se, setThemeRule as Cl } from "@das-fed/web/packages/theme/index";
|
|
16
|
+
import { useZIndex as wl } from "@das-fed/utils/hooks/popup-manager/use-zindex";
|
|
17
17
|
import { t as P, setI18nRule as kl } from "@das-fed/web/packages/i18n/index";
|
|
18
18
|
import { useModelValue as Tl } from "@das-fed/utils/vue";
|
|
19
19
|
import { SelectOption as Il } from "ant-design-vue/es";
|
|
@@ -64,10 +64,10 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
64
64
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
65
65
|
setup(M, { expose: $, emit: F }) {
|
|
66
66
|
nl((e) => ({
|
|
67
|
-
|
|
68
|
-
"
|
|
67
|
+
"5b198268": Pe.value,
|
|
68
|
+
"23705e76": Oe.value
|
|
69
69
|
}));
|
|
70
|
-
const l = M,
|
|
70
|
+
const l = M, w = F, s = Tl(l, "modelValue"), Y = d(() => {
|
|
71
71
|
var e;
|
|
72
72
|
return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
|
|
73
73
|
}), g = r(!1), Ve = d(() => l.placeholder || P("请选择")), Be = d(() => O.value ? O.value.querySelector(".ant-select-selector") : null), ce = r(null), ve = d(() => l.dropdownMode ?? l.mode ?? ""), L = r(null), $e = r(null), D = r(""), Fe = () => {
|
|
@@ -75,7 +75,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
75
75
|
}, Le = () => {
|
|
76
76
|
L.value = null;
|
|
77
77
|
}, fe = () => {
|
|
78
|
-
D.value && (
|
|
78
|
+
D.value && (w("addCustomItem", D.value), D.value = "", l.mode === "combobox" ? k(() => {
|
|
79
79
|
y.value.focus();
|
|
80
80
|
}) : y.value.focus());
|
|
81
81
|
}, pe = il(), ee = () => {
|
|
@@ -112,15 +112,15 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
112
112
|
}), ie(() => {
|
|
113
113
|
te.value = !0, l.focusOpen || (c.value = 1, i.value = c.value, g.value = !0);
|
|
114
114
|
});
|
|
115
|
-
const Pe = d(() => l.width ? l.width : "230px"), Oe = d(() => l.height ? l.height : "auto"),
|
|
116
|
-
"z-index":
|
|
117
|
-
})),
|
|
115
|
+
const Pe = d(() => l.width ? l.width : "230px"), Oe = d(() => l.height ? l.height : "auto"), he = r(3e3), Ae = d(() => ({
|
|
116
|
+
"z-index": he.value
|
|
117
|
+
})), be = d(() => {
|
|
118
118
|
var o;
|
|
119
119
|
let e = [];
|
|
120
120
|
if (l.mode != "combobox" && Array.isArray(s.value))
|
|
121
121
|
s.value.map((a) => {
|
|
122
|
-
var
|
|
123
|
-
let t = (
|
|
122
|
+
var h;
|
|
123
|
+
let t = (h = l.options) == null ? void 0 : h.find((v) => v[N.value] == a);
|
|
124
124
|
t && e.push(t[H.value]);
|
|
125
125
|
});
|
|
126
126
|
else if (l.mode == "combobox" && s.value) {
|
|
@@ -166,11 +166,11 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
166
166
|
})), se = r({
|
|
167
167
|
display: "block",
|
|
168
168
|
color: Ie("--das-ui-input-error-color").value,
|
|
169
|
-
"white-space": "break-spaces"
|
|
170
|
-
|
|
169
|
+
"white-space": "break-spaces"
|
|
170
|
+
// 'word-break': 'break-all',
|
|
171
171
|
}), Ze = () => {
|
|
172
|
-
var t,
|
|
173
|
-
const { top: e = 0, left: o = 0 } = (
|
|
172
|
+
var t, h, v, B, E, f;
|
|
173
|
+
const { top: e = 0, left: o = 0 } = ((h = (t = y.value) == null ? void 0 : t.$el) == null ? void 0 : h.getBoundingClientRect()) ?? {}, a = (B = (v = y.value) == null ? void 0 : v.$el) == null ? void 0 : B.clientHeight;
|
|
174
174
|
ye.value = (f = (E = y.value) == null ? void 0 : E.$el) == null ? void 0 : f.clientWidth, q.value.x = o, q.value.y = e + a;
|
|
175
175
|
}, Ue = () => {
|
|
176
176
|
Ze(), ae.value = !0;
|
|
@@ -179,10 +179,10 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
179
179
|
}, je = (e, o) => {
|
|
180
180
|
e ? Ue() : Xe();
|
|
181
181
|
}, Ge = (e) => {
|
|
182
|
-
e && (
|
|
182
|
+
e && (he.value = wl().nextZIndex(), D.value = ""), l.mode == "combobox" && (K.value = e, e || setTimeout(() => {
|
|
183
183
|
var o, a;
|
|
184
184
|
(a = (o = y.value) == null ? void 0 : o.blur) == null || a.call(o);
|
|
185
|
-
})),
|
|
185
|
+
})), w("dropdownVisibleChange", e);
|
|
186
186
|
}, Je = (e) => {
|
|
187
187
|
let o = e.toString();
|
|
188
188
|
return o.length > l.maxTagTextLength && (o = o.substr(0, l.maxTagTextLength) + "..."), o;
|
|
@@ -202,10 +202,10 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
202
202
|
return e.children[0];
|
|
203
203
|
}, ll = (e) => {
|
|
204
204
|
if (l.mode == "combobox") {
|
|
205
|
-
|
|
205
|
+
w("focus", e);
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
208
|
-
R.value = !0, l.focusOpen && !l.isExterControlCount && (i.value = _, g.value = !1),
|
|
208
|
+
R.value = !0, l.focusOpen && !l.isExterControlCount && (i.value = _, g.value = !1), w("focus", e);
|
|
209
209
|
}, K = r(!1), ol = () => {
|
|
210
210
|
var e, o;
|
|
211
211
|
if (l.mode == "combobox") {
|
|
@@ -223,16 +223,16 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
223
223
|
if (l.mode == "combobox") {
|
|
224
224
|
k(() => {
|
|
225
225
|
K.value = !1;
|
|
226
|
-
}),
|
|
226
|
+
}), w("blur", e);
|
|
227
227
|
return;
|
|
228
228
|
}
|
|
229
|
-
R.value = !1, l.focusOpen && !l.isExterControlCount && (V(), i.value = c.value, g.value = !0),
|
|
229
|
+
R.value = !1, l.focusOpen && !l.isExterControlCount && (V(), i.value = c.value, g.value = !0), w("blur", e);
|
|
230
230
|
}, al = (e) => {
|
|
231
231
|
e.onClose(), i.value = 100, k(() => {
|
|
232
232
|
l.mode !== "combobox" && le.value || l.focusOpen && (V(), i.value = c.value, g.value = !0);
|
|
233
233
|
});
|
|
234
234
|
};
|
|
235
|
-
|
|
235
|
+
Ce(
|
|
236
236
|
() => l.disabled || l.isView,
|
|
237
237
|
(e) => {
|
|
238
238
|
e && l.mode !== "combobox" && (R.value = !1);
|
|
@@ -262,13 +262,13 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
262
262
|
if (!o) return;
|
|
263
263
|
let a = o.offsetWidth - 5;
|
|
264
264
|
l.borderType === "underline" && (a -= 10);
|
|
265
|
-
const
|
|
265
|
+
const h = Math.ceil(ce.value.querySelector(".ant-tag").offsetWidth) + 4;
|
|
266
266
|
let v = e.querySelectorAll(".ant-select-selection-overflow-item");
|
|
267
267
|
if (v.length < 1) return;
|
|
268
268
|
i.value = _;
|
|
269
269
|
let B = 0;
|
|
270
270
|
for (let f = 0; f < v.length - 1 && !v[f].classList.contains("ant-select-selection-overflow-item-rest"); f++)
|
|
271
|
-
if (B += Math.ceil(v[f].offsetWidth), B <= a -
|
|
271
|
+
if (B += Math.ceil(v[f].offsetWidth), B <= a - h)
|
|
272
272
|
f >= s.value.length - 1 && B < a ? c.value = s.value.length : c.value = f + 1;
|
|
273
273
|
else {
|
|
274
274
|
f >= s.value.length - 1 && B < a ? c.value = s.value.length : c.value = f;
|
|
@@ -276,10 +276,10 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
276
276
|
}
|
|
277
277
|
if (c.value === 0) {
|
|
278
278
|
let f = v[0], rl = f.querySelector(".anticon-close") ? 86 : 69;
|
|
279
|
-
f && !f.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a -
|
|
279
|
+
f && !f.classList.contains("ant-select-selection-overflow-item-rest") && rl <= a - h && !pe.tagRender && (c.value = 1, f.classList.add("ellipsis"));
|
|
280
280
|
}
|
|
281
281
|
}, re = r(!1);
|
|
282
|
-
|
|
282
|
+
Ce(
|
|
283
283
|
() => s.value,
|
|
284
284
|
async () => {
|
|
285
285
|
if (re.value) {
|
|
@@ -292,14 +292,14 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
292
292
|
const ne = async (e, o) => {
|
|
293
293
|
re.value = !0, l.mode === "combobox" && (ee(), K.value = !1);
|
|
294
294
|
const a = e;
|
|
295
|
-
l.noDropdown && l.maxTagsLength < a.length && a.pop(), z.value = !0,
|
|
295
|
+
l.noDropdown && l.maxTagsLength < a.length && a.pop(), z.value = !0, w("update:model-value", a), w("change", a, o), i.value = _, await k(), await V(), z.value = !1, l.isExterControlCount && l.focusOpen && (i.value = A.value ? _ : c.value, g.value = !A.value), l.focusOpen || (i.value = c.value);
|
|
296
296
|
};
|
|
297
297
|
return $({
|
|
298
298
|
$select: y,
|
|
299
299
|
toChangeMaxCount: sl
|
|
300
300
|
}), (e, o) => {
|
|
301
301
|
const a = ul("v-nodes");
|
|
302
|
-
return u(),
|
|
302
|
+
return u(), b(
|
|
303
303
|
"div",
|
|
304
304
|
{
|
|
305
305
|
class: dl(["das-ui-select", [
|
|
@@ -313,17 +313,17 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
313
313
|
style: T(qe.value)
|
|
314
314
|
},
|
|
315
315
|
[
|
|
316
|
-
x(n(
|
|
316
|
+
x(n(hl), {
|
|
317
317
|
placement: "top",
|
|
318
318
|
trigger: "hover",
|
|
319
319
|
"virtual-triggering": "",
|
|
320
320
|
"virtual-ref": Be.value,
|
|
321
|
-
disabled: !e.isTooltip || z.value || !
|
|
321
|
+
disabled: !e.isTooltip || z.value || !be.value || !oe.value
|
|
322
322
|
}, {
|
|
323
323
|
content: p(() => [
|
|
324
|
-
U((u(),
|
|
324
|
+
U((u(), b("div", Sl, [
|
|
325
325
|
X(
|
|
326
|
-
I(
|
|
326
|
+
I(be.value),
|
|
327
327
|
1
|
|
328
328
|
/* TEXT */
|
|
329
329
|
)
|
|
@@ -365,18 +365,18 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
365
365
|
onBlur: tl
|
|
366
366
|
}), vl({
|
|
367
367
|
option: p((t) => [
|
|
368
|
-
|
|
369
|
-
var
|
|
368
|
+
C(e.$slots, "option", G(J(t)), () => {
|
|
369
|
+
var h;
|
|
370
370
|
return [
|
|
371
371
|
t.children && typeof t.children == "function" ? (u(), W(a, {
|
|
372
372
|
key: 0,
|
|
373
373
|
vnodes: t.children()
|
|
374
|
-
}, null, 8, ["vnodes"])) : (u(),
|
|
374
|
+
}, null, 8, ["vnodes"])) : (u(), b(
|
|
375
375
|
Q,
|
|
376
376
|
{ key: 1 },
|
|
377
377
|
[
|
|
378
378
|
S(' :option="{value, label, [disabled, key, title]}" '),
|
|
379
|
-
e.mode === "combobox" ? U((u(),
|
|
379
|
+
e.mode === "combobox" ? U((u(), b("div", Ml, [
|
|
380
380
|
X(
|
|
381
381
|
I(t[H.value]),
|
|
382
382
|
1
|
|
@@ -384,19 +384,19 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
384
384
|
)
|
|
385
385
|
])), [
|
|
386
386
|
[n(Te)]
|
|
387
|
-
]) : (u(),
|
|
387
|
+
]) : (u(), b(
|
|
388
388
|
Q,
|
|
389
389
|
{ key: 1 },
|
|
390
390
|
[
|
|
391
391
|
S(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
392
392
|
m("div", _l, [
|
|
393
|
-
(u(), W(n(
|
|
393
|
+
(u(), W(n(we), {
|
|
394
394
|
class: "das-select-checkbox",
|
|
395
|
-
modelValue: (
|
|
395
|
+
modelValue: (h = n(s)) == null ? void 0 : h.includes(t[N.value]),
|
|
396
396
|
key: t[N.value],
|
|
397
397
|
disabled: t.disabled
|
|
398
398
|
}, null, 8, ["modelValue", "disabled"])),
|
|
399
|
-
U((u(),
|
|
399
|
+
U((u(), b("div", zl, [
|
|
400
400
|
X(
|
|
401
401
|
I(t[H.value]),
|
|
402
402
|
1
|
|
@@ -418,11 +418,11 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
418
418
|
}, !0)
|
|
419
419
|
]),
|
|
420
420
|
tagRender: p((t) => [
|
|
421
|
-
|
|
421
|
+
C(e.$slots, "tagRender", G(J(t)), () => [
|
|
422
422
|
x(n(de), {
|
|
423
423
|
closable: t.closable,
|
|
424
424
|
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
425
|
-
onClose: (
|
|
425
|
+
onClose: (h) => al(t)
|
|
426
426
|
}, {
|
|
427
427
|
default: p(() => [
|
|
428
428
|
m(
|
|
@@ -442,12 +442,12 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
442
442
|
], !0)
|
|
443
443
|
]),
|
|
444
444
|
dropdownRender: p(({ menuNode: t }) => [
|
|
445
|
-
|
|
446
|
-
var
|
|
445
|
+
C(e.$slots, "dropdownRender", G(J({ menuNode: t })), () => {
|
|
446
|
+
var h;
|
|
447
447
|
return [
|
|
448
|
-
ve.value === "combobox" ? (u(),
|
|
448
|
+
ve.value === "combobox" ? (u(), b("div", Nl, [
|
|
449
449
|
x(a, { vnodes: t }, null, 8, ["vnodes"])
|
|
450
|
-
])) : ve.value === "custom" ? (u(),
|
|
450
|
+
])) : ve.value === "custom" ? (u(), b("div", {
|
|
451
451
|
key: 1,
|
|
452
452
|
onClick: o[2] || (o[2] = j(() => {
|
|
453
453
|
}, ["stop"]))
|
|
@@ -460,7 +460,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
460
460
|
onMousedown: o[1] || (o[1] = (v) => v.preventDefault())
|
|
461
461
|
},
|
|
462
462
|
[
|
|
463
|
-
x(n(
|
|
463
|
+
x(n(bl), {
|
|
464
464
|
ref_key: "testInput",
|
|
465
465
|
ref: $e,
|
|
466
466
|
modelValue: D.value,
|
|
@@ -485,9 +485,9 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
485
485
|
32
|
|
486
486
|
/* NEED_HYDRATION */
|
|
487
487
|
)
|
|
488
|
-
])) : (u(),
|
|
488
|
+
])) : (u(), b("div", Vl, [
|
|
489
489
|
x(a, { vnodes: t }, null, 8, ["vnodes"]),
|
|
490
|
-
(
|
|
490
|
+
(h = l.options) != null && h.length ? (u(), b(
|
|
491
491
|
"div",
|
|
492
492
|
{
|
|
493
493
|
key: 0,
|
|
@@ -496,7 +496,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
496
496
|
},
|
|
497
497
|
[
|
|
498
498
|
m("div", Bl, [
|
|
499
|
-
x(n(
|
|
499
|
+
x(n(we), {
|
|
500
500
|
modelValue: We.value,
|
|
501
501
|
indeterminate: Re.value,
|
|
502
502
|
onChange: Ye,
|
|
@@ -526,12 +526,12 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
526
526
|
}, !0)
|
|
527
527
|
]),
|
|
528
528
|
clearIcon: p(() => [
|
|
529
|
-
|
|
529
|
+
C(e.$slots, "clearIcon", {}, () => [
|
|
530
530
|
x(n(gl), { size: "medium" })
|
|
531
531
|
], !0)
|
|
532
532
|
]),
|
|
533
533
|
maxTagPlaceholder: p((t) => [
|
|
534
|
-
|
|
534
|
+
C(e.$slots, "maxTagPlaceholder", G(J(t)), () => [
|
|
535
535
|
S(" 隐藏tag时显示的内容 "),
|
|
536
536
|
x(n(de), {
|
|
537
537
|
style: T(l.size == "mini" || l.size == "table" ? { fontSize: "12px" } : {})
|
|
@@ -548,7 +548,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
548
548
|
], !0)
|
|
549
549
|
]),
|
|
550
550
|
suffixIcon: p(() => [
|
|
551
|
-
|
|
551
|
+
C(e.$slots, "suffixIcon", {}, () => [
|
|
552
552
|
x(n(yl), {
|
|
553
553
|
class: "das-suffix-icon",
|
|
554
554
|
size: "medium"
|
|
@@ -556,7 +556,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
556
556
|
], !0)
|
|
557
557
|
]),
|
|
558
558
|
default: p(() => [
|
|
559
|
-
|
|
559
|
+
C(e.$slots, "default", {}, void 0, !0)
|
|
560
560
|
]),
|
|
561
561
|
_: 2
|
|
562
562
|
/* DYNAMIC */
|
|
@@ -564,28 +564,28 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
564
564
|
e.$slots.menuItemSelectedIcon ? {
|
|
565
565
|
name: "menuItemSelectedIcon",
|
|
566
566
|
fn: p(() => [
|
|
567
|
-
|
|
567
|
+
C(e.$slots, "menuItemSelectedIcon", {}, void 0, !0)
|
|
568
568
|
]),
|
|
569
569
|
key: "0"
|
|
570
570
|
} : void 0,
|
|
571
571
|
e.$slots.notFoundContent ? {
|
|
572
572
|
name: "notFoundContent",
|
|
573
573
|
fn: p(() => [
|
|
574
|
-
|
|
574
|
+
C(e.$slots, "notFoundContent", {}, void 0, !0)
|
|
575
575
|
]),
|
|
576
576
|
key: "1"
|
|
577
577
|
} : void 0,
|
|
578
578
|
e.$slots.placeholder ? {
|
|
579
579
|
name: "placeholder",
|
|
580
580
|
fn: p(() => [
|
|
581
|
-
|
|
581
|
+
C(e.$slots, "placeholder", {}, void 0, !0)
|
|
582
582
|
]),
|
|
583
583
|
key: "2"
|
|
584
584
|
} : void 0,
|
|
585
585
|
e.$slots.removeIcon ? {
|
|
586
586
|
name: "removeIcon",
|
|
587
587
|
fn: p(() => [
|
|
588
|
-
|
|
588
|
+
C(e.$slots, "removeIcon", {}, void 0, !0)
|
|
589
589
|
]),
|
|
590
590
|
key: "3"
|
|
591
591
|
} : void 0
|
|
@@ -599,11 +599,11 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
599
599
|
>\r
|
|
600
600
|
<span v-if="error" class="das-select-error-label label">{{ errorLabel }}</span>\r
|
|
601
601
|
</div> `),
|
|
602
|
-
e.error && e.errorLabel ? (u(),
|
|
602
|
+
e.error && e.errorLabel ? (u(), b(
|
|
603
603
|
Q,
|
|
604
604
|
{ key: 0 },
|
|
605
605
|
[
|
|
606
|
-
e.errorMode === "default" ? (u(),
|
|
606
|
+
e.errorMode === "default" ? (u(), b("div", Ll, [
|
|
607
607
|
m(
|
|
608
608
|
"span",
|
|
609
609
|
{
|
|
@@ -613,7 +613,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
613
613
|
5
|
|
614
614
|
/* TEXT, STYLE */
|
|
615
615
|
)
|
|
616
|
-
])) : e.errorMode === "overlay" && ae.value ? (u(),
|
|
616
|
+
])) : e.errorMode === "overlay" && ae.value ? (u(), b(
|
|
617
617
|
Q,
|
|
618
618
|
{ key: 1 },
|
|
619
619
|
[
|
|
@@ -640,7 +640,7 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
640
640
|
4
|
|
641
641
|
/* STYLE */
|
|
642
642
|
)
|
|
643
|
-
])) : (u(),
|
|
643
|
+
])) : (u(), b(
|
|
644
644
|
"div",
|
|
645
645
|
{
|
|
646
646
|
key: 1,
|
|
@@ -707,10 +707,10 @@ const Sl = { style: { "max-height": "200px", overflow: "hidden" } }, Ml = { key:
|
|
|
707
707
|
}
|
|
708
708
|
}), Ne = (M, $) => {
|
|
709
709
|
const F = M.__vccOpts || M;
|
|
710
|
-
for (const [l,
|
|
711
|
-
F[l] =
|
|
710
|
+
for (const [l, w] of $)
|
|
711
|
+
F[l] = w;
|
|
712
712
|
return F;
|
|
713
|
-
}, Rl = /* @__PURE__ */ Ne(Wl, [["__scopeId", "data-v-
|
|
713
|
+
}, Rl = /* @__PURE__ */ Ne(Wl, [["__scopeId", "data-v-602946af"]]), Hl = {};
|
|
714
714
|
function ql(M, $) {
|
|
715
715
|
const F = Il;
|
|
716
716
|
return u(), W(
|
|
@@ -779,7 +779,7 @@ const Kl = /* @__PURE__ */ Ne(Hl, [["render", ql], ["__scopeId", "data-v-6b03e65
|
|
|
779
779
|
}
|
|
780
780
|
};
|
|
781
781
|
kl(Ul);
|
|
782
|
-
|
|
782
|
+
Cl(Zl);
|
|
783
783
|
const fo = Me(Rl), po = Me(Kl), mo = { name: "select 选择器" };
|
|
784
784
|
export {
|
|
785
785
|
fo as DasSelect,
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-38c1d138]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-38c1d138]{position:absolute;top:100%;left:0;width:var(--bfacb52a)}.das-ui-select.show-ellipsis[data-v-38c1d138] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-38c1d138] .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-38c1d138] .ant-select{width:100%;height:var(--4b3c0e22)}.das-ui-select[data-v-38c1d138] .ant-select .das-select-error-label-content{width:var(--bfacb52a);font-size:12px}.das-ui-select[data-v-38c1d138] .ant-select .das-select-error-label-content .label{display:block;color:var(--das-ui-input-error-color);white-space:break-spaces}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:1}.das-ui-select[data-v-38c1d138] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-38c1d138] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-38c1d138] .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-38c1d138] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-38c1d138] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-38c1d138] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .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-38c1d138] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-38c1d138] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-38c1d138] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-38c1d138] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-38c1d138] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-38c1d138] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-38c1d138] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-38c1d138] .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-38c1d138] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-38c1d138] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-38c1d138] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-38c1d138] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-38c1d138] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-38c1d138] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-38c1d138] .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-38c1d138] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-38c1d138] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-38c1d138] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-38c1d138] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-38c1d138] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-38c1d138] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-38c1d138] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-38c1d138] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-38c1d138] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-38c1d138] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-38c1d138] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-38c1d138] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-38c1d138] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-38c1d138] .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-38c1d138] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-38c1d138] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-38c1d138] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-38c1d138] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-38c1d138] .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-38c1d138] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-38c1d138] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-38c1d138] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-38c1d138]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-38c1d138]{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-602946af]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-602946af]{position:absolute;top:100%;left:0;width:var(--5b198268)}.das-ui-select.show-ellipsis[data-v-602946af] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-602946af] .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-602946af] .ant-select{width:100%;height:var(--23705e76)}.das-ui-select[data-v-602946af] .ant-select .das-select-error-label-content{width:var(--5b198268);font-size:12px}.das-ui-select[data-v-602946af] .ant-select .das-select-error-label-content .label{display:block;color:var(--das-ui-input-error-color);white-space:break-spaces}.das-ui-select[data-v-602946af] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%);z-index:1}.das-ui-select[data-v-602946af] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-602946af] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-602946af] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-602946af] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-602946af] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-602946af] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-602946af] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-602946af] .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-602946af] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-602946af] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-602946af] .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-602946af] .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-602946af] .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-602946af] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-602946af] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-602946af] .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-602946af] .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-602946af] .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-602946af] .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-602946af] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-602946af] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-602946af] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-602946af] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-602946af] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-602946af] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-602946af] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-602946af] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-602946af] .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-602946af] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-602946af] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-602946af] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-602946af] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-602946af] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-602946af] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-602946af] .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-602946af] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-602946af] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-602946af] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-602946af] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-602946af] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-602946af] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-602946af] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-602946af] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-602946af] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-602946af] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-602946af] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-602946af] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-602946af] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-602946af] .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-602946af] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-602946af] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-602946af] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-602946af] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-602946af] .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-602946af] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-602946af] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-602946af] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-602946af]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-602946af]{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}
|
|
Binary file
|
|
@@ -81,12 +81,12 @@ const G = () => ({ getDateTime: (o) => {
|
|
|
81
81
|
display: "block",
|
|
82
82
|
"text-align": "left",
|
|
83
83
|
color: W("--das-ui-special-range-picker-error").value,
|
|
84
|
-
"white-space": "break-spaces"
|
|
85
|
-
|
|
84
|
+
"white-space": "break-spaces"
|
|
85
|
+
// 'word-break': 'break-all',
|
|
86
86
|
}), g = () => {
|
|
87
87
|
var L, M, D;
|
|
88
88
|
o.value = (L = s.value) == null ? void 0 : L.clientWidth;
|
|
89
|
-
const { top: S, left: R } = (M = s.value) == null ? void 0 : M.getBoundingClientRect(), B = (D = s.value) == null ? void 0 : D.clientHeight;
|
|
89
|
+
const { top: S = 0, left: R = 0 } = ((M = s.value) == null ? void 0 : M.getBoundingClientRect()) ?? {}, B = (D = s.value) == null ? void 0 : D.clientHeight;
|
|
90
90
|
n.value.x = R, n.value.y = S + B;
|
|
91
91
|
};
|
|
92
92
|
return {
|
|
Binary file
|