@das-fed/upf-ui 6.4.0-dev.142 → 6.4.0-dev.143
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/form/index.js +49 -42
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +334 -333
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/select/index.js +75 -75
- 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/table/index.js +3594 -3543
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/table-column/index.vue.d.ts +14 -11
- package/packages/components/table/src/type.d.ts +3 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-form-item[data-v-
|
|
1
|
+
.das-ui-form-item[data-v-5cb123ec]{display:flex;flex-direction:column;min-width:0}.das-ui-form-item.marin-right-0[data-v-5cb123ec]{margin-right:0!important}.das-ui-form-item.top[data-v-5cb123ec]{align-items:flex-start!important}.das-ui-form-item.top .das-ui-form-item-label[data-v-5cb123ec]{margin-bottom:3px;margin-right:0!important}.das-ui-form-item.left[data-v-5cb123ec]{flex-direction:row}.das-ui-form-item.left .das-ui-form-item-label[data-v-5cb123ec]{text-align:left}.das-ui-form-item.right[data-v-5cb123ec]{flex-direction:row}.das-ui-form-item.right .das-ui-form-item-label[data-v-5cb123ec]{text-align:right}.das-ui-form-item.right .das-ui-form-item-label .label[data-v-5cb123ec]{width:auto}.das-ui-form-item.flex-layout[data-v-5cb123ec]{width:100%}.das-ui-form-item .das-ui-form-item-label[data-v-5cb123ec]{flex-shrink:0}.das-ui-form-item .das-ui-form-item-label.size-small[data-v-5cb123ec]{height:24px;line-height:24px;font-size:12px}.das-ui-form-item .das-ui-form-item-label.size-default[data-v-5cb123ec]{height:32px;line-height:32px;font-size:14px}.das-ui-form-item .das-ui-form-item-label.size-large[data-v-5cb123ec]{height:40px;line-height:40px;font-size:14px}.das-ui-form-item .das-ui-form-item-label .label[data-v-5cb123ec]{width:fit-content;position:relative;max-width:100%;display:flex;align-items:center;color:var(--das-ui-form-label-normal)}.das-ui-form-item .das-ui-form-item-label .label .label-context[data-v-5cb123ec]{width:100%}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner[data-v-5cb123ec]{position:relative}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner.required-mark[data-v-5cb123ec]{position:relative;padding-left:var(--a7da2c28)}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner.required-mark[data-v-5cb123ec]:before{content:"*";position:absolute;left:0;width:var(--a7da2c28);color:var(--das-ui-form-error-label-color);font-weight:700}.das-ui-form-item .das-ui-form-item-label .label .help-icon-container[data-v-5cb123ec]{height:100%;display:flex;align-items:center;justify-content:center}.das-ui-form-item .das-ui-form-container[data-v-5cb123ec]{flex:1;display:flex;position:relative}.das-ui-form-item .das-ui-form-container .error-label[data-v-5cb123ec]{position:absolute;height:22px;width:100%;font-size:12px;left:0;top:100%;line-height:18px;font-weight:400;letter-spacing:0;color:var(--das-ui-form-error-label-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-form-item .das-ui-form-container .error-label--overlay[data-v-5cb123ec]{position:absolute;width:100%;left:0;top:100%;background-color:var(--das-ui-color-overlay-error);box-shadow:0 4px 10px #0003;border-radius:1px;padding:2px 8px;box-sizing:border-box;font-size:12px;z-index:99;color:var(--das-ui-form-error-label-color)}.das-form-item-overlay-error-label-content[data-v-5cb123ec]{position:absolute;top:100%;left:0;width:var(--422eaf3f)}.das-ui-form-item.flex-layout .das-ui-form-container .das-ui-input{width:100%}
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/select/style.css';
|
|
2
2
|
import { withInstall as Me } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { defineComponent as $e, useCssVars as ul, computed as
|
|
3
|
+
import { defineComponent as $e, 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 C, 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
|
-
import { DasCheckbox as
|
|
5
|
+
import { DasCheckbox as Ne } from "@das-fed/upf-ui/packages/components/checkbox/index";
|
|
6
6
|
import { vScrollbar as hl } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
7
7
|
import { DasTooltip as bl } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
8
|
-
import { vDasTooltip as
|
|
8
|
+
import { vDasTooltip as ze } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
9
9
|
import { DasInput as gl } from "@das-fed/upf-ui/packages/components/input/index";
|
|
10
10
|
import { DasIconXiala as yl } from "@das-fed/upf-ui/packages/icons/xiala/index";
|
|
11
11
|
import { DasIconEmpty as Cl } from "@das-fed/upf-ui/packages/icons/empty/index";
|
|
@@ -14,11 +14,11 @@ 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";
|
|
16
16
|
import { useZIndex as Vl } from "@das-fed/upf-utils/hooks/popup-manager/use-zindex";
|
|
17
|
-
import { useModelValue as
|
|
18
|
-
import { calcTextWidth as
|
|
17
|
+
import { useModelValue as Ll } from "@das-fed/upf-utils/vue";
|
|
18
|
+
import { calcTextWidth as Nl } from "@das-fed/upf-utils/common-tools";
|
|
19
19
|
import "ant-design-vue/es/select/style/css";
|
|
20
20
|
import "ant-design-vue/es/tag/style/css";
|
|
21
|
-
import { SelectOption as
|
|
21
|
+
import { SelectOption as zl } from "ant-design-vue/es";
|
|
22
22
|
const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style: { display: "inline-block" } }, Fl = { key: 0 }, Al = { key: 2 }, Bl = { style: { display: "inline-block" } }, Dl = ["innerHTML"], El = ["innerHTML"], Ol = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "das-select-error-label-content das-select-label-content"
|
|
@@ -67,23 +67,23 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
67
67
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
68
68
|
setup(I, { expose: M, emit: $ }) {
|
|
69
69
|
ul((e) => ({
|
|
70
|
-
"
|
|
71
|
-
"
|
|
70
|
+
"5b00abb6": Re.value,
|
|
71
|
+
"63a6a0a8": qe.value
|
|
72
72
|
}));
|
|
73
|
-
const l = I, w = $, s =
|
|
73
|
+
const l = I, w = $, s = Ll(l, "modelValue"), ee = c(() => {
|
|
74
74
|
var e;
|
|
75
75
|
return `<span class='key'>${((e = s.value) == null ? void 0 : e.length) ?? 0}</span>`;
|
|
76
|
-
}), F = n(null), be = n(null), b = n(!1), K =
|
|
76
|
+
}), F = n(null), be = n(null), b = n(!1), K = c(() => l.isView ? l.noSetDefaultVal ? "" : "-" : l.placeholder || P("请选择")), Ae = c(() => F.value ? F.value.querySelector(".ant-select-selector") : null), A = n(0), B = n(0), Be = 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
77
|
const e = l.size === "table" ? 12 : 14;
|
|
78
|
-
return
|
|
78
|
+
return Nl(K.value, e);
|
|
79
79
|
}, ye = () => {
|
|
80
|
-
var _, q,
|
|
81
|
-
const e = (_ = F.value) == null ? void 0 : _.querySelector(".ant-select-selection-placeholder"), t = (
|
|
80
|
+
var _, q, d;
|
|
81
|
+
const e = (_ = F.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
82
|
t && t.length && t.forEach((ie) => ie.removeAttribute("title"));
|
|
83
83
|
let a = (e == null ? void 0 : e.offsetWidth) ?? 0;
|
|
84
84
|
if (a === 0) return a;
|
|
85
|
-
const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight),
|
|
86
|
-
return a - m -
|
|
85
|
+
const o = window.getComputedStyle(e, null), m = parseFloat(o.paddingRight), v = parseFloat(o.paddingLeft);
|
|
86
|
+
return a - m - v;
|
|
87
87
|
}, S = n(!1);
|
|
88
88
|
G(() => [K.value, s.value], () => {
|
|
89
89
|
T(() => {
|
|
@@ -104,7 +104,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
104
104
|
}));
|
|
105
105
|
}
|
|
106
106
|
);
|
|
107
|
-
const Ce = n(null), we =
|
|
107
|
+
const Ce = n(null), we = c(() => l.dropdownMode ?? l.mode ?? ""), D = n(null), Ee = n(null), E = n(""), Oe = () => {
|
|
108
108
|
D.value = !0;
|
|
109
109
|
}, We = () => {
|
|
110
110
|
D.value = null;
|
|
@@ -119,13 +119,13 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
119
119
|
};
|
|
120
120
|
de(() => {
|
|
121
121
|
document.addEventListener("click", le);
|
|
122
|
-
}),
|
|
122
|
+
}), Le(() => {
|
|
123
123
|
document.removeEventListener("click", le);
|
|
124
124
|
});
|
|
125
|
-
const x = n(), ke = n(), te = n(!1), oe =
|
|
125
|
+
const x = n(), ke = n(), te = n(!1), oe = c(() => {
|
|
126
126
|
if (D.value !== null) return D.value;
|
|
127
127
|
if (l.open !== void 0) return l.open;
|
|
128
|
-
}), V = 1e6, u = n(100), i = n(100),
|
|
128
|
+
}), V = 1e6, u = n(100), i = n(100), L = n(!1), ae = n(!0), se = n(!1);
|
|
129
129
|
ce(() => {
|
|
130
130
|
s.value && l.mode == "combobox" && (ae.value = !0, setTimeout(() => {
|
|
131
131
|
var t;
|
|
@@ -141,7 +141,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
141
141
|
});
|
|
142
142
|
const Pe = () => {
|
|
143
143
|
setTimeout(async () => {
|
|
144
|
-
u.value = 100, await
|
|
144
|
+
u.value = 100, await z(), u.value = i.value, b.value = !0;
|
|
145
145
|
}, 100);
|
|
146
146
|
};
|
|
147
147
|
ce(() => {
|
|
@@ -149,42 +149,42 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
149
149
|
}), de(() => {
|
|
150
150
|
se.value = !0, l.focusOpen || (i.value = 1, u.value = i.value, b.value = !0);
|
|
151
151
|
});
|
|
152
|
-
const Re =
|
|
152
|
+
const Re = c(() => l.width ? l.width : "230px"), qe = c(() => l.height ? l.height : "auto"), Ie = n(3e3), He = c(() => ({
|
|
153
153
|
"z-index": Ie.value
|
|
154
|
-
})), Se =
|
|
154
|
+
})), Se = c(() => {
|
|
155
155
|
var t;
|
|
156
156
|
let e = [];
|
|
157
157
|
if (l.mode != "combobox" && Array.isArray(s.value))
|
|
158
158
|
s.value.map((a) => {
|
|
159
159
|
var m;
|
|
160
|
-
let o = (m = l.options) == null ? void 0 : m.find((
|
|
160
|
+
let o = (m = l.options) == null ? void 0 : m.find((v) => v[N.value] == a);
|
|
161
161
|
o && e.push(o[U.value]);
|
|
162
162
|
});
|
|
163
163
|
else if (l.mode == "combobox" && s.value) {
|
|
164
|
-
let a = (t = l.options) == null ? void 0 : t.find((o) => o[
|
|
164
|
+
let a = (t = l.options) == null ? void 0 : t.find((o) => o[N.value] == s.value);
|
|
165
165
|
a && e.push(a[U.value]);
|
|
166
166
|
}
|
|
167
167
|
return Il.value === "zh-CN" ? e.join("、") : e.join(", ");
|
|
168
|
-
}), Ze =
|
|
168
|
+
}), Ze = c(() => {
|
|
169
169
|
var t;
|
|
170
170
|
if (l.mode === "combobox") return !1;
|
|
171
171
|
let e = l.options.filter((a) => !a.disabled);
|
|
172
172
|
return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) == e.length);
|
|
173
|
-
}), Ke =
|
|
173
|
+
}), Ke = c(() => {
|
|
174
174
|
var t, a;
|
|
175
175
|
if (l.mode === "combobox") return !1;
|
|
176
176
|
let e = l.options.filter((o) => !o.disabled);
|
|
177
177
|
return !!(Array.isArray(s.value) && ((t = s.value) == null ? void 0 : t.length) > 0 && ((a = s.value) == null ? void 0 : a.length) < e.length);
|
|
178
|
-
}), Ue =
|
|
178
|
+
}), Ue = c(() => {
|
|
179
179
|
var e, t;
|
|
180
180
|
return l.optionFilterProp ? l.optionFilterProp : (e = l.fieldNames) != null && e.label ? (t = l.fieldNames) == null ? void 0 : t.label : "label";
|
|
181
|
-
}), U =
|
|
181
|
+
}), U = c(() => {
|
|
182
182
|
var e;
|
|
183
183
|
return l.fieldNames && l.fieldNames.label ? (e = l.fieldNames) == null ? void 0 : e.label : "label";
|
|
184
|
-
}),
|
|
184
|
+
}), N = c(() => {
|
|
185
185
|
var e;
|
|
186
186
|
return l.fieldNames && l.fieldNames.value ? (e = l.fieldNames) == null ? void 0 : e.value : "value";
|
|
187
|
-
}), je =
|
|
187
|
+
}), je = c(() => ({
|
|
188
188
|
width: typeof l.width == "number" ? l.width + "px" : l.width
|
|
189
189
|
})), ne = n(!1), Xe = n({
|
|
190
190
|
display: "block",
|
|
@@ -214,11 +214,11 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
214
214
|
Array.isArray(s.value) || (s.value = []);
|
|
215
215
|
let t = s.value, a = [];
|
|
216
216
|
l.options.forEach((o) => {
|
|
217
|
-
!s.value.includes(o[
|
|
217
|
+
!s.value.includes(o[N.value]) && !o.disabled && (t.push(o[N.value]), a.push(o));
|
|
218
218
|
}), s.value = t, ue(s.value, a);
|
|
219
219
|
} else {
|
|
220
220
|
let t = s.value;
|
|
221
|
-
s.value = t.filter((a) => !!l.options.find((o) => o[
|
|
221
|
+
s.value = t.filter((a) => !!l.options.find((o) => o[N.value] === a).disabled), ue(s.value, []);
|
|
222
222
|
}
|
|
223
223
|
}, ol = (e) => {
|
|
224
224
|
if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
|
|
@@ -241,10 +241,10 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
241
241
|
w("blur", e);
|
|
242
242
|
return;
|
|
243
243
|
}
|
|
244
|
-
te.value = !1, l.focusOpen && !l.isExterControlCount && (
|
|
244
|
+
te.value = !1, l.focusOpen && !l.isExterControlCount && (z(), u.value = i.value, b.value = !0), w("blur", e);
|
|
245
245
|
}, nl = (e) => {
|
|
246
246
|
e.onClose(), u.value = 100, T(() => {
|
|
247
|
-
l.mode !== "combobox" && oe.value || l.focusOpen && (
|
|
247
|
+
l.mode !== "combobox" && oe.value || l.focusOpen && (z(), u.value = i.value, b.value = !0);
|
|
248
248
|
});
|
|
249
249
|
};
|
|
250
250
|
G(
|
|
@@ -259,21 +259,21 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
259
259
|
);
|
|
260
260
|
let R = n(!1);
|
|
261
261
|
const rl = (e) => {
|
|
262
|
-
R.value = e,
|
|
263
|
-
|
|
262
|
+
R.value = e, L.value = !0, T(() => {
|
|
263
|
+
L.value = !1, l.focusOpen && (z(), u.value = e ? V : i.value, b.value = !e);
|
|
264
264
|
});
|
|
265
265
|
};
|
|
266
266
|
let X = null;
|
|
267
267
|
de(() => {
|
|
268
268
|
X = new IntersectionObserver((e) => {
|
|
269
269
|
e && e[0] && e[0].intersectionRatio > 0 && l.focusOpen && u.value === 0 && (u.value = 100, T(() => {
|
|
270
|
-
|
|
270
|
+
z(), u.value = i.value, b.value = !0;
|
|
271
271
|
}));
|
|
272
272
|
}), X.observe(F.value);
|
|
273
|
-
}),
|
|
273
|
+
}), Le(() => {
|
|
274
274
|
X && X.disconnect();
|
|
275
275
|
});
|
|
276
|
-
const
|
|
276
|
+
const z = () => {
|
|
277
277
|
var q;
|
|
278
278
|
let e = (q = x.value) == null ? void 0 : q.$el;
|
|
279
279
|
if (!e) return;
|
|
@@ -282,20 +282,20 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
282
282
|
let a = t.offsetWidth - 5;
|
|
283
283
|
l.borderType === "underline" && (a -= 10);
|
|
284
284
|
const m = Math.ceil(Ce.value.querySelector(".ant-tag").offsetWidth) + 4;
|
|
285
|
-
let
|
|
286
|
-
if (
|
|
285
|
+
let v = e.querySelectorAll(".ant-select-selection-overflow-item");
|
|
286
|
+
if (v.length < 1) return;
|
|
287
287
|
u.value = V;
|
|
288
288
|
let _ = 0;
|
|
289
|
-
for (let
|
|
290
|
-
if (_ += Math.ceil(
|
|
291
|
-
|
|
289
|
+
for (let d = 0; d < v.length - 1 && (v[d].classList.remove("ellipsis"), !v[d].classList.contains("ant-select-selection-overflow-item-rest")); d++)
|
|
290
|
+
if (_ += Math.ceil(v[d].offsetWidth), _ <= a - m)
|
|
291
|
+
d >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = d + 1;
|
|
292
292
|
else {
|
|
293
|
-
|
|
293
|
+
d >= s.value.length - 1 && _ < a ? i.value = s.value.length : i.value = d;
|
|
294
294
|
break;
|
|
295
295
|
}
|
|
296
296
|
if (i.value === 0) {
|
|
297
|
-
let
|
|
298
|
-
|
|
297
|
+
let d = v[0], ie = d.querySelector(".anticon-close") ? 86 : 69;
|
|
298
|
+
d && !d.classList.contains("ant-select-selection-overflow-item-rest") && ie <= a - m && !Te.tagRender && (i.value = 1, d.classList.add("ellipsis"));
|
|
299
299
|
}
|
|
300
300
|
}, re = n(!1);
|
|
301
301
|
G(
|
|
@@ -305,20 +305,20 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
305
305
|
re.value = !1;
|
|
306
306
|
return;
|
|
307
307
|
}
|
|
308
|
-
l.mode !== "combobox" && oe.value || (
|
|
308
|
+
l.mode !== "combobox" && oe.value || (L.value = !0, 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) : (u.value = i.value, b.value = !0));
|
|
309
309
|
}
|
|
310
310
|
);
|
|
311
311
|
const ue = async (e, t) => {
|
|
312
312
|
re.value = !0, j.value = !1, l.mode === "combobox" && le();
|
|
313
313
|
const a = e;
|
|
314
|
-
l.noDropdown && l.maxTagsLength < a.length && a.pop(),
|
|
314
|
+
l.noDropdown && l.maxTagsLength < a.length && a.pop(), L.value = !0, w("update:model-value", a), w("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
315
|
};
|
|
316
316
|
return M({
|
|
317
317
|
$select: x,
|
|
318
318
|
toChangeMaxCount: rl
|
|
319
319
|
}), (e, t) => {
|
|
320
320
|
const a = dl("v-nodes");
|
|
321
|
-
return
|
|
321
|
+
return f(), g(
|
|
322
322
|
"div",
|
|
323
323
|
{
|
|
324
324
|
class: cl(["das-ui-select", [
|
|
@@ -341,7 +341,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
341
341
|
disabled: Be.value,
|
|
342
342
|
content: De.value
|
|
343
343
|
}, null, 8, ["virtual-ref", "disabled", "content"]),
|
|
344
|
-
ve((
|
|
344
|
+
ve((f(), Z(r(ml), he({ mode: e.mode }, e.$attrs, {
|
|
345
345
|
value: r(s),
|
|
346
346
|
"onUpdate:value": t[4] || (t[4] = (o) => vl(s) ? s.value = o : null),
|
|
347
347
|
ref_key: "$select",
|
|
@@ -374,42 +374,42 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
374
374
|
C(e.$slots, "option", Q(Y(o)), () => {
|
|
375
375
|
var m;
|
|
376
376
|
return [
|
|
377
|
-
o.children && typeof o.children == "function" ? (
|
|
377
|
+
o.children && typeof o.children == "function" ? (f(), Z(a, {
|
|
378
378
|
key: 0,
|
|
379
379
|
vnodes: o.children()
|
|
380
|
-
}, null, 8, ["vnodes"])) : (
|
|
380
|
+
}, null, 8, ["vnodes"])) : (f(), g(
|
|
381
381
|
pe,
|
|
382
382
|
{ key: 1 },
|
|
383
383
|
[
|
|
384
384
|
k(' :option="{value, label, [disabled, key, title]}" '),
|
|
385
|
-
e.mode === "combobox" ? ve((
|
|
385
|
+
e.mode === "combobox" ? ve((f(), g("div", _l, [
|
|
386
386
|
fe(
|
|
387
387
|
W(o[U.value]),
|
|
388
388
|
1
|
|
389
389
|
/* TEXT */
|
|
390
390
|
)
|
|
391
391
|
])), [
|
|
392
|
-
[r(
|
|
393
|
-
]) : (
|
|
392
|
+
[r(ze)]
|
|
393
|
+
]) : (f(), g(
|
|
394
394
|
pe,
|
|
395
395
|
{ key: 1 },
|
|
396
396
|
[
|
|
397
397
|
k(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
398
398
|
h("div", Ml, [
|
|
399
|
-
(
|
|
399
|
+
(f(), Z(r(Ne), {
|
|
400
400
|
class: "das-select-checkbox",
|
|
401
|
-
modelValue: (m = r(s)) == null ? void 0 : m.includes(o[
|
|
402
|
-
key: o[
|
|
401
|
+
modelValue: (m = r(s)) == null ? void 0 : m.includes(o[N.value]),
|
|
402
|
+
key: o[N.value],
|
|
403
403
|
disabled: o.disabled
|
|
404
404
|
}, null, 8, ["modelValue", "disabled"])),
|
|
405
|
-
ve((
|
|
405
|
+
ve((f(), g("div", $l, [
|
|
406
406
|
fe(
|
|
407
407
|
W(o[U.value]),
|
|
408
408
|
1
|
|
409
409
|
/* TEXT */
|
|
410
410
|
)
|
|
411
411
|
])), [
|
|
412
|
-
[r(
|
|
412
|
+
[r(ze)]
|
|
413
413
|
])
|
|
414
414
|
])
|
|
415
415
|
],
|
|
@@ -451,9 +451,9 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
451
451
|
C(e.$slots, "dropdownRender", Q(Y({ menuNode: o })), () => {
|
|
452
452
|
var m;
|
|
453
453
|
return [
|
|
454
|
-
we.value === "combobox" ? (
|
|
454
|
+
we.value === "combobox" ? (f(), g("div", Fl, [
|
|
455
455
|
y(a, { vnodes: o }, null, 8, ["vnodes"])
|
|
456
|
-
])) : we.value === "custom" ? (
|
|
456
|
+
])) : we.value === "custom" ? (f(), g("div", {
|
|
457
457
|
key: 1,
|
|
458
458
|
onClick: t[2] || (t[2] = J(() => {
|
|
459
459
|
}, ["stop"]))
|
|
@@ -463,14 +463,14 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
463
463
|
"div",
|
|
464
464
|
{
|
|
465
465
|
class: "customDropdown",
|
|
466
|
-
onMousedown: t[1] || (t[1] = (
|
|
466
|
+
onMousedown: t[1] || (t[1] = (v) => v.preventDefault())
|
|
467
467
|
},
|
|
468
468
|
[
|
|
469
469
|
y(r(gl), he({
|
|
470
470
|
ref_key: "testInput",
|
|
471
471
|
ref: Ee,
|
|
472
472
|
modelValue: E.value,
|
|
473
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
473
|
+
"onUpdate:modelValue": t[0] || (t[0] = (v) => E.value = v),
|
|
474
474
|
onKeyup: pl(xe, ["enter"]),
|
|
475
475
|
onFocus: J(Oe, ["stop"]),
|
|
476
476
|
onBlur: J(We, ["stop"]),
|
|
@@ -491,18 +491,18 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
491
491
|
32
|
|
492
492
|
/* NEED_HYDRATION */
|
|
493
493
|
)
|
|
494
|
-
])) : (
|
|
494
|
+
])) : (f(), g("div", Al, [
|
|
495
495
|
y(a, { vnodes: o }, null, 8, ["vnodes"]),
|
|
496
|
-
(m = l.options) != null && m.length ? (
|
|
496
|
+
(m = l.options) != null && m.length ? (f(), g(
|
|
497
497
|
"div",
|
|
498
498
|
{
|
|
499
499
|
key: 0,
|
|
500
500
|
class: "das-ui-select-dropdown-checkall",
|
|
501
|
-
onMousedown: t[3] || (t[3] = (
|
|
501
|
+
onMousedown: t[3] || (t[3] = (v) => v.preventDefault())
|
|
502
502
|
},
|
|
503
503
|
[
|
|
504
504
|
h("div", Bl, [
|
|
505
|
-
y(r(
|
|
505
|
+
y(r(Ne), {
|
|
506
506
|
modelValue: Ze.value,
|
|
507
507
|
indeterminate: Ke.value,
|
|
508
508
|
onChange: tl,
|
|
@@ -603,11 +603,11 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
603
603
|
[r(hl), { target: ol, x: !1 }],
|
|
604
604
|
[r(xl), Qe]
|
|
605
605
|
]),
|
|
606
|
-
e.error && e.errorLabel ? (
|
|
606
|
+
e.error && e.errorLabel ? (f(), g(
|
|
607
607
|
pe,
|
|
608
608
|
{ key: 0 },
|
|
609
609
|
[
|
|
610
|
-
e.errorMode === "default" ? (
|
|
610
|
+
e.errorMode === "default" ? (f(), g("div", Ol, [
|
|
611
611
|
h(
|
|
612
612
|
"span",
|
|
613
613
|
{
|
|
@@ -618,7 +618,7 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
618
618
|
/* TEXT, STYLE */
|
|
619
619
|
)
|
|
620
620
|
])) : k("v-if", !0),
|
|
621
|
-
e.errorMode === "overlay" && ne.value ? (
|
|
621
|
+
e.errorMode === "overlay" && ne.value ? (f(), Z(r(wl), {
|
|
622
622
|
key: 1,
|
|
623
623
|
errorLabel: e.errorLabel,
|
|
624
624
|
getEl: () => x.value.$el,
|
|
@@ -669,10 +669,10 @@ const _l = { key: 0 }, Ml = { class: "das-multiple-option-item" }, $l = { style:
|
|
|
669
669
|
for (const [l, w] of M)
|
|
670
670
|
$[l] = w;
|
|
671
671
|
return $;
|
|
672
|
-
}, Kl = /* @__PURE__ */ Fe(Zl, [["__scopeId", "data-v-
|
|
672
|
+
}, Kl = /* @__PURE__ */ Fe(Zl, [["__scopeId", "data-v-806fc66f"]]), Ul = {};
|
|
673
673
|
function jl(I, M) {
|
|
674
|
-
const $ =
|
|
675
|
-
return
|
|
674
|
+
const $ = zl;
|
|
675
|
+
return f(), Z(
|
|
676
676
|
$,
|
|
677
677
|
he({ class: "das-ui-select-option" }, I.$attrs),
|
|
678
678
|
null,
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-c5442842]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-c5442842]{position:absolute;top:100%;left:0;width:var(--560dba4c)}.das-ui-select.show-ellipsis[data-v-c5442842] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-c5442842] .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-c5442842] .ant-select{width:100%;height:var(--9f4782da)}.das-ui-select[data-v-c5442842] .ant-select .das-select-error-label-content{width:var(--560dba4c);font-size:12px}.das-ui-select[data-v-c5442842] .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-c5442842] .ant-select .ant-select-arrow{color:#666;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-c5442842] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-c5442842] .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-c5442842] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-c5442842] .ant-select .os-scrollbar.os-scrollbar-vertical{z-index:1}.das-ui-select[data-v-c5442842] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-c5442842] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-c5442842] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-c5442842] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-c5442842] .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-c5442842] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-c5442842] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-c5442842] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .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-c5442842] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-c5442842] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-c5442842] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-c5442842] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-c5442842] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-c5442842] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-c5442842] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-c5442842] .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-c5442842] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-c5442842] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-c5442842] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-c5442842] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-c5442842] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-c5442842] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-c5442842] .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-c5442842] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-c5442842] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-c5442842] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-c5442842] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-c5442842] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-c5442842] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-c5442842] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-c5442842] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-c5442842] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-c5442842] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-c5442842] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-c5442842] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-c5442842] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-c5442842] .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-c5442842] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-c5442842] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-c5442842] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-c5442842] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-c5442842] .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-c5442842] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-c5442842] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-c5442842] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-c5442842]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-c5442842]{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-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}
|
|
Binary file
|