@das-fed/upf-ui 6.4.0-dev.136 → 6.4.0-dev.138
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.d.ts +2 -0
- package/packages/components/cascader/index.js +54 -54
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/type.d.ts +3 -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 +2 -0
- package/packages/components/checkbox/index.js +45 -45
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/type.d.ts +4 -1
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/color-picker/index.js +8 -7
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/src/type.d.ts +3 -0
- package/packages/components/date-picker/index.js +345 -341
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/type.d.ts +15 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/form/index.d.ts +0 -1
- package/packages/components/form/index.js +41 -50
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +531 -524
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +39 -39
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/src/type.d.ts +3 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +2 -0
- package/packages/components/radio/index.js +44 -44
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio/src/type.d.ts +5 -2
- package/packages/components/radio/style.css +1 -1
- package/packages/components/radio/style.css.gz +0 -0
- package/packages/components/select-input/index.js +36 -36
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/type.d.ts +6 -3
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/switch/index.d.ts +2 -0
- package/packages/components/switch/index.js +24 -24
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/switch/src/Index.vue.d.ts +4 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/tree-v2/index.js +364 -364
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/form/hooks/use-form-size.d.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/checkbox/style.css';
|
|
2
|
-
import { defineComponent as ae, computed as
|
|
2
|
+
import { defineComponent as ae, computed as p, reactive as le, toRefs as oe, watchEffect as te, watch as se, useSlots as ue, ref as Q, onMounted as re, createElementBlock as u, openBlock as o, normalizeStyle as y, createBlock as W, createCommentVNode as c, unref as r, mergeProps as U, isRef as A, withCtx as M, withDirectives as g, renderSlot as C, normalizeClass as n, Fragment as $, renderList as B, createElementVNode as j, createTextVNode as N, toDisplayString as v, createVNode as G } from "vue";
|
|
3
3
|
import { withInstall as ie } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { CheckboxGroup as de } from "ant-design-vue/es";
|
|
5
5
|
import "ant-design-vue/es/checkbox/style/css";
|
|
@@ -7,24 +7,23 @@ import { Checkbox as H } from "ant-design-vue";
|
|
|
7
7
|
import { DasAutoRegisterIcon as ce, DasIcon as J } 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
9
|
import { useModelValue as K } from "@das-fed/upf-utils/vue";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
10
|
+
import { setThemeRule as ne } from "@das-fed/upf-web/packages/theme/index";
|
|
11
|
+
const fe = { class: "label" }, he = ["onClick", "onBlur", "tabindex"], be = {
|
|
13
12
|
key: 0,
|
|
14
13
|
class: "square-select-icon"
|
|
15
|
-
},
|
|
14
|
+
}, pe = {
|
|
16
15
|
key: 1,
|
|
17
16
|
class: "empty-text"
|
|
18
|
-
},
|
|
17
|
+
}, ve = ["onClick", "tabindex"], ke = {
|
|
19
18
|
key: 6,
|
|
20
19
|
class: "das-checkbox-error-label-content"
|
|
21
|
-
},
|
|
20
|
+
}, me = {
|
|
22
21
|
key: 0,
|
|
23
22
|
class: "das-input-error-label"
|
|
24
|
-
},
|
|
23
|
+
}, ye = {
|
|
25
24
|
key: 7,
|
|
26
25
|
class: "das-checkbox-overlay-error-label-content"
|
|
27
|
-
},
|
|
26
|
+
}, ge = { class: "label" }, xe = /* @__PURE__ */ ae({
|
|
28
27
|
__name: "Index",
|
|
29
28
|
props: {
|
|
30
29
|
modelValue: { default: null },
|
|
@@ -48,27 +47,28 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
48
47
|
teleported: { type: Boolean, default: !0 },
|
|
49
48
|
errorMode: { default: "default" },
|
|
50
49
|
isErrorTitle: { type: Boolean, default: !1 },
|
|
51
|
-
noSetDefaultVal: { type: Boolean, default: !1 }
|
|
50
|
+
noSetDefaultVal: { type: Boolean, default: !1 },
|
|
51
|
+
formSize: {}
|
|
52
52
|
},
|
|
53
53
|
emits: ["change", "update:modelValue", "update:indeterminate"],
|
|
54
54
|
setup(T, { emit: S }) {
|
|
55
55
|
ce({
|
|
56
56
|
select: import("@das-fed/upf-ui/packages/icons/select")
|
|
57
57
|
});
|
|
58
|
-
const t = T, z =
|
|
58
|
+
const t = T, z = p(() => t.noSetDefaultVal ? "" : "-"), D = le({
|
|
59
59
|
checkboxValue: null,
|
|
60
60
|
isFocus: !1,
|
|
61
61
|
checkboxLayout: "",
|
|
62
62
|
checkboxIndeterminate: !1
|
|
63
63
|
});
|
|
64
|
-
let { checkboxValue: s, isFocus: F, checkboxIndeterminate:
|
|
65
|
-
const I = t.layout,
|
|
64
|
+
let { checkboxValue: s, isFocus: F, checkboxIndeterminate: k } = oe(D);
|
|
65
|
+
const I = t.layout, m = S;
|
|
66
66
|
te(() => {
|
|
67
|
-
s.value = t.modelValue,
|
|
67
|
+
s.value = t.modelValue, k.value = t.indeterminate, t.checkboxType == "default" && t.optionType == "default" && t.modelValue && (k.value = !1);
|
|
68
68
|
}), se(s, (e) => {
|
|
69
|
-
|
|
69
|
+
m("update:modelValue", e);
|
|
70
70
|
});
|
|
71
|
-
const f = K(t, "defaultProps"), V = K(t, "options"), h =
|
|
71
|
+
const f = K(t, "defaultProps"), V = K(t, "options"), h = p(() => V.value.length ? V.value.map((e) => {
|
|
72
72
|
var l;
|
|
73
73
|
return {
|
|
74
74
|
value: e[f.value.value],
|
|
@@ -79,7 +79,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
79
79
|
mutual: e.mutual
|
|
80
80
|
};
|
|
81
81
|
}) : []), O = () => {
|
|
82
|
-
|
|
82
|
+
k && (k.value = !1, m("update:indeterminate", k.value), m("update:modelValue", s.value)), m("change", s.value);
|
|
83
83
|
}, X = t.disabled, Y = h.value.some((e) => !!e.mutual), L = (e, l) => {
|
|
84
84
|
if (!X)
|
|
85
85
|
if (e == "group") {
|
|
@@ -88,10 +88,10 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
88
88
|
i.checked = !1;
|
|
89
89
|
}), l.checked = !0) : (l.checked = !l.checked, h.value.forEach((i) => {
|
|
90
90
|
i.mutual && (i.checked = !h.value.some((a) => a.checked));
|
|
91
|
-
})) : l.checked = !l.checked, l.isFocus = !0, s.value = h.value.filter((i) => i.checked).map((i) => i.value),
|
|
91
|
+
})) : l.checked = !l.checked, l.isFocus = !0, s.value = h.value.filter((i) => i.checked).map((i) => i.value), m("change", s.value);
|
|
92
92
|
} else
|
|
93
|
-
s.value = !s.value, F.value = !0,
|
|
94
|
-
}, R =
|
|
93
|
+
s.value = !s.value, F.value = !0, m("change", s.value);
|
|
94
|
+
}, R = p(() => {
|
|
95
95
|
var e, l, i;
|
|
96
96
|
if (!t.isView) return [];
|
|
97
97
|
if ((!((e = V.value) != null && e.length) || !((l = s.value) != null && l.length)) && t.checkboxType == "group") return [];
|
|
@@ -113,7 +113,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
113
113
|
}
|
|
114
114
|
}), P = (e, l) => {
|
|
115
115
|
e == "group" ? l.isFocus = !1 : F.value = !1;
|
|
116
|
-
}, Z =
|
|
116
|
+
}, Z = p(() => t.maxWidth ? t.maxWidth : t.width), b = p(() => {
|
|
117
117
|
let e = `${Number(String(Z.value).split("px")[0])}`;
|
|
118
118
|
if (t.maxWidth)
|
|
119
119
|
return `max-width:${e}px`;
|
|
@@ -125,7 +125,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
125
125
|
const e = (i = (l = E.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
|
-
}, q =
|
|
128
|
+
}, q = p(() => t.formSize), ee = p(() => ({
|
|
129
129
|
"--checkbox-height": q.value && {
|
|
130
130
|
small: "24px",
|
|
131
131
|
default: "32px",
|
|
@@ -155,7 +155,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
155
155
|
disabled: e.disabled
|
|
156
156
|
}, e.$attrs, {
|
|
157
157
|
optionType: e.optionType,
|
|
158
|
-
indeterminate: r(
|
|
158
|
+
indeterminate: r(k),
|
|
159
159
|
onChange: O,
|
|
160
160
|
class: [e.size, { nolabel: Object.keys(e.$slots).length == 0 }]
|
|
161
161
|
}), {
|
|
@@ -198,7 +198,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
198
198
|
style: y(b.value)
|
|
199
199
|
},
|
|
200
200
|
[
|
|
201
|
-
g((o(), u("div",
|
|
201
|
+
g((o(), u("div", fe, [
|
|
202
202
|
C(e.$slots, "default", {}, void 0, !0)
|
|
203
203
|
])), [
|
|
204
204
|
[r(x)]
|
|
@@ -242,7 +242,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
242
242
|
}, () => [
|
|
243
243
|
g((o(), u("div", null, [
|
|
244
244
|
N(
|
|
245
|
-
|
|
245
|
+
v(a.label),
|
|
246
246
|
1
|
|
247
247
|
/* TEXT */
|
|
248
248
|
)
|
|
@@ -291,7 +291,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
291
291
|
tabindex: d,
|
|
292
292
|
key: d
|
|
293
293
|
}, [
|
|
294
|
-
a.checked ? (o(), u("span",
|
|
294
|
+
a.checked ? (o(), u("span", be, [
|
|
295
295
|
G(r(J), {
|
|
296
296
|
size: "mini",
|
|
297
297
|
icon: "select",
|
|
@@ -301,14 +301,14 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
301
301
|
])) : c("v-if", !0),
|
|
302
302
|
g((o(), u("div", null, [
|
|
303
303
|
N(
|
|
304
|
-
|
|
304
|
+
v(a.label),
|
|
305
305
|
1
|
|
306
306
|
/* TEXT */
|
|
307
307
|
)
|
|
308
308
|
])), [
|
|
309
309
|
[r(x)]
|
|
310
310
|
])
|
|
311
|
-
], 46,
|
|
311
|
+
], 46, he))),
|
|
312
312
|
128
|
|
313
313
|
/* KEYED_FRAGMENT */
|
|
314
314
|
))
|
|
@@ -349,7 +349,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
349
349
|
},
|
|
350
350
|
[
|
|
351
351
|
N(
|
|
352
|
-
|
|
352
|
+
v(a[r(f).label]),
|
|
353
353
|
1
|
|
354
354
|
/* TEXT */
|
|
355
355
|
)
|
|
@@ -367,8 +367,8 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
367
367
|
/* KEYED_FRAGMENT */
|
|
368
368
|
)) : (o(), u(
|
|
369
369
|
"span",
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
pe,
|
|
371
|
+
v(z.value),
|
|
372
372
|
1
|
|
373
373
|
/* TEXT */
|
|
374
374
|
))
|
|
@@ -398,7 +398,7 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
398
398
|
onClick: (w) => L("group", a),
|
|
399
399
|
tabindex: d,
|
|
400
400
|
key: d
|
|
401
|
-
},
|
|
401
|
+
}, v(a.label), 11, ve))),
|
|
402
402
|
128
|
|
403
403
|
/* KEYED_FRAGMENT */
|
|
404
404
|
))
|
|
@@ -406,20 +406,20 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
406
406
|
2
|
|
407
407
|
/* CLASS */
|
|
408
408
|
)) : c("v-if", !0),
|
|
409
|
-
e.error && e.errorLabel && e.errorMode === "default" ? (o(), u("div",
|
|
409
|
+
e.error && e.errorLabel && e.errorMode === "default" ? (o(), u("div", ke, [
|
|
410
410
|
e.error ? (o(), u(
|
|
411
411
|
"span",
|
|
412
|
-
|
|
413
|
-
|
|
412
|
+
me,
|
|
413
|
+
v(e.errorLabel),
|
|
414
414
|
1
|
|
415
415
|
/* TEXT */
|
|
416
416
|
)) : c("v-if", !0)
|
|
417
417
|
])) : c("v-if", !0),
|
|
418
|
-
e.error && e.errorLabel && e.errorMode === "overlay" ? (o(), u("div",
|
|
418
|
+
e.error && e.errorLabel && e.errorMode === "overlay" ? (o(), u("div", ye, [
|
|
419
419
|
j(
|
|
420
420
|
"span",
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
ge,
|
|
422
|
+
v(e.errorLabel),
|
|
423
423
|
1
|
|
424
424
|
/* TEXT */
|
|
425
425
|
)
|
|
@@ -430,12 +430,12 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
430
430
|
);
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
|
-
}),
|
|
433
|
+
}), Te = (T, S) => {
|
|
434
434
|
const t = T.__vccOpts || T;
|
|
435
435
|
for (const [z, D] of S)
|
|
436
436
|
t[z] = D;
|
|
437
437
|
return t;
|
|
438
|
-
},
|
|
438
|
+
}, Ve = /* @__PURE__ */ Te(xe, [["__scopeId", "data-v-ce69583e"]]), qe = {
|
|
439
439
|
"--demo-alert-bg": {
|
|
440
440
|
light: "#fff",
|
|
441
441
|
dark: "rgba(255,255,255,.2)"
|
|
@@ -448,10 +448,10 @@ const he = { class: "label" }, be = ["onClick", "onBlur", "tabindex"], pe = {
|
|
|
448
448
|
"--das-ui-radio-bgff": "#fff",
|
|
449
449
|
"--das-ui-radio-shadow": "rgba(85, 130, 243, 0.1)"
|
|
450
450
|
};
|
|
451
|
-
|
|
452
|
-
const
|
|
451
|
+
ne(qe);
|
|
452
|
+
const Le = () => Q(null), Re = ie(Ve);
|
|
453
453
|
export {
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
454
|
+
Re as DasCheckbox,
|
|
455
|
+
Le as DasCheckboxRef,
|
|
456
|
+
Re as default
|
|
457
457
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.empty-text[data-v-38011197]{font-size:var(--das-upf-ui-font-size-sm);color:var(--das-ui-radio-font-normal)}.das-ui-checkbox[data-v-38011197]{position:relative}.das-ui-checkbox .label[data-v-38011197]{color:var(--das-ui-radio-font-normal)!important;font-size:var(--checkbox-font-size, var(--das-upf-ui-font-size-sm))!important}.das-ui-checkbox .label.label-min-width[data-v-38011197]{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-38011197]: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-38011197]: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-38011197]{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-38011197]: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-38011197]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square[data-v-38011197]{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-38011197]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon[data-v-38011197]{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-38011197]{width:10px!important;height:10px!important}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-38011197]{position:relative}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked .square-checked-icon[data-v-38011197]{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-38011197]{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-38011197]: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-38011197]{color:var(--das-ui-radio-font-normal)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-38011197]{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-38011197]: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-38011197]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square-group.middle .das-ui-checkbox-square[data-v-38011197]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square-group.large .das-ui-checkbox-square[data-v-38011197]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-ui-checkbox-square.small[data-v-38011197]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square.middle[data-v-38011197]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square.large[data-v-38011197]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical[data-v-38011197]{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-38011197]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-square-group[data-v-38011197]{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-38011197]{margin-left:10px}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical[data-v-38011197]{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-38011197]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-38011197]{height:24px;line-height:24px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square--checked[data-v-38011197]{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-38011197]: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-38011197]{margin-left:24px}.das-ui-checkbox .das-ui-checkbox-view-group[data-v-38011197]{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-38011197]{margin-right:5px}.das-ui-checkbox .das-ui-checkbox-view-group.flex-view[data-v-38011197],.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view[data-v-38011197]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view.label-min-width[data-v-38011197]{margin-right:4px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label[data-v-38011197]{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-38011197]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.small[data-v-38011197]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.middle[data-v-38011197]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.large[data-v-38011197]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-checkbox-error-label-content[data-v-38011197]{font-size:12px}.das-ui-checkbox .das-checkbox-error-label-content .das-input-success-label[data-v-38011197]{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-38011197]{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-38011197]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-checkbox .das-checkbox-overlay-error-label-content[data-v-38011197]{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-38011197]{font-size:12px;color:var(--das-ui-input-number-overlay-error-color)}.das-ui-checkbox[data-v-38011197] .ant-checkbox-wrapper{height:var(--checkbox-height);line-height:var(--checkbox-height)}.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-ce69583e]{font-size:var(--das-upf-ui-font-size-sm);color:var(--das-ui-radio-font-normal)}.das-ui-checkbox[data-v-ce69583e]{position:relative}.das-ui-checkbox .label[data-v-ce69583e]{color:var(--das-ui-radio-font-normal)!important;font-size:var(--checkbox-font-size, var(--das-upf-ui-font-size-sm))!important}.das-ui-checkbox .label.label-min-width[data-v-ce69583e]{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-ce69583e]: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-ce69583e]: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-ce69583e]{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-ce69583e]: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-ce69583e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square[data-v-ce69583e]{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-ce69583e]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-checkbox .das-ui-checkbox-square .square-select-icon[data-v-ce69583e]{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-ce69583e]{width:10px!important;height:10px!important}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked[data-v-ce69583e]{position:relative}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--checked .square-checked-icon[data-v-ce69583e]{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-ce69583e]{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-ce69583e]: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-ce69583e]{color:var(--das-ui-radio-font-normal)}.das-ui-checkbox .das-ui-checkbox-square.das-ui-checkbox-square--disabled[data-v-ce69583e]{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-ce69583e]: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-ce69583e]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square-group.middle .das-ui-checkbox-square[data-v-ce69583e]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square-group.large .das-ui-checkbox-square[data-v-ce69583e]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-ui-checkbox-square.small[data-v-ce69583e]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-square.middle[data-v-ce69583e]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-square.large[data-v-ce69583e]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .ant-checkbox-group.das-ui-checkbox-vertical[data-v-ce69583e]{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-ce69583e]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-square-group[data-v-ce69583e]{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-ce69583e]{margin-left:10px}.das-ui-checkbox .das-ui-checkbox-square-group.das-ui-checkbox-vertical[data-v-ce69583e]{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-ce69583e]{margin-top:10px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square[data-v-ce69583e]{height:24px;line-height:24px}.das-ui-checkbox .das-ui-checkbox-filter-square-group .das-ui-checkbox-square--checked[data-v-ce69583e]{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-ce69583e]: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-ce69583e]{margin-left:24px}.das-ui-checkbox .das-ui-checkbox-view-group[data-v-ce69583e]{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-ce69583e]{margin-right:5px}.das-ui-checkbox .das-ui-checkbox-view-group.flex-view[data-v-ce69583e],.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view[data-v-ce69583e]{display:flex;align-items:center}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view.label-min-width[data-v-ce69583e]{margin-right:4px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label[data-v-ce69583e]{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-ce69583e]{min-width:72px;margin-left:5px}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.small[data-v-ce69583e]{font-size:var(--das-ui-font-size-sm)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.middle[data-v-ce69583e]{font-size:var(--das-ui-font-size-md)}.das-ui-checkbox .das-ui-checkbox-view-group .das-checkbox-item-view .label.large[data-v-ce69583e]{font-size:var(--das-ui-font-size-lg)}.das-ui-checkbox .das-checkbox-error-label-content[data-v-ce69583e]{font-size:12px}.das-ui-checkbox .das-checkbox-error-label-content .das-input-success-label[data-v-ce69583e]{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-ce69583e]{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-ce69583e]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-checkbox .das-checkbox-overlay-error-label-content[data-v-ce69583e]{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-ce69583e]{font-size:12px;color:var(--das-ui-input-number-overlay-error-color)}.das-ui-checkbox[data-v-ce69583e] .ant-checkbox-wrapper{height:var(--checkbox-height);line-height:var(--checkbox-height)}.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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/color-picker/style.css';
|
|
2
|
-
import { defineComponent as x, computed as z, ref as y, createElementBlock as V, openBlock as c, createVNode as k, createCommentVNode as w, unref as e, mergeProps as N, isRef as I, withCtx as f, createBlock as v, createElementVNode as P, Fragment as O, renderList as $, normalizeStyle as
|
|
2
|
+
import { defineComponent as x, computed as z, ref as y, createElementBlock as V, openBlock as c, createVNode as k, createCommentVNode as w, unref as e, mergeProps as N, isRef as I, withCtx as f, createBlock as v, createElementVNode as P, Fragment as O, renderList as $, normalizeStyle as S, normalizeClass as C, toDisplayString as F } from "vue";
|
|
3
3
|
import { withInstall as A } from "@das-fed/upf-utils/with-install/index";
|
|
4
|
-
import { currentLang as L, t as
|
|
4
|
+
import { currentLang as L, t as H, setI18nRule as M } from "@das-fed/upf-web/packages/i18n/index";
|
|
5
5
|
import { DasDropdown as U, DasDropdownMenu as j } from "@das-fed/upf-ui/packages/components/dropdown/index";
|
|
6
6
|
import { DasAutoRegisterIcon as q, DasIcon as G } from "@das-fed/upf-ui/packages/components/icon/index";
|
|
7
7
|
import { DasInput as J } from "@das-fed/upf-ui/packages/components/input/index";
|
|
@@ -37,7 +37,8 @@ const Z = (t, d) => {
|
|
|
37
37
|
isView: { type: Boolean, default: !1 },
|
|
38
38
|
borderType: { default: "bordered" },
|
|
39
39
|
placeholder: { default: "" },
|
|
40
|
-
noSetDefaultVal: { type: Boolean, default: !1 }
|
|
40
|
+
noSetDefaultVal: { type: Boolean, default: !1 },
|
|
41
|
+
formSize: {}
|
|
41
42
|
},
|
|
42
43
|
emits: ["update:modelValue", "change", "dasInput"],
|
|
43
44
|
setup(t, { emit: d }) {
|
|
@@ -46,7 +47,7 @@ const Z = (t, d) => {
|
|
|
46
47
|
fold: import("@das-fed/upf-ui/packages/icons/fold"),
|
|
47
48
|
close2: import("@das-fed/upf-ui/packages/icons/close-2")
|
|
48
49
|
});
|
|
49
|
-
const p = z(() => L.value === "zh-CN" ? W : X), _ = z(() => l.placeholder ||
|
|
50
|
+
const p = z(() => L.value === "zh-CN" ? W : X), _ = z(() => l.placeholder || H("请输入")), { innerValue: i, inputChangeHandler: a, inputInputHandler: R, colorOption: o, colorPickerValue: h } = Z(l, u), b = y(), m = y(!1), B = (s) => {
|
|
50
51
|
var n, r;
|
|
51
52
|
u("change", s), i.value = s, (r = (n = b.value) == null ? void 0 : n.getElRef()) == null || r.handleClose(), m.value = !1;
|
|
52
53
|
}, D = () => {
|
|
@@ -123,7 +124,7 @@ const Z = (t, d) => {
|
|
|
123
124
|
e(i) && e(i) != "-",
|
|
124
125
|
{ "view-prefine-icon": e(o).disabled || l.disabled || e(o).isView || l.isView }
|
|
125
126
|
]),
|
|
126
|
-
style:
|
|
127
|
+
style: S("background-color:" + e(i))
|
|
127
128
|
},
|
|
128
129
|
[
|
|
129
130
|
k(e(G), {
|
|
@@ -146,7 +147,7 @@ const Z = (t, d) => {
|
|
|
146
147
|
$(e(o).predefine, (r, T) => (c(), V("div", {
|
|
147
148
|
class: C(["color-predefine-span", { active: e(i) == r }]),
|
|
148
149
|
key: T,
|
|
149
|
-
style:
|
|
150
|
+
style: S("background-color:" + r),
|
|
150
151
|
onClick: (se) => B(r)
|
|
151
152
|
}, null, 14, le))),
|
|
152
153
|
128
|
|
@@ -172,7 +173,7 @@ const Z = (t, d) => {
|
|
|
172
173
|
class: C(["predefine-placeholder", { "padding-l": l.borderType == "bordered" }]),
|
|
173
174
|
onClick: D
|
|
174
175
|
},
|
|
175
|
-
F(e(
|
|
176
|
+
F(e(H)("请选择")),
|
|
176
177
|
3
|
|
177
178
|
/* TEXT, CLASS */
|
|
178
179
|
)) : w("v-if", !0)
|
|
Binary file
|