@das-fed/upf-ui 6.4.0-dev.128 → 6.4.0-dev.129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/packages/components/cascader/index.js +180 -165
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -0
- package/packages/components/checkbox/index.js +99 -92
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/Index.vue.d.ts +7 -2
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.129",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/upf-ui": "6.4.0-dev.
|
|
29
|
+
"@das-fed/upf-ui": "6.4.0-dev.129",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/upf-cli": "6.4.0-dev.
|
|
60
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/upf-web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/upf-cli": "6.4.0-dev.129",
|
|
60
|
+
"@das-fed/upf-utils": "6.4.0-dev.129",
|
|
61
|
+
"@das-fed/upf-web": "6.4.0-dev.129",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/cascader/style.css';
|
|
2
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as le, useCssVars as oe, ref as t, computed as v, useAttrs as te, watch as F, watchEffect as se, createElementBlock as h, openBlock as f, Fragment as W, createElementVNode as D, normalizeStyle as A, normalizeClass as ue, createVNode as _, createCommentVNode as E, unref as s, withCtx as b, withDirectives as N, mergeProps as de, isRef as ie, renderSlot as $, normalizeProps as ce, guardReactiveProps as ne, createTextVNode as Z, toDisplayString as I, createBlock as pe, nextTick as O } from "vue";
|
|
3
3
|
import { withInstall as ve } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { ElCascader as fe } from "element-plus";
|
|
5
5
|
import "element-plus/es/components/cascader/style/css";
|
|
6
6
|
import { vHoverInside as me } from "@das-fed/upf-utils/directive/hoverInside/index";
|
|
7
|
-
import { getVarValue as he, getVar as
|
|
8
|
-
import { t as
|
|
7
|
+
import { getVarValue as he, getVar as q, setThemeRule as be } from "@das-fed/upf-web/packages/theme/index";
|
|
8
|
+
import { t as ye, setI18nRule as ge } from "@das-fed/upf-web/packages/i18n/index";
|
|
9
9
|
import { vScrollbar as xe } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
10
|
-
import { DasTooltip as
|
|
10
|
+
import { DasTooltip as H } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
11
11
|
import { DasErrorOverlayModel as Ve } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
|
|
12
12
|
import { calcTextWidth as Te } from "@das-fed/upf-utils/common-tools";
|
|
13
13
|
import { useModelValue as we } from "@das-fed/upf-utils/vue";
|
|
@@ -16,7 +16,7 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
16
16
|
class: "das-cascader-error-label-content"
|
|
17
17
|
}, ze = {
|
|
18
18
|
name: "DasCascader"
|
|
19
|
-
}, Be = /* @__PURE__ */
|
|
19
|
+
}, Be = /* @__PURE__ */ le({
|
|
20
20
|
...ze,
|
|
21
21
|
props: {
|
|
22
22
|
modelValue: { default: void 0 },
|
|
@@ -25,7 +25,7 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
25
25
|
width: { default: "230px" },
|
|
26
26
|
height: {},
|
|
27
27
|
bordered: { type: Boolean, default: !1 },
|
|
28
|
-
placeholder: { default:
|
|
28
|
+
placeholder: { default: ye("请选择") },
|
|
29
29
|
collapseTags: { type: Boolean, default: !0 },
|
|
30
30
|
disabled: { type: Boolean, default: !1 },
|
|
31
31
|
isView: { type: Boolean, default: !1 },
|
|
@@ -38,25 +38,25 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
38
38
|
noSetDefaultVal: { type: Boolean }
|
|
39
39
|
},
|
|
40
40
|
emits: ["update:model-value", "change"],
|
|
41
|
-
setup(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
setup(y, { expose: C, emit: g }) {
|
|
42
|
+
oe((e) => ({
|
|
43
|
+
"16ca13f0": X.value,
|
|
44
|
+
f6165db6: Y.value,
|
|
45
|
+
a88da978: z.value
|
|
46
46
|
}));
|
|
47
|
-
const a =
|
|
47
|
+
const a = y, l = we(a, "modelValue"), M = g, U = te(), d = t(null), x = t(null), S = t(null), V = t(), k = t(!1), T = v(() => a.isView ? a.noSetDefaultVal ? " " : "-" : a.placeholder ?? " "), i = t(0), c = t(0), u = t(!1), j = v(() => (Array.isArray(l.value) ? l.value.length : l.value) ? V.value : T.value), w = v(() => {
|
|
48
48
|
var e;
|
|
49
49
|
return x.value ? (e = x.value) == null ? void 0 : e.querySelector(".el-input__inner") : null;
|
|
50
|
-
}),
|
|
50
|
+
}), L = () => {
|
|
51
51
|
const e = a.size === "table" ? 12 : 14;
|
|
52
52
|
return Te(T.value, e);
|
|
53
|
-
},
|
|
54
|
-
|
|
53
|
+
}, P = () => {
|
|
54
|
+
O(() => {
|
|
55
55
|
var e, r;
|
|
56
56
|
if (w.value) {
|
|
57
|
-
|
|
57
|
+
i.value = ((e = w.value) == null ? void 0 : e.offsetWidth) ?? 0;
|
|
58
58
|
const o = Array.isArray(l.value) ? l.value.length : l.value;
|
|
59
|
-
|
|
59
|
+
c.value = o ? (r = w.value) == null ? void 0 : r.scrollWidth : L(), (i.value === c.value || c.value - i.value < 1) && (u.value = !1);
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
};
|
|
@@ -66,18 +66,18 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
66
66
|
setTimeout(() => {
|
|
67
67
|
const r = e;
|
|
68
68
|
if (r) {
|
|
69
|
-
|
|
69
|
+
i.value = (r == null ? void 0 : r.offsetWidth) ?? 0;
|
|
70
70
|
const o = Array.isArray(l.value) ? l.value.length : l.value;
|
|
71
|
-
|
|
71
|
+
c.value = o ? r == null ? void 0 : r.scrollWidth : L();
|
|
72
72
|
}
|
|
73
73
|
}, 200);
|
|
74
74
|
}
|
|
75
|
-
), F(() => [T.value, l.value],
|
|
75
|
+
), F(() => [T.value, l.value], P);
|
|
76
76
|
const n = t();
|
|
77
77
|
F(
|
|
78
78
|
() => {
|
|
79
79
|
var e;
|
|
80
|
-
return (e =
|
|
80
|
+
return (e = S.value) == null ? void 0 : e.$tooltipRef.popperRef.contentRef;
|
|
81
81
|
},
|
|
82
82
|
(e) => {
|
|
83
83
|
e && (e.addEventListener("mouseenter", function() {
|
|
@@ -89,34 +89,34 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
89
89
|
}));
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
|
-
const
|
|
92
|
+
const G = t({
|
|
93
93
|
display: "block",
|
|
94
94
|
color: he("--das-ui-cascader-overlay-error-color").value,
|
|
95
95
|
"white-space": "break-spaces"
|
|
96
|
-
}),
|
|
97
|
-
|
|
98
|
-
},
|
|
96
|
+
}), J = () => {
|
|
97
|
+
P(), i.value === c.value || c.value - i.value < 1 ? u.value = !1 : (u.value = !0, n.value && clearTimeout(n.value)), k.value = !0;
|
|
98
|
+
}, K = () => {
|
|
99
99
|
n.value = setTimeout(() => {
|
|
100
100
|
u.value = !1;
|
|
101
101
|
}, 200), k.value = !1;
|
|
102
|
-
},
|
|
103
|
-
e ?
|
|
104
|
-
},
|
|
102
|
+
}, Q = (e, r) => {
|
|
103
|
+
e ? J() : K();
|
|
104
|
+
}, X = v(() => a.width ? a.width : "230px"), Y = v(() => a.height ? a.height : "auto"), R = v(() => ({
|
|
105
105
|
width: typeof a.width == "number" ? a.width + "px" : a.width
|
|
106
106
|
})), z = t("-10px");
|
|
107
|
-
|
|
107
|
+
se(() => {
|
|
108
108
|
l.value ? setTimeout(() => {
|
|
109
|
-
|
|
109
|
+
ee();
|
|
110
110
|
}, 1e3) : V.value = "";
|
|
111
111
|
});
|
|
112
|
-
const
|
|
112
|
+
const ee = () => {
|
|
113
113
|
var r;
|
|
114
114
|
let e = (r = d == null ? void 0 : d.value) == null ? void 0 : r.getCheckedNodes();
|
|
115
115
|
e && e[0] && e[0].text ? V.value = e[0].text : V.value = "";
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
},
|
|
119
|
-
|
|
116
|
+
}, ae = (e, r) => {
|
|
117
|
+
M("update:model-value", e), M("change", e);
|
|
118
|
+
}, re = (e) => {
|
|
119
|
+
O(() => {
|
|
120
120
|
var o, p;
|
|
121
121
|
const r = (p = (o = d.value) == null ? void 0 : o.popperPaneRef) == null ? void 0 : p.attributes["data-popper-placement"].value;
|
|
122
122
|
r && r.indexOf("top") > -1 ? z.value = "10px" : z.value = "-10px";
|
|
@@ -125,148 +125,163 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
125
125
|
return C({
|
|
126
126
|
$cascader: d
|
|
127
127
|
}), (e, r) => (f(), h(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
class: te(["das-ui-cascader", [
|
|
131
|
-
e.bordered ? "bordered" : "underline",
|
|
132
|
-
a.isView ? "readonly" : "",
|
|
133
|
-
a.error ? "is-error" : "",
|
|
134
|
-
a.size
|
|
135
|
-
]]),
|
|
136
|
-
style: R(P.value)
|
|
137
|
-
},
|
|
128
|
+
W,
|
|
129
|
+
null,
|
|
138
130
|
[
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
ref: d,
|
|
158
|
-
modelValue: s(l),
|
|
159
|
-
"onUpdate:modelValue": r[0] || (r[0] = (p) => ue(l) ? l.value = p : null)
|
|
160
|
-
}, s(q), {
|
|
161
|
-
props: a.props,
|
|
162
|
-
size: a.size === "table" || a.size === "medium" ? "default" : a.size,
|
|
163
|
-
disabled: a.disabled || a.isView,
|
|
164
|
-
placeholder: T.value,
|
|
165
|
-
collapseTags: a.collapseTags,
|
|
166
|
-
separator: a.separator,
|
|
167
|
-
"popper-class": (o = a.props) != null && o.multiple ? "das-ui-cascader-popper-box das-popper-multiple" : "das-ui-cascader-popper-box das-popper-simple",
|
|
168
|
-
style: P.value,
|
|
169
|
-
onVisibleChange: ee,
|
|
170
|
-
onChange: Y
|
|
171
|
-
}), {
|
|
172
|
-
default: y(({ node: p, data: B }) => [
|
|
173
|
-
A(e.$slots, "default", de(ce({ node: p, data: B })), () => [
|
|
174
|
-
_(
|
|
175
|
-
s(O),
|
|
176
|
-
{ placement: "top" },
|
|
177
|
-
{
|
|
178
|
-
content: y(() => {
|
|
179
|
-
var m;
|
|
180
|
-
return [
|
|
181
|
-
W((f(), h("div", Ce, [
|
|
182
|
-
N(
|
|
183
|
-
E(B[((m = a.props) == null ? void 0 : m.label) || "label"]),
|
|
184
|
-
1
|
|
185
|
-
/* TEXT */
|
|
186
|
-
)
|
|
187
|
-
])), [
|
|
188
|
-
[s(xe)]
|
|
189
|
-
])
|
|
190
|
-
];
|
|
191
|
-
}),
|
|
192
|
-
default: y(() => {
|
|
193
|
-
var m;
|
|
194
|
-
return [
|
|
195
|
-
N(
|
|
196
|
-
" " + E(B[((m = a.props) == null ? void 0 : m.label) || "label"]),
|
|
197
|
-
1
|
|
198
|
-
/* TEXT */
|
|
199
|
-
)
|
|
200
|
-
];
|
|
201
|
-
}),
|
|
202
|
-
_: 2
|
|
203
|
-
/* DYNAMIC */
|
|
204
|
-
},
|
|
205
|
-
1024
|
|
206
|
-
/* DYNAMIC_SLOTS */
|
|
207
|
-
)
|
|
208
|
-
], !0)
|
|
209
|
-
]),
|
|
210
|
-
empty: y(() => [
|
|
211
|
-
A(e.$slots, "empty", {}, void 0, !0)
|
|
212
|
-
]),
|
|
213
|
-
_: 3
|
|
214
|
-
/* FORWARDED */
|
|
215
|
-
}, 16, ["modelValue", "props", "size", "disabled", "placeholder", "collapseTags", "separator", "popper-class", "style"])
|
|
216
|
-
])), [
|
|
217
|
-
[s(me), J]
|
|
218
|
-
])
|
|
219
|
-
];
|
|
220
|
-
}),
|
|
221
|
-
_: 3
|
|
222
|
-
/* FORWARDED */
|
|
223
|
-
}, 8, ["visible", "disabled", "content"]),
|
|
224
|
-
e.error && e.errorLabel ? (f(), h(
|
|
225
|
-
ie,
|
|
226
|
-
{ key: 0 },
|
|
131
|
+
r[1] || (r[1] = D(
|
|
132
|
+
"h1",
|
|
133
|
+
null,
|
|
134
|
+
"123321",
|
|
135
|
+
-1
|
|
136
|
+
/* HOISTED */
|
|
137
|
+
)),
|
|
138
|
+
D(
|
|
139
|
+
"div",
|
|
140
|
+
{
|
|
141
|
+
class: ue(["das-ui-cascader", [
|
|
142
|
+
e.bordered ? "bordered" : "underline",
|
|
143
|
+
a.isView ? "readonly" : "",
|
|
144
|
+
a.error ? "is-error" : "",
|
|
145
|
+
a.size
|
|
146
|
+
]]),
|
|
147
|
+
style: A(R.value)
|
|
148
|
+
},
|
|
227
149
|
[
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
)
|
|
238
|
-
])) : D("v-if", !0),
|
|
239
|
-
e.errorMode === "overlay" && k.value ? (f(), ne(s(Ve), {
|
|
240
|
-
key: 1,
|
|
241
|
-
errorLabel: e.errorLabel,
|
|
242
|
-
getEl: () => {
|
|
150
|
+
_(s(H), {
|
|
151
|
+
ref_key: "inputTooltipRef",
|
|
152
|
+
ref: S,
|
|
153
|
+
placement: "top",
|
|
154
|
+
trigger: "hover",
|
|
155
|
+
visible: u.value,
|
|
156
|
+
disabled: !e.isTooltip,
|
|
157
|
+
content: j.value
|
|
158
|
+
}, {
|
|
159
|
+
default: b(() => {
|
|
243
160
|
var o;
|
|
244
|
-
return
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
161
|
+
return [
|
|
162
|
+
N((f(), h("div", {
|
|
163
|
+
ref_key: "$cascaderBox",
|
|
164
|
+
ref: x
|
|
165
|
+
}, [
|
|
166
|
+
_(s(fe), de({
|
|
167
|
+
ref_key: "$cascader",
|
|
168
|
+
ref: d,
|
|
169
|
+
modelValue: s(l),
|
|
170
|
+
"onUpdate:modelValue": r[0] || (r[0] = (p) => ie(l) ? l.value = p : null)
|
|
171
|
+
}, s(U), {
|
|
172
|
+
props: a.props,
|
|
173
|
+
size: a.size === "table" || a.size === "medium" ? "default" : a.size,
|
|
174
|
+
disabled: a.disabled || a.isView,
|
|
175
|
+
placeholder: T.value,
|
|
176
|
+
collapseTags: a.collapseTags,
|
|
177
|
+
separator: a.separator,
|
|
178
|
+
"popper-class": (o = a.props) != null && o.multiple ? "das-ui-cascader-popper-box das-popper-multiple" : "das-ui-cascader-popper-box das-popper-simple",
|
|
179
|
+
style: R.value,
|
|
180
|
+
onVisibleChange: re,
|
|
181
|
+
onChange: ae
|
|
182
|
+
}), {
|
|
183
|
+
default: b(({ node: p, data: B }) => [
|
|
184
|
+
$(e.$slots, "default", ce(ne({ node: p, data: B })), () => [
|
|
185
|
+
_(
|
|
186
|
+
s(H),
|
|
187
|
+
{ placement: "top" },
|
|
188
|
+
{
|
|
189
|
+
content: b(() => {
|
|
190
|
+
var m;
|
|
191
|
+
return [
|
|
192
|
+
N((f(), h("div", Ce, [
|
|
193
|
+
Z(
|
|
194
|
+
I(B[((m = a.props) == null ? void 0 : m.label) || "label"]),
|
|
195
|
+
1
|
|
196
|
+
/* TEXT */
|
|
197
|
+
)
|
|
198
|
+
])), [
|
|
199
|
+
[s(xe)]
|
|
200
|
+
])
|
|
201
|
+
];
|
|
202
|
+
}),
|
|
203
|
+
default: b(() => {
|
|
204
|
+
var m;
|
|
205
|
+
return [
|
|
206
|
+
Z(
|
|
207
|
+
" " + I(B[((m = a.props) == null ? void 0 : m.label) || "label"]),
|
|
208
|
+
1
|
|
209
|
+
/* TEXT */
|
|
210
|
+
)
|
|
211
|
+
];
|
|
212
|
+
}),
|
|
213
|
+
_: 2
|
|
214
|
+
/* DYNAMIC */
|
|
215
|
+
},
|
|
216
|
+
1024
|
|
217
|
+
/* DYNAMIC_SLOTS */
|
|
218
|
+
)
|
|
219
|
+
], !0)
|
|
220
|
+
]),
|
|
221
|
+
empty: b(() => [
|
|
222
|
+
$(e.$slots, "empty", {}, void 0, !0)
|
|
223
|
+
]),
|
|
224
|
+
_: 3
|
|
225
|
+
/* FORWARDED */
|
|
226
|
+
}, 16, ["modelValue", "props", "size", "disabled", "placeholder", "collapseTags", "separator", "popper-class", "style"])
|
|
227
|
+
])), [
|
|
228
|
+
[s(me), Q]
|
|
229
|
+
])
|
|
230
|
+
];
|
|
231
|
+
}),
|
|
232
|
+
_: 3
|
|
233
|
+
/* FORWARDED */
|
|
234
|
+
}, 8, ["visible", "disabled", "content"]),
|
|
235
|
+
e.error && e.errorLabel ? (f(), h(
|
|
236
|
+
W,
|
|
237
|
+
{ key: 0 },
|
|
238
|
+
[
|
|
239
|
+
e.errorMode === "default" ? (f(), h("div", ke, [
|
|
240
|
+
D(
|
|
241
|
+
"span",
|
|
242
|
+
{
|
|
243
|
+
style: A(G.value)
|
|
244
|
+
},
|
|
245
|
+
I(e.errorLabel),
|
|
246
|
+
5
|
|
247
|
+
/* TEXT, STYLE */
|
|
248
|
+
)
|
|
249
|
+
])) : E("v-if", !0),
|
|
250
|
+
e.errorMode === "overlay" && k.value ? (f(), pe(s(Ve), {
|
|
251
|
+
key: 1,
|
|
252
|
+
errorLabel: e.errorLabel,
|
|
253
|
+
getEl: () => {
|
|
254
|
+
var o;
|
|
255
|
+
return (o = x.value) == null ? void 0 : o.querySelector(".el-cascader");
|
|
256
|
+
},
|
|
257
|
+
errorModelZIndex: e.errorModelZIndex
|
|
258
|
+
}, null, 8, ["errorLabel", "getEl", "errorModelZIndex"])) : E("v-if", !0)
|
|
259
|
+
],
|
|
260
|
+
64
|
|
261
|
+
/* STABLE_FRAGMENT */
|
|
262
|
+
)) : E("v-if", !0)
|
|
248
263
|
],
|
|
249
|
-
|
|
250
|
-
/*
|
|
251
|
-
)
|
|
264
|
+
6
|
|
265
|
+
/* CLASS, STYLE */
|
|
266
|
+
)
|
|
252
267
|
],
|
|
253
|
-
|
|
254
|
-
/*
|
|
268
|
+
64
|
|
269
|
+
/* STABLE_FRAGMENT */
|
|
255
270
|
));
|
|
256
271
|
}
|
|
257
|
-
}), Fe = (
|
|
258
|
-
const g =
|
|
272
|
+
}), Fe = (y, C) => {
|
|
273
|
+
const g = y.__vccOpts || y;
|
|
259
274
|
for (const [a, l] of C)
|
|
260
275
|
g[a] = l;
|
|
261
276
|
return g;
|
|
262
|
-
},
|
|
277
|
+
}, De = /* @__PURE__ */ Fe(Be, [["__scopeId", "data-v-60fc67f6"]]), _e = { 请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" } }, Ee = {
|
|
263
278
|
"--das-ui-cascader-color-primary": "#5582F3",
|
|
264
279
|
// 主题色
|
|
265
|
-
"--das-ui-cascader-color-text":
|
|
280
|
+
"--das-ui-cascader-color-text": q("--das-ui-color-normal"),
|
|
266
281
|
// 常规字体色
|
|
267
282
|
"--das-ui-cascader-color-border": "#d9d9d9",
|
|
268
283
|
// 边框基础色
|
|
269
|
-
"--das-ui-cascader-color-underline":
|
|
284
|
+
"--das-ui-cascader-color-underline": q("--das-ui-color-help"),
|
|
270
285
|
// 下划线基础色
|
|
271
286
|
"--das-ui-cascader-color-error": "#FB2323",
|
|
272
287
|
// 错误边框色
|
|
@@ -291,9 +306,9 @@ const Ce = { style: { maxheight: "200px" } }, ke = {
|
|
|
291
306
|
"--das-ui-cascader-overlay-error-color": "#FB2323",
|
|
292
307
|
"--das-ui-cascader-overlay-error-bg-color": "#FFDBE0"
|
|
293
308
|
};
|
|
294
|
-
ge(
|
|
295
|
-
|
|
296
|
-
const qe = ve(
|
|
309
|
+
ge(_e);
|
|
310
|
+
be(Ee);
|
|
311
|
+
const qe = ve(De), He = () => t(null), Ue = { name: "cascader 级联" };
|
|
297
312
|
export {
|
|
298
313
|
qe as DasCascader,
|
|
299
314
|
He as DasCascaderRef,
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-cascader[data-v-
|
|
1
|
+
.das-ui-cascader[data-v-60fc67f6]{display:inline-block;position:relative}.das-ui-cascader .das-cascader-error-label-content[data-v-60fc67f6]{width:var(--16ca13f0);font-size:12px}.das-ui-cascader .das-cascader-error-label-content .label[data-v-60fc67f6]{display:block;color:var(--das-ui-cascader-overlay-error-color);white-space:break-spaces}.das-ui-cascader .das-cascader-overlay-error-label-content[data-v-60fc67f6]{position:absolute;top:100%;left:0;width:var(--16ca13f0)}.das-ui-cascader[data-v-60fc67f6] .el-cascader .el-input{height:var(--f6165db6)}.das-ui-cascader[data-v-60fc67f6] .el-cascader>.el-input input{height:28px;font-size:var(--das-ui-cascader-font-size-middle)}.das-ui-cascader[data-v-60fc67f6] .el-cascader.el-cascader--small>.el-input input{height:auto;font-size:var(--das-ui-cascader-font-size-small)}.das-ui-cascader[data-v-60fc67f6] .el-cascader .el-input__inner{color:var(--das-ui-cascader-color-text)}.das-ui-cascader[data-v-60fc67f6] .el-cascader .el-input.is-disabled,.das-ui-cascader[data-v-60fc67f6] .el-cascader .el-input.is-disabled .el-input__inner{cursor:no-drop}.das-ui-cascader[data-v-60fc67f6] .el-cascader .icon-arrow-down{color:#666}.das-ui-cascader[data-v-60fc67f6] .el-cascader:hover .icon-arrow-down{color:var(--das-ui-cascader-color-primary)}.das-ui-cascader[data-v-60fc67f6] .el-cascader .icon-circle-close{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685934237687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2634'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20128c212.064%200%20384%20171.936%20384%20384s-171.936%20384-384%20384S128%20724.064%20128%20512%20299.936%20128%20512%20128z%20m-140.384%20198.72a32%2032%200%200%200-42.24%202.656l-2.656%203.008a32%2032%200%200%200%202.656%2042.24L466.72%20512l-137.344%20137.376a32%2032%200%200%200%2045.248%2045.248L512%20557.28l137.376%20137.344%203.008%202.656a32%2032%200%200%200%2042.24-2.656l2.656-3.008a32%2032%200%200%200-2.656-42.24L557.28%20512l137.344-137.376a32%2032%200%200%200-45.248-45.248L512%20466.72l-137.376-137.344z'%20fill='%23d9d9d9'%20fill-opacity='1'%20p-id='2635'%3e%3c/path%3e%3c/svg%3e");background-size:cover;width:16px;height:16px}.das-ui-cascader[data-v-60fc67f6] .el-cascader .icon-circle-close:hover{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1685934237687'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2634'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M512%20128c212.064%200%20384%20171.936%20384%20384s-171.936%20384-384%20384S128%20724.064%20128%20512%20299.936%20128%20512%20128z%20m-140.384%20198.72a32%2032%200%200%200-42.24%202.656l-2.656%203.008a32%2032%200%200%200%202.656%2042.24L466.72%20512l-137.344%20137.376a32%2032%200%200%200%2045.248%2045.248L512%20557.28l137.376%20137.344%203.008%202.656a32%2032%200%200%200%2042.24-2.656l2.656-3.008a32%2032%200%200%200-2.656-42.24L557.28%20512l137.344-137.376a32%2032%200%200%200-45.248-45.248L512%20466.72l-137.376-137.344z'%20fill='%23999999'%20fill-opacity='1'%20p-id='2635'%3e%3c/path%3e%3c/svg%3e")}.das-ui-cascader[data-v-60fc67f6] .el-cascader .icon-circle-close svg{display:none}.das-ui-cascader.table[data-v-60fc67f6] .el-cascader>.el-input input{font-size:var(--das-ui-cascader-font-size-table)}.das-ui-cascader.readonly[data-v-60fc67f6] .el-cascader .el-input__wrapper{background-color:transparent}.das-ui-cascader.readonly[data-v-60fc67f6] .el-cascader .el-input__wrapper .el-input__inner{color:var(--das-ui-cascader-color-text);-webkit-text-fill-color:var(--das-ui-cascader-color-text)}.das-ui-cascader.readonly[data-v-60fc67f6] .el-cascader .el-input__wrapper .el-input__suffix{display:none}.das-ui-cascader.bordered[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 0 0 1px var(--das-ui-cascader-color-border) inset}.das-ui-cascader.bordered[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-primary) inset}.das-ui-cascader.bordered.is-error[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 0 0 1px var(--das-ui-cascader-color-error) inset}.das-ui-cascader.bordered.is-error[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-error) inset}.das-ui-cascader.bordered.readonly[data-v-60fc67f6] .el-cascader .el-input .el-input__wrapper,.das-ui-cascader.bordered.readonly[data-v-60fc67f6] .el-cascader .el-input .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper{padding:1px 0;border-radius:0;box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-underline) inset}.das-ui-cascader.underline[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-primary) inset}.das-ui-cascader.underline[data-v-60fc67f6] .el-cascader>.el-input.is-disabled .el-input__wrapper{background-color:transparent;box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline[data-v-60fc67f6] .el-cascader>.el-input.is-disabled .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader.underline.is-error[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-error) inset}.das-ui-cascader.underline.is-error[data-v-60fc67f6] .el-cascader>.el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-error) inset}.das-ui-cascader.underline.readonly[data-v-60fc67f6] .el-cascader .el-input .el-input__wrapper,.das-ui-cascader.underline.readonly[data-v-60fc67f6] .el-cascader .el-input .el-input__wrapper:hover{box-shadow:0 -1px 0 0 var(--das-ui-cascader-color-disabled) inset}.das-ui-cascader .das-cascader-label-content[data-v-60fc67f6]{font-size:12px}.das-ui-cascader .das-cascader-label-content .das-cascader-error-label[data-v-60fc67f6]{display:block;color:var(--das-ui-cascader-color-error)}.das-ui-cascader-popper-box.el-popper{transform:translateY(var(--a88da978))}.das-ui-cascader-popper-box .el-popper__arrow{display:none}.das-ui-cascader-popper-box .el-cascader-menu{width:var(--das-ui-cascader-menu-min-width);color:var(--das-ui-cascader-color-text)}.das-ui-cascader-popper-box .el-cascader-node{padding-left:12px;padding-right:20px;height:var(--das-ui-cascader-menu-node-height);line-height:var(--das-ui-cascader-menu-node-height)}.das-ui-cascader-popper-box .el-cascader-node:not(.is-disabled):focus{background:var(--das-ui-cascader-menu-color-active-bg)}.das-ui-cascader-popper-box .el-cascader-node:not(.is-disabled):hover{background:var(--das-ui-cascader-menu-color-hover-bg)}.das-ui-cascader-popper-box .el-cascader-node__label{padding-left:0}.das-ui-cascader-popper-box .el-cascader-node>.el-checkbox,.das-ui-cascader-popper-box .el-cascader-node>.el-radio{margin-right:5px}.das-ui-cascader-popper-box .el-checkbox__inner{border-color:var(--das-ui-cascader-menu-checkbox-border-color)}.das-ui-cascader-popper-box .el-checkbox__input.is-checked .el-checkbox__inner{border-color:var(--das-ui-cascader-color-primary);background-color:var(--das-ui-cascader-color-primary)}.das-ui-cascader-popper-box .el-checkbox__input.is-indeterminate .el-checkbox__inner{border-color:var(--das-ui-cascader-menu-checkbox-border-color);background-color:#fff}.das-ui-cascader-popper-box .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--das-ui-cascader-color-primary);top:0;height:12px}.das-ui-cascader-popper-box .el-cascader-node__prefix{display:none}.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.in-active-path,.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.is-active,.das-ui-cascader-popper-box.das-popper-simple .el-cascader-node.is-selectable.in-checked-path,.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.in-active-path,.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.is-selectable.in-checked-path{color:var(--das-ui-cascader-color-primary);background-color:#f2f6ff;font-weight:400}.das-ui-cascader-popper-box.das-popper-multiple .el-cascader-node.is-active{color:#212121;font-weight:400}
|
|
Binary file
|
|
@@ -115,6 +115,10 @@ declare const DasCheckboxRef: () => import("vue").Ref<({
|
|
|
115
115
|
}>, "name" | "size" | "defaultProps" | "disabled" | "modelValue" | "teleported" | "width" | "isView" | "error" | "errorLabel" | "isErrorTitle" | "errorMode" | "noSetDefaultVal" | "options" | "optionType" | "layout" | "maxWidth" | "checkboxType" | "indeterminate"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
116
116
|
$slots: {
|
|
117
117
|
default?: (((props: {}) => any) & ((props: {}) => any) & ((props: {}) => any)) | undefined;
|
|
118
|
+
content?: ((props: {
|
|
119
|
+
item: any;
|
|
120
|
+
index: number;
|
|
121
|
+
}) => any) | undefined;
|
|
118
122
|
};
|
|
119
123
|
}) | null, ({
|
|
120
124
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -232,6 +236,10 @@ declare const DasCheckboxRef: () => import("vue").Ref<({
|
|
|
232
236
|
}>, "name" | "size" | "defaultProps" | "disabled" | "modelValue" | "teleported" | "width" | "isView" | "error" | "errorLabel" | "isErrorTitle" | "errorMode" | "noSetDefaultVal" | "options" | "optionType" | "layout" | "maxWidth" | "checkboxType" | "indeterminate"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
233
237
|
$slots: {
|
|
234
238
|
default?: (((props: {}) => any) & ((props: {}) => any) & ((props: {}) => any)) | undefined;
|
|
239
|
+
content?: ((props: {
|
|
240
|
+
item: any;
|
|
241
|
+
index: number;
|
|
242
|
+
}) => any) | undefined;
|
|
235
243
|
};
|
|
236
244
|
}) | null>;
|
|
237
245
|
declare const DasCheckbox: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
@@ -329,6 +337,10 @@ declare const DasCheckbox: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
329
337
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
330
338
|
$slots: {
|
|
331
339
|
default?: (((props: {}) => any) & ((props: {}) => any) & ((props: {}) => any)) | undefined;
|
|
340
|
+
content?: ((props: {
|
|
341
|
+
item: any;
|
|
342
|
+
index: number;
|
|
343
|
+
}) => any) | undefined;
|
|
332
344
|
};
|
|
333
345
|
})>;
|
|
334
346
|
export { DasCheckbox, DasCheckboxRef };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/checkbox/style.css';
|
|
2
|
-
import { defineComponent as
|
|
2
|
+
import { defineComponent as Z, computed as m, reactive as _, toRefs as ee, watchEffect as ae, watch as le, useSlots as oe, ref as K, onMounted as se, createElementBlock as u, openBlock as o, createBlock as E, createCommentVNode as c, unref as r, mergeProps as P, isRef as U, withCtx as W, withDirectives as y, normalizeStyle as g, renderSlot as w, normalizeClass as n, Fragment as C, renderList as $, createElementVNode as A, createTextVNode as M, toDisplayString as p, createVNode as j } from "vue";
|
|
3
3
|
import { withInstall as te } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { CheckboxGroup as ue } from "ant-design-vue/es";
|
|
5
5
|
import "ant-design-vue/es/checkbox/style/css";
|
|
6
|
-
import { Checkbox as
|
|
7
|
-
import { DasAutoRegisterIcon as
|
|
6
|
+
import { Checkbox as G } from "ant-design-vue";
|
|
7
|
+
import { DasAutoRegisterIcon as re, DasIcon as H } from "@das-fed/upf-ui/packages/components/icon/index";
|
|
8
8
|
import { vDasTooltip as x } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
9
|
-
import { useModelValue as
|
|
10
|
-
import { setThemeRule as
|
|
9
|
+
import { useModelValue as J } from "@das-fed/upf-utils/vue";
|
|
10
|
+
import { setThemeRule as ie } from "@das-fed/upf-web/packages/theme/index";
|
|
11
11
|
const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick", "onBlur", "tabindex"], fe = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "square-select-icon"
|
|
@@ -23,7 +23,7 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
23
23
|
}, ke = {
|
|
24
24
|
key: 7,
|
|
25
25
|
class: "das-checkbox-overlay-error-label-content"
|
|
26
|
-
}, me = { class: "label" }, ye = /* @__PURE__ */
|
|
26
|
+
}, me = { class: "label" }, ye = /* @__PURE__ */ Z({
|
|
27
27
|
__name: "Index",
|
|
28
28
|
props: {
|
|
29
29
|
modelValue: { default: null },
|
|
@@ -51,23 +51,23 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
51
51
|
},
|
|
52
52
|
emits: ["change", "update:modelValue", "update:indeterminate"],
|
|
53
53
|
setup(T, { emit: B }) {
|
|
54
|
-
|
|
54
|
+
re({
|
|
55
55
|
select: import("@das-fed/upf-ui/packages/icons/select")
|
|
56
56
|
});
|
|
57
|
-
const s = T,
|
|
57
|
+
const s = T, D = m(() => s.noSetDefaultVal ? "" : "-"), F = _({
|
|
58
58
|
checkboxValue: null,
|
|
59
59
|
isFocus: !1,
|
|
60
60
|
checkboxLayout: "",
|
|
61
61
|
checkboxIndeterminate: !1
|
|
62
62
|
});
|
|
63
|
-
let { checkboxValue: t, isFocus:
|
|
64
|
-
const
|
|
65
|
-
|
|
63
|
+
let { checkboxValue: t, isFocus: S, checkboxIndeterminate: v } = ee(F);
|
|
64
|
+
const z = s.layout, k = B;
|
|
65
|
+
ae(() => {
|
|
66
66
|
t.value = s.modelValue, v.value = s.indeterminate, s.checkboxType == "default" && s.optionType == "default" && s.modelValue && (v.value = !1);
|
|
67
|
-
}),
|
|
67
|
+
}), le(t, (e) => {
|
|
68
68
|
k("update:modelValue", e);
|
|
69
69
|
});
|
|
70
|
-
const f =
|
|
70
|
+
const f = J(s, "defaultProps"), V = J(s, "options"), b = m(() => V.value.length ? V.value.map((e) => {
|
|
71
71
|
var l;
|
|
72
72
|
return {
|
|
73
73
|
value: e[f.value.value],
|
|
@@ -79,19 +79,19 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
79
79
|
};
|
|
80
80
|
}) : []), N = () => {
|
|
81
81
|
v && (v.value = !1, k("update:indeterminate", v.value), k("update:modelValue", t.value)), k("change", t.value);
|
|
82
|
-
},
|
|
83
|
-
if (!
|
|
82
|
+
}, Q = s.disabled, X = b.value.some((e) => !!e.mutual), I = (e, l) => {
|
|
83
|
+
if (!Q)
|
|
84
84
|
if (e == "group") {
|
|
85
85
|
if (l.disabled) return;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}), l.checked = !0) : (l.checked = !l.checked, b.value.forEach((
|
|
89
|
-
|
|
90
|
-
})) : l.checked = !l.checked, l.isFocus = !0, t.value = b.value.filter((
|
|
86
|
+
X ? l.mutual ? (b.value.forEach((i) => {
|
|
87
|
+
i.checked = !1;
|
|
88
|
+
}), l.checked = !0) : (l.checked = !l.checked, b.value.forEach((i) => {
|
|
89
|
+
i.mutual && (i.checked = !b.value.some((a) => a.checked));
|
|
90
|
+
})) : l.checked = !l.checked, l.isFocus = !0, t.value = b.value.filter((i) => i.checked).map((i) => i.value), k("change", t.value);
|
|
91
91
|
} else
|
|
92
|
-
t.value = !t.value,
|
|
93
|
-
},
|
|
94
|
-
var e, l,
|
|
92
|
+
t.value = !t.value, S.value = !0, k("change", t.value);
|
|
93
|
+
}, L = m(() => {
|
|
94
|
+
var e, l, i;
|
|
95
95
|
if (!s.isView) return [];
|
|
96
96
|
if ((!((e = V.value) != null && e.length) || !((l = t.value) != null && l.length)) && s.checkboxType == "group") return [];
|
|
97
97
|
if (s.checkboxType == "group")
|
|
@@ -101,9 +101,9 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
101
101
|
});
|
|
102
102
|
{
|
|
103
103
|
if (!t.value) return [];
|
|
104
|
-
const a =
|
|
104
|
+
const a = oe();
|
|
105
105
|
let d = null;
|
|
106
|
-
return a && a.default && ((
|
|
106
|
+
return a && a.default && ((i = a.default()) == null ? void 0 : i.length) == 0 && (d = a.default()[0].children), [
|
|
107
107
|
{
|
|
108
108
|
value: t.value,
|
|
109
109
|
label: d
|
|
@@ -111,37 +111,37 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
113
|
}), O = (e, l) => {
|
|
114
|
-
e == "group" ? l.isFocus = !1 :
|
|
115
|
-
},
|
|
116
|
-
let e = `${Number(String(
|
|
114
|
+
e == "group" ? l.isFocus = !1 : S.value = !1;
|
|
115
|
+
}, Y = m(() => s.maxWidth ? s.maxWidth : s.width), h = m(() => {
|
|
116
|
+
let e = `${Number(String(Y.value).split("px")[0])}`;
|
|
117
117
|
if (s.maxWidth)
|
|
118
118
|
return `max-width:${e}px`;
|
|
119
119
|
if (s.width)
|
|
120
120
|
return Number(e) > 72 && s.maxWidth ? `width:${e};max-width:${e}px;` : `width:${e}px`;
|
|
121
|
-
}),
|
|
122
|
-
return
|
|
121
|
+
}), R = K(null);
|
|
122
|
+
return se(() => {
|
|
123
123
|
setTimeout(() => {
|
|
124
|
-
var l,
|
|
125
|
-
const e = (
|
|
124
|
+
var l, i;
|
|
125
|
+
const e = (i = (l = R.value) == null ? void 0 : l.$el) == null ? void 0 : i.querySelectorAll(".ant-checkbox-input");
|
|
126
126
|
e && e.length && e.forEach((a) => a.setAttribute("tabindex", "-1"));
|
|
127
127
|
}, 1e3);
|
|
128
128
|
}), (e, l) => {
|
|
129
|
-
const
|
|
129
|
+
const i = ue;
|
|
130
130
|
return o(), u("div", de, [
|
|
131
|
-
e.checkboxType == "default" && e.optionType == "default" && !e.isView ? (o(),
|
|
131
|
+
e.checkboxType == "default" && e.optionType == "default" && !e.isView ? (o(), E(r(G), P({
|
|
132
132
|
key: 0,
|
|
133
133
|
ref_key: "checkboxRef",
|
|
134
|
-
ref:
|
|
135
|
-
checked:
|
|
134
|
+
ref: R,
|
|
135
|
+
checked: r(t),
|
|
136
136
|
"onUpdate:checked": l[0] || (l[0] = (a) => U(t) ? t.value = a : t = a),
|
|
137
137
|
disabled: e.disabled
|
|
138
138
|
}, e.$attrs, {
|
|
139
139
|
optionType: e.optionType,
|
|
140
|
-
indeterminate:
|
|
140
|
+
indeterminate: r(v),
|
|
141
141
|
onChange: N,
|
|
142
142
|
class: [e.size, { nolabel: Object.keys(e.$slots).length == 0 }]
|
|
143
143
|
}), {
|
|
144
|
-
default:
|
|
144
|
+
default: W(() => [
|
|
145
145
|
y((o(), u(
|
|
146
146
|
"div",
|
|
147
147
|
{
|
|
@@ -149,12 +149,12 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
149
149
|
style: g([h.value, { color: "#666" }])
|
|
150
150
|
},
|
|
151
151
|
[
|
|
152
|
-
|
|
152
|
+
w(e.$slots, "default", {}, void 0, !0)
|
|
153
153
|
],
|
|
154
154
|
4
|
|
155
155
|
/* STYLE */
|
|
156
156
|
)), [
|
|
157
|
-
[
|
|
157
|
+
[r(x)]
|
|
158
158
|
])
|
|
159
159
|
]),
|
|
160
160
|
_: 3
|
|
@@ -169,66 +169,73 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
169
169
|
e.size,
|
|
170
170
|
{
|
|
171
171
|
"das-ui-checkbox-square--disabled": e.disabled,
|
|
172
|
-
"das-ui-checkbox-square--checked": !!
|
|
173
|
-
"das-ui-checkbox-square--focus":
|
|
172
|
+
"das-ui-checkbox-square--checked": !!r(t),
|
|
173
|
+
"das-ui-checkbox-square--focus": r(S),
|
|
174
174
|
"ellipsis-square-checkbox": !!h.value
|
|
175
175
|
}
|
|
176
176
|
]),
|
|
177
177
|
tabindex: "0",
|
|
178
|
-
onClick: l[1] || (l[1] = (a) =>
|
|
178
|
+
onClick: l[1] || (l[1] = (a) => I("default", "")),
|
|
179
179
|
onBlur: l[2] || (l[2] = (a) => O("default", "")),
|
|
180
180
|
style: g(h.value)
|
|
181
181
|
},
|
|
182
182
|
[
|
|
183
183
|
y((o(), u("div", ce, [
|
|
184
|
-
|
|
184
|
+
w(e.$slots, "default", {}, void 0, !0)
|
|
185
185
|
])), [
|
|
186
|
-
[
|
|
186
|
+
[r(x)]
|
|
187
187
|
])
|
|
188
188
|
],
|
|
189
189
|
38
|
|
190
190
|
/* CLASS, STYLE, NEED_HYDRATION */
|
|
191
191
|
)) : c("v-if", !0),
|
|
192
|
-
e.checkboxType == "group" && e.optionType == "default" && !e.isView ? (o(),
|
|
192
|
+
e.checkboxType == "group" && e.optionType == "default" && !e.isView ? (o(), E(i, P({
|
|
193
193
|
key: 2,
|
|
194
194
|
ref_key: "checkboxRef",
|
|
195
|
-
ref:
|
|
195
|
+
ref: R
|
|
196
196
|
}, e.$attrs, {
|
|
197
|
-
class: [e.size, { "das-ui-checkbox-vertical":
|
|
198
|
-
value:
|
|
197
|
+
class: [e.size, { "das-ui-checkbox-vertical": r(z) == "vertical" }],
|
|
198
|
+
value: r(t),
|
|
199
199
|
"onUpdate:value": l[3] || (l[3] = (a) => U(t) ? t.value = a : t = a),
|
|
200
200
|
name: e.name,
|
|
201
201
|
onChange: N
|
|
202
202
|
}), {
|
|
203
|
-
default:
|
|
203
|
+
default: W(() => [
|
|
204
204
|
(o(!0), u(
|
|
205
|
-
|
|
205
|
+
C,
|
|
206
206
|
null,
|
|
207
|
-
|
|
207
|
+
$(b.value, (a, d) => (o(), E(r(G), {
|
|
208
208
|
key: d,
|
|
209
209
|
value: a.value,
|
|
210
210
|
"onUpdate:value": (q) => a.value = q,
|
|
211
211
|
disabled: a.disabled || e.disabled
|
|
212
212
|
}, {
|
|
213
|
-
default:
|
|
214
|
-
|
|
213
|
+
default: W(() => [
|
|
214
|
+
A(
|
|
215
215
|
"div",
|
|
216
216
|
{
|
|
217
217
|
class: n(["label", { "label-min-width": !!h.value }]),
|
|
218
218
|
style: g([h.value, { color: "#666" }])
|
|
219
219
|
},
|
|
220
220
|
[
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
221
|
+
w(e.$slots, "content", {
|
|
222
|
+
item: a,
|
|
223
|
+
index: d
|
|
224
|
+
}, () => [
|
|
225
|
+
y((o(), u("div", null, [
|
|
226
|
+
M(
|
|
227
|
+
p(a.label),
|
|
228
|
+
1
|
|
229
|
+
/* TEXT */
|
|
230
|
+
)
|
|
231
|
+
])), [
|
|
232
|
+
[r(x)]
|
|
233
|
+
])
|
|
234
|
+
], !0)
|
|
226
235
|
],
|
|
227
236
|
6
|
|
228
237
|
/* CLASS, STYLE */
|
|
229
|
-
)
|
|
230
|
-
[i(x)]
|
|
231
|
-
])
|
|
238
|
+
)
|
|
232
239
|
]),
|
|
233
240
|
_: 2
|
|
234
241
|
/* DYNAMIC */
|
|
@@ -237,20 +244,20 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
237
244
|
/* KEYED_FRAGMENT */
|
|
238
245
|
))
|
|
239
246
|
]),
|
|
240
|
-
_:
|
|
241
|
-
/*
|
|
247
|
+
_: 3
|
|
248
|
+
/* FORWARDED */
|
|
242
249
|
}, 16, ["class", "value", "name"])) : c("v-if", !0),
|
|
243
250
|
e.checkboxType == "group" && e.optionType == "square" && !e.isView ? (o(), u(
|
|
244
251
|
"div",
|
|
245
252
|
{
|
|
246
253
|
key: 3,
|
|
247
|
-
class: n(["das-ui-checkbox-square-group", [e.size, { "das-ui-checkbox-vertical":
|
|
254
|
+
class: n(["das-ui-checkbox-square-group", [e.size, { "das-ui-checkbox-vertical": r(z) == "vertical" }]])
|
|
248
255
|
},
|
|
249
256
|
[
|
|
250
257
|
(o(!0), u(
|
|
251
|
-
|
|
258
|
+
C,
|
|
252
259
|
null,
|
|
253
|
-
|
|
260
|
+
$(b.value, (a, d) => (o(), u("div", {
|
|
254
261
|
class: n([
|
|
255
262
|
"das-ui-checkbox-square",
|
|
256
263
|
{
|
|
@@ -261,13 +268,13 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
261
268
|
}
|
|
262
269
|
]),
|
|
263
270
|
style: g(h.value),
|
|
264
|
-
onClick: (q) =>
|
|
271
|
+
onClick: (q) => I("group", a),
|
|
265
272
|
onBlur: (q) => O("group", a),
|
|
266
273
|
tabindex: d,
|
|
267
274
|
key: d
|
|
268
275
|
}, [
|
|
269
276
|
a.checked ? (o(), u("span", fe, [
|
|
270
|
-
|
|
277
|
+
j(r(H), {
|
|
271
278
|
size: "mini",
|
|
272
279
|
icon: "select",
|
|
273
280
|
iconColor: "#fff",
|
|
@@ -281,7 +288,7 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
281
288
|
/* TEXT */
|
|
282
289
|
)
|
|
283
290
|
])), [
|
|
284
|
-
[
|
|
291
|
+
[r(x)]
|
|
285
292
|
])
|
|
286
293
|
], 46, ne))),
|
|
287
294
|
128
|
|
@@ -296,26 +303,26 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
296
303
|
"div",
|
|
297
304
|
{
|
|
298
305
|
key: 4,
|
|
299
|
-
class: n(["das-ui-checkbox-view-group", { "flex-view":
|
|
306
|
+
class: n(["das-ui-checkbox-view-group", { "flex-view": L.value.length > 1 }])
|
|
300
307
|
},
|
|
301
308
|
[
|
|
302
|
-
|
|
303
|
-
|
|
309
|
+
L.value.length ? (o(!0), u(
|
|
310
|
+
C,
|
|
304
311
|
{ key: 0 },
|
|
305
|
-
|
|
312
|
+
$(L.value, (a, d) => (o(), u(
|
|
306
313
|
"div",
|
|
307
314
|
{
|
|
308
|
-
class: n(["das-checkbox-item-view", a[
|
|
315
|
+
class: n(["das-checkbox-item-view", a[r(f).label] && "nonelabel-item-view"]),
|
|
309
316
|
key: d
|
|
310
317
|
},
|
|
311
318
|
[
|
|
312
|
-
|
|
319
|
+
j(r(H), {
|
|
313
320
|
size: "mini",
|
|
314
321
|
icon: "select",
|
|
315
322
|
iconColor: "#666",
|
|
316
|
-
class: n(["view-icon", { "m-r-5": a[
|
|
323
|
+
class: n(["view-icon", { "m-r-5": a[r(f).label] || Object.keys(e.$slots).length > 0 }])
|
|
317
324
|
}, null, 8, ["class"]),
|
|
318
|
-
a[
|
|
325
|
+
a[r(f).label] ? y((o(), u(
|
|
319
326
|
"div",
|
|
320
327
|
{
|
|
321
328
|
key: 0,
|
|
@@ -324,7 +331,7 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
324
331
|
},
|
|
325
332
|
[
|
|
326
333
|
M(
|
|
327
|
-
p(a[
|
|
334
|
+
p(a[r(f).label]),
|
|
328
335
|
1
|
|
329
336
|
/* TEXT */
|
|
330
337
|
)
|
|
@@ -332,8 +339,8 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
332
339
|
6
|
|
333
340
|
/* CLASS, STYLE */
|
|
334
341
|
)), [
|
|
335
|
-
[
|
|
336
|
-
]) :
|
|
342
|
+
[r(x)]
|
|
343
|
+
]) : w(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
337
344
|
],
|
|
338
345
|
2
|
|
339
346
|
/* CLASS */
|
|
@@ -343,7 +350,7 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
343
350
|
)) : (o(), u(
|
|
344
351
|
"span",
|
|
345
352
|
be,
|
|
346
|
-
p(
|
|
353
|
+
p(D.value),
|
|
347
354
|
1
|
|
348
355
|
/* TEXT */
|
|
349
356
|
))
|
|
@@ -356,13 +363,13 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
356
363
|
"div",
|
|
357
364
|
{
|
|
358
365
|
key: 5,
|
|
359
|
-
class: n(["das-ui-checkbox-square-group das-ui-checkbox-filter-square-group", { "das-ui-checkbox-vertical":
|
|
366
|
+
class: n(["das-ui-checkbox-square-group das-ui-checkbox-filter-square-group", { "das-ui-checkbox-vertical": r(z) == "vertical" }])
|
|
360
367
|
},
|
|
361
368
|
[
|
|
362
369
|
(o(!0), u(
|
|
363
|
-
|
|
370
|
+
C,
|
|
364
371
|
null,
|
|
365
|
-
|
|
372
|
+
$(b.value, (a, d) => (o(), u("div", {
|
|
366
373
|
class: n([
|
|
367
374
|
"das-ui-checkbox-square",
|
|
368
375
|
{
|
|
@@ -370,7 +377,7 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
370
377
|
"das-ui-checkbox-square--checked": a.checked
|
|
371
378
|
}
|
|
372
379
|
]),
|
|
373
|
-
onClick: (q) =>
|
|
380
|
+
onClick: (q) => I("group", a),
|
|
374
381
|
tabindex: d,
|
|
375
382
|
key: d
|
|
376
383
|
}, p(a.label), 11, he))),
|
|
@@ -391,7 +398,7 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
391
398
|
)) : c("v-if", !0)
|
|
392
399
|
])) : c("v-if", !0),
|
|
393
400
|
e.error && e.errorLabel && e.errorMode === "overlay" ? (o(), u("div", ke, [
|
|
394
|
-
|
|
401
|
+
A(
|
|
395
402
|
"span",
|
|
396
403
|
me,
|
|
397
404
|
p(e.errorLabel),
|
|
@@ -404,10 +411,10 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
404
411
|
}
|
|
405
412
|
}), ge = (T, B) => {
|
|
406
413
|
const s = T.__vccOpts || T;
|
|
407
|
-
for (const [
|
|
408
|
-
s[
|
|
414
|
+
for (const [D, F] of B)
|
|
415
|
+
s[D] = F;
|
|
409
416
|
return s;
|
|
410
|
-
}, xe = /* @__PURE__ */ ge(ye, [["__scopeId", "data-v-
|
|
417
|
+
}, xe = /* @__PURE__ */ ge(ye, [["__scopeId", "data-v-3e689530"]]), Te = {
|
|
411
418
|
"--demo-alert-bg": {
|
|
412
419
|
light: "#fff",
|
|
413
420
|
dark: "rgba(255,255,255,.2)"
|
|
@@ -420,8 +427,8 @@ const de = { class: "das-ui-checkbox" }, ce = { class: "label" }, ne = ["onClick
|
|
|
420
427
|
"--das-ui-radio-bgff": "#fff",
|
|
421
428
|
"--das-ui-radio-shadow": "rgba(85, 130, 243, 0.1)"
|
|
422
429
|
};
|
|
423
|
-
|
|
424
|
-
const Ie = () =>
|
|
430
|
+
ie(Te);
|
|
431
|
+
const Ie = () => K(null), Le = te(xe);
|
|
425
432
|
export {
|
|
426
433
|
Le as DasCheckbox,
|
|
427
434
|
Ie as DasCheckboxRef,
|
|
Binary file
|
|
@@ -14,13 +14,18 @@ declare const blurCheckboxSquare: (type: string, row: any) => void;
|
|
|
14
14
|
declare const textWidth: import("vue").ComputedRef<string | undefined>;
|
|
15
15
|
declare const checkboxRef: import("vue").Ref<any, any>;
|
|
16
16
|
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
17
|
-
declare var __VLS_11: {}, __VLS_13: {},
|
|
17
|
+
declare var __VLS_11: {}, __VLS_13: {}, __VLS_29: {
|
|
18
|
+
item: any;
|
|
19
|
+
index: number;
|
|
20
|
+
}, __VLS_39: {};
|
|
18
21
|
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
19
22
|
default?: (props: typeof __VLS_11) => any;
|
|
20
23
|
} & {
|
|
21
24
|
default?: (props: typeof __VLS_13) => any;
|
|
22
25
|
} & {
|
|
23
|
-
|
|
26
|
+
content?: (props: typeof __VLS_29) => any;
|
|
27
|
+
} & {
|
|
28
|
+
default?: (props: typeof __VLS_39) => any;
|
|
24
29
|
}>;
|
|
25
30
|
declare const __VLS_self: import("vue").DefineComponent<Props, {
|
|
26
31
|
ACheckbox: typeof ACheckbox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.empty-text[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-md);color:var(--das-ui-radio-font-normal)}.das-ui-checkbox[data-v-6bd5a99c]{position:relative}.das-ui-checkbox .label[data-v-6bd5a99c]{color:var(--das-ui-radio-font-normal)!important;font-size:var(--das-ui-font-size-sm)!important}.das-ui-checkbox .label.label-min-width[data-v-6bd5a99c]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square[data-v-6bd5a99c]:not(.das-ui-checkbox-square--checked):not(.das-ui-checkbox-square--disabled):hover{border-color:var(--das-ui-radio-primary);color:var(--das-ui-radio-primary)}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-6bd5a99c]:after{content:"";display:block;position:absolute;bottom:0;right:0;width:0;height:0;border-color:var(--das-ui-radio-primary) transparent;border-width:0 0 17px 17px;border-style:solid}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-6bd5a99c]{position:relative}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square.das-ui-checkbox-square--disabled.das-ui-checkbox-square--checked[data-v-6bd5a99c]:after{content:"";display:block;position:absolute;bottom:0;right:0;width:0;height:0;border-color:var(--das-ui-radio-disabled) transparent;border-width:0 0 17px 17px;border-style:solid}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .ellipsis-square-checkbox[data-v-6bd5a99c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square[data-v-6bd5a99c]{cursor:pointer;height:32px;width:fit-content;line-height:32px;padding:0 12px;box-sizing:border-box;border:1px solid var(--das-ui-radio-border-normal);border-radius:2px;color:var(--das-ui-radio-font-normal);font-size:var(--das-ui-font-size-sm);font-weight:500;position:relative}.das-ui-checkbox .das-ui-checkbox-square.ellipsis-square-checkbox[data-v-6bd5a99c]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon[data-v-6bd5a99c]{position:absolute;bottom:0;right:0;z-index:10;display:flex}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon .view-icon[data-v-6bd5a99c]{width:10px!important;height:10px!important}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-6bd5a99c]{position:relative}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked .square-checked-icon[data-v-6bd5a99c]{position:absolute;bottom:0;right:2px}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked.das-ui-checkbox-square--focus[data-v-6bd5a99c]{box-shadow:0 0 0 3px var(--das-ui-radio-shadow)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-6bd5a99c]:not(.das-ui-checkbox-square--disabled){border-color:var(--das-ui-radio-primary)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked.das-ui-checkbox-square--disabled[data-v-6bd5a99c]{color:var(--das-ui-radio-font-normal)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-6bd5a99c]{cursor:not-allowed;background-color:var(--das-ui-radio-inner-disabled)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-6bd5a99c]:not([class*=" das-ui-checkbox-square--checked"]){color:var(--das-ui-radio-disabled)}.das-ui-checkbox .das-ui-checkbox-square-group.small .das-ui-checkbox-square[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square-group.middle .das-ui-checkbox-square[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square-group.large .das-ui-checkbox-square[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-ui-checkbox-square.small[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square.middle[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square.large[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical[data-v-6bd5a99c]{display:flex;flex-direction:column;width:fit-content}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical .ant-checkbox-group-item+.ant-checkbox-group-item[data-v-6bd5a99c]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-square-group[data-v-6bd5a99c]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-vertical) .das-ui-checkbox-square+.das-ui-checkbox-square[data-v-6bd5a99c]{margin-left:10px}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical[data-v-6bd5a99c]{display:flex;flex-direction:column;align-items:flex-start}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical .das-ui-checkbox-square+.das-ui-checkbox-square[data-v-6bd5a99c]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-6bd5a99c]{height:24px;line-height:24px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square--checked[data-v-6bd5a99c]{background-color:var(--das-ui-radio-filter-bgcolor);color:var(--das-ui-radio-primary);border-color:var(--das-ui-radio-primary);box-sizing:border-box}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-6bd5a99c]:not(.das-ui-checkbox-square--checked){border-color:transparent}.das-ui-checkbox .das-ui-checkbox-filter-square-group:not(.das-ui-checkbox-vertical) .das-ui-checkbox-square+.das-ui-checkbox-square[data-v-6bd5a99c]{margin-left:24px}.das-ui-checkbox .das-ui-checkbox-view-group[data-v-6bd5a99c]{display:inline-block;position:relative;color:var(--das-ui-radio-font-normal)!important;font-size:var(--das-ui-font-size-sm)!important}.das-ui-checkbox .das-ui-checkbox-view-group .view-icon.m-r-5[data-v-6bd5a99c]{margin-right:5px}.das-ui-checkbox .das-ui-checkbox-view-group.flex-view[data-v-6bd5a99c],.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view[data-v-6bd5a99c]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view.label-min-width[data-v-6bd5a99c]{margin-right:4px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label[data-v-6bd5a99c]{max-width:72px;margin-right:16px;font-size:var(--das-ui-font-size-sm);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;color:var(--das-ui-radio-font-normal)!important}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.label-min-width[data-v-6bd5a99c]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.small[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.middle[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.large[data-v-6bd5a99c]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-checkbox-error-label-content[data-v-6bd5a99c]{font-size:12px}.das-ui-checkbox .das-checkbox-error-label-content .das-input-success-label[data-v-6bd5a99c]{display:block;color:var(--das-ui-input-success-color);white-space:break-spaces}.das-ui-checkbox .das-checkbox-error-label-content .das-input-error-label[data-v-6bd5a99c]{display:block;color:var(--das-ui-input-error-color);white-space:break-spaces}.das-ui-checkbox .das-checkbox-error-label-content .error-label-overflow[data-v-6bd5a99c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-checkbox .das-checkbox-overlay-error-label-content[data-v-6bd5a99c]{width:100%;position:absolute;top:100%;left:0;background-color:var(--das-ui-color-overlay-error);box-shadow:0 4px 10px #0003;border-radius:1px;padding:2px 8px;box-sizing:border-box;z-index:99;transition:.2s}.das-ui-checkbox .das-checkbox-overlay-error-label-content .label[data-v-6bd5a99c]{font-size:12px;color:var(--das-ui-input-number-overlay-error-color)}.das-ui-checkbox .ant-checkbox-wrapper{font-weight:500}.das-ui-checkbox .ant-checkbox-wrapper.nolabel .ant-checkbox+span{display:none}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-inner{box-sizing:border-box;border-color:var(--das-ui-radio-border-normal)}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-checked:not(.ant-checkbox-disabled) .ant-checkbox-inner{border-color:var(--das-ui-radio-primary);background-color:var(--das-ui-radio-primary)}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox:not(.ant-checkbox-indeterminate) .ant-checkbox-inner:after{width:3.5px!important;height:8px!important;top:47%!important;left:3px!important;border-width:1.5px}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:var(--das-ui-radio-border-normal)!important}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--das-ui-radio-primary)!important}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-inner{width:14px!important;height:14px!important}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox+span{color:var(--das-ui-radio-font-normal);padding-left:5px!important;padding-right:16px!important;font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{color:var(--das-ui-radio-disabled)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled .ant-checkbox+*{color:var(--das-ui-radio-disabled)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled .ant-checkbox-inner{background-color:var(--das-ui-radio-inner-disabled)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--das-ui-radio-border-normal)}.das-ui-checkbox .ant-checkbox-wrapper:not([class*=" ant-checkbox-wrapper-disabled"]):hover .ant-checkbox+*{color:var(--das-ui-radio-primary)}.das-ui-checkbox .ant-checkbox-wrapper:not([class*=" ant-checkbox-wrapper-disabled"]):hover .ant-checkbox-inner{border-color:var(--das-ui-radio-primary)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical{display:flex;flex-direction:column}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical .ant-checkbox-group-item+.ant-checkbox-group-item{margin-top:10px}.das-ui-checkbox .ant-checkbox-wrapper{margin-left:0!important}.das-ui-checkbox .ant-checkbox-wrapper.small .ant-checkbox+span,.das-ui-checkbox .ant-checkbox-group.small .ant-checkbox+span{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .ant-checkbox-wrapper.middle .ant-checkbox+span,.das-ui-checkbox .ant-checkbox-group.middle .ant-checkbox+span{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .ant-checkbox-wrapper.large .ant-checkbox+span,.das-ui-checkbox .ant-checkbox-group.large .ant-checkbox+span{font-size:var(--das-ui-font-size-lg)}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:var(--das-ui-radio-inner-disabled)!important}
|
|
1
|
+
.empty-text[data-v-3e689530]{font-size:var(--das-ui-font-size-md);color:var(--das-ui-radio-font-normal)}.das-ui-checkbox[data-v-3e689530]{position:relative}.das-ui-checkbox .label[data-v-3e689530]{color:var(--das-ui-radio-font-normal)!important;font-size:var(--das-ui-font-size-sm)!important}.das-ui-checkbox .label.label-min-width[data-v-3e689530]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square[data-v-3e689530]:not(.das-ui-checkbox-square--checked):not(.das-ui-checkbox-square--disabled):hover{border-color:var(--das-ui-radio-primary);color:var(--das-ui-radio-primary)}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-3e689530]:after{content:"";display:block;position:absolute;bottom:0;right:0;width:0;height:0;border-color:var(--das-ui-radio-primary) transparent;border-width:0 0 17px 17px;border-style:solid}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-3e689530]{position:relative}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .das-ui-checkbox-square.das-ui-checkbox-square--disabled.das-ui-checkbox-square--checked[data-v-3e689530]:after{content:"";display:block;position:absolute;bottom:0;right:0;width:0;height:0;border-color:var(--das-ui-radio-disabled) transparent;border-width:0 0 17px 17px;border-style:solid}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-filter-square-group) .ellipsis-square-checkbox[data-v-3e689530]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square[data-v-3e689530]{cursor:pointer;height:32px;width:fit-content;line-height:32px;padding:0 12px;box-sizing:border-box;border:1px solid var(--das-ui-radio-border-normal);border-radius:2px;color:var(--das-ui-radio-font-normal);font-size:var(--das-ui-font-size-sm);font-weight:500;position:relative}.das-ui-checkbox .das-ui-checkbox-square.ellipsis-square-checkbox[data-v-3e689530]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon[data-v-3e689530]{position:absolute;bottom:0;right:0;z-index:10;display:flex}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon .view-icon[data-v-3e689530]{width:10px!important;height:10px!important}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-3e689530]{position:relative}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked .square-checked-icon[data-v-3e689530]{position:absolute;bottom:0;right:2px}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked.das-ui-checkbox-square--focus[data-v-3e689530]{box-shadow:0 0 0 3px var(--das-ui-radio-shadow)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-3e689530]:not(.das-ui-checkbox-square--disabled){border-color:var(--das-ui-radio-primary)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked.das-ui-checkbox-square--disabled[data-v-3e689530]{color:var(--das-ui-radio-font-normal)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-3e689530]{cursor:not-allowed;background-color:var(--das-ui-radio-inner-disabled)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-3e689530]:not([class*=" das-ui-checkbox-square--checked"]){color:var(--das-ui-radio-disabled)}.das-ui-checkbox .das-ui-checkbox-square-group.small .das-ui-checkbox-square[data-v-3e689530]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square-group.middle .das-ui-checkbox-square[data-v-3e689530]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square-group.large .das-ui-checkbox-square[data-v-3e689530]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-ui-checkbox-square.small[data-v-3e689530]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square.middle[data-v-3e689530]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square.large[data-v-3e689530]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical[data-v-3e689530]{display:flex;flex-direction:column;width:fit-content}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical .ant-checkbox-group-item+.ant-checkbox-group-item[data-v-3e689530]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-square-group[data-v-3e689530]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-square-group:not(.das-ui-checkbox-vertical) .das-ui-checkbox-square+.das-ui-checkbox-square[data-v-3e689530]{margin-left:10px}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical[data-v-3e689530]{display:flex;flex-direction:column;align-items:flex-start}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical .das-ui-checkbox-square+.das-ui-checkbox-square[data-v-3e689530]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-3e689530]{height:24px;line-height:24px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square--checked[data-v-3e689530]{background-color:var(--das-ui-radio-filter-bgcolor);color:var(--das-ui-radio-primary);border-color:var(--das-ui-radio-primary);box-sizing:border-box}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-3e689530]:not(.das-ui-checkbox-square--checked){border-color:transparent}.das-ui-checkbox .das-ui-checkbox-filter-square-group:not(.das-ui-checkbox-vertical) .das-ui-checkbox-square+.das-ui-checkbox-square[data-v-3e689530]{margin-left:24px}.das-ui-checkbox .das-ui-checkbox-view-group[data-v-3e689530]{display:inline-block;position:relative;color:var(--das-ui-radio-font-normal)!important;font-size:var(--das-ui-font-size-sm)!important}.das-ui-checkbox .das-ui-checkbox-view-group .view-icon.m-r-5[data-v-3e689530]{margin-right:5px}.das-ui-checkbox .das-ui-checkbox-view-group.flex-view[data-v-3e689530],.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view[data-v-3e689530]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view.label-min-width[data-v-3e689530]{margin-right:4px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label[data-v-3e689530]{max-width:72px;margin-right:16px;font-size:var(--das-ui-font-size-sm);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;color:var(--das-ui-radio-font-normal)!important}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.label-min-width[data-v-3e689530]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.small[data-v-3e689530]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.middle[data-v-3e689530]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.large[data-v-3e689530]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-checkbox-error-label-content[data-v-3e689530]{font-size:12px}.das-ui-checkbox .das-checkbox-error-label-content .das-input-success-label[data-v-3e689530]{display:block;color:var(--das-ui-input-success-color);white-space:break-spaces}.das-ui-checkbox .das-checkbox-error-label-content .das-input-error-label[data-v-3e689530]{display:block;color:var(--das-ui-input-error-color);white-space:break-spaces}.das-ui-checkbox .das-checkbox-error-label-content .error-label-overflow[data-v-3e689530]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-checkbox .das-checkbox-overlay-error-label-content[data-v-3e689530]{width:100%;position:absolute;top:100%;left:0;background-color:var(--das-ui-color-overlay-error);box-shadow:0 4px 10px #0003;border-radius:1px;padding:2px 8px;box-sizing:border-box;z-index:99;transition:.2s}.das-ui-checkbox .das-checkbox-overlay-error-label-content .label[data-v-3e689530]{font-size:12px;color:var(--das-ui-input-number-overlay-error-color)}.das-ui-checkbox .ant-checkbox-wrapper{font-weight:500}.das-ui-checkbox .ant-checkbox-wrapper.nolabel .ant-checkbox+span{display:none}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-inner{box-sizing:border-box;border-color:var(--das-ui-radio-border-normal)}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-checked:not(.ant-checkbox-disabled) .ant-checkbox-inner{border-color:var(--das-ui-radio-primary);background-color:var(--das-ui-radio-primary)}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox:not(.ant-checkbox-indeterminate) .ant-checkbox-inner:after{width:3.5px!important;height:8px!important;top:47%!important;left:3px!important;border-width:1.5px}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:var(--das-ui-radio-border-normal)!important}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--das-ui-radio-primary)!important}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox-inner{width:14px!important;height:14px!important}.das-ui-checkbox .ant-checkbox-wrapper .ant-checkbox+span{color:var(--das-ui-radio-font-normal);padding-left:5px!important;padding-right:16px!important;font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{color:var(--das-ui-radio-disabled)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled .ant-checkbox+*{color:var(--das-ui-radio-disabled)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled .ant-checkbox-inner{background-color:var(--das-ui-radio-inner-disabled)}.das-ui-checkbox .ant-checkbox-wrapper.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--das-ui-radio-border-normal)}.das-ui-checkbox .ant-checkbox-wrapper:not([class*=" ant-checkbox-wrapper-disabled"]):hover .ant-checkbox+*{color:var(--das-ui-radio-primary)}.das-ui-checkbox .ant-checkbox-wrapper:not([class*=" ant-checkbox-wrapper-disabled"]):hover .ant-checkbox-inner{border-color:var(--das-ui-radio-primary)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical{display:flex;flex-direction:column}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical .ant-checkbox-group-item+.ant-checkbox-group-item{margin-top:10px}.das-ui-checkbox .ant-checkbox-wrapper{margin-left:0!important}.das-ui-checkbox .ant-checkbox-wrapper.small .ant-checkbox+span,.das-ui-checkbox .ant-checkbox-group.small .ant-checkbox+span{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .ant-checkbox-wrapper.middle .ant-checkbox+span,.das-ui-checkbox .ant-checkbox-group.middle .ant-checkbox+span{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .ant-checkbox-wrapper.large .ant-checkbox+span,.das-ui-checkbox .ant-checkbox-group.large .ant-checkbox+span{font-size:var(--das-ui-font-size-lg)}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:var(--das-ui-radio-inner-disabled)!important}
|
|
Binary file
|