@das-fed/ui 6.4.0-test.7.1 → 6.4.0-test.8.1
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/esm-map.json +7 -1
- package/package.json +6 -7
- package/packages/business-components/area-phone-select/i18n/index.d.ts +7 -0
- package/packages/business-components/area-phone-select/index.d.ts +1368 -0
- package/packages/business-components/area-phone-select/index.js +265 -0
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/Index.vue.d.ts +15 -0
- package/packages/business-components/area-phone-select/src/apis.d.ts +2 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +179 -0
- package/packages/business-components/area-phone-select/src/area-popover/type.d.ts +37 -0
- package/packages/business-components/area-phone-select/src/type.d.ts +26 -0
- package/packages/business-components/area-phone-select/src/utils.d.ts +12 -0
- package/packages/business-components/area-phone-select/style.css +1 -0
- package/packages/business-components/area-phone-select/style.css.gz +0 -0
- package/packages/business-components/change-pwd/index.js +12 -8
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/index.js +1 -1
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +24 -0
- package/packages/business-components/device-panel/index.js +16507 -15027
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/apis.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +11 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +11 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -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/echarts/index.js +2 -2
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/echarts/style.css +1 -1
- package/packages/business-components/export-button/index.js +30 -30
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +5 -5
- package/packages/business-components/import-button/index.js +59 -59
- 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/index.d.ts +1 -0
- package/packages/business-components/index.js +1 -0
- package/packages/business-components/model-table-dialog/index.js +100 -100
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +9 -6
- package/packages/business-components/payment/index.d.ts +5 -1
- package/packages/business-components/payment/index.js +187 -1635
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/business-components/payment/type.d.ts +3 -2
- package/packages/business-components/process-configuration/i18n/index.d.ts +0 -10
- package/packages/business-components/process-configuration/index.d.ts +2 -0
- package/packages/business-components/process-configuration/index.js +55 -60
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
- package/packages/business-components/process-configuration/src/type.d.ts +3 -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-form/index.js +1 -1
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +2 -2
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +98 -98
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +23 -24
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +12 -7
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +149 -137
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/image-upload/index.js +1 -1
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +77 -78
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +34 -34
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/popover/index.d.ts +160 -2
- package/packages/components/popover/index.js +29 -27
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/search/index.js +1 -1
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/select/index.js +257 -246
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/table/index.js +942 -948
- 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/tree/index.js +698 -701
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +8 -7
- package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +2 -2
- package/packages/components/tree/src/type.d.ts +7 -4
- package/packages/components/tree-select/index.js +81 -81
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +18 -12
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +18 -12
- package/packages/components/tree-select/src/type.d.ts +0 -2
- package/packages/components/tree-v2/i18n/index.d.ts +5 -0
- package/packages/components/tree-v2/index.js +150 -149
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +0 -2
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/checkbox/style.css';
|
|
2
|
-
import { defineComponent as Y, computed as
|
|
3
|
-
import { withInstall as
|
|
2
|
+
import { defineComponent as Y, computed as m, reactive as Z, toRefs as _, watchEffect as ee, watch as ae, useSlots as le, ref as J, onMounted as oe, openBlock as o, createElementBlock as u, createBlock as R, unref as i, mergeProps as P, isRef as U, withCtx as E, withDirectives as y, normalizeStyle as g, renderSlot as W, createCommentVNode as c, normalizeClass as n, Fragment as w, renderList as C, createTextVNode as M, toDisplayString as p, createVNode as A, createElementVNode as se } from "vue";
|
|
3
|
+
import { withInstall as te } from "@das-fed/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
6
|
import { Checkbox as j } from "ant-design-vue";
|
|
7
|
-
import { DasAutoRegisterIcon as
|
|
8
|
-
import { vDasTooltip as
|
|
7
|
+
import { DasAutoRegisterIcon as ie, DasIcon as G } from "@das-fed/ui/packages/components/icon/index";
|
|
8
|
+
import { vDasTooltip as x } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
9
9
|
import { useModelValue as H } from "@das-fed/utils/vue";
|
|
10
|
-
import { setThemeRule as
|
|
11
|
-
const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
10
|
+
import { setThemeRule as re } from "@das-fed/web/packages/theme/index";
|
|
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"
|
|
14
|
-
},
|
|
14
|
+
}, be = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "empty-text"
|
|
17
|
-
},
|
|
17
|
+
}, he = ["onClick", "tabindex"], pe = {
|
|
18
18
|
key: 6,
|
|
19
19
|
class: "das-checkbox-error-label-content"
|
|
20
|
-
},
|
|
20
|
+
}, ve = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "das-input-error-label"
|
|
23
|
-
},
|
|
23
|
+
}, ke = {
|
|
24
24
|
key: 7,
|
|
25
25
|
class: "das-checkbox-overlay-error-label-content"
|
|
26
|
-
},
|
|
26
|
+
}, me = { class: "label" }, ye = /* @__PURE__ */ Y({
|
|
27
27
|
__name: "Index",
|
|
28
28
|
props: {
|
|
29
29
|
modelValue: { default: null },
|
|
@@ -50,52 +50,52 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
50
50
|
noSetDefaultVal: { type: Boolean, default: !1 }
|
|
51
51
|
},
|
|
52
52
|
emits: ["change", "update:modelValue", "update:indeterminate"],
|
|
53
|
-
setup(
|
|
54
|
-
|
|
53
|
+
setup(T, { emit: B }) {
|
|
54
|
+
ie({
|
|
55
55
|
select: import("@das-fed/ui/packages/icons/select")
|
|
56
56
|
});
|
|
57
|
-
const
|
|
57
|
+
const s = T, $ = m(() => s.noSetDefaultVal ? "" : "-"), D = Z({
|
|
58
58
|
checkboxValue: null,
|
|
59
59
|
isFocus: !1,
|
|
60
60
|
checkboxLayout: "",
|
|
61
61
|
checkboxIndeterminate: !1
|
|
62
62
|
});
|
|
63
|
-
let { checkboxValue: t, isFocus:
|
|
64
|
-
const
|
|
63
|
+
let { checkboxValue: t, isFocus: F, checkboxIndeterminate: v } = _(D);
|
|
64
|
+
const S = s.layout, k = B;
|
|
65
65
|
ee(() => {
|
|
66
|
-
t.value =
|
|
66
|
+
t.value = s.modelValue, v.value = s.indeterminate, s.checkboxType == "default" && s.optionType == "default" && s.modelValue && (v.value = !1);
|
|
67
67
|
}), ae(t, (e) => {
|
|
68
|
-
|
|
68
|
+
k("update:modelValue", e);
|
|
69
69
|
});
|
|
70
|
-
const f = H(
|
|
70
|
+
const f = H(s, "defaultProps"), V = H(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],
|
|
74
74
|
label: e[f.value.label],
|
|
75
75
|
disabled: e.disabled,
|
|
76
76
|
isFocus: !1,
|
|
77
|
-
checked: (l =
|
|
77
|
+
checked: (l = s.modelValue) == null ? void 0 : l.includes(e[f.value.value]),
|
|
78
78
|
mutual: e.mutual
|
|
79
79
|
};
|
|
80
80
|
}) : []), N = () => {
|
|
81
|
-
|
|
82
|
-
}, K =
|
|
81
|
+
v && (v.value = !1, k("update:indeterminate", v.value), k("update:modelValue", t.value)), k("change", t.value);
|
|
82
|
+
}, K = s.disabled, Q = b.value.some((e) => !!e.mutual), z = (e, l) => {
|
|
83
83
|
if (!K)
|
|
84
84
|
if (e == "group") {
|
|
85
85
|
if (l.disabled) return;
|
|
86
|
-
Q ? l.mutual ? (b.value.forEach((
|
|
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
|
+
Q ? l.mutual ? (b.value.forEach((r) => {
|
|
87
|
+
r.checked = !1;
|
|
88
|
+
}), l.checked = !0) : (l.checked = !l.checked, b.value.forEach((r) => {
|
|
89
|
+
r.mutual && (r.checked = !b.value.some((a) => a.checked));
|
|
90
|
+
})) : l.checked = !l.checked, l.isFocus = !0, t.value = b.value.filter((r) => r.checked).map((r) => r.value), k("change", t.value);
|
|
91
91
|
} else
|
|
92
|
-
t.value = !t.value,
|
|
93
|
-
},
|
|
94
|
-
var e, l,
|
|
95
|
-
if (!
|
|
96
|
-
if ((!((e =
|
|
97
|
-
if (
|
|
98
|
-
return
|
|
92
|
+
t.value = !t.value, F.value = !0, k("change", t.value);
|
|
93
|
+
}, I = m(() => {
|
|
94
|
+
var e, l, r;
|
|
95
|
+
if (!s.isView) return [];
|
|
96
|
+
if ((!((e = V.value) != null && e.length) || !((l = t.value) != null && l.length)) && s.checkboxType == "group") return [];
|
|
97
|
+
if (s.checkboxType == "group")
|
|
98
|
+
return V.value.filter((a) => {
|
|
99
99
|
if (t.value.includes(a[f.value.value]))
|
|
100
100
|
return a;
|
|
101
101
|
});
|
|
@@ -103,7 +103,7 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
103
103
|
if (!t.value) return [];
|
|
104
104
|
const a = le();
|
|
105
105
|
let d = null;
|
|
106
|
-
return a && a.default && ((
|
|
106
|
+
return a && a.default && ((r = a.default()) == null ? void 0 : r.length) == 0 && (d = a.default()[0].children), [
|
|
107
107
|
{
|
|
108
108
|
value: t.value,
|
|
109
109
|
label: d
|
|
@@ -111,56 +111,56 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
113
|
}), O = (e, l) => {
|
|
114
|
-
e == "group" ? l.isFocus = !1 :
|
|
115
|
-
}, X =
|
|
114
|
+
e == "group" ? l.isFocus = !1 : F.value = !1;
|
|
115
|
+
}, X = m(() => s.maxWidth ? s.maxWidth : s.width), h = m(() => {
|
|
116
116
|
let e = `${Number(String(X.value).split("px")[0])}`;
|
|
117
|
-
if (
|
|
117
|
+
if (s.maxWidth)
|
|
118
118
|
return `max-width:${e}px`;
|
|
119
|
-
if (
|
|
120
|
-
return Number(e) > 72 &&
|
|
121
|
-
}),
|
|
119
|
+
if (s.width)
|
|
120
|
+
return Number(e) > 72 && s.maxWidth ? `width:${e};max-width:${e}px;` : `width:${e}px`;
|
|
121
|
+
}), L = J(null);
|
|
122
122
|
return oe(() => {
|
|
123
123
|
setTimeout(() => {
|
|
124
|
-
var l,
|
|
125
|
-
const e = (
|
|
124
|
+
var l, r;
|
|
125
|
+
const e = (r = (l = L.value) == null ? void 0 : l.$el) == null ? void 0 : r.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
|
|
130
|
-
return
|
|
131
|
-
e.checkboxType == "default" && e.optionType == "default" && !e.isView ? (
|
|
129
|
+
const r = ue;
|
|
130
|
+
return o(), u("div", de, [
|
|
131
|
+
e.checkboxType == "default" && e.optionType == "default" && !e.isView ? (o(), R(i(j), P({
|
|
132
132
|
key: 0,
|
|
133
133
|
ref_key: "checkboxRef",
|
|
134
|
-
ref:
|
|
135
|
-
checked:
|
|
134
|
+
ref: L,
|
|
135
|
+
checked: i(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: i(v),
|
|
141
141
|
onChange: N,
|
|
142
142
|
class: [e.size, { nolabel: Object.keys(e.$slots).length == 0 }]
|
|
143
143
|
}), {
|
|
144
|
-
default:
|
|
145
|
-
|
|
144
|
+
default: E(() => [
|
|
145
|
+
y((o(), u(
|
|
146
146
|
"div",
|
|
147
147
|
{
|
|
148
148
|
class: "label",
|
|
149
|
-
style:
|
|
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
|
+
[i(x)]
|
|
158
158
|
])
|
|
159
159
|
]),
|
|
160
160
|
_: 3
|
|
161
161
|
/* FORWARDED */
|
|
162
162
|
}, 16, ["checked", "disabled", "optionType", "indeterminate", "class"])) : c("v-if", !0),
|
|
163
|
-
e.checkboxType == "default" && e.optionType == "square" && !e.isView ? (
|
|
163
|
+
e.checkboxType == "default" && e.optionType == "square" && !e.isView ? (o(), u(
|
|
164
164
|
"div",
|
|
165
165
|
{
|
|
166
166
|
key: 1,
|
|
@@ -169,51 +169,57 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
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": !!i(t),
|
|
173
|
+
"das-ui-checkbox-square--focus": i(F),
|
|
174
|
+
"ellipsis-square-checkbox": !!h.value
|
|
174
175
|
}
|
|
175
176
|
]),
|
|
176
177
|
tabindex: "0",
|
|
177
|
-
onClick: l[1] || (l[1] = (a) =>
|
|
178
|
-
onBlur: l[2] || (l[2] = (a) => O("default", ""))
|
|
178
|
+
onClick: l[1] || (l[1] = (a) => z("default", "")),
|
|
179
|
+
onBlur: l[2] || (l[2] = (a) => O("default", "")),
|
|
180
|
+
style: g(h.value)
|
|
179
181
|
},
|
|
180
182
|
[
|
|
181
|
-
|
|
183
|
+
y((o(), u("div", ce, [
|
|
184
|
+
W(e.$slots, "default", {}, void 0, !0)
|
|
185
|
+
])), [
|
|
186
|
+
[i(x)]
|
|
187
|
+
])
|
|
182
188
|
],
|
|
183
|
-
|
|
184
|
-
/* CLASS, NEED_HYDRATION */
|
|
189
|
+
38
|
|
190
|
+
/* CLASS, STYLE, NEED_HYDRATION */
|
|
185
191
|
)) : c("v-if", !0),
|
|
186
|
-
e.checkboxType == "group" && e.optionType == "default" && !e.isView ? (
|
|
192
|
+
e.checkboxType == "group" && e.optionType == "default" && !e.isView ? (o(), R(r, P({
|
|
187
193
|
key: 2,
|
|
188
194
|
ref_key: "checkboxRef",
|
|
189
|
-
ref:
|
|
195
|
+
ref: L
|
|
190
196
|
}, e.$attrs, {
|
|
191
|
-
class: [e.size, { "das-ui-checkbox-vertical":
|
|
192
|
-
value:
|
|
197
|
+
class: [e.size, { "das-ui-checkbox-vertical": i(S) == "vertical" }],
|
|
198
|
+
value: i(t),
|
|
193
199
|
"onUpdate:value": l[3] || (l[3] = (a) => U(t) ? t.value = a : t = a),
|
|
194
200
|
name: e.name,
|
|
195
201
|
onChange: N
|
|
196
202
|
}), {
|
|
197
|
-
default:
|
|
198
|
-
(
|
|
199
|
-
|
|
203
|
+
default: E(() => [
|
|
204
|
+
(o(!0), u(
|
|
205
|
+
w,
|
|
200
206
|
null,
|
|
201
|
-
|
|
207
|
+
C(b.value, (a, d) => (o(), R(i(j), {
|
|
202
208
|
key: d,
|
|
203
209
|
value: a.value,
|
|
204
|
-
"onUpdate:value": (
|
|
210
|
+
"onUpdate:value": (q) => a.value = q,
|
|
205
211
|
disabled: a.disabled || e.disabled
|
|
206
212
|
}, {
|
|
207
|
-
default:
|
|
208
|
-
|
|
213
|
+
default: E(() => [
|
|
214
|
+
y((o(), u(
|
|
209
215
|
"div",
|
|
210
216
|
{
|
|
211
|
-
class: n(["label", { "label-min-width": !!
|
|
212
|
-
style:
|
|
217
|
+
class: n(["label", { "label-min-width": !!h.value }]),
|
|
218
|
+
style: g([h.value, { color: "#666" }])
|
|
213
219
|
},
|
|
214
220
|
[
|
|
215
|
-
|
|
216
|
-
|
|
221
|
+
M(
|
|
222
|
+
p(a.label),
|
|
217
223
|
1
|
|
218
224
|
/* TEXT */
|
|
219
225
|
)
|
|
@@ -221,7 +227,7 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
221
227
|
6
|
|
222
228
|
/* CLASS, STYLE */
|
|
223
229
|
)), [
|
|
224
|
-
[
|
|
230
|
+
[i(x)]
|
|
225
231
|
])
|
|
226
232
|
]),
|
|
227
233
|
_: 2
|
|
@@ -234,44 +240,50 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
234
240
|
_: 1
|
|
235
241
|
/* STABLE */
|
|
236
242
|
}, 16, ["class", "value", "name"])) : c("v-if", !0),
|
|
237
|
-
e.checkboxType == "group" && e.optionType == "square" && !e.isView ? (
|
|
243
|
+
e.checkboxType == "group" && e.optionType == "square" && !e.isView ? (o(), u(
|
|
238
244
|
"div",
|
|
239
245
|
{
|
|
240
246
|
key: 3,
|
|
241
|
-
class: n(["das-ui-checkbox-square-group", [e.size, { "das-ui-checkbox-vertical":
|
|
247
|
+
class: n(["das-ui-checkbox-square-group", [e.size, { "das-ui-checkbox-vertical": i(S) == "vertical" }]])
|
|
242
248
|
},
|
|
243
249
|
[
|
|
244
|
-
(
|
|
245
|
-
|
|
250
|
+
(o(!0), u(
|
|
251
|
+
w,
|
|
246
252
|
null,
|
|
247
|
-
|
|
253
|
+
C(b.value, (a, d) => (o(), u("div", {
|
|
248
254
|
class: n([
|
|
249
255
|
"das-ui-checkbox-square",
|
|
250
256
|
{
|
|
251
257
|
"das-ui-checkbox-square--disabled": a.disabled || e.disabled,
|
|
252
258
|
"das-ui-checkbox-square--checked": a.checked,
|
|
253
|
-
"das-ui-checkbox-square--focus": a.isFocus
|
|
259
|
+
"das-ui-checkbox-square--focus": a.isFocus,
|
|
260
|
+
"ellipsis-square-checkbox": !!h.value
|
|
254
261
|
}
|
|
255
262
|
]),
|
|
256
|
-
|
|
257
|
-
|
|
263
|
+
style: g(h.value),
|
|
264
|
+
onClick: (q) => z("group", a),
|
|
265
|
+
onBlur: (q) => O("group", a),
|
|
258
266
|
tabindex: d,
|
|
259
267
|
key: d
|
|
260
268
|
}, [
|
|
261
|
-
|
|
262
|
-
A(
|
|
269
|
+
a.checked ? (o(), u("span", fe, [
|
|
270
|
+
A(i(G), {
|
|
263
271
|
size: "mini",
|
|
264
272
|
icon: "select",
|
|
265
273
|
iconColor: "#fff",
|
|
266
274
|
class: "view-icon"
|
|
267
275
|
})
|
|
268
276
|
])) : c("v-if", !0),
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
277
|
+
y((o(), u("div", null, [
|
|
278
|
+
M(
|
|
279
|
+
p(a.label),
|
|
280
|
+
1
|
|
281
|
+
/* TEXT */
|
|
282
|
+
)
|
|
283
|
+
])), [
|
|
284
|
+
[i(x)]
|
|
285
|
+
])
|
|
286
|
+
], 46, ne))),
|
|
275
287
|
128
|
|
276
288
|
/* KEYED_FRAGMENT */
|
|
277
289
|
))
|
|
@@ -280,39 +292,39 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
280
292
|
/* CLASS */
|
|
281
293
|
)) : c("v-if", !0),
|
|
282
294
|
c("多选组 查看状态 "),
|
|
283
|
-
e.isView ? (
|
|
295
|
+
e.isView ? (o(), u(
|
|
284
296
|
"div",
|
|
285
297
|
{
|
|
286
298
|
key: 4,
|
|
287
|
-
class: n(["das-ui-checkbox-view-group", { "flex-view":
|
|
299
|
+
class: n(["das-ui-checkbox-view-group", { "flex-view": I.value.length > 1 }])
|
|
288
300
|
},
|
|
289
301
|
[
|
|
290
|
-
|
|
291
|
-
|
|
302
|
+
I.value.length ? (o(!0), u(
|
|
303
|
+
w,
|
|
292
304
|
{ key: 0 },
|
|
293
|
-
|
|
305
|
+
C(I.value, (a, d) => (o(), u(
|
|
294
306
|
"div",
|
|
295
307
|
{
|
|
296
|
-
class: n(["das-checkbox-item-view", a[
|
|
308
|
+
class: n(["das-checkbox-item-view", a[i(f).label] && "nonelabel-item-view"]),
|
|
297
309
|
key: d
|
|
298
310
|
},
|
|
299
311
|
[
|
|
300
|
-
A(
|
|
312
|
+
A(i(G), {
|
|
301
313
|
size: "mini",
|
|
302
314
|
icon: "select",
|
|
303
315
|
iconColor: "#666",
|
|
304
|
-
class: n(["view-icon", { "m-r-5": a[
|
|
316
|
+
class: n(["view-icon", { "m-r-5": a[i(f).label] || Object.keys(e.$slots).length > 0 }])
|
|
305
317
|
}, null, 8, ["class"]),
|
|
306
|
-
a[
|
|
318
|
+
a[i(f).label] ? y((o(), u(
|
|
307
319
|
"div",
|
|
308
320
|
{
|
|
309
321
|
key: 0,
|
|
310
322
|
class: n(["label", e.size]),
|
|
311
|
-
style:
|
|
323
|
+
style: g([h.value, { color: "#666" }])
|
|
312
324
|
},
|
|
313
325
|
[
|
|
314
|
-
|
|
315
|
-
|
|
326
|
+
M(
|
|
327
|
+
p(a[i(f).label]),
|
|
316
328
|
1
|
|
317
329
|
/* TEXT */
|
|
318
330
|
)
|
|
@@ -320,18 +332,18 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
320
332
|
6
|
|
321
333
|
/* CLASS, STYLE */
|
|
322
334
|
)), [
|
|
323
|
-
[
|
|
324
|
-
]) :
|
|
335
|
+
[i(x)]
|
|
336
|
+
]) : W(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
325
337
|
],
|
|
326
338
|
2
|
|
327
339
|
/* CLASS */
|
|
328
340
|
))),
|
|
329
341
|
128
|
|
330
342
|
/* KEYED_FRAGMENT */
|
|
331
|
-
)) : (
|
|
343
|
+
)) : (o(), u(
|
|
332
344
|
"span",
|
|
333
|
-
|
|
334
|
-
|
|
345
|
+
be,
|
|
346
|
+
p($.value),
|
|
335
347
|
1
|
|
336
348
|
/* TEXT */
|
|
337
349
|
))
|
|
@@ -340,17 +352,17 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
340
352
|
/* CLASS */
|
|
341
353
|
)) : c("v-if", !0),
|
|
342
354
|
c(" 用于过滤条件的多选 "),
|
|
343
|
-
e.checkboxType == "group" && e.optionType == "filterSquare" ? (
|
|
355
|
+
e.checkboxType == "group" && e.optionType == "filterSquare" ? (o(), u(
|
|
344
356
|
"div",
|
|
345
357
|
{
|
|
346
358
|
key: 5,
|
|
347
|
-
class: n(["das-ui-checkbox-square-group das-ui-checkbox-filter-square-group", { "das-ui-checkbox-vertical":
|
|
359
|
+
class: n(["das-ui-checkbox-square-group das-ui-checkbox-filter-square-group", { "das-ui-checkbox-vertical": i(S) == "vertical" }])
|
|
348
360
|
},
|
|
349
361
|
[
|
|
350
|
-
(
|
|
351
|
-
|
|
362
|
+
(o(!0), u(
|
|
363
|
+
w,
|
|
352
364
|
null,
|
|
353
|
-
|
|
365
|
+
C(b.value, (a, d) => (o(), u("div", {
|
|
354
366
|
class: n([
|
|
355
367
|
"das-ui-checkbox-square",
|
|
356
368
|
{
|
|
@@ -358,10 +370,10 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
358
370
|
"das-ui-checkbox-square--checked": a.checked
|
|
359
371
|
}
|
|
360
372
|
]),
|
|
361
|
-
onClick: (
|
|
373
|
+
onClick: (q) => z("group", a),
|
|
362
374
|
tabindex: d,
|
|
363
375
|
key: d
|
|
364
|
-
},
|
|
376
|
+
}, p(a.label), 11, he))),
|
|
365
377
|
128
|
|
366
378
|
/* KEYED_FRAGMENT */
|
|
367
379
|
))
|
|
@@ -369,20 +381,20 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
369
381
|
2
|
|
370
382
|
/* CLASS */
|
|
371
383
|
)) : c("v-if", !0),
|
|
372
|
-
e.error && e.errorLabel && e.errorMode === "default" ? (
|
|
373
|
-
e.error ? (
|
|
384
|
+
e.error && e.errorLabel && e.errorMode === "default" ? (o(), u("div", pe, [
|
|
385
|
+
e.error ? (o(), u(
|
|
374
386
|
"span",
|
|
375
|
-
|
|
376
|
-
|
|
387
|
+
ve,
|
|
388
|
+
p(e.errorLabel),
|
|
377
389
|
1
|
|
378
390
|
/* TEXT */
|
|
379
391
|
)) : c("v-if", !0)
|
|
380
392
|
])) : c("v-if", !0),
|
|
381
|
-
e.error && e.errorLabel && e.errorMode === "overlay" ? (
|
|
382
|
-
|
|
393
|
+
e.error && e.errorLabel && e.errorMode === "overlay" ? (o(), u("div", ke, [
|
|
394
|
+
se(
|
|
383
395
|
"span",
|
|
384
|
-
|
|
385
|
-
|
|
396
|
+
me,
|
|
397
|
+
p(e.errorLabel),
|
|
386
398
|
1
|
|
387
399
|
/* TEXT */
|
|
388
400
|
)
|
|
@@ -390,12 +402,12 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
390
402
|
]);
|
|
391
403
|
};
|
|
392
404
|
}
|
|
393
|
-
}),
|
|
394
|
-
const
|
|
395
|
-
for (const [
|
|
396
|
-
|
|
397
|
-
return
|
|
398
|
-
},
|
|
405
|
+
}), ge = (T, B) => {
|
|
406
|
+
const s = T.__vccOpts || T;
|
|
407
|
+
for (const [$, D] of B)
|
|
408
|
+
s[$] = D;
|
|
409
|
+
return s;
|
|
410
|
+
}, xe = /* @__PURE__ */ ge(ye, [["__scopeId", "data-v-b0579cfa"]]), Te = {
|
|
399
411
|
"--demo-alert-bg": {
|
|
400
412
|
light: "#fff",
|
|
401
413
|
dark: "rgba(255,255,255,.2)"
|
|
@@ -408,10 +420,10 @@ const de = { class: "das-ui-checkbox" }, ce = ["onClick", "onBlur", "tabindex"],
|
|
|
408
420
|
"--das-ui-radio-bgff": "#fff",
|
|
409
421
|
"--das-ui-radio-shadow": "rgba(85, 130, 243, 0.1)"
|
|
410
422
|
};
|
|
411
|
-
|
|
412
|
-
const
|
|
423
|
+
re(Te);
|
|
424
|
+
const Ie = () => J(null), Le = te(xe);
|
|
413
425
|
export {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
426
|
+
Le as DasCheckbox,
|
|
427
|
+
Ie as DasCheckboxRef,
|
|
428
|
+
Le as default
|
|
417
429
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.empty-text[data-v-2d1962bb]{font-size:var(--das-ui-font-size-md);color:var(--das-ui-radio-font-normal)}.das-ui-checkbox[data-v-2d1962bb]{position:relative}.das-ui-checkbox .label[data-v-2d1962bb]{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-2d1962bb]{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-2d1962bb]: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-2d1962bb]: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-2d1962bb]{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[data-v-2d1962bb]: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[data-v-2d1962bb]{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}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon[data-v-2d1962bb]{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-2d1962bb]{width:10px!important;height:10px!important}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-2d1962bb]{position:relative}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked .square-checked-icon[data-v-2d1962bb]{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-2d1962bb]{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-2d1962bb]: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-2d1962bb]{color:var(--das-ui-radio-font-normal)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-2d1962bb]{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-2d1962bb]: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-2d1962bb]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square-group.middle .das-ui-checkbox-square[data-v-2d1962bb]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square-group.large .das-ui-checkbox-square[data-v-2d1962bb]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-ui-checkbox-square.small[data-v-2d1962bb]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square.middle[data-v-2d1962bb]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square.large[data-v-2d1962bb]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical[data-v-2d1962bb]{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-2d1962bb]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-square-group[data-v-2d1962bb]{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-2d1962bb]{margin-left:10px}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical[data-v-2d1962bb]{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-2d1962bb]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-2d1962bb]{height:24px;line-height:24px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square--checked[data-v-2d1962bb]{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-2d1962bb]: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-2d1962bb]{margin-left:24px}.das-ui-checkbox .das-ui-checkbox-view-group[data-v-2d1962bb]{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-2d1962bb]{margin-right:5px}.das-ui-checkbox .das-ui-checkbox-view-group.flex-view[data-v-2d1962bb],.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view[data-v-2d1962bb]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view.label-min-width[data-v-2d1962bb]{margin-right:4px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label[data-v-2d1962bb]{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-2d1962bb]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.small[data-v-2d1962bb]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.middle[data-v-2d1962bb]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.large[data-v-2d1962bb]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-checkbox-error-label-content[data-v-2d1962bb]{font-size:12px}.das-ui-checkbox .das-checkbox-error-label-content .das-input-success-label[data-v-2d1962bb]{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-2d1962bb]{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-2d1962bb]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-checkbox .das-checkbox-overlay-error-label-content[data-v-2d1962bb]{width:100%;position:absolute;top:100%;left:0;background-color:var(--das-ui-input-number-overlay-error-bg-color);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-2d1962bb]{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:27%!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;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-b0579cfa]{font-size:var(--das-ui-font-size-md);color:var(--das-ui-radio-font-normal)}.das-ui-checkbox[data-v-b0579cfa]{position:relative}.das-ui-checkbox .label[data-v-b0579cfa]{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-b0579cfa]{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-b0579cfa]: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-b0579cfa]: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-b0579cfa]{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-b0579cfa]: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-b0579cfa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square[data-v-b0579cfa]{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-b0579cfa]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon[data-v-b0579cfa]{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-b0579cfa]{width:10px!important;height:10px!important}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-b0579cfa]{position:relative}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked .square-checked-icon[data-v-b0579cfa]{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-b0579cfa]{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-b0579cfa]: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-b0579cfa]{color:var(--das-ui-radio-font-normal)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-b0579cfa]{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-b0579cfa]: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-b0579cfa]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square-group.middle .das-ui-checkbox-square[data-v-b0579cfa]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square-group.large .das-ui-checkbox-square[data-v-b0579cfa]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-ui-checkbox-square.small[data-v-b0579cfa]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square.middle[data-v-b0579cfa]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square.large[data-v-b0579cfa]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical[data-v-b0579cfa]{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-b0579cfa]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-square-group[data-v-b0579cfa]{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-b0579cfa]{margin-left:10px}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical[data-v-b0579cfa]{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-b0579cfa]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-b0579cfa]{height:24px;line-height:24px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square--checked[data-v-b0579cfa]{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-b0579cfa]: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-b0579cfa]{margin-left:24px}.das-ui-checkbox .das-ui-checkbox-view-group[data-v-b0579cfa]{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-b0579cfa]{margin-right:5px}.das-ui-checkbox .das-ui-checkbox-view-group.flex-view[data-v-b0579cfa],.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view[data-v-b0579cfa]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view.label-min-width[data-v-b0579cfa]{margin-right:4px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label[data-v-b0579cfa]{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-b0579cfa]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.small[data-v-b0579cfa]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.middle[data-v-b0579cfa]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.large[data-v-b0579cfa]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-checkbox-error-label-content[data-v-b0579cfa]{font-size:12px}.das-ui-checkbox .das-checkbox-error-label-content .das-input-success-label[data-v-b0579cfa]{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-b0579cfa]{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-b0579cfa]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-checkbox .das-checkbox-overlay-error-label-content[data-v-b0579cfa]{width:100%;position:absolute;top:100%;left:0;background-color:var(--das-ui-input-number-overlay-error-bg-color);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-b0579cfa]{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:27%!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;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
|
|
@@ -216,7 +216,7 @@ const q = () => ({ size2B: (o) => {
|
|
|
216
216
|
},
|
|
217
217
|
"das-image-upload-text": { "zh-CN": "上传图片", en: "Upload Image", _appCode: "framework" },
|
|
218
218
|
"das-image-upload-reupload": { "zh-CN": "重新上传", en: "Re-upload", _appCode: "framework" },
|
|
219
|
-
"das-image-upload-fail": { "zh-CN": "上传失败", en: "
|
|
219
|
+
"das-image-upload-fail": { "zh-CN": "上传失败", en: "Uploaded Failed", _appCode: "framework" }
|
|
220
220
|
}, ie = {
|
|
221
221
|
"--das-ui-image-upload-bgcolor": { light: "#FAFAFA" },
|
|
222
222
|
"--das-ui-image-upload-border-color": { light: "#E5E5E5" },
|
|
Binary file
|