@das-fed/ui 6.4.0-hot.22 → 6.4.0-hot.24
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 +6 -6
- package/packages/business-components/device-panel/index.js +37397 -37395
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +60 -60
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/export-button/style.css +1 -1
- package/packages/business-components/import-button/hooks/file.d.ts +1 -0
- package/packages/business-components/import-button/hooks/useImport.d.ts +1 -0
- package/packages/business-components/import-button/index.js +239 -235
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/model-table-dialog/index.js +37 -37
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/index.js +176 -176
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-log/index.js +252 -252
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +1319 -1322
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/urgentMonitorPanel.vue.d.ts +8 -3
- package/packages/business-components/urgent-panel/style.css +1 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +3 -3
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/business-components/video-dialog/index.js +301 -273
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/calendar/index.js +56 -56
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +41 -41
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/date-picker/index.js +444 -444
- 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/dimple-layout/index.js +2299 -2293
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +26 -25
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/input/index.js +73 -73
- 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/loading/index.js +66 -65
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/index.js +358 -355
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/map/src/hooks/use-map.d.ts +1 -2
- package/packages/components/map/style.css +1 -1
- package/packages/components/message/index.js +20 -19
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/index.js +22 -21
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/progress/index.js +80 -80
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/select/index.js +102 -102
- 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/spin/index.js +31 -30
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/index.js +2419 -2418
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tooltip/index.js +23 -22
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +1428 -1427
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +9 -11
- package/packages/components/tree-select/index.js +274 -274
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +64 -64
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +4 -12
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/select/style.css';
|
|
2
2
|
import { withInstall as Se } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { defineComponent as Ve, useCssVars as
|
|
4
|
-
import { Select as
|
|
3
|
+
import { defineComponent as Ve, useCssVars as ro, ref as n, computed as f, useSlots as no, onMounted as re, onUnmounted as ye, watchEffect as ne, watch as xe, nextTick as I, resolveComponent as io, openBlock as u, createElementBlock as b, normalizeClass as uo, normalizeStyle as S, createVNode as w, unref as r, withCtx as p, withDirectives as U, createTextVNode as B, toDisplayString as c, createBlock as W, mergeProps as Be, isRef as co, withModifiers as X, createSlots as vo, renderSlot as C, normalizeProps as j, guardReactiveProps as G, Fragment as J, createCommentVNode as z, createElementVNode as m, withKeys as fo, Teleport as po } from "vue";
|
|
4
|
+
import { Select as mo, Tag as ie } from "ant-design-vue";
|
|
5
5
|
import "ant-design-vue/es/select/style/css";
|
|
6
6
|
import { DasCheckbox as we } from "@das-fed/ui/packages/components/checkbox/index";
|
|
7
7
|
import { vScrollbar as Ce } from "@das-fed/ui/packages/components/scrollbar/index";
|
|
8
|
-
import { DasTooltip as
|
|
8
|
+
import { DasTooltip as bo } from "@das-fed/ui/packages/components/tooltip/index";
|
|
9
9
|
import { vDasTooltip as ke } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
10
|
-
import { DasInput as
|
|
11
|
-
import { DasIconXiala as
|
|
12
|
-
import { DasIconEmpty as
|
|
13
|
-
import { vHoverInside as
|
|
14
|
-
import { getVarValue as Te, getVar as Ie, setThemeRule as
|
|
15
|
-
import { useZIndex as
|
|
10
|
+
import { DasInput as ho } from "@das-fed/ui/packages/components/input/index";
|
|
11
|
+
import { DasIconXiala as go } from "@das-fed/ui/packages/icons/xiala/index";
|
|
12
|
+
import { DasIconEmpty as yo } from "@das-fed/ui/packages/icons/empty/index";
|
|
13
|
+
import { vHoverInside as xo } from "@das-fed/utils/directive";
|
|
14
|
+
import { getVarValue as Te, getVar as Ie, setThemeRule as wo } from "@das-fed/web/packages/theme/index";
|
|
15
|
+
import { useZIndex as Co } from "@das-fed/utils/hooks/popup-manager/use-zindex";
|
|
16
16
|
import { t as V } from "@das-fed/web/packages/i18n/index";
|
|
17
|
-
import { useModelValue as
|
|
18
|
-
import { SelectOption as
|
|
19
|
-
const
|
|
17
|
+
import { useModelValue as ko } from "@das-fed/utils/vue";
|
|
18
|
+
import { SelectOption as To } from "ant-design-vue/es";
|
|
19
|
+
const Io = { style: { "max-height": "200px", "word-break": "break-all", overflow: "hidden" } }, So = { key: 0 }, Vo = { class: "das-multiple-option-item" }, Bo = { style: { display: "inline-block" } }, zo = { key: 0 }, Mo = { key: 2 }, _o = { style: { display: "inline-block" } }, Fo = { class: "das-ui-dropdown-has-checked" }, No = { class: "key" }, $o = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "das-select-error-label-content das-select-label-content"
|
|
22
|
-
},
|
|
22
|
+
}, Do = { class: "ant-select ant-select-multiple ant-select-selection-overflow-item ant-select-selection-overflow-item-rest" }, Lo = { class: "ant-select-selection-item" }, Oo = { class: "ant-select-selection-item-content" }, Po = Ve({
|
|
23
23
|
inheritAttrs: !1,
|
|
24
24
|
components: {
|
|
25
25
|
VNodes: (M, { attrs: D }) => D.vnodes
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
28
|
-
...
|
|
27
|
+
}), Ao = /* @__PURE__ */ Ve({
|
|
28
|
+
...Po,
|
|
29
29
|
__name: "Select",
|
|
30
30
|
props: {
|
|
31
31
|
modelValue: { default: void 0 },
|
|
@@ -33,7 +33,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
33
33
|
mode: { default: "combobox" },
|
|
34
34
|
fieldNames: { default: {} },
|
|
35
35
|
borderType: { default: "underline" },
|
|
36
|
-
placeholder: { default:
|
|
36
|
+
placeholder: { default: "" },
|
|
37
37
|
disabled: { type: Boolean, default: !1 },
|
|
38
38
|
isView: { type: Boolean, default: !1 },
|
|
39
39
|
error: { type: Boolean, default: !1 },
|
|
@@ -62,19 +62,19 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
62
62
|
},
|
|
63
63
|
emits: ["update:model-value", "change", "focus", "blur", "dropdownVisibleChange", "addCustomItem"],
|
|
64
64
|
setup(M, { expose: D, emit: L }) {
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
65
|
+
ro((e) => ({
|
|
66
|
+
"7a670936": Le.value,
|
|
67
|
+
"8ea9b892": Oe.value
|
|
68
68
|
}));
|
|
69
|
-
const o = M, k = L, s =
|
|
69
|
+
const o = M, k = L, s = ko(o, "modelValue"), x = n(!1), Me = f(() => o.placeholder || V("请选择")), _e = f(() => A.value ? A.value.querySelector(".ant-select-selector") : null), ue = n(null), de = f(() => o.dropdownMode ?? o.mode ?? ""), O = n(null), Fe = n(null), P = n(""), Ne = () => {
|
|
70
70
|
O.value = !0;
|
|
71
|
-
},
|
|
71
|
+
}, $e = () => {
|
|
72
72
|
O.value = null;
|
|
73
73
|
}, ce = () => {
|
|
74
74
|
P.value && (k("addCustomItem", P.value), P.value = "", o.mode === "combobox" ? I(() => {
|
|
75
75
|
h.value.focus();
|
|
76
76
|
}) : h.value.focus());
|
|
77
|
-
}, ve =
|
|
77
|
+
}, ve = no(), Q = () => {
|
|
78
78
|
o.mode === "combobox" && o.dropdownMode === "custom" && !ve.dropdownRender && (O.value = !1, I(() => {
|
|
79
79
|
O.value = null;
|
|
80
80
|
}));
|
|
@@ -98,17 +98,17 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
98
98
|
}), ne(() => {
|
|
99
99
|
o.options && (fe.value = o.options.map((e) => (e.title = e.title ? e.title : "", e)));
|
|
100
100
|
});
|
|
101
|
-
const
|
|
101
|
+
const De = () => {
|
|
102
102
|
setTimeout(async () => {
|
|
103
103
|
i.value = 100, await $(), i.value = v.value, x.value = !0;
|
|
104
104
|
}, 100);
|
|
105
105
|
};
|
|
106
106
|
ne(() => {
|
|
107
|
-
oe.value === !0 && o.mode != "combobox" && s.value && s.value.length > 0 && o.options.length > 0 && (oe.value = !1,
|
|
107
|
+
oe.value === !0 && o.mode != "combobox" && s.value && s.value.length > 0 && o.options.length > 0 && (oe.value = !1, De());
|
|
108
108
|
}), re(() => {
|
|
109
109
|
oe.value = !0, o.focusOpen || (v.value = 1, i.value = v.value, x.value = !0);
|
|
110
110
|
});
|
|
111
|
-
const
|
|
111
|
+
const Le = f(() => o.width ? o.width : "230px"), Oe = f(() => o.height ? o.height : "auto"), pe = n(3e3), Pe = f(() => ({
|
|
112
112
|
"z-index": pe.value
|
|
113
113
|
})), me = f(() => {
|
|
114
114
|
var l;
|
|
@@ -124,13 +124,13 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
124
124
|
a && e.push(a[q.value]);
|
|
125
125
|
}
|
|
126
126
|
return e.join("、");
|
|
127
|
-
}),
|
|
127
|
+
}), Ae = f(() => o.isView ? o.noSetDefaultVal ? "" : "-" : Me.value), Ee = f(() => {
|
|
128
128
|
var e, l;
|
|
129
129
|
return o.mode === "combobox" ? !1 : !!(Array.isArray(s.value) && ((e = s.value) == null ? void 0 : e.length) == ((l = o.options) == null ? void 0 : l.length));
|
|
130
|
-
}),
|
|
130
|
+
}), We = f(() => {
|
|
131
131
|
var e, l, a;
|
|
132
132
|
return o.mode === "combobox" ? !1 : !!(Array.isArray(s.value) && ((e = s.value) == null ? void 0 : e.length) > 0 && ((l = s.value) == null ? void 0 : l.length) < ((a = o.options) == null ? void 0 : a.length));
|
|
133
|
-
}),
|
|
133
|
+
}), Re = f(() => {
|
|
134
134
|
var e, l;
|
|
135
135
|
return o.optionFilterProp ? o.optionFilterProp : (e = o.fieldNames) != null && e.label ? (l = o.fieldNames) == null ? void 0 : l.label : "label";
|
|
136
136
|
}), q = f(() => {
|
|
@@ -139,7 +139,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
139
139
|
}), N = f(() => {
|
|
140
140
|
var e;
|
|
141
141
|
return o.fieldNames && o.fieldNames.value ? (e = o.fieldNames) == null ? void 0 : e.value : "value";
|
|
142
|
-
}),
|
|
142
|
+
}), qe = f(() => ({
|
|
143
143
|
width: typeof o.width == "number" ? o.width + "px" : o.width
|
|
144
144
|
})), le = n(!1), K = n({
|
|
145
145
|
x: 0,
|
|
@@ -152,7 +152,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
152
152
|
padding: "4px 8px",
|
|
153
153
|
"box-sizing": "border-box",
|
|
154
154
|
"z-index": o.errorModelZIndex
|
|
155
|
-
})),
|
|
155
|
+
})), Ke = f(() => ({
|
|
156
156
|
...he.value,
|
|
157
157
|
width: be.value + "px",
|
|
158
158
|
position: "fixed",
|
|
@@ -164,25 +164,25 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
164
164
|
color: Te("--das-ui-input-error-color").value,
|
|
165
165
|
"white-space": "break-spaces",
|
|
166
166
|
"word-break": "break-all"
|
|
167
|
-
}),
|
|
167
|
+
}), Ze = () => {
|
|
168
168
|
var t, d, g;
|
|
169
169
|
const { top: e, left: l } = (t = h.value) == null ? void 0 : t.$el.getBoundingClientRect(), a = (d = h.value) == null ? void 0 : d.$el.clientHeight;
|
|
170
170
|
be.value = (g = h.value) == null ? void 0 : g.$el.clientWidth, K.value.x = l, K.value.y = e + a;
|
|
171
|
-
}, Ze = () => {
|
|
172
|
-
Ke(), le.value = !0;
|
|
173
171
|
}, He = () => {
|
|
172
|
+
Ze(), le.value = !0;
|
|
173
|
+
}, Ue = () => {
|
|
174
174
|
le.value = !1;
|
|
175
|
-
},
|
|
176
|
-
e ?
|
|
177
|
-
},
|
|
178
|
-
e && (pe.value =
|
|
175
|
+
}, Xe = (e, l) => {
|
|
176
|
+
e ? He() : Ue();
|
|
177
|
+
}, je = (e) => {
|
|
178
|
+
e && (pe.value = Co().nextZIndex(), P.value = ""), o.mode == "combobox" && (Z.value = e, e || setTimeout(() => {
|
|
179
179
|
var l, a;
|
|
180
180
|
(a = (l = h.value) == null ? void 0 : l.blur) == null || a.call(l);
|
|
181
181
|
})), k("dropdownVisibleChange", e);
|
|
182
|
-
},
|
|
182
|
+
}, Ge = (e) => {
|
|
183
183
|
let l = e.toString();
|
|
184
184
|
return l.length > o.maxTagTextLength && (l = l.substr(0, o.maxTagTextLength) + "..."), l;
|
|
185
|
-
}, A = n(),
|
|
185
|
+
}, A = n(), Je = (e) => o.isRenderNode ? A.value : o.getPopupContainer === void 0 ? document.body : o.getPopupContainer(e), Qe = (e) => {
|
|
186
186
|
if (e) {
|
|
187
187
|
Array.isArray(s.value) || (s.value = []);
|
|
188
188
|
let l = s.value, a = [];
|
|
@@ -193,16 +193,16 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
193
193
|
let l = s.value;
|
|
194
194
|
s.value = l.filter((a) => !!o.options.find((t) => t[N.value] === a).disabled), se(s.value, []);
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, Ye = (e) => {
|
|
197
197
|
if (e.className.indexOf("ant-select-multiple") > -1 && e.children[0])
|
|
198
198
|
return e.children[0];
|
|
199
|
-
},
|
|
199
|
+
}, eo = (e) => {
|
|
200
200
|
if (o.mode == "combobox") {
|
|
201
201
|
k("focus", e);
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
R.value = !0, o.focusOpen && !o.isExterControlCount && (i.value = _, x.value = !1), k("focus", e);
|
|
205
|
-
}, Z = n(!1),
|
|
205
|
+
}, Z = n(!1), oo = () => {
|
|
206
206
|
var e, l;
|
|
207
207
|
if (o.mode == "combobox") {
|
|
208
208
|
Z.value || setTimeout(() => {
|
|
@@ -215,7 +215,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
215
215
|
var a, t;
|
|
216
216
|
(t = (a = h.value) == null ? void 0 : a.focus) == null || t.call(a);
|
|
217
217
|
});
|
|
218
|
-
},
|
|
218
|
+
}, lo = (e) => {
|
|
219
219
|
if (o.mode == "combobox") {
|
|
220
220
|
I(() => {
|
|
221
221
|
Z.value = !1;
|
|
@@ -223,7 +223,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
223
223
|
return;
|
|
224
224
|
}
|
|
225
225
|
R.value = !1, o.focusOpen && !o.isExterControlCount && ($(), i.value = v.value, x.value = !0), k("blur", e);
|
|
226
|
-
},
|
|
226
|
+
}, to = (e) => {
|
|
227
227
|
e.onClose(), i.value = 100, I(() => {
|
|
228
228
|
o.mode !== "combobox" && Y.value || o.focusOpen && ($(), i.value = v.value, x.value = !0);
|
|
229
229
|
});
|
|
@@ -235,7 +235,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
235
235
|
}
|
|
236
236
|
);
|
|
237
237
|
let E = n(!1);
|
|
238
|
-
const
|
|
238
|
+
const ao = (e) => {
|
|
239
239
|
E.value = e, F.value = !0, I(() => {
|
|
240
240
|
F.value = !1, o.focusOpen && ($(), i.value = e ? _ : v.value, x.value = !e);
|
|
241
241
|
});
|
|
@@ -271,8 +271,8 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
if (v.value === 0) {
|
|
274
|
-
let y = g[0],
|
|
275
|
-
y && !y.classList.contains("ant-select-selection-overflow-item-rest") &&
|
|
274
|
+
let y = g[0], so = y.querySelector(".anticon-close") ? 86 : 69;
|
|
275
|
+
y && !y.classList.contains("ant-select-selection-overflow-item-rest") && so <= a - d && !ve.tagRender && (v.value = 1, y.classList.add("ellipsis"));
|
|
276
276
|
}
|
|
277
277
|
}, ae = n(!1);
|
|
278
278
|
xe(
|
|
@@ -292,13 +292,13 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
292
292
|
};
|
|
293
293
|
return D({
|
|
294
294
|
$select: h,
|
|
295
|
-
toChangeMaxCount:
|
|
295
|
+
toChangeMaxCount: ao
|
|
296
296
|
}), (e, l) => {
|
|
297
|
-
const a =
|
|
297
|
+
const a = io("v-nodes");
|
|
298
298
|
return u(), b(
|
|
299
299
|
"div",
|
|
300
300
|
{
|
|
301
|
-
class:
|
|
301
|
+
class: uo(["das-ui-select", [
|
|
302
302
|
o.borderType,
|
|
303
303
|
o.isView ? "readonly" : "",
|
|
304
304
|
o.error ? "is-error" : "",
|
|
@@ -306,18 +306,18 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
306
306
|
]]),
|
|
307
307
|
ref_key: "$selectBox",
|
|
308
308
|
ref: A,
|
|
309
|
-
style: S(
|
|
309
|
+
style: S(qe.value)
|
|
310
310
|
},
|
|
311
311
|
[
|
|
312
|
-
w(r(
|
|
312
|
+
w(r(bo), {
|
|
313
313
|
placement: "top",
|
|
314
314
|
trigger: "hover",
|
|
315
315
|
"virtual-triggering": "",
|
|
316
|
-
"virtual-ref":
|
|
316
|
+
"virtual-ref": _e.value,
|
|
317
317
|
disabled: !e.isTooltip || F.value || !me.value || !ee.value
|
|
318
318
|
}, {
|
|
319
319
|
content: p(() => [
|
|
320
|
-
U((u(), b("div",
|
|
320
|
+
U((u(), b("div", Io, [
|
|
321
321
|
B(
|
|
322
322
|
c(me.value),
|
|
323
323
|
1
|
|
@@ -330,9 +330,9 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
330
330
|
_: 1
|
|
331
331
|
/* STABLE */
|
|
332
332
|
}, 8, ["virtual-ref", "disabled"]),
|
|
333
|
-
U((u(), W(r(
|
|
333
|
+
U((u(), W(r(mo), Be(e.$attrs, {
|
|
334
334
|
value: r(s),
|
|
335
|
-
"onUpdate:value": l[4] || (l[4] = (t) =>
|
|
335
|
+
"onUpdate:value": l[4] || (l[4] = (t) => co(s) ? s.value = t : null),
|
|
336
336
|
ref_key: "$select",
|
|
337
337
|
ref: h,
|
|
338
338
|
options: fe.value,
|
|
@@ -342,24 +342,24 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
342
342
|
disabled: o.disabled || o.isView,
|
|
343
343
|
showArrow: !0,
|
|
344
344
|
open: o.noDropdown ? !1 : Y.value,
|
|
345
|
-
placeholder:
|
|
346
|
-
optionFilterProp:
|
|
345
|
+
placeholder: Ae.value,
|
|
346
|
+
optionFilterProp: Re.value,
|
|
347
347
|
size: o.size == "middle" ? "defalut" : o.size == "mini" ? "small" : o.size,
|
|
348
348
|
style: o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {},
|
|
349
349
|
dropdownClassName: "das-ui-select-dorpdown " + e.dropdownClassName,
|
|
350
350
|
maxTagCount: i.value,
|
|
351
|
-
getPopupContainer:
|
|
352
|
-
dropdownStyle:
|
|
353
|
-
onDropdownVisibleChange:
|
|
351
|
+
getPopupContainer: Je,
|
|
352
|
+
dropdownStyle: Pe.value,
|
|
353
|
+
onDropdownVisibleChange: je,
|
|
354
354
|
onChange: se,
|
|
355
|
-
onFocus:
|
|
355
|
+
onFocus: eo,
|
|
356
356
|
onClick: [
|
|
357
|
-
|
|
357
|
+
oo,
|
|
358
358
|
l[5] || (l[5] = X(() => {
|
|
359
359
|
}, ["stop"]))
|
|
360
360
|
],
|
|
361
|
-
onBlur:
|
|
362
|
-
}),
|
|
361
|
+
onBlur: lo
|
|
362
|
+
}), vo({
|
|
363
363
|
option: p((t) => [
|
|
364
364
|
C(e.$slots, "option", j(G(t)), () => {
|
|
365
365
|
var d;
|
|
@@ -372,7 +372,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
372
372
|
{ key: 1 },
|
|
373
373
|
[
|
|
374
374
|
z(' :option="{value, label, [disabled, key, title]}" '),
|
|
375
|
-
e.mode === "combobox" ? U((u(), b("div",
|
|
375
|
+
e.mode === "combobox" ? U((u(), b("div", So, [
|
|
376
376
|
B(
|
|
377
377
|
c(t[q.value]),
|
|
378
378
|
1
|
|
@@ -385,14 +385,14 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
385
385
|
{ key: 1 },
|
|
386
386
|
[
|
|
387
387
|
z(` <das-tooltip v-if="mode === 'combobox'" placement="right-start" :text="option[labelKeyName]"></das-tooltip> `),
|
|
388
|
-
m("div",
|
|
388
|
+
m("div", Vo, [
|
|
389
389
|
(u(), W(r(we), {
|
|
390
390
|
class: "das-select-checkbox",
|
|
391
391
|
modelValue: (d = r(s)) == null ? void 0 : d.includes(t[N.value]),
|
|
392
392
|
key: t[N.value],
|
|
393
393
|
disabled: t.disabled
|
|
394
394
|
}, null, 8, ["modelValue", "disabled"])),
|
|
395
|
-
U((u(), b("div",
|
|
395
|
+
U((u(), b("div", Bo, [
|
|
396
396
|
B(
|
|
397
397
|
c(t[q.value]),
|
|
398
398
|
1
|
|
@@ -418,7 +418,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
418
418
|
w(r(ie), {
|
|
419
419
|
closable: t.closable,
|
|
420
420
|
style: { "margin-right": "3px", "background-color": "transparent" },
|
|
421
|
-
onClose: (d) =>
|
|
421
|
+
onClose: (d) => to(t)
|
|
422
422
|
}, {
|
|
423
423
|
default: p(() => [
|
|
424
424
|
m(
|
|
@@ -427,7 +427,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
427
427
|
class: "tag-span",
|
|
428
428
|
style: S(o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {})
|
|
429
429
|
},
|
|
430
|
-
c(
|
|
430
|
+
c(Ge(t.label)),
|
|
431
431
|
5
|
|
432
432
|
/* TEXT, STYLE */
|
|
433
433
|
)
|
|
@@ -441,7 +441,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
441
441
|
C(e.$slots, "dropdownRender", j(G({ menuNode: t })), () => {
|
|
442
442
|
var d, g;
|
|
443
443
|
return [
|
|
444
|
-
de.value === "combobox" ? (u(), b("div",
|
|
444
|
+
de.value === "combobox" ? (u(), b("div", zo, [
|
|
445
445
|
w(a, { vnodes: t }, null, 8, ["vnodes"])
|
|
446
446
|
])) : de.value === "custom" ? (u(), b("div", {
|
|
447
447
|
key: 1,
|
|
@@ -456,14 +456,14 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
456
456
|
onMousedown: l[1] || (l[1] = (T) => T.preventDefault())
|
|
457
457
|
},
|
|
458
458
|
[
|
|
459
|
-
w(r(
|
|
459
|
+
w(r(ho), {
|
|
460
460
|
ref_key: "testInput",
|
|
461
|
-
ref:
|
|
461
|
+
ref: Fe,
|
|
462
462
|
modelValue: P.value,
|
|
463
463
|
"onUpdate:modelValue": l[0] || (l[0] = (T) => P.value = T),
|
|
464
|
-
onKeyup:
|
|
465
|
-
onFocus: X(
|
|
466
|
-
onBlur: X(
|
|
464
|
+
onKeyup: fo(ce, ["enter"]),
|
|
465
|
+
onFocus: X(Ne, ["stop"]),
|
|
466
|
+
onBlur: X($e, ["stop"]),
|
|
467
467
|
width: "100%",
|
|
468
468
|
borderType: "bordered"
|
|
469
469
|
}, null, 8, ["modelValue"]),
|
|
@@ -481,7 +481,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
481
481
|
32
|
|
482
482
|
/* NEED_HYDRATION */
|
|
483
483
|
)
|
|
484
|
-
])) : (u(), b("div",
|
|
484
|
+
])) : (u(), b("div", Mo, [
|
|
485
485
|
w(a, { vnodes: t }, null, 8, ["vnodes"]),
|
|
486
486
|
(d = o.options) != null && d.length ? (u(), b(
|
|
487
487
|
"div",
|
|
@@ -491,11 +491,11 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
491
491
|
onMousedown: l[3] || (l[3] = (T) => T.preventDefault())
|
|
492
492
|
},
|
|
493
493
|
[
|
|
494
|
-
m("div",
|
|
494
|
+
m("div", _o, [
|
|
495
495
|
w(r(we), {
|
|
496
|
-
modelValue:
|
|
497
|
-
indeterminate:
|
|
498
|
-
onChange:
|
|
496
|
+
modelValue: Ee.value,
|
|
497
|
+
indeterminate: We.value,
|
|
498
|
+
onChange: Qe,
|
|
499
499
|
style: { display: "flex" }
|
|
500
500
|
}, {
|
|
501
501
|
default: p(() => [
|
|
@@ -509,7 +509,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
509
509
|
/* STABLE */
|
|
510
510
|
}, 8, ["modelValue", "indeterminate"])
|
|
511
511
|
]),
|
|
512
|
-
m("span",
|
|
512
|
+
m("span", Fo, [
|
|
513
513
|
B(
|
|
514
514
|
c(r(V)("已选")),
|
|
515
515
|
1
|
|
@@ -517,7 +517,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
517
517
|
),
|
|
518
518
|
m(
|
|
519
519
|
"span",
|
|
520
|
-
|
|
520
|
+
No,
|
|
521
521
|
c(((g = r(s)) == null ? void 0 : g.length) || 0),
|
|
522
522
|
1
|
|
523
523
|
/* TEXT */
|
|
@@ -538,7 +538,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
538
538
|
]),
|
|
539
539
|
clearIcon: p(() => [
|
|
540
540
|
C(e.$slots, "clearIcon", {}, () => [
|
|
541
|
-
w(r(
|
|
541
|
+
w(r(yo), { size: "medium" })
|
|
542
542
|
], !0)
|
|
543
543
|
]),
|
|
544
544
|
maxTagPlaceholder: p((t) => [
|
|
@@ -565,7 +565,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
565
565
|
]),
|
|
566
566
|
suffixIcon: p(() => [
|
|
567
567
|
C(e.$slots, "suffixIcon", {}, () => [
|
|
568
|
-
w(r(
|
|
568
|
+
w(r(go), {
|
|
569
569
|
class: "das-suffix-icon",
|
|
570
570
|
size: "medium"
|
|
571
571
|
})
|
|
@@ -606,8 +606,8 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
606
606
|
key: "3"
|
|
607
607
|
} : void 0
|
|
608
608
|
]), 1040, ["value", "options", "mode", "fieldNames", "bordered", "disabled", "open", "placeholder", "optionFilterProp", "size", "style", "dropdownClassName", "maxTagCount", "dropdownStyle"])), [
|
|
609
|
-
[r(Ce), { target:
|
|
610
|
-
[r(
|
|
609
|
+
[r(Ce), { target: Ye, x: !1 }],
|
|
610
|
+
[r(xo), Xe]
|
|
611
611
|
]),
|
|
612
612
|
z(` <div
|
|
613
613
|
:class="[errorMode === 'default' ? 'das-select-error-label-content' : 'das-select-overlay-error-label-content', 'das-select-label-content']"
|
|
@@ -619,7 +619,7 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
619
619
|
J,
|
|
620
620
|
{ key: 0 },
|
|
621
621
|
[
|
|
622
|
-
e.errorMode === "default" ? (u(), b("div",
|
|
622
|
+
e.errorMode === "default" ? (u(), b("div", $o, [
|
|
623
623
|
m(
|
|
624
624
|
"span",
|
|
625
625
|
{
|
|
@@ -633,14 +633,14 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
633
633
|
J,
|
|
634
634
|
{ key: 1 },
|
|
635
635
|
[
|
|
636
|
-
e.teleported ? (u(), W(
|
|
636
|
+
e.teleported ? (u(), W(po, {
|
|
637
637
|
key: 0,
|
|
638
638
|
to: "body"
|
|
639
639
|
}, [
|
|
640
640
|
m(
|
|
641
641
|
"div",
|
|
642
642
|
{
|
|
643
|
-
style: S(
|
|
643
|
+
style: S(Ke.value)
|
|
644
644
|
},
|
|
645
645
|
[
|
|
646
646
|
m(
|
|
@@ -694,9 +694,9 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
694
694
|
style: { position: "absolute", left: "-50%", top: "-50%", opacity: "0", "pointer-events": "none" }
|
|
695
695
|
},
|
|
696
696
|
[
|
|
697
|
-
m("div",
|
|
698
|
-
m("div",
|
|
699
|
-
m("span",
|
|
697
|
+
m("div", Do, [
|
|
698
|
+
m("div", Lo, [
|
|
699
|
+
m("span", Oo, [
|
|
700
700
|
w(r(ie), {
|
|
701
701
|
style: S(o.size == "mini" || o.size == "table" ? { fontSize: "12px" } : {})
|
|
702
702
|
}, {
|
|
@@ -731,9 +731,9 @@ const To = { style: { "max-height": "200px", "word-break": "break-all", overflow
|
|
|
731
731
|
for (const [o, k] of D)
|
|
732
732
|
L[o] = k;
|
|
733
733
|
return L;
|
|
734
|
-
},
|
|
735
|
-
function
|
|
736
|
-
const L =
|
|
734
|
+
}, Eo = /* @__PURE__ */ ze(Ao, [["__scopeId", "data-v-4bfd844f"]]), Wo = {};
|
|
735
|
+
function Ro(M, D) {
|
|
736
|
+
const L = To;
|
|
737
737
|
return u(), W(
|
|
738
738
|
L,
|
|
739
739
|
Be({ class: "das-ui-select-option" }, M.$attrs),
|
|
@@ -742,7 +742,7 @@ function Wo(M, D) {
|
|
|
742
742
|
/* FULL_PROPS */
|
|
743
743
|
);
|
|
744
744
|
}
|
|
745
|
-
const
|
|
745
|
+
const qo = /* @__PURE__ */ ze(Wo, [["render", Ro], ["__scopeId", "data-v-c8593433"]]), Ko = {
|
|
746
746
|
"--das-ui-select-color-bg": "#FFFFFF",
|
|
747
747
|
// 默认背景色
|
|
748
748
|
"--das-ui-select-color-primary": Ie("--das-ui-color-primary"),
|
|
@@ -790,10 +790,10 @@ const Ro = /* @__PURE__ */ ze(Eo, [["render", Wo], ["__scopeId", "data-v-c859343
|
|
|
790
790
|
"--das-ui-select-overlay-error-color": "#FB2323",
|
|
791
791
|
"--das-ui-select-overlay-error-bg-color": "#FFDBE0"
|
|
792
792
|
};
|
|
793
|
-
|
|
794
|
-
const
|
|
793
|
+
wo(Ko);
|
|
794
|
+
const il = Se(Eo), ul = Se(qo), dl = { name: "select 选择器" };
|
|
795
795
|
export {
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
796
|
+
il as DasSelect,
|
|
797
|
+
ul as DasSelectOption,
|
|
798
|
+
dl as default
|
|
799
799
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-select[data-v-fdd56797]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-fdd56797]{position:absolute;top:100%;left:0;width:var(--38fb0abc)}.das-ui-select.show-ellipsis[data-v-fdd56797] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-fdd56797] .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-fdd56797] .ant-select{width:100%;height:var(--72fddfcb)}.das-ui-select[data-v-fdd56797] .ant-select .das-select-error-label-content{width:var(--38fb0abc);font-size:12px}.das-ui-select[data-v-fdd56797] .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-fdd56797] .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-fdd56797] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-fdd56797] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-fdd56797] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-fdd56797] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-fdd56797] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-fdd56797] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-fdd56797] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-fdd56797] .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-fdd56797] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-fdd56797] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-fdd56797] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .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-fdd56797] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-fdd56797] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-fdd56797] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-fdd56797] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-fdd56797] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-fdd56797] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-fdd56797] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-fdd56797] .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-fdd56797] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-fdd56797] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-fdd56797] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-fdd56797] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-fdd56797] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-fdd56797] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-fdd56797] .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-fdd56797] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-fdd56797] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-fdd56797] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-fdd56797] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-fdd56797] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-fdd56797] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-fdd56797] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-fdd56797] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-fdd56797] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-fdd56797] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-fdd56797] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-fdd56797] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-fdd56797] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-fdd56797] .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-fdd56797] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-fdd56797] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-fdd56797] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-fdd56797] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-fdd56797] .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-fdd56797] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-fdd56797] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-fdd56797] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-fdd56797]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-fdd56797]{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-4bfd844f]{display:inline-block;position:relative}.das-ui-select .das-select-overlay-error-label-content[data-v-4bfd844f]{position:absolute;top:100%;left:0;width:var(--7a670936)}.das-ui-select.show-ellipsis[data-v-4bfd844f] .ant-select-selection-overflow-item.ellipsis .ant-tag{display:flex;align-items:center}.das-ui-select.show-ellipsis[data-v-4bfd844f] .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-4bfd844f] .ant-select{width:100%;height:var(--8ea9b892)}.das-ui-select[data-v-4bfd844f] .ant-select .das-select-error-label-content{width:var(--7a670936);font-size:12px}.das-ui-select[data-v-4bfd844f] .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-4bfd844f] .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-4bfd844f] .ant-select:hover .ant-select-arrow{color:var(--das-ui-select-color-primary)}.das-ui-select[data-v-4bfd844f] .ant-select .ant-select-clear{color:#d9d9d9;width:16px;height:16px;margin-top:0;transform:translateY(-50%)}.das-ui-select[data-v-4bfd844f] .ant-select .ant-select-clear:hover{color:#999}.das-ui-select[data-v-4bfd844f] .ant-select .ant-select-selector{box-sizing:border-box;box-shadow:none!important}.das-ui-select[data-v-4bfd844f] .ant-select .ant-select-selector .ant-tag{margin-bottom:1px;background-color:transparent}.das-ui-select[data-v-4bfd844f] .ant-select .ant-select-selector .ant-select-selection-search{left:0}.das-ui-select[data-v-4bfd844f] .ant-select .ant-select-selector .ant-select-selection-placeholder{padding-left:0;left:0}.das-ui-select[data-v-4bfd844f] .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-4bfd844f] .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input,.das-ui-select[data-v-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text)}.das-ui-select[data-v-4bfd844f] .ant-select.ant-select-multiple .ant-select-selector{min-height:var(--das-ui-select-height-md)}.das-ui-select[data-v-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .ant-select.ant-select-multiple .ant-select-selection-overflow{max-height:var(--das-ui-select-max-height-md)}.das-ui-select[data-v-4bfd844f] .ant-select.ant-select-multiple.ant-select-sm .ant-select-selector{min-height:var(--das-ui-select-height-sm)}.das-ui-select[data-v-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .ant-select.ant-select-multiple.ant-select-lg .ant-select-selector{min-height:var(--das-ui-select-height-lg)}.das-ui-select[data-v-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .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-4bfd844f] .ant-select.ant-select-single .ant-select-selector{padding:0!important}.das-ui-select[data-v-4bfd844f] .ant-select-multiple .ant-select-selector{padding-top:0;padding-bottom:0}.das-ui-select[data-v-4bfd844f] .ant-select-multiple .ant-select-selector:after{margin:0}.das-ui-select[data-v-4bfd844f] .ant-select-multiple .anticon svg{vertical-align:baseline}.das-ui-select[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-arrow{color:var(--das-ui-select-color-disabled-underline)}.das-ui-select[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selection-item,.das-ui-select[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-tag{color:var(--das-ui-select-color-disabled-text)}.das-ui-select[data-v-4bfd844f] .ant-select .das-suffix-icon{transition:transform .5s}.das-ui-select[data-v-4bfd844f] .ant-select.ant-select-open .das-suffix-icon{transform:rotate(180deg)}.das-ui-select.underline[data-v-4bfd844f] .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-4bfd844f] .ant-select .ant-select-selector:hover,.das-ui-select.underline[data-v-4bfd844f] .ant-select.ant-select-focused .ant-select-selector{border-bottom-color:var(--das-ui-select-color-primary)!important}.das-ui-select.underline[data-v-4bfd844f] .ant-select .ant-select-arrow,.das-ui-select.underline[data-v-4bfd844f] .ant-select .ant-select-clear{right:0}.das-ui-select.underline.is-error[data-v-4bfd844f] .ant-select .ant-select-selector,.das-ui-select.underline.is-error[data-v-4bfd844f] .ant-select .ant-select-selector:hover{border-bottom-color:var(--das-ui-select-color-error)!important}.das-ui-select.underline[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.underline[data-v-4bfd844f] .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-4bfd844f] .ant-select .ant-select-selector{border-color:var(--das-ui-select-color-border)!important}.das-ui-select.bordered[data-v-4bfd844f] .ant-select .ant-select-selector:hover,.das-ui-select.bordered[data-v-4bfd844f] .ant-select.ant-select-focused .ant-select-selector{border-color:var(--das-ui-select-color-primary)!important}.das-ui-select.bordered[data-v-4bfd844f] .ant-select .ant-select-selector .ant-select-selection-search{left:8px}.das-ui-select.bordered[data-v-4bfd844f] .ant-select .ant-select-selector .ant-select-selection-placeholder,.das-ui-select.bordered[data-v-4bfd844f] .ant-select .ant-select-selector .ant-select-selection-item{padding-left:8px}.das-ui-select.bordered[data-v-4bfd844f] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.das-ui-select.bordered[data-v-4bfd844f] .ant-select.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:24px}.das-ui-select.bordered[data-v-4bfd844f] .ant-select.ant-select-multiple .ant-select-selector{padding-left:3px}.das-ui-select.bordered[data-v-4bfd844f] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-item{padding-left:0;height:auto}.das-ui-select.bordered[data-v-4bfd844f] .ant-select.ant-select-multiple .ant-select-selector .ant-select-selection-search{left:5px}.das-ui-select.bordered.is-error[data-v-4bfd844f] .ant-select .ant-select-selector,.das-ui-select.bordered.is-error[data-v-4bfd844f] .ant-select .ant-select-selector:hover{border-color:var(--das-ui-select-color-error)!important}.das-ui-select.bordered[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selector,.das-ui-select.bordered[data-v-4bfd844f] .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-4bfd844f] .ant-select .ant-select-arrow,.das-ui-select.none[data-v-4bfd844f] .ant-select .ant-select-clear{right:0}.das-ui-select.none[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important}.das-ui-select.readonly[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selector{background-color:transparent!important;cursor:default}.das-ui-select.readonly[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selector input{cursor:default}.das-ui-select.readonly[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selection-item{color:var(--das-ui-select-color-text);cursor:default}.das-ui-select.readonly[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-tag,.das-ui-select.readonly[data-v-4bfd844f] .ant-select-disabled.ant-select .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-4bfd844f] .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-4bfd844f] .ant-select-disabled.ant-select-multiple .ant-select-selection-placeholder{color:var(--das-ui-select-color-text)}.das-ui-select.readonly[data-v-4bfd844f] .ant-select .ant-select-arrow{display:none}.das-ui-select.readonly.underline[data-v-4bfd844f] .ant-select .ant-select-clear{right:0}.das-ui-select .das-select-label-content[data-v-4bfd844f]{font-size:12px}.das-ui-select .das-select-label-content .das-select-error-label[data-v-4bfd844f]{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
|